aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-07-10 06:16:51 +0000
committerMichael Snyder <msnyder@vmware.com>2000-07-10 06:16:51 +0000
commit32178cabe9d82d333ad4274fadb37418da4fb8d1 (patch)
tree359c7395c9d578bc9672a3dbfd1447fa0ba3ad53 /gdb/value.h
parent62c848e1d0ed5fb4556a945009b1a8cccd6f41d3 (diff)
downloadgdb-32178cabe9d82d333ad4274fadb37418da4fb8d1.zip
gdb-32178cabe9d82d333ad4274fadb37418da4fb8d1.tar.gz
gdb-32178cabe9d82d333ad4274fadb37418da4fb8d1.tar.bz2
2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
* findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp, generic_target_write_fp, generic_target_read_fp, write_sp, read_sp, generic_target_write_sp, generic_target_read_sp, write_pc, read_pc, generic_target_write_pc, generic_target_read_pc, write_pc_pid, read_pc_pid, supply_register, write_register_pid, write_register, read_register_pid, read_register, write_register_bytes, read_register_bytes, write_register_gen, read_register_gen, registers_fetched, registers_changed, find_saved_register, read_relative_register_raw_bytes, default_get_saved_register, read_relative_register_raw_bytes_for_frame, get_saved_register): Move from this file into new file regcache.c. (register_valid, registers_pid, registers): Ditto. * regcache.c: New file to hold the register cache. (register_cached): New function to read register_valid array. * value.h (register_cached): Declare. * defs.h (default_get_saved_register): Delete decl of static function. * Makefile.in: Add regcache module.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 7ec96c3..95f5a2c 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -471,6 +471,8 @@ extern void write_register_pid (int regno, CORE_ADDR val, int pid);
extern void supply_register (int regno, char *val);
+extern int register_cached (int regno);
+
extern void get_saved_register (char *raw_buffer, int *optimized,
CORE_ADDR * addrp,
struct frame_info *frame,