This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
New directory src/gdb/misc?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 06 Mar 2002 21:31:22 -0500
- Subject: New directory src/gdb/misc?
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.
thoughts,
Andrew