Mail Archives: djgpp/2000/06/11/18:21:46
On Sun, 11 Jun 2000 garyroughton AT netzero DOT net wrote:
>
> Nor does it work if I try to execute it upon a simple program:
> D:\djgpp>gcc hello.c -g -o hello.exe
> 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.
>
> I am familiar with the commercial low-level debugger SoftICE.
> It is loaded like a driver from AUTOEXEC, and sometimes
> CONFIG. Do I need to do something like that for fsdb and
> edebug32? Maybe add a line to djgpp.env?
Just specifying the full name is enough.
I know it might seem stupid that a dos debugger doesn't do this itself
(as the turbo debuggger and any debugger ment for dos AFAIk does)..but I
suppose that this is due to DJGPP's having s significant GNU flavour...
For example in borland bcc "test.cpp" will produce a test.exe output..but
gcc "test.cpp" will only produce a mysterious a.out file.."gcc test.cpp -o
test" will not produce test.exe..the executable will be called "test"
So it is importatnt to specify the full name....
Grendel
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
_______________________________________________________________________________
Disclaimer: The above signature virus is GPL and is free software,
therefore I will not be held responsible for any loss of data, any loss of
property that the above signature virus might cause to you ;)
_______________________________________________________________________________
- Raw text -