Replace the MSYMBOL_*_NAME macros with member functions
[deliverable/binutils-gdb.git] / gdb / expprint.c
index c98638ab7fe9cfb0c496600bcedbc9548f2669c0..70b9eb5bf66ab0ecd238d7fe70c8b7bdc33edb7f 100644 (file)
@@ -138,7 +138,7 @@ print_subexp_standard (struct expression *exp, int *pos,
     case OP_VAR_MSYM_VALUE:
       {
        (*pos) += 3;
-       fputs_filtered (MSYMBOL_PRINT_NAME (exp->elts[pc + 2].msymbol), stream);
+       fputs_filtered (exp->elts[pc + 2].msymbol->print_name (), stream);
       }
       return;
 
@@ -908,7 +908,7 @@ dump_subexp_body_standard (struct expression *exp,
       fprintf_filtered (stream, ", msymbol @");
       gdb_print_host_address (exp->elts[elt + 1].msymbol, stream);
       fprintf_filtered (stream, " (%s)",
-                       MSYMBOL_PRINT_NAME (exp->elts[elt + 1].msymbol));
+                       exp->elts[elt + 1].msymbol->print_name ());
       elt += 3;
       break;
     case OP_VAR_ENTRY_VALUE:
This page took 0.034833 seconds and 4 git commands to generate.