This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: --strip-unneeded maintaining debug data.


Hi Fabio,

I need execute a --strip-unneeded command to a my executable file, but
I also need to must maintaining its debug data.

Have you considered extracting the debug information into a separate file ? Have a look at the binutils' documentation for objcopy's --only-keep-debug command line option.


Cheers
  Nick



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