mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-24 04:08:55 +00:00
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
This commit is contained in:
@@ -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 $?
|
||||
|
||||
Reference in New Issue
Block a user