aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-08-23 20:30:15 +0000
committerTom Tromey <tromey@redhat.com>2008-08-23 20:30:15 +0000
commit2e668a5dffaa49fde3492f9018ace8ba499ed515 (patch)
treecc75649140e4aac4d2ac530a9c69c78104919e95 /gdb
parent91910cddf13d04ea3831c9af2f9c6ff27a9c0f33 (diff)
downloadgdb-2e668a5dffaa49fde3492f9018ace8ba499ed515.zip
gdb-2e668a5dffaa49fde3492f9018ace8ba499ed515.tar.gz
gdb-2e668a5dffaa49fde3492f9018ace8ba499ed515.tar.bz2
* macrotab.h (struct macro_definition) <kind>: Shrink to one bit.
(argc): Now 31 bits.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/macrotab.h4
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