public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Connecting to GDB stubs
@ 2005-05-04 12:05 Joel Eriksson
  0 siblings, 0 replies; only message in thread
From: Joel Eriksson @ 2005-05-04 12:05 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I cannot connect to my target from gdb using GDB stubs in the target 
application. The host is a Windows machine with cygwin and my target is an 
i386 PC with GRUB startup type. I have included 
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS and CYGDBG_HAL_DEBUG_GDB_INITIAL_BREAK 
and when I boot my application from GRUB it stops (probably at the initial 
breakpoint). Then I try to connect using gdb, but get following errors:

$ i386-elf-gdb
GNU gdb 5.3 (eCosCentric)
Copyright 2002 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=i686-pc-cygwin --target=i386-elf".
(gdb) set remotebaud 38400
(gdb) target remote /dev/com1
Remote debugging using /dev/com1
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Couldn't establish connection to remote target
Malformed response to offset query, timeout
(gdb)


Note, that I have no problems to upload applications with RAM startup type 
using com1 (or ethernet) so it should not be any problems with my serial 
connection.

Anyone have any ideas?

/Joel Eriksson

_________________________________________________________________
Auktioner: Tjäna en hacka på gamla prylar http://tradera.msn.se


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-04 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 12:05 [ECOS] Connecting to GDB stubs Joel Eriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).