gdbtypes.resolve_dynamic_range: Add function description.
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 95731055edd1c5e877310d3a9e924e575bc5a0cd..f4694b07ca8f0671ea17fc4f8dd4e0740472c320 100644 (file)
@@ -28,6 +28,7 @@
 #include "c-lang.h"
 #include "cp-abi.h"
 #include "target.h"
+#include "objfiles.h"
 \f
 
 /* A helper for c_textual_element_type.  This checks the name of the
@@ -316,12 +317,12 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
              /* If 'symbol_print' is set, we did the work above.  */
              if (!options->symbol_print
                  && (msymbol.minsym != NULL)
-                 && (vt_address == SYMBOL_VALUE_ADDRESS (msymbol.minsym)))
+                 && (vt_address == BMSYMBOL_VALUE_ADDRESS (msymbol)))
                {
                  if (want_space)
                    fputs_filtered (" ", stream);
                  fputs_filtered (" <", stream);
-                 fputs_filtered (SYMBOL_PRINT_NAME (msymbol.minsym), stream);
+                 fputs_filtered (MSYMBOL_PRINT_NAME (msymbol.minsym), stream);
                  fputs_filtered (">", stream);
                  want_space = 1;
                }
@@ -338,7 +339,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
                    fputs_filtered (" ", stream);
 
                  if (msymbol.minsym != NULL)
-                   wsym = lookup_symbol (SYMBOL_LINKAGE_NAME (msymbol.minsym),
+                   wsym = lookup_symbol (MSYMBOL_LINKAGE_NAME (msymbol.minsym),
                                          block, VAR_DOMAIN,
                                          &is_this_fld);
 
This page took 0.024049 seconds and 4 git commands to generate.