Mail Archives: djgpp/1998/07/22/18:16:23
Anton Helm wrote:
> BTW: gdb reads source files from the directories given with the 'dir'
> command (defaults to compile-dir and cwd). Do djgpp executables
> contain the compile-dir info? gdb never finds the sources for
> programs without explicit 'dir' command. (I haven't tested this with plain DOS.)
> I've tried strings on the *.exe file but did't find any directory info.
No, the executable has no record of the path of the source; you have to
use `dir'. (This is the same on Unix, btw.) You can automate that with
a gdb.ini file for the project.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -