From cc8c88f3a72b13a50df0330e7720612931102e95 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 15 May 2003 19:04:29 +0000 Subject: [PATCH] 2003-05-15 Andrew Cagney * 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. --- gdb/ChangeLog | 9 +++++++++ gdb/dummy-frame.c | 6 +++--- gdb/dummy-frame.h | 4 ++-- gdb/frame.c | 4 ++-- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 739d22d45ce..cf3d1fc6cda 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2003-05-15 Andrew Cagney + + * 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 * avr-tdep.c (avr_breakpoint_from_pc): New function. diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index e16056c4412..ca11bd675f0 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 3d38cc436cc..ae090e3598d 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 3eac39057a6..fe863d69d33 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; } -- 2.30.2