aboutsummaryrefslogtreecommitdiff
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
commit5683e87aa5680099320f4900de6ec7edc99d9f5d (patch)
treebd0233cdf94f4f72c8a32d8ec2f911cbd9c7f7fd /gdb/monitor.c
parente8475ad46302c0439093e9e25d631e56331f20e4 (diff)
downloadgdb-5683e87aa5680099320f4900de6ec7edc99d9f5d.zip
gdb-5683e87aa5680099320f4900de6ec7edc99d9f5d.tar.gz
gdb-5683e87aa5680099320f4900de6ec7edc99d9f5d.tar.bz2
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 a9bd502..8dbd31f 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 */