This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: [PATCH] (try #2) cleanup section_addr_info struct



Approved, with one change:

Could you rename the only remaining member of `struct
section_addr_info' to `sections'?  It's kind of odd to have a
structure with only one member, named `other'.  :)


The following would also be nice, but I don't know how tight your
schedule is: 

Instead of duplicating all these search loops everywhere, could you
wrap up that logic in a little function or two in symfile.c, and then
use it in the appropriate places?


In general, I'm astonished that you only needed to add one search to
all of GDB.  This means that those three fixed fields were only ever
used in that one place.  What a waste!

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