diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/macrotab.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90a73ce..9b90cc0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-08-23 Tom Tromey <tromey@redhat.com> + + * macrotab.h (struct macro_definition) <kind>: Shrink to one bit. + (argc): Now 31 bits. + 2008-08-22 Tom Tromey <tromey@redhat.com> * NEWS: Move macro entries back under "New commands". diff --git a/gdb/macrotab.h b/gdb/macrotab.h index 5ff36ea..71f1d3e 100644 --- a/gdb/macrotab.h +++ b/gdb/macrotab.h @@ -269,12 +269,12 @@ struct macro_definition struct macro_table *table; /* What kind of macro it is. */ - enum macro_kind kind; + ENUM_BITFIELD (macro_kind) kind : 1; /* If `kind' is `macro_function_like', the number of arguments it takes, and their names. The names, and the array of pointers to them, are in the table's bcache, if it has one. */ - int argc; + int argc : 31; const char * const *argv; /* The replacement string (body) of the macro. This is in the |