diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-19 12:20:01 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-05-12 13:25:28 -0600 |
commit | 658d5e0c6184a4f07f40c6d4d1aacfdeafd44d6a (patch) | |
tree | cea94f9817034d9fd6b2a1495c06f2aa8ad9c6d5 /gdb/symtab.c | |
parent | 47ef0ac717f93b330dc475647f069bf64f7da862 (diff) | |
download | gdb-658d5e0c6184a4f07f40c6d4d1aacfdeafd44d6a.zip gdb-658d5e0c6184a4f07f40c6d4d1aacfdeafd44d6a.tar.gz gdb-658d5e0c6184a4f07f40c6d4d1aacfdeafd44d6a.tar.bz2 |
Bump MAX_SYMBOL_IMPLS
A subsequent patch will introduce more aclass registrations, causing
the number to go over the current maximum. This bumps the number.
Note that there's a separate static assert that ensures that this
number doesn't get too large for the field size in the symbol.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 2a15a61..8ace6ae 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -6351,7 +6351,7 @@ static int next_aclass_value = LOC_FINAL_VALUE; /* The maximum number of "aclass" registrations we support. This is constant for convenience. */ -#define MAX_SYMBOL_IMPLS (LOC_FINAL_VALUE + 10) +#define MAX_SYMBOL_IMPLS (LOC_FINAL_VALUE + 11) /* The objects representing the various "aclass" values. The elements from 0 up to LOC_FINAL_VALUE-1 represent themselves, and subsequent |