delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/03/07:22:01

To: djgpp AT delorie DOT com
Date: Fri, 3 Mar 2000 03:56:52 -0500
Subject: GDB load prob
Message-ID: <20000303.035656.-335679.1.roberts.j.whitlock@juno.com>
X-Mailer: Juno 4.0.5
MIME-Version: 1.0
X-Juno-Line-Breaks: 1-10,12,14-15,17-29,31-39
X-Juno-Att: 0
X-Juno-RefParts: 0
From: Robert S Whitlock <roberts DOT j DOT whitlock AT juno DOT com>
Reply-To: djgpp AT delorie DOT com

Hello, I got DJGPP 2.02, Allegro 3.9.31, GCC 2.95.2, DOS box in W95, etc
etc, compiled with -g, not with -s, I try to debug it and I get this:

Fri 03-03-2000 3:55:15.13
F:\dev\FASDK\bin> dir /b
a.exe

Fri 03-03-2000 3:52:24.97
F:\dev\FASDK\bin> gdb a.exe
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-pc-msdosdjgpp"...
(gdb) run
`f:/dev/fasdk/bin/a.exe' has disappeared; keeping its symbols.
Starting program: f:/dev/fasdk/bin/a.exe
Load failed for image f:/dev/fasdk/bin/a.exe

Fri 03-03-2000 3:52:43.43
F:\dev\FASDK\bin>

First question: What does that error mean?
Second question: How do I fix it?

Do the sources need to be in the same dir as the debugged program?
Because they are in a different directory...


TIA


--Robert Whitlock
http://www.geocities.com/CapeCanaveral/Hangar/9520/
ICQ 60123256

- Raw text -


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