delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/11/18:21:46

Date: Mon, 12 Jun 2000 04:18:42 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: kalum AT roadrunner DOT grendel DOT net
To: garyroughton AT netzero DOT net
cc: djgpp AT delorie DOT com
Subject: Re: Need help with FSDB/EDEBUG32 before I lose my mind
In-Reply-To: <3943A95B.40DEA02C@netzero.net>
Message-ID: <Pine.LNX.4.21.0006120413100.841-100000@roadrunner.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019