2003-05-15 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Thu, 15 May 2003 19:04:29 +0000 (19:04 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 15 May 2003 19:04:29 +0000 (19:04 +0000)
* 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
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/frame.c

index 739d22d45cec7b114bd1bda275cd4caed4abf071..cf3d1fc6cda068d262619f5d6b86886e6b7bb858 100644 (file)
@@ -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.
index e16056c4412b2be410c9673b32a58ee891afae6d..ca11bd675f094f64f278e165ba92e9390922b4b3 100644 (file)
@@ -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)
     {
index 3d38cc436cc745f5df0ea79ce063453039565b86..ae090e3598d151be0a4e479bb97d8f737535a07f 100644 (file)
@@ -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)  */
index 3eac39057a6b6b5d42c523260b2a9d4a5b2576fc..fe863d69d3351e202d56074a0cb1a88e0f7f4270 100644 (file)
@@ -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;
            }