gdb.h, libgdb.h, gdblib.h, gdb-lib.h, ...?

Michael Snyder msnyder@cygnus.com
Mon Dec 13 08:39:00 GMT 1999


Andrew Cagney wrote:
> 
> So, ok I've been ignoring this one.
> 
> We're going to try to create a library.  Some bits, like ``struct
> gdb_file'' can easily live in ``gdb-file.h'' where they can be (fairly
> safely) included by non-core GDB code.
> 
> But what of the main GDB functions? Eg:
> 
>         XXX {lib,}gdb{,lib}_breakpoint_query (..., b, ...);
> 
> For the moment, based on a detailed probabilistic analysis (coin toss)
> I'll assume ``gdb.h''.  If anyone can think of a compelling case for
> some other name, please speak now :-)

I would rather see them grouped somehow into discrete 
interfaces.  Breakpoint module, symbol module, that sort
of thing.


More information about the Gdb-patches mailing list