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


Hi Elena,

> The strip utility does it.


Well addign a .gnu_debuglink section with --add-section does not work,
because the section needs to contain a file name and CRC.  *sigh*.  It
looks like we are going to have to add another new option to objcopy:

  --add-gnu_debuglink-section=<name_of_debug_info_file>

Cheers
        Nick
        


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