This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


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

Re: GDB-Protocol: Script command



   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



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