ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/01/15/14:18:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX1/fs/RozZffiyhs554935QD59P/S+4Sjjn5euKHXX
9OeeYskV6X1uba
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp AT delorie DOT com
Subject: Difficulries with GDB 7.2 compiled with DJGPP
Date: Sat, 15 Jan 2011 20:18:51 +0100
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Message-Id: <201101152018.51379.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0

I have compiled gdb-7.2 out-of-the-box using stock djdev203 and djdev204.  Both
builds were successful.  I was able to step through a simple sample program
using the djdev203 build but for the djdev204 build this was not possible.
I got the following output:


F:\g\4\__bins__\bin>gdb 2.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i786-pc-msdosdjgpp --target=djgpp".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from f:/g/4/__bins__/bin/2.exe...done.
(gdb) b main
Breakpoint 1 at 0x1f26: file 1.c, line 5.
(gdb) r
Starting program: f:/g/4/__bins__/bin/2.exe
Don't know how to run.  Try "help target".
(gdb)


I do not understand why the 2.03 version understands that the target is an exec
but the 2.04 version does not.  If I specify the target the I get the following
output:



F:\g\4\__bins__\bin>gdb 2.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i786-pc-msdosdjgpp --target=djgpp".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from f:/g/4/__bins__/bin/2.exe...done.
(gdb) b main
Breakpoint 1 at 0x1f26: file 1.c, line 5.
(gdb) r
Starting program: f:/g/4/__bins__/bin/2.exe
Don't know how to run.  Try "help target".
(gdb) target exec
No executable file now.
(gdb)


Any suggestions?  I have configured and compiled out-of-the-box on WinXP Prof SP3.
gcc 4.4.4 and bash 2.05b release 3.  If more info is need please let me know.

Regards,
Juan M. Guerrero

- Raw text -


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