Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 126001: Add functionality to read the .gnu_debuglink section and load symbols from... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by Lei Zhang (chromium)
Modified:
14 years, 4 months ago
Reviewers:
jimb
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add functionality to read the .gnu_debuglink section and load symbols from a
debug ELF file.

Committed: http://code.google.com/p/google-breakpad/source/detail?r=624

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 25

Patch Set 3 : '' #

Patch Set 4 : make read_gnu_debug_link a parameter #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/linux/dump_symbols.cc View 1 2 3 13 chunks +268 lines, -81 lines 0 comments Download
M src/common/linux/dump_symbols.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/tools/linux/dump_syms/dump_syms.cc View 1 2 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 5
Lei Zhang (chromium)
To test: gcc -g -m32 foo.c -o foo.orig strip --only-keep-debug -o foo.dbg foo.orig strip --strip-debug ...
14 years, 4 months ago #1
jimb
Thanks very much for taking this on. http://breakpad.appspot.com/126001/diff/2001/3001 File src/common/linux/dump_symbols.cc (right): http://breakpad.appspot.com/126001/diff/2001/3001#newcode82 Line 82: } ...
14 years, 4 months ago #2
Lei Zhang (chromium)
http://breakpad.appspot.com/126001/diff/2001/3001 File src/common/linux/dump_symbols.cc (right): http://breakpad.appspot.com/126001/diff/2001/3001#newcode82 Line 82: } On 2010/07/13 20:59:29, jimb wrote: > Let's ...
14 years, 4 months ago #3
jimb
LGTM, although I still think it would be better if read_gnu_debug_link were a separate parameter; ...
14 years, 4 months ago #4
Lei Zhang (chromium)
14 years, 4 months ago #5
On 2010/07/15 03:52:00, jimb wrote:
> LGTM, although I still think it would be better if read_gnu_debug_link were a
> separate parameter; see comments.
> 
> http://breakpad.appspot.com/126001/diff/2001/3001
> File src/common/linux/dump_symbols.cc (right):
> 
> http://breakpad.appspot.com/126001/diff/2001/3001#newcode509
> Line 509: bool read_gnu_debug_link_;  // True if LoadSymbols() should read the
> On 2010/07/14 01:34:00, thestig wrote:
> > At one point I was passing too many arguments to LoadSymbols(), so I put
them
> > all inside a LoadSymbolInfo instead.
> 
> Right, but this parameter is different in each call.  For each call, you've
> replaced a parameter with a call to set_read_gnu_debug_link, which is a
> regression, to my eyes.

Fair enough. Fixed and committed as r624. Thanks for the review!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted