offset of a struct field (qSymbol)
Daniel Jacobowitz
drow@false.org
Wed Oct 1 22:25:00 GMT 2008
On Wed, Oct 01, 2008 at 03:19:04PM -0700, Michael Snyder wrote:
> There is a syntax for gdb to send an expression to the
> server, and have the server evaluate it. Perhaps we could
> simply reverse that syntax, so that the server could send
> an expression to gdb, and have gdb evaluate it and send
> back the answer?
IMO this is a bad idea. It's too ambiguous, and it will breed remote
servers that rely on quirks in a particular version of the GDB
expression parser.
I've worked with some other debug tools that worked this way and it
was a terrible headache.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list