This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: New directory src/gdb/misc?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 7 Mar 2002 00:31:34 -0500
- Subject: Re: New directory src/gdb/misc?
- References: <3C86D0FA.6010801@cygnus.com>
On Wed, Mar 06, 2002 at 09:31:22PM -0500, Andrew Cagney wrote:
> Hello,
>
> Some may have noticed DanielJ's and my discussion about better sharing
> of the signals.c code between GDB and GDBSERVER.
>
> I'd previously posted a suggestion that gdb/utils.c be broken down into
> smaller parts and moved to a new directory gdb/utils/. utils.c is
> running into system include header problems, that should be easier to
> handle if there are a number of smaller more independant files.
>
> In addition to this GDBSERVER and GDB contain a number of common chunks
> of code related to signal handling and conversion. The proposal is to
> break signals.c down into smaller files in the directory gdb/common/.
>
> Having had a bit of time to think this over, I suspect a gdb/utils/
> directory is wrongly named - utils makes me think of utility programs.
>
> This leaves ``gdb/common'' and, (new suggestion) gdb/misc/ as possible
> directory names.
'misc' doesn't convey any information. It's like calling something
'new' in its documentation - not useful for very long. I'd vote for
common.
Ideally, there would be other files as GDB became gradually more
modular. THat's something to talk about later though.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer