diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-15 19:04:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-15 19:04:29 +0000 |
commit | cc8c88f3a72b13a50df0330e7720612931102e95 (patch) | |
tree | 21ff5e54ab87eca0c4d2512b10b1dffb7819e8cb /gdb | |
parent | 909cd28efca6079fe5aaf6d91c94bee541e9104d (diff) | |
download | gdb-cc8c88f3a72b13a50df0330e7720612931102e95.zip gdb-cc8c88f3a72b13a50df0330e7720612931102e95.tar.gz gdb-cc8c88f3a72b13a50df0330e7720612931102e95.tar.bz2 |
2003-05-15 Andrew Cagney <cagney@redhat.com>
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename
generic_find_dummy_frame.
* dummy-frame.c (deprecated_find_dummy_frame_regcache): Update.
(deprecated_generic_find_dummy_frame): Update.
(deprecated_read_register_dummy): Update.
* frame.c (deprecated_generic_get_saved_register): Update.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/dummy-frame.c | 6 | ||||
-rw-r--r-- | gdb/dummy-frame.h | 4 | ||||
-rw-r--r-- | gdb/frame.c | 4 |
4 files changed, 16 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 739d22d..cf3d1fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2003-05-15 Andrew Cagney <cagney@redhat.com> + + * dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename + generic_find_dummy_frame. + * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. + (deprecated_generic_find_dummy_frame): Update. + (deprecated_read_register_dummy): Update. + * frame.c (deprecated_generic_get_saved_register): Update. + 2003-05-15 Theodore A. Roth <troth@openavr.org> * avr-tdep.c (avr_breakpoint_from_pc): New function. diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index e16056c..ca11bd6 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -111,7 +111,7 @@ find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp) } struct regcache * -generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp) +deprecated_find_dummy_frame_regcache (CORE_ADDR pc, CORE_ADDR fp) { struct dummy_frame *dummy = find_dummy_frame (pc, fp); if (dummy != NULL) @@ -123,7 +123,7 @@ generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp) char * deprecated_generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp) { - struct regcache *regcache = generic_find_dummy_frame (pc, fp); + struct regcache *regcache = deprecated_find_dummy_frame_regcache (pc, fp); if (regcache == NULL) return NULL; return deprecated_grub_regcache_for_registers (regcache); @@ -176,7 +176,7 @@ pc_in_dummy_frame (CORE_ADDR pc) CORE_ADDR deprecated_read_register_dummy (CORE_ADDR pc, CORE_ADDR fp, int regno) { - struct regcache *dummy_regs = generic_find_dummy_frame (pc, fp); + struct regcache *dummy_regs = deprecated_find_dummy_frame_regcache (pc, fp); if (dummy_regs) { diff --git a/gdb/dummy-frame.h b/gdb/dummy-frame.h index 3d38cc4..ae090e3 100644 --- a/gdb/dummy-frame.h +++ b/gdb/dummy-frame.h @@ -81,6 +81,6 @@ extern int pc_in_dummy_frame (CORE_ADDR pc); deprecated_generic_get_saved_register. Eliminate that function and this, to, can go. */ -extern struct regcache *generic_find_dummy_frame (CORE_ADDR pc, - CORE_ADDR fp); +extern struct regcache *deprecated_find_dummy_frame_regcache (CORE_ADDR pc, + CORE_ADDR fp); #endif /* !defined (DUMMY_FRAME_H) */ diff --git a/gdb/frame.c b/gdb/frame.c index 3eac390..fe863d6 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1112,8 +1112,8 @@ deprecated_generic_get_saved_register (char *raw_buffer, int *optimized, fly, constructs either a raw or pseudo register from the raw register cache. */ regcache_raw_read - (generic_find_dummy_frame (get_frame_pc (frame), - get_frame_base (frame)), + (deprecated_find_dummy_frame_regcache (get_frame_pc (frame), + get_frame_base (frame)), regnum, raw_buffer); return; } |