This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB connection to redboot GDB stub
- To: Suresh N <nsuresh at cdotb dot ernet dot in>
- Subject: Re: [ECOS] GDB connection to redboot GDB stub
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 14 Jun 2001 18:02:03 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.OSF.4.21.0106141718320.3320-100000@jnana.cdotb.ernet.in>
Suresh N wrote:
>
> Hi all,
>
> i was able to get the redboot prompt..
> i downloaded the hello.srec using tftp and tried to execute it and
> it's not working.. it is printing some junk
> characters.
> how will connect GDB to redboot GDB stub and debug
The junk is probably GDB packets, although if the program was trying to
output, it should have appeared in plain text. Unless you enabled the
"Include GDB stubs" in your eCos configuration for your application.
But I suggest reading the RedBoot User's Guide.
http://sources.redhat.com/ecos/docs-latest/redboot/redboot.html
In general, you can connect from GDB over TCP/IP with "target remote
host:9000" and download and run your program that way.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/