]> Git Repo - binutils.git/blobdiff - gdb/c-valprint.c
* config/m88k/xm-delta88.h: Comment out unused defines which conflict
[binutils.git] / gdb / c-valprint.c
index 1a3151b62713586e74e9414aee29901f63f627ba..2344ec7dde04a5e85e98e14fc08b4c0855a55302 100644 (file)
@@ -113,10 +113,6 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
          if (eltlen == 1 && TYPE_CODE (elttype) == TYPE_CODE_INT
              && (format == 0 || format == 's'))
            {
-             if (addressprint && format != 's')
-               {
-                 fprintf_filtered (stream, "0x%x ", address);
-               }
              LA_PRINT_STRING (stream, valaddr, len, 0);
              i = len;
            }
@@ -304,11 +300,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
        }
       else
        {
-#ifdef LONG_LONG
-         fprintf_filtered (stream, "%lld", val);
-#else
-         fprintf_filtered (stream, "%ld", val);
-#endif
+         print_longest (stream, 'd', 0, val);
        }
       break;
 
This page took 0.02574 seconds and 4 git commands to generate.