This is the mail archive of the
mailing list for the GDB project.
serial port conflicts
- From: Min ZOU <zou dot min at renesas dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 26 Jan 2005 17:21:32 +0800
- Subject: serial port conflicts
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
Thanks in advance!