From c34850a2023442a22fa653ab8546e72738ed2dd4 Mon Sep 17 00:00:00 2001 From: mmentovai Date: Fri, 27 Oct 2006 00:40:56 +0000 Subject: minidump_stackwalk should use MinidumpProcessor (#64). r=bryner - minidump_stackwalk is now much more useful as a debugging tool and even as a standalone tool. - Reimplementation of minidump_stackwalk around MinidumpProcessor. - minidump_stackwalk displays all pertinent information returned by MinidumpProcessor in the ProcessState. - New PathnameStripper::File static utility method to display only the leaf file name in a pathname, cleaning up minidump_stackwalk's output. - New SimpleSymbolSupplier class, which implements a simple filesystem-based symbol supplier compatible with the layout used by Microsoft Symbol Server and its client cache. - minidump_stackwalk now accepts an optional second argument, a pathname to use as a symbol directory for a SimpleSymbolSupplier. - Updated test data to be compatible with SimpleSymbolSupplier, and added test data for kernel32.pdb. Test data converted from CRLF line endings to LF. http://groups.google.com/group/airbag-dev/browse_thread/thread/cce30a84f6b2d728 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@53 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/minidump_stackwalk_test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/processor/minidump_stackwalk_test') diff --git a/src/processor/minidump_stackwalk_test b/src/processor/minidump_stackwalk_test index 93c56334..f9790279 100755 --- a/src/processor/minidump_stackwalk_test +++ b/src/processor/minidump_stackwalk_test @@ -30,7 +30,8 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. testdata_dir=$srcdir/src/processor/testdata -./src/processor/minidump_stackwalk $testdata_dir/minidump1.dmp | \ - tr -s '\015' '\012' | \ - diff -u $testdata_dir/minidump1.stack.out - +./src/processor/minidump_stackwalk $testdata_dir/minidump2.dmp \ + $testdata_dir/symbols | \ + tr -d '\015' | \ + diff -u $testdata_dir/minidump2.stackwalk.out - exit $? -- cgit v1.2.1