* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git] / gdb / ch-valprint.c
index 873da1b53c7af8341f526af6d1ee3e6dc3c87cb6..261b22ee62c6be248115cd199367e11cb38b2b20 100644 (file)
@@ -156,7 +156,7 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
        }
       if (addressprint && format != 's')
        {
-         fprintf_filtered (stream, "H'%x", addr);
+         fprintf_filtered (stream, "H'%lx", (unsigned long) addr);
        }
       
       /* For a pointer to char or unsigned char, also print the string
@@ -186,7 +186,7 @@ chill_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
        {
          /* This used to say `addr', which is unset at this point.
             Is `address' what is meant?  */
-         fprintf_filtered (stream, "H'%x ", address);
+         fprintf_filtered (stream, "H'%lx ", (unsigned long) address);
        }
       i = TYPE_LENGTH (type);
       LA_PRINT_STRING (stream, valaddr, i, 0);
This page took 0.022927 seconds and 4 git commands to generate.