2004-07-31 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 31 Jul 2004 21:53:17 +0000 (21:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 31 Jul 2004 21:53:17 +0000 (21:53 +0000)
* trad-frame.c (trad_frame_get_prev_register): Rename
trad_frame_get_prev_register.
* vax-tdep.c (vax_frame_prev_register): Update.
* trad-frame.h: Update.
* trad-frame.c (trad_frame_get_register): Update.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Update.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Update.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Update.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
Update.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Update.
* sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
Update.
* s390-tdep.c (s390_frame_prev_register)
(s390_stub_frame_prev_register)
(s390_sigtramp_frame_prev_register): Update.
* rs6000-tdep.c (rs6000_frame_prev_register): Update.
* ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
* mips-tdep.c (mips_mdebug_frame_prev_register): Update.
* m88k-tdep.c (m88k_frame_prev_register)
* m68hc11-tdep.c (m68hc11_frame_prev_register)
* m32r-tdep.c (m32r_frame_prev_register): Update.
* hppa-tdep.c (hppa_frame_prev_register_helper)
* frv-tdep.c (frv_frame_prev_register): Update.
* d10v-tdep.c (d10v_frame_prev_register): Update.
* cris-tdep.c (cris_frame_prev_register): Update.
* avr-tdep.c (avr_frame_prev_register): Update.
* arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Update.

25 files changed:
gdb/ChangeLog
gdb/arm-tdep.c
gdb/avr-tdep.c
gdb/cris-tdep.c
gdb/d10v-tdep.c
gdb/frv-tdep.c
gdb/hppa-tdep.c
gdb/m32r-tdep.c
gdb/m68hc11-tdep.c
gdb/m88k-tdep.c
gdb/mips-tdep.c
gdb/ppc-linux-tdep.c
gdb/rs6000-tdep.c
gdb/s390-tdep.c
gdb/sparc-linux-tdep.c
gdb/sparc-sol2-tdep.c
gdb/sparc64-sol2-tdep.c
gdb/sparc64fbsd-tdep.c
gdb/sparc64nbsd-tdep.c
gdb/sparc64obsd-tdep.c
gdb/sparcnbsd-tdep.c
gdb/sparcobsd-tdep.c
gdb/trad-frame.c
gdb/trad-frame.h
gdb/vax-tdep.c

index 2e0d81cbaccf6a0e11b513729fc6f8161df42600..f51436a1349a44cfcd05b64240dcd6f6f2696166 100644 (file)
@@ -1,3 +1,41 @@
+2004-07-31  Andrew Cagney  <cagney@gnu.org>
+
+       * trad-frame.c (trad_frame_get_prev_register): Rename
+       trad_frame_get_prev_register.
+       * vax-tdep.c (vax_frame_prev_register): Update.
+       * trad-frame.h: Update.
+       * trad-frame.c (trad_frame_get_register): Update.
+       * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Update.
+       * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
+       Update.
+       * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Update.
+       * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
+       Update.
+       * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
+       Update.
+       * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_prev_register):
+       Update.
+       * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
+       Update.
+       * sparc-linux-tdep.c (sparc32_linux_sigtramp_frame_prev_register):
+       Update.
+       * s390-tdep.c (s390_frame_prev_register) 
+       (s390_stub_frame_prev_register) 
+       (s390_sigtramp_frame_prev_register): Update.
+       * rs6000-tdep.c (rs6000_frame_prev_register): Update.
+       * ppc-linux-tdep.c (ppc_linux_sigtramp_prev_register): Update.
+       * mips-tdep.c (mips_mdebug_frame_prev_register): Update.
+       * m88k-tdep.c (m88k_frame_prev_register) 
+       * m68hc11-tdep.c (m68hc11_frame_prev_register) 
+       * m32r-tdep.c (m32r_frame_prev_register): Update.
+       * hppa-tdep.c (hppa_frame_prev_register_helper) 
+       * frv-tdep.c (frv_frame_prev_register): Update.
+       * d10v-tdep.c (d10v_frame_prev_register): Update.
+       * cris-tdep.c (cris_frame_prev_register): Update.
+       * avr-tdep.c (avr_frame_prev_register): Update.
+       * arm-tdep.c (arm_prologue_prev_register) 
+       (arm_sigtramp_prev_register): Update.
+
 2004-07-31  Andrew Cagney  <cagney@gnu.org>
 
        * frame.h (legacy_saved_regs_unwind)
index a86e09af086d56cda5ecd57cdf119b528e56d42a..023f7a339d7087aa02038abe25d77cd5a1d27a78 100644 (file)
@@ -1029,8 +1029,8 @@ arm_prologue_prev_register (struct frame_info *next_frame,
       return;
     }
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, prev_regnum,
-                           optimized, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, prev_regnum,
+                               optimized, lvalp, addrp, realnump, valuep);
 }
 
 struct frame_unwind arm_prologue_unwind = {
@@ -1122,8 +1122,8 @@ arm_sigtramp_prev_register (struct frame_info *next_frame,
     *this_cache = arm_make_sigtramp_cache (next_frame);
   cache = *this_cache;
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, prev_regnum,
-                           optimized, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, prev_regnum,
+                               optimized, lvalp, addrp, realnump, valuep);
 }
 
 struct frame_unwind arm_sigtramp_unwind = {
index eabff9ca65e364d2c7db78e3cf5f1685d91ad586..d64596febcdc3795459ba5c6d5521b9495bf72a9 100644 (file)
@@ -1025,8 +1025,8 @@ avr_frame_prev_register (struct frame_info *next_frame,
         }
     }
   else
-    trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                              optimizedp, lvalp, addrp, realnump, bufferp);
+    trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                                 optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind avr_frame_unwind = {
index 029dc4623c15c66740078d0abf3407e424c691dc..b9eb855cc4b7249a19342e49bb3f4695554c6cf3 100644 (file)
@@ -470,8 +470,8 @@ cris_frame_prev_register (struct frame_info *next_frame,
 {
   struct cris_unwind_cache *info
     = cris_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 /* Assuming NEXT_FRAME->prev is a dummy, return the frame ID of that
index caee590178016a8f8ee3118a7c4c0012f000e323..274f5db02a618f652200787e67599629c98911db 100644 (file)
@@ -1375,8 +1375,8 @@ d10v_frame_prev_register (struct frame_info *next_frame,
 {
   struct d10v_unwind_cache *info
     = d10v_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind d10v_frame_unwind = {
index 2f6679736c6a899673479fb0facea265fd963886..dc423f856815555a50977377f4be67009fcbec1d 100644 (file)
@@ -1370,8 +1370,8 @@ frv_frame_prev_register (struct frame_info *next_frame,
 {
   struct frv_unwind_cache *info
     = frv_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind frv_frame_unwind = {
index d41fc218b42a15ef389b702a0562c84d4f2700dc..1209584e93e0bb3ccf0c3b8489704e23018c9ec2 100644 (file)
@@ -2341,9 +2341,9 @@ hppa_frame_prev_register_helper (struct frame_info *next_frame,
        {
          CORE_ADDR pc;
 
-         trad_frame_prev_register (next_frame, saved_regs,
-                                   HPPA_PCOQ_HEAD_REGNUM, optimizedp,
-                                   lvalp, addrp, realnump, valuep);
+         trad_frame_get_prev_register (next_frame, saved_regs,
+                                       HPPA_PCOQ_HEAD_REGNUM, optimizedp,
+                                       lvalp, addrp, realnump, valuep);
 
          pc = extract_unsigned_integer (valuep, 4);
          store_unsigned_integer (valuep, 4, pc + 4);
@@ -2357,8 +2357,8 @@ hppa_frame_prev_register_helper (struct frame_info *next_frame,
       return;
     }
 
-  trad_frame_prev_register (next_frame, saved_regs, regnum,
-                            optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 \f
 
index 8ea87ae7d160c464cb386dde7e16a04f10f7bc29..7094c644bfde59fada9696927943b2428aa07fdb 100644 (file)
@@ -856,8 +856,8 @@ m32r_frame_prev_register (struct frame_info *next_frame,
 {
   struct m32r_unwind_cache *info
     = m32r_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind m32r_frame_unwind = {
index 43fce357871003dafe340eb4491919bd8504f874..4aa5c00f8728946b772e3335479b2976a595f31d 100644 (file)
@@ -912,8 +912,8 @@ m68hc11_frame_prev_register (struct frame_info *next_frame,
   struct m68hc11_unwind_cache *info
     = m68hc11_frame_unwind_cache (next_frame, this_prologue_cache);
 
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                            optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 
   if (regnum == HARD_PC_REGNUM)
     {
@@ -926,9 +926,9 @@ m68hc11_frame_prev_register (struct frame_info *next_frame,
 
           CORE_ADDR page;
 
-          trad_frame_prev_register (next_frame, info->saved_regs,
-                                    HARD_PAGE_REGNUM, &page_optimized,
-                                    0, &page, 0, 0);
+          trad_frame_get_prev_register (next_frame, info->saved_regs,
+                                       HARD_PAGE_REGNUM, &page_optimized,
+                                       0, &page, 0, 0);
           *addrp -= 0x08000;
           *addrp += ((page & 0x0ff) << 14);
           *addrp += 0x1000000;
index 572a66da69774e00bca755496332880403e9a271..7037808020829ca129aacdd1f6015ac568bc428c 100644 (file)
@@ -731,9 +731,9 @@ m88k_frame_prev_register (struct frame_info *next_frame, void **this_cache,
        {
          CORE_ADDR pc;
 
-         trad_frame_prev_register (next_frame, cache->saved_regs,
-                                   M88K_SXIP_REGNUM, optimizedp,
-                                   lvalp, addrp, realnump, valuep);
+         trad_frame_get_prev_register (next_frame, cache->saved_regs,
+                                       M88K_SXIP_REGNUM, optimizedp,
+                                       lvalp, addrp, realnump, valuep);
 
          pc = extract_unsigned_integer (valuep, 4);
          if (regnum == M88K_SFIP_REGNUM)
@@ -749,8 +749,8 @@ m88k_frame_prev_register (struct frame_info *next_frame, void **this_cache,
       return;
     }
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind m88k_frame_unwind =
index 964edd09631e070f8c8efa8587fd3e47bcca6f65..cb9f7fcff4abe2fc0f5651341dbb3f58767377f0 100644 (file)
@@ -1706,8 +1706,8 @@ mips_mdebug_frame_prev_register (struct frame_info *next_frame,
 {
   struct mips_frame_cache *info = mips_mdebug_frame_cache (next_frame,
                                                           this_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind mips_mdebug_frame_unwind =
index 81a182b532601566151844d700d65fc0104ad612..206b78aca0255e298c2d52a3412778a76323fe88 100644 (file)
@@ -977,8 +977,8 @@ ppc_linux_sigtramp_prev_register (struct frame_info *next_frame,
 {
   struct ppc_linux_sigtramp_cache *info
     = ppc_linux_sigtramp_cache (next_frame, this_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind ppc_linux_sigtramp_unwind =
index 6ce4aeb81f7790c4dfcd6327f9ef9d8e26d87575..18e9da6e9af1b86b5c88961310268d96c1b38a1c 100644 (file)
@@ -2721,8 +2721,8 @@ rs6000_frame_prev_register (struct frame_info *next_frame,
 {
   struct rs6000_frame_cache *info = rs6000_frame_cache (next_frame,
                                                        this_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind rs6000_frame_unwind =
index 57c8c6b5419af2f8a544bd3b7c3e330d8493e33f..055ba6cf684c2d73511731a8d5772f9a86510635 100644 (file)
@@ -2020,8 +2020,8 @@ s390_frame_prev_register (struct frame_info *next_frame,
 {
   struct s390_unwind_cache *info
     = s390_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                            optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind s390_frame_unwind = {
@@ -2092,8 +2092,8 @@ s390_stub_frame_prev_register (struct frame_info *next_frame,
 {
   struct s390_stub_unwind_cache *info
     = s390_stub_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                            optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind s390_stub_frame_unwind = {
@@ -2235,8 +2235,8 @@ s390_sigtramp_frame_prev_register (struct frame_info *next_frame,
 {
   struct s390_sigtramp_unwind_cache *info
     = s390_sigtramp_frame_unwind_cache (next_frame, this_prologue_cache);
-  trad_frame_prev_register (next_frame, info->saved_regs, regnum,
-                            optimizedp, lvalp, addrp, realnump, bufferp);
+  trad_frame_get_prev_register (next_frame, info->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, bufferp);
 }
 
 static const struct frame_unwind s390_sigtramp_frame_unwind = {
index 48e0a0d205f971953fdbfb6dc7299a9115bc8abd..95f923739ab5907612afd3d1aa6d0afbcc8b6953 100644 (file)
@@ -225,8 +225,8 @@ sparc32_linux_sigtramp_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc32_linux_sigtramp_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc32_linux_sigtramp_frame_unwind =
index 10143bb67f90b979bfe08ee2dbd35d3a4d3ae8bb..84a23e2c55438233f0efac043c8c11d4ee6ecf2c 100644 (file)
@@ -145,8 +145,8 @@ sparc32_sol2_sigtramp_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc32_sol2_sigtramp_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc32_sol2_sigtramp_frame_unwind =
index 733ce1a19c328c450cb3c6e7d5b346c2800d5004..d22232a0cdd48a82a040ca4f2df9b1a554686c27 100644 (file)
@@ -124,8 +124,8 @@ sparc64_sol2_sigtramp_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc64_sol2_sigtramp_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc64_sol2_sigtramp_frame_unwind =
index 9ca4983dfae55b135f8c835e02d9bacd50470429..5d3af0077dfc09f816bba30fc6ce109c09a62e1d 100644 (file)
@@ -169,8 +169,8 @@ sparc64fbsd_sigtramp_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc64fbsd_sigtramp_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc64fbsd_sigtramp_frame_unwind =
index 544c65b4f7752cfad2d814a6edd868f5b0765899..35ad2326ff366ce1e92c84a083e1c6baebc0702a 100644 (file)
@@ -193,8 +193,8 @@ sparc64nbsd_sigcontext_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc64nbsd_sigcontext_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc64nbsd_sigcontext_frame_unwind =
index c26ce3a235d67e1c9e07e3c66bcfdb2695c223a4..5f8cb3bc480834fabd8fa1c99795d6e5a61169d9 100644 (file)
@@ -164,8 +164,8 @@ sparc64obsd_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc64obsd_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc64obsd_frame_unwind =
index 901959036c46bfa80121a268d495cb059a609462..8c681608659c7cd0e1d9b3834e1a5e2607939472 100644 (file)
@@ -229,8 +229,8 @@ sparc32nbsd_sigcontext_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc32nbsd_sigcontext_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc32nbsd_sigcontext_frame_unwind =
index a7b9bebeb4deaa56f4dff81b0f8b73199eb12c11..5e9d99d5616a5e7e22c44c510ac35fb1acf9bf70 100644 (file)
@@ -118,8 +118,8 @@ sparc32obsd_frame_prev_register (struct frame_info *next_frame,
   struct sparc_frame_cache *cache =
     sparc32obsd_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind sparc32obsd_frame_unwind =
index f51998d42b8f5ef27223f524ca8a22050bc46e71..58f6c1beb763e36fc94d3e02d125b0d1856e4863 100644 (file)
@@ -114,11 +114,11 @@ trad_frame_set_unknown (struct trad_frame_saved_reg this_saved_regs[],
 }
 
 void
-trad_frame_prev_register (struct frame_info *next_frame,
-                         struct trad_frame_saved_reg this_saved_regs[],
-                         int regnum, int *optimizedp,
-                         enum lval_type *lvalp, CORE_ADDR *addrp,
-                         int *realregp, void *bufferp)
+trad_frame_get_prev_register (struct frame_info *next_frame,
+                             struct trad_frame_saved_reg this_saved_regs[],
+                             int regnum, int *optimizedp,
+                             enum lval_type *lvalp, CORE_ADDR *addrp,
+                             int *realregp, void *bufferp)
 {
   struct gdbarch *gdbarch = get_frame_arch (next_frame);
   if (trad_frame_addr_p (this_saved_regs, regnum))
@@ -166,9 +166,9 @@ trad_frame_get_register (struct trad_frame_cache *this_trad_cache,
                         enum lval_type *lvalp, CORE_ADDR *addrp,
                         int *realregp, void *bufferp)
 {
-  trad_frame_prev_register (next_frame, this_trad_cache->prev_regs,
-                           regnum, optimizedp, lvalp, addrp, realregp,
-                           bufferp);
+  trad_frame_get_prev_register (next_frame, this_trad_cache->prev_regs,
+                               regnum, optimizedp, lvalp, addrp, realregp,
+                               bufferp);
 }
 
 void
index 51f3a0ea9e380f83ba3b7e720956ef822f8039ce..95c70282b8a039ab176a0a564a345a0f3fd7fe71 100644 (file)
@@ -105,10 +105,10 @@ struct trad_frame_saved_reg *trad_frame_alloc_saved_regs (struct frame_info *nex
 
 /* Given the trad_frame info, return the location of the specified
    register.  */
-void trad_frame_prev_register (struct frame_info *next_frame,
-                              struct trad_frame_saved_reg this_saved_regs[],
-                              int regnum, int *optimizedp,
-                              enum lval_type *lvalp, CORE_ADDR *addrp,
-                              int *realregp, void *bufferp);
+void trad_frame_get_prev_register (struct frame_info *next_frame,
+                                  struct trad_frame_saved_reg this_saved_regs[],
+                                  int regnum, int *optimizedp,
+                                  enum lval_type *lvalp, CORE_ADDR *addrp,
+                                  int *realregp, void *bufferp);
 
 #endif
index 78862fc04a35e9e00f957bcfe2bc4adc45f8c457..a790fad8383960d2b5882b83e9d4b688c4d0e5a7 100644 (file)
@@ -394,8 +394,8 @@ vax_frame_prev_register (struct frame_info *next_frame, void **this_cache,
 {
   struct vax_frame_cache *cache = vax_frame_cache (next_frame, this_cache);
 
-  trad_frame_prev_register (next_frame, cache->saved_regs, regnum,
-                           optimizedp, lvalp, addrp, realnump, valuep);
+  trad_frame_get_prev_register (next_frame, cache->saved_regs, regnum,
+                               optimizedp, lvalp, addrp, realnump, valuep);
 }
 
 static const struct frame_unwind vax_frame_unwind =