From d8b3b00eb2cac140cf57b4a0705c672957cddcc5 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 19 Sep 1991 07:39:54 +0000 Subject: Output hex with local_hex_string for Modula-2 support. --- gdb/i387-tdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/i387-tdep.c') diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index 4cdd719..24e8884 100644 --- a/gdb/i387-tdep.c +++ b/gdb/i387-tdep.c @@ -67,7 +67,7 @@ void print_387_control_word (control) unsigned short control; { - printf ("control %s: ", hex_to_string(control)); + printf ("control %s: ", local_hex_string(control)); printf ("compute to "); switch ((control >> 8) & 3) { @@ -97,14 +97,14 @@ unsigned short control; } printf ("\n"); if (control & 0xe080) printf ("warning: reserved bits on: %s\n", - hex_to_string(control & 0xe080)); + local_hex_string(control & 0xe080)); } void print_387_status_word (status) unsigned short status; { - printf ("status %s: ", hex_to_string (status)); + printf ("status %s: ", local_hex_string (status)); if (status & 0xff) { printf ("exceptions:"); -- cgit v1.1