aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-reg.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-06-23 17:59:08 +0000
committerMichael Snyder <msnyder@vmware.com>2003-06-23 17:59:08 +0000
commit72f536bd7809ddf3df66477fc3607204831f9f58 (patch)
tree52afd6833c5b92310c1d3a01eb28cbffec2c86d8 /sim/common/sim-reg.c
parentf2c06f52818cc7ea99b63b9ff2982e71427d09df (diff)
downloadgdb-72f536bd7809ddf3df66477fc3607204831f9f58.zip
gdb-72f536bd7809ddf3df66477fc3607204831f9f58.tar.gz
gdb-72f536bd7809ddf3df66477fc3607204831f9f58.tar.bz2
2003-06-23 Michael Snyder <msnyder@redhat.com>
* sim-reg.c: Fix cut-and-paste bug in comment.
Diffstat (limited to 'sim/common/sim-reg.c')
-rw-r--r--sim/common/sim-reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-reg.c b/sim/common/sim-reg.c
index 3f3dc41..75cfb0a 100644
--- a/sim/common/sim-reg.c
+++ b/sim/common/sim-reg.c
@@ -36,8 +36,8 @@ sim_fetch_register (SIM_DESC sd, int rn, unsigned char *buf, int length)
return (* CPU_REG_FETCH (cpu)) (cpu, rn, buf, length);
}
-/* Generic implementation of sim_fetch_register for simulators using
- CPU_REG_FETCH.
+/* Generic implementation of sim_store_register for simulators using
+ CPU_REG_STORE.
The contents of BUF are in target byte order. */
/* ??? Obviously the interface needs to be extended to handle multiple
cpus. */