duplicated code in gdb and gdbserver

Joel Brobecker brobecker@adacore.com
Tue Jan 11 23:38:00 GMT 2011


> And with such a library, I'd make it so that "non-gdb tools" could use
> it too.  For example, it would make easier the building of gdbservers
> that need to speak something other than the remote protocol.

I'm not entirely crazy about the idea of a public API, mostly because
I would prefer to avoid compatibility issues when making changes.
This is an extra constraint that I'd like to avoid unless we know
some projects would benefits in ways that they cannot with approaches
that are currently available.

What I would much rather see, is something that allows projects to
easily implement the client-side part of the remote protocol. That
could even be done independently from GDB, much like GDB/MI parsers
are being implemented independently from GDB.

-- 
Joel



More information about the Gdb-patches mailing list