* demangle.c (is_cplus_marker): New function, checks if a
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index 07dca2b3b00082353fb9412aa3e493c1e4b009cc..96c59f859718cacac419396e08cc32e20dec5375 100644 (file)
@@ -785,7 +785,7 @@ parse_symbol (sh, ax, ext_sh, bigend, section_offsets)
       top_stack->numargs++;
 
       /* Special GNU C++ name.  */
-      if (name[0] == CPLUS_MARKER && name[1] == 't' && name[2] == 0)
+      if (is_cplus_marker (name[0]) && name[1] == 't' && name[2] == 0)
        name = "this";          /* FIXME, not alloc'd in obstack */
       s = new_symbol (name);
 
This page took 0.024045 seconds and 4 git commands to generate.