This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: gdb.h, libgdb.h, gdblib.h, gdb-lib.h, ...?
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: gdb.h, libgdb.h, gdblib.h, gdb-lib.h, ...?
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Mon, 13 Dec 1999 08:37:59 -0800
- CC: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <38543F53.1A0CE468@cygnus.com>
- Reply-To: msnyder at cygnus dot com
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.