aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 07:39:54 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 07:39:54 +0000
commitd8b3b00eb2cac140cf57b4a0705c672957cddcc5 (patch)
tree7a9d20d1dc4d95271aefd81b1ecd5111443399a8 /gdb/i387-tdep.c
parent35505d07d71494db2f53085436d550c181dfca6d (diff)
downloadgdb-d8b3b00eb2cac140cf57b4a0705c672957cddcc5.zip
gdb-d8b3b00eb2cac140cf57b4a0705c672957cddcc5.tar.gz
gdb-d8b3b00eb2cac140cf57b4a0705c672957cddcc5.tar.bz2
Output hex with local_hex_string for Modula-2 support.
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r--gdb/i387-tdep.c6
1 files changed, 3 insertions, 3 deletions
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:");