Mail Archives: djgpp/2000/06/12/09:48:34
On Mon, 12 Jun 2000, Kalum Somaratna aka Grendel wrote:
> > D:\djgpp>fsdb hello
> > hello: No such file or directory (ENOENT)
> > Load failed for image lines
> >
> > What then is "debug-image", if not the executable?
>
> Yes it is in the executable, but please specify the *full name* of the
> executable, hello.exe *not* just hello...
>
> ie fsdb hello.exe will work.
Actually, even "fsdb hello" will work, provided that there is a file
`hello' in that directory. But many users say "gcc -o hello.exe",
which only creates `hello.exe'. If you say "gcc -o hello", that would
produce both `hello' and `hello.exe', and "fsdb hello" will work.
Note that chapter 12 in the FAQ explicitly tells you to say "gdb foo.exe".
> I know it might seem stupid that a dos debugger doesn't do this itself
Patches to fsdb to make it look for .exe are welcome.
- Raw text -