This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: duplicated code in gdb and gdbserver
Doug Evans <dje@google.com> writes:
> [...]
> What I'd like to see (repeated here for the list's sake, with
> apologies to the irc crowd :-)), is a publicly usable library (or
> collection of libraries) used by gdb and gdbserver. [I'd like to see
> more of the gnu tools made available as libraries, btw.]
A differently aimed step toward this could be to remove duplication
between gdb native and gdbserver by gradually *deprecating gdb native
support*. A library API for the remote protocol would be a natural
non-symbolic/process-control programming interface.
- FChE