aboutsummaryrefslogtreecommitdiff
path: root/gdb/dictionary.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dictionary.c')
-rw-r--r--gdb/dictionary.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/dictionary.c b/gdb/dictionary.c
index c94a49e..d51f209 100644
--- a/gdb/dictionary.c
+++ b/gdb/dictionary.c
@@ -761,6 +761,13 @@ language_defn::search_name_hash (const char *string0) const
{
int c = string[2];
+ if (c == 'B' && string[3] == '_')
+ {
+ for (string += 4; ISDIGIT (*string); ++string)
+ ;
+ continue;
+ }
+
if ((c < 'a' || c > 'z') && c != 'O')
return hash;
hash = 0;