From 2e668a5dffaa49fde3492f9018ace8ba499ed515 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 23 Aug 2008 20:30:15 +0000 Subject: [PATCH] * macrotab.h (struct macro_definition) : Shrink to one bit. (argc): Now 31 bits. --- gdb/ChangeLog | 5 +++++ gdb/macrotab.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90a73ce1f21..9b90cc00aec 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-08-23 Tom Tromey + + * macrotab.h (struct macro_definition) : Shrink to one bit. + (argc): Now 31 bits. + 2008-08-22 Tom Tromey * NEWS: Move macro entries back under "New commands". diff --git a/gdb/macrotab.h b/gdb/macrotab.h index 5ff36ea2cd6..71f1d3ed547 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 -- 2.30.2