remote: Fix indentation in remote_new_objfile.
[deliverable/binutils-gdb.git] / gdb / dictionary.c
index c94a49ee3737467e60275980eaa671ee7713b30a..e18582038c96fc785f45daad3e686666e2437632 100644 (file)
@@ -1,6 +1,6 @@
 /* Routines for name->symbol lookups in GDB.
    
-   Copyright (C) 2003-2020 Free Software Foundation, Inc.
+   Copyright (C) 2003-2021 Free Software Foundation, Inc.
 
    Contributed by David Carlton <carlton@bactrian.org> and by Kealia,
    Inc.
@@ -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;
This page took 0.02397 seconds and 4 git commands to generate.