summaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-05-22 02:07:19 +0000
committerAndrew Cagney <cagney@redhat.com>2000-05-22 02:07:19 +0000
commitb62506dda004452b22fd721da69828f00fe745e3 (patch)
tree9e1c84d61bdc66e338d0c4682c96503a30595a61 /gdb/monitor.c
parentb4befa8a868d95d92de6179ac16e74be3ae384ef (diff)
downloadgdb-b62506dda004452b22fd721da69828f00fe745e3.tar.gz
Replace preg() with phex(). Cleanup monitor.c.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index a9bd5026c26..8dbd31f4202 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -1377,7 +1377,8 @@ monitor_store_register (regno)
}
val = read_register (regno);
- monitor_debug ("MON storeg %d %s\n", regno, preg (val));
+ monitor_debug ("MON storeg %d %s\n", regno,
+ phex (val, REGISTER_RAW_SIZE (regno)));
/* send the register deposit command */