aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-01 01:39:22 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-01 01:39:22 +0000
commit4e052eda914ce3a3c48b31a0d13bce89c364495e (patch)
tree67be48d4ba714cfd03f614cec2403abc08a33ef2 /gdb/regcache.c
parent0cff82d9a9b00581ee6462bce4f17ff04922d403 (diff)
downloadgdb-4e052eda914ce3a3c48b31a0d13bce89c364495e.zip
gdb-4e052eda914ce3a3c48b31a0d13bce89c364495e.tar.gz
gdb-4e052eda914ce3a3c48b31a0d13bce89c364495e.tar.bz2
Create new file regcache.h. Update all uses.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 953892c..49ce169 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -25,6 +25,7 @@
#include "target.h"
#include "gdbarch.h"
#include "gdbcmd.h"
+#include "regcache.h"
/*
* DATA STRUCTURE
@@ -554,6 +555,14 @@ supply_register (int regnum, char *val)
/* read_pc, write_pc, read_sp, write_sp, read_fp, write_fp, etc.
Special handling for registers PC, SP, and FP. */
+/* NOTE: cagney/2001-02-18: The functions generic_target_read_pc(),
+ read_pc_pid(), read_pc(), generic_target_write_pc(),
+ write_pc_pid(), write_pc(), generic_target_read_sp(), read_sp(),
+ generic_target_write_sp(), write_sp(), generic_target_read_fp(),
+ read_fp(), generic_target_write_fp(), write_fp will eventually be
+ moved out of the reg-cache into either frame.[hc] or to the
+ multi-arch framework. The are not part of the raw register cache. */
+
/* This routine is getting awfully cluttered with #if's. It's probably
time to turn this into READ_PC and define it in the tm.h file.
Ditto for write_pc.