[fpc-devel] A Compiled file size solution from the GBD mailing-list
Marco van de Voort
marcov at stack.nl
Wed Jan 16 12:47:12 CET 2008
> I have asked to the official GDB mailing list, if is possible debug a
> program using as debug symbols an external files.
> The answer is yes (there are two method to do this).
> You can read the full answer here:
> I hope this can help we.
Did you test it?
(gdb) help symbol
Load symbol table from executable file FILE.
The `file' command can also load symbol tables, as well as setting the file
from _EXECUTABLE_ file FILE, iow you still need the unstripped exe.
It's like calling
copy file1.exe file-debug.exe
and then pass file-debug.exe to gdb also.
More information about the fpc-devel