diff options
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index b557c1d..ffe0ba1 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -1,5 +1,5 @@ /* Helper routines for C++ support in GDB. - Copyright (C) 2002-2024 Free Software Foundation, Inc. + Copyright (C) 2002-2025 Free Software Foundation, Inc. Contributed by MontaVista Software. Namespace support contributed by David Carlton. @@ -63,6 +63,10 @@ struct demangle_parse_info /* Any memory used during processing. */ auto_obstack obstack; + /* True if the parser had to add a dummy '()' at the end of the + input text to make it parse. */ + bool added_parens = false; + /* Any other objects referred to by this object, and whose storage lifetime must be linked. */ std::vector<std::unique_ptr<demangle_parse_info>> infos; |