This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] plugin/extension interface
On Fri, Dec 02, 2005 at 02:12:46PM -0800, Jim Blandy wrote:
> I'm not so hostile to plug-in interfaces. It's true that the API
> needs to be designed carefully, but allowing people to maintain other
> features (targets; architectures; commands) separately from GDB would
> take a big load off our backs.
I don't think the benefit for targets or architectures is a
particularly large one. Folks should expect to have to deal with core
GDB for these, or use the remote protocol boundary. I do think we will
want plugins eventually, but I haven't thought much about whether real
dlopen'd plugins are worthwhile, or e.g. python.
One classic example of this: domain-specific "shared library" objects
for custom module loaders, like the Linux kernel's or X11's.
--
Daniel Jacobowitz
CodeSourcery, LLC