LONGEST val;
unsigned int i = 0; /* Number of characters printed. */
struct type *elttype;
- unsigned eltlen;
CORE_ADDR addr;
switch (TYPE_CODE (type))
}
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
}
if (addressprint && format != 's')
{
- fprintf_filtered (stream, "H'%x ", addr);
+ /* This used to say `addr', which is unset at this point.
+ Is `address' what is meant? */
+ fprintf_filtered (stream, "H'%lx ", (unsigned long) address);
}
i = TYPE_LENGTH (type);
LA_PRINT_STRING (stream, valaddr, i, 0);