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]
Other format: [Raw text]

Re: GDB "invalid remote reply"...


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


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