* macrotab.h (struct macro_definition) <kind>: Shrink to one bit.
authorTom Tromey <tromey@redhat.com>
Sat, 23 Aug 2008 20:30:15 +0000 (20:30 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 23 Aug 2008 20:30:15 +0000 (20:30 +0000)
(argc): Now 31 bits.

gdb/ChangeLog
gdb/macrotab.h

index 90a73ce1f21a425351268b33e78565ea2294304f..9b90cc00aec00686912c318c0a05730968f7c123 100644 (file)
@@ -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".
index 5ff36ea2cd6e6f8437b0330342f8e6043ece1b6f..71f1d3ed5472e685c466531a922b4ccf0db3878b 100644 (file)
@@ -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
This page took 0.030988 seconds and 4 git commands to generate.