This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]