This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB connection to redboot GDB stub


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]