* Use external debug symbols
@ 2008-01-16 11:03 Fabio Dell'Aria
2008-01-16 11:15 ` Markus Deuling
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Dell'Aria @ 2008-01-16 11:03 UTC (permalink / raw)
To: GDB Mailinglist
Hi to all,
exists a method to setup GDB to use an external file as debug symbols ?
Example:
on WinXP I need GDB debug the Program.exe file using, as debug
symbols, the Program.dbg file.
Is this possible?
NOTE: the debug data format is "stabs".
--
Best regards...
Fabio Dell'Aria.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Use external debug symbols
2008-01-16 11:03 Use external debug symbols Fabio Dell'Aria
@ 2008-01-16 11:15 ` Markus Deuling
2008-01-16 11:32 ` Fabio Dell'Aria
0 siblings, 1 reply; 3+ messages in thread
From: Markus Deuling @ 2008-01-16 11:15 UTC (permalink / raw)
To: Fabio Dell'Aria; +Cc: GDB Mailinglist
Fabio Dell'Aria schrieb:
> Hi to all,
>
> exists a method to setup GDB to use an external file as debug symbols ?
>
> Example:
> on WinXP I need GDB debug the Program.exe file using, as debug
> symbols, the Program.dbg file.
>
> Is this possible?
>
> NOTE: the debug data format is "stabs".
>
Hi Fabio,
I think the following two ways should work:
1. as command line
gdb Program.exe -s Program.dbg
or
2. from within a running GDB. Invoke
(gdb) symbol /path/to/Program.dbg
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Use external debug symbols
2008-01-16 11:15 ` Markus Deuling
@ 2008-01-16 11:32 ` Fabio Dell'Aria
0 siblings, 0 replies; 3+ messages in thread
From: Fabio Dell'Aria @ 2008-01-16 11:32 UTC (permalink / raw)
To: Markus Deuling; +Cc: GDB Mailinglist
2008/1/16, Markus Deuling <deuling@de.ibm.com>:
> Fabio Dell'Aria schrieb:
> > Hi to all,
> >
> > exists a method to setup GDB to use an external file as debug symbols ?
> >
> > Example:
> > on WinXP I need GDB debug the Program.exe file using, as debug
> > symbols, the Program.dbg file.
> >
> > Is this possible?
> >
> > NOTE: the debug data format is "stabs".
> >
>
> Hi Fabio,
>
> I think the following two ways should work:
>
> 1. as command line
> gdb Program.exe -s Program.dbg
>
> or
>
> 2. from within a running GDB. Invoke
>
> (gdb) symbol /path/to/Program.dbg
>
> --
> Markus Deuling
Thank you very much Markus.
I'll try it and come back to you with my results! ;)
Bye.
--
Best regards...
Fabio Dell'Aria.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-16 11:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-16 11:03 Use external debug symbols Fabio Dell'Aria
2008-01-16 11:15 ` Markus Deuling
2008-01-16 11:32 ` Fabio Dell'Aria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox