Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* shared serial port in GDB
@ 2005-11-22 14:19 Inder
       [not found] ` <20051122142215.GA16039@nevyn.them.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Inder @ 2005-11-22 14:19 UTC (permalink / raw)
  To: gdb

Hi All,

I have a requirement that i need to use the same serial port to send
commands to the board and also debug it using GDB.

I have searched the archives there is only one discussion on this

 http://sources.redhat.com/ml/crossgcc/1999-q3/msg00265.html

I just wanted to know if such a feature is already available in GDB,
if not will it be useful if i wanted to add it in myself.

--
Thanks,
Inder

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shared serial port in GDB
       [not found] ` <20051122142215.GA16039@nevyn.them.org>
@ 2005-11-22 19:30   ` Jim Blandy
  2005-11-22 20:15   ` Jim Blandy
  1 sibling, 0 replies; 3+ messages in thread
From: Jim Blandy @ 2005-11-22 19:30 UTC (permalink / raw)
  To: Inder, gdb

Or, depending on the sorts of commands you need to send, GDB's
'monitor' command might be helpful.  It sends an 'qRcmd' packet to the
stub, and the stub can do with it whatever it likes.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shared serial port in GDB
       [not found] ` <20051122142215.GA16039@nevyn.them.org>
  2005-11-22 19:30   ` Jim Blandy
@ 2005-11-22 20:15   ` Jim Blandy
  1 sibling, 0 replies; 3+ messages in thread
From: Jim Blandy @ 2005-11-22 20:15 UTC (permalink / raw)
  To: gdb

Veering off-topic: when I deal with the remote protocol, I often
wonder how small one could get a PPP implementation.  The remote
protocol's half-hearted gestures at layering, control character
transparency, and so on just seem kind of dumb.  One wouldn't need to
implement all the little PPP sub-protocols.  But it would be cool to
actually talk to a stub over TCP, and be able to assume a reliable
connection.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-22 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-22 14:19 shared serial port in GDB Inder
     [not found] ` <20051122142215.GA16039@nevyn.them.org>
2005-11-22 19:30   ` Jim Blandy
2005-11-22 20:15   ` Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox