[RFC] plugin/extension interface

Russell Shaw rjshaw@netspace.net.au
Sat Dec 3 05:06:00 GMT 2005


Russell Shaw wrote:
> Daniel Jacobowitz wrote:
> 
>> On Sat, Dec 03, 2005 at 03:05:25PM +1100, Russell Shaw wrote:
>>
...
> With all the interfaces in gdb subdirectories, all the example code that
> anyone could ever want for adding support for new hardware, is already
> there to look at (i looked at gdb-6.3/gdb/remote*.c to start my one).

Maybe these subdirectories should actually be for each cpu type,
and any hardware debugger protocols should be in a subdirectory
of that.

This would simplify the source tree of gdb *alot*.

Currently:

   gdb-6.3/gdb/remote-hms.c
   gdb-6.3/gdb/h8300-tdep.c

New:

   gdb-6.3/gdb/h8300/remote/hms.c
   gdb-6.3/gdb/h8300/tdep.c



More information about the Gdb mailing list