diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-29 01:51:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-04-29 01:51:51 +0000 |
commit | 81c4a259cde3366e6e8548c6067711ed15735d27 (patch) | |
tree | e1a20af6847bf10b1ff9be671d3902cebe6b9a9e /gdb/regcache.h | |
parent | d8ab3e52595336af1c028461c8c3c1c30c9ebccb (diff) |
* regcache.c (deprecated_read_register_gen): Remove, inline ...
(read_register): ... here.
(deprecated_write_register_gen): Remove, inline ...
(write_register): ... here.
* regcache.h (deprecated_read_register_gen): Remove prototype.
(deprecated_write_register_gen): Likewise.
* remote-sim.c (gdbsim_store_register): Replace call to
deprecated_read_register_gen with regcache_cooked_read.
* target.c (debug_print_register): Replace calls to
deprecated_read_register_gen and read_register with
regcache_cooked_read.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 88192c7c52..c8ceca6e78 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -157,23 +157,6 @@ extern struct regcache *regcache_dup_no_passthrough (struct regcache *regcache); extern void regcache_cpy (struct regcache *dest, struct regcache *src); extern void regcache_cpy_no_passthrough (struct regcache *dest, struct regcache *src); -/* NOTE: cagney/2002-11-02: The below have been superseded by the - regcache_cooked_*() functions found above, and the frame_*() - functions found in "frame.h". Take care though, often more than a - simple substitution is required when updating the code. The - change, as far as practical, should avoid adding references to - global variables (e.g., current_regcache, current_frame, - current_gdbarch or the selected frame) and instead refer to - the FRAME or REGCACHE that has been passed into the containing - function as parameters. Consequently, the change typically - involves modifying the containing function so that it takes a FRAME - or REGCACHE parameter. In the case of an architecture vector - method, there should already be a non-deprecated variant that is - parameterized with FRAME or REGCACHE. */ - -extern void deprecated_read_register_gen (int regnum, gdb_byte *myaddr); -extern void deprecated_write_register_gen (int regnum, gdb_byte *myaddr); - /* NOTE: cagney/2002-11-05: This function has been superseeded by regcache_raw_supply(). */ extern void deprecated_registers_fetched (void); |