This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Extract debug symbols to external file
Hi,
2008/1/16, Daniel Jacobowitz <drow@false.org>:
> On Wed, Jan 16, 2008 at 01:20:26PM +0100, Markus Deuling wrote:
> > Fabio Dell'Aria schrieb:
> >> Hi to all,
> >>
> >> how I can extract the debug symbols (extract not only copy) from the
> >> Project.exe file to the Project.dbg file?
> >>
> >> Exists any simple command (or also complex)? ;)
> >>
> >
> > If you use Linux you could take the strip command. But I guess you don't :-) So maybe google
> > for a windows-based alternative to strip.
>
> GNU Binutils works fine on Windows. Fabio, take a look at
> --only-keep-debug and --add-gnu-debuglink.
>
> --
> Daniel Jacobowitz
> CodeSourcery
Thanks Daniel, works like a charm! :)
--
Best regards...
Fabio Dell'Aria.