This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB-Protocol: Script command
- To: cagney@cygnus.com
- Subject: Re: GDB-Protocol: Script command
- From: Stan Shebs <shebs@cygnus.com>
- Date: Wed, 16 Jun 1999 17:52:38 -0700
- CC: gdb@sourceware.cygnus.com
From: Andrew Cagney <ac131313@cygnus.com>
Date: Thu, 17 Jun 1999 10:13:09 +1000
When debugging both embedded targets and simulators there is often the
need to pass across target specific commands.
This is an often-requested feature, so yes, this would be a good
addition.
o encoding of special charcters
(should we just pass hex?).
Pass hex. It's a bit onerous to target-side hackers to make them
encode responses, but the risk of messing up the protocol is pretty
high otherwise (and even an experienced developer can end up wasting
a bunch of time trying to diagnose this case).
o security
???
o the corresponding GDB command
(I've no idea, suggestions welcome).
There is a "remote" command already that works with ROM monitors and
does more or less the same thing. I would suggest stealing it and
making monitor users type "monitor" instead, if there's no way to
share the command reasonably.
Stan