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]

GDB question.


Hello,
I am very new at implementing GDB stuff. I have
simulator which can a talk to a GDB host software
throught a serial port. I loaded GDB stubs in my
simulator and called "breakpoint()". 

I start my gdb host program, and type the following

(gdb) target extended-remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Couldn't establish connection to remote target
Malformed response to offset query,
T0544:00000000;0e:00000000;
(gdb) 


I found the GDB host was sending "+$Hc-1#09" to my
target.

It seems my GDB stub program keep on sending
"T0544:00000000;0e:00000000" string I have no idea
why.


Can someone let me know what are the sequence of
events suppose to happen at the target when  the GDB
host request for a connection. By that I mean when the
GDB host type "target extended-remote /dev/ttyS0" what
should be the sequence of response expected from the
target.

           Thank you in advance.
                       Ottawa




__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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