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

Re: [rfa] save space by using enum bitfields


There are a variety of semi-ugly ways to write this.  Andrew C
mentioned that he wanted to re-use the same way that gcc uses.
I like that.

Also I would prefer to keep the ": 8" in the structure definition
rather than stick it into the macro.  Some of these enum's need
even less space than 8 bits and we might get into some better
packing that way.

As far as the size goes, I will try my test case with "-readnow"
to suck in all the symbols from the target executable and its
shared libraries (gdb + libc).  With the old gdb, this takes
117280 kilobytes, most of which has to be symbol table related.

Michael C


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