This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: this gdb error
At 11:27 PM 3/31/2004, Gary Thomas wrote:
Is "tty2" the name of a machine? My guess is that GDB is trying to
parse it (I'm pretty sure it allows 'ttyXX' as shorthand for '/dev/ttyXX')
Try giving your machine an alias, e.g. 'termserv' and then use 'termserv:2012'
Hmmm, that sort of helped. Now this is what I get:
demon - % i386-elf-gdb
GNU gdb 6.0
Copyright 2003 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-unknown-freebsd4.9 --target=i386-elf".
(gdb) target remote 192.168.110.12:2012
Remote debugging using 192.168.110.12:2012
0x0000e3e4 in ?? ()
(gdb) load hello-ecos.srec
Loading section .sec1, size 0x5205 lma 0x108000
Ignoring packet error, continuing...
Ignoring packet error, continuing...
... ad infinitum
I tried it with both the hello-ecos ELF binary and the .SREC version.
Thoughts?
--Chuck
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss