This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] plugin/extension interface
On Sat, Dec 03, 2005 at 04:05:59PM +1100, Russell Shaw wrote:
> 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
We've talked about doing this before, but some people like it and
others don't, so we've left alone - also, CVS notoriously doesn't like
renaming files. It doesn't make a whole lot of difference.
--
Daniel Jacobowitz
CodeSourcery, LLC