This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: duplicated code in gdb and gdbserver


> 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


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