This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: strip --strip-nondebug


Nick Clifton writes:
 > Hi Elena,
 > 
 > > Hmm, step through symfile.c:find_separate_debug_file, if the problem
 > > seems to be locating the file.
 > 
 > The problem is find_separate_debug_file() calls get_debug_link_info()
 > which looks for a section called ".gnu_debuglink" which is not present
 > in the stripped executable.
 > 
 > What is this section and how is it supposed to get into the stripped
 > executable ?

The strip utility does it. BTW, I find it a bit silly that a non-gnu
utility decided to use the .gnu_debuglink name. Maybe you should call
it somethign different, and gdb can look for both names?

elena



 > 
 > Cheers
 >         Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]