X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com From: "Gerrit van Niekerk" 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) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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?