serial port conflicts
Min ZOU
zou.min@renesas.com
Wed Jan 26 09:18:00 GMT 2005
Hi,
I have implemented a gdb stub for a SH2 target based on "sh-stub.c" from
GDB-v3.6 source. Now some basic features like step, break, cont, memory
read/write, etc. are tested successfully.
The gdb stub and gdb on host communicate via remote serial protocol.
However I have a problem to debug an application program, which accesses
the same serial port used by gdb, e.g. I/O functions like "putstring()",
"getchar()", etc. In my case, "putstring()" cannot display any message
in gdb console, and "getchar()" cannot receive any input.
I guess there is a conflict between gdb and application program to
access the same serial port. I'd like to hear any advice on solving this
problem.
Thanks in advance!
--
Best Regards,
Min
More information about the Gdb
mailing list