Hi, 2008/1/16, Marco van de Voort <[EMAIL PROTECTED]>: > > 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: > > http://sourceware.org/ml/gdb/2008-01/msg00119.html > > > > 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 > to execute. > (gdb) > > from _EXECUTABLE_ file FILE, iow you still need the unstripped exe. > > It's like calling > > copy file1.exe file-debug.exe > strip file1.exe > > and then pass file-debug.exe to gdb also.
Why not simple add a new FPC option able to store the debug symbols in a separated .dbg file? -- Best regards... Fabio Dell'Aria. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel