New directory src/gdb/misc?
Daniel Jacobowitz
drow@mvista.com
Wed Mar 6 21:31:00 GMT 2002
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
More information about the Gdb
mailing list