diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symtab.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8255a85..9cd38a3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2019-10-22 Christian Biesinger <cbiesinger@google.com> + * symtab.c (struct demangled_name_entry) <language>: Change from + bitfield to regular variable. + +2019-10-22 Christian Biesinger <cbiesinger@google.com> + * symtab.c (struct demangled_name_entry): Add a constructor. (free_demangled_name_entry): New function to call the destructor for demangled_name_entry. diff --git a/gdb/symtab.c b/gdb/symtab.c index ed55cec..0a87fec 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -719,7 +719,7 @@ struct demangled_name_entry : mangled (mangled_name) {} gdb::string_view mangled; - ENUM_BITFIELD(language) language : LANGUAGE_BITS; + enum language language; char demangled[1]; }; |