Use symbol_set_language to set a symbol's language
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 58675f6d9dffe08bfbde968c9a6ff2821a1f1e6e..607fb80c58f36214026c165eff11c03497cd914d 100644 (file)
@@ -187,7 +187,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
          if (want_space)
            fputs_filtered (" ", stream);
          fputs_filtered (" <", stream);
-         fputs_filtered (MSYMBOL_PRINT_NAME (msymbol.minsym), stream);
+         fputs_filtered (msymbol.minsym->print_name (), stream);
          fputs_filtered (">", stream);
          want_space = 1;
        }
@@ -203,8 +203,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
 
          if (msymbol.minsym != NULL)
            {
-             const char *search_name
-               = MSYMBOL_SEARCH_NAME (msymbol.minsym);
+             const char *search_name = msymbol.minsym->search_name ();
              wsym = lookup_symbol_search_name (search_name, NULL,
                                                VAR_DOMAIN).symbol;
            }
This page took 0.024842 seconds and 4 git commands to generate.