delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/12/25/14:39:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
From: "Gerrit van Niekerk" <gerritvn AT gpvno DOT co DOT za>
Organization: GPvNO
To: djgpp AT delorie DOT com
Date: Tue, 25 Dec 2007 21:38:11 +0200
MIME-Version: 1.0
Subject: Remote debugging
Message-ID: <47717843.12350.3C63B7@gerritvn.gpvno.co.za>
X-Confirm-Reading-To: gerritvn AT gpvno DOT co DOT za,gpvno AT telkomsa DOT net
X-pmrqc: 1
X-mailer: Pegasus Mail for Windows (4.41)
Reply-To: djgpp AT delorie DOT com

I am trying to get remote debugging to work by using GDBST01. I am using the demo 
program that is part of GDBST01 compiled for remote debugging on a remote PC 
connected by a serial cable at 9600 baud. The remote program is waiting in the 
breakpoint() function. This is what I get on the GDB host machine:

C:\Develop\gdbst01>gdb -baud 9600 demo.exe
GNU gdb 6.1.1
Copyright 2004 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 "--host=i386-pc-msdosdjgpp --target=djgpp"...
(gdb) target remote com1
Remote debugging using com1
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
(gdb)

I have made certain that the serial connection is working.

Is GDBST01 compatible with GDB 6.1.1?
Any other reason why it is not working?


- Raw text -


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