Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Issue 1651593002: Added a switch to dump minidump modules in minidump_stackwalk. (Closed)

Created:
4 years, 10 months ago by David Yen
Modified:
4 years, 10 months ago
Reviewers:
Lei Zhang
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Added a switch to dump minidump modules in minidump_stackwalk. In order to figure out what symbols we need associated to a minidump, it is useful to be able to dump all the modules the minidump contains. R=thestig@chromium.org BUG=CHROMIUM:563716

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixed formatting and usage lines #

Total comments: 2

Patch Set 3 : Changed pointer style, improved usage text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M src/processor/minidump_stackwalk.cc View 1 2 6 chunks +20 lines, -5 lines 0 comments Download
M src/processor/stackwalk_common.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/processor/stackwalk_common.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
David Yen
4 years, 10 months ago (2016-01-29 20:15:04 UTC) #1
Lei Zhang
Do you really need this? I think the information you want can easily be extracted ...
4 years, 10 months ago (2016-01-29 20:27:37 UTC) #2
David Yen
Whoops, had a lot of formatting issues... https://codereview.chromium.org/1651593002/diff/1/src/processor/minidump_stackwalk.cc File src/processor/minidump_stackwalk.cc (right): https://codereview.chromium.org/1651593002/diff/1/src/processor/minidump_stackwalk.cc#newcode101 src/processor/minidump_stackwalk.cc:101: else if ...
4 years, 10 months ago (2016-01-29 20:36:26 UTC) #3
David Yen
On 2016/01/29 20:27:37, Lei Zhang wrote: > Do you really need this? I think the ...
4 years, 10 months ago (2016-01-29 20:38:58 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/1651593002/diff/1/src/processor/stackwalk_common.cc File src/processor/stackwalk_common.cc (right): https://codereview.chromium.org/1651593002/diff/1/src/processor/stackwalk_common.cc#newcode930 src/processor/stackwalk_common.cc:930: const CodeModules *modules = process_state.modules(); On 2016/01/29 20:36:26, ...
4 years, 10 months ago (2016-01-29 21:31:57 UTC) #5
David Yen
4 years, 10 months ago (2016-01-29 21:35:43 UTC) #6
https://codereview.chromium.org/1651593002/diff/1/src/processor/stackwalk_com...
File src/processor/stackwalk_common.cc (right):

https://codereview.chromium.org/1651593002/diff/1/src/processor/stackwalk_com...
src/processor/stackwalk_common.cc:930: const CodeModules *modules =
process_state.modules();
On 2016/01/29 21:31:57, Lei Zhang wrote:
> On 2016/01/29 20:36:26, David Yen wrote:
> > On 2016/01/29 20:27:37, Lei Zhang wrote:
> > > nit: CodeModules*, and line 933 too.
> > 
> > I was following the coding style in the rest of the file, I was thinking it
> was
> > odd too... do you think I should still change it?
> 
> Yes, please change it.

Done.

https://codereview.chromium.org/1651593002/diff/20001/src/processor/minidump_...
File src/processor/minidump_stackwalk.cc (right):

https://codereview.chromium.org/1651593002/diff/20001/src/processor/minidump_...
src/processor/minidump_stackwalk.cc:113: "    -b : Output contained binary
modules\n",
On 2016/01/29 21:31:57, Lei Zhang wrote:
> Can you mention the full path part?

Done.

Powered by Google App Engine
This is Rietveld 408576698