This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB "invalid remote reply"...
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: "Schumacher, Gordon" <gordon_schumacher at maxtor dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 05 Nov 2002 02:55:07 +0000
- Subject: Re: [ECOS] GDB "invalid remote reply"...
- References: <E836CBDA0DC0D5118606009027DE2A0C983C27@mcoexc02.mlm.maxtor.com>
Schumacher, Gordon wrote:
As suggested (and as planned), I'm trying to get Insight/GDB running on my
setup.
I open the .out file and select Run->Connect To Target. Most of the time,
it just hangs.
The rare times that it doesn't, I can then type "continue" in the console,
or alternately select "Control->Step" (the results are identical.)
A few seconds after this, I get a message back saying, "Invalid remote
reply: 00ttrraa::0000002200::44cc000000::88ee0000".
Looks like your UART is spitting out double characters. If you use the GDB
console you can try using "set debug remote 1" and then definitely seeing
what gets sent and received.
I also tend to see "Ignoring packet error" and "Packet instead of Ack"
messages with some frequency in the debug output.
Definitely looks like some serial errors somewhere.
I suspect that my code may be blowing up somewhere, as when the "Connect To
Target" works, the debugger indicates that the code is somewhere in
cyg_libc_main_stack() (which should be data, no?)
Sometimes GDB tries to do a best guess and fails. Don't *necessarily* read
too much into the code name it suggests. Instead look at the address. When
connecting to a RedBoot running in ROM it should be a ROM address.
Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss