[commit] Rename trad_frame_prev_register -> trad_frame_get_prev_register

Andrew Cagney cagney@redhat.com
Sat Jul 31 21:56:00 GMT 2004


FYI,

I've committed the attached rename.  I'm about to implement a full
trad-frame framework (like tramp-frame) which would use:
	trad_frame_cache
	trad_frame_this_id
	trad_frame_prev_register
	trad_frame_sniffer
Unfortunatly trad_frame_prev_register is already in use.

committed,
Andrew

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.

Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.179
diff -p -u -r1.179 arm-tdep.c
--- arm-tdep.c	28 Jul 2004 17:26:26 -0000	1.179
+++ arm-tdep.c	31 Jul 2004 21:39:18 -0000
@@ -1029,8 +1029,8 @@ arm_prologue_prev_register (struct 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
     *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: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.81
diff -p -u -r1.81 avr-tdep.c
--- avr-tdep.c	10 Jun 2004 18:25:49 -0000	1.81
+++ avr-tdep.c	31 Jul 2004 21:39:20 -0000
@@ -1025,8 +1025,8 @@ avr_frame_prev_register (struct frame_in
         }
     }
   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: cris-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/cris-tdep.c,v
retrieving revision 1.110
diff -p -u -r1.110 cris-tdep.c
--- cris-tdep.c	26 Jul 2004 14:52:59 -0000	1.110
+++ cris-tdep.c	31 Jul 2004 21:39:26 -0000
@@ -470,8 +470,8 @@ cris_frame_prev_register (struct frame_i
 {
   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: d10v-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/d10v-tdep.c,v
retrieving revision 1.146
diff -p -u -r1.146 d10v-tdep.c
--- d10v-tdep.c	28 Jul 2004 17:26:26 -0000	1.146
+++ d10v-tdep.c	31 Jul 2004 21:39:29 -0000
@@ -1375,8 +1375,8 @@ d10v_frame_prev_register (struct frame_i
 {
   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: frv-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/frv-tdep.c,v
retrieving revision 1.87
diff -p -u -r1.87 frv-tdep.c
--- frv-tdep.c	20 Jul 2004 19:45:05 -0000	1.87
+++ frv-tdep.c	31 Jul 2004 21:39:29 -0000
@@ -1370,8 +1370,8 @@ frv_frame_prev_register (struct frame_in
 {
   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: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.172
diff -p -u -r1.172 hppa-tdep.c
--- hppa-tdep.c	26 Jul 2004 14:53:01 -0000	1.172
+++ hppa-tdep.c	31 Jul 2004 21:39:34 -0000
@@ -2341,9 +2341,9 @@ hppa_frame_prev_register_helper (struct 
 	{
 	  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 
       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);
 }
 
 
Index: m32r-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m32r-tdep.c,v
retrieving revision 1.28
diff -p -u -r1.28 m32r-tdep.c
--- m32r-tdep.c	20 Jun 2004 17:18:05 -0000	1.28
+++ m32r-tdep.c	31 Jul 2004 21:39:34 -0000
@@ -856,8 +856,8 @@ m32r_frame_prev_register (struct frame_i
 {
   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: m68hc11-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m68hc11-tdep.c,v
retrieving revision 1.103
diff -p -u -r1.103 m68hc11-tdep.c
--- m68hc11-tdep.c	13 Jun 2004 13:42:32 -0000	1.103
+++ m68hc11-tdep.c	31 Jul 2004 21:39:35 -0000
@@ -912,8 +912,8 @@ m68hc11_frame_prev_register (struct fram
   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 fram
 
           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: m88k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/m88k-tdep.c,v
retrieving revision 1.13
diff -p -u -r1.13 m88k-tdep.c
--- m88k-tdep.c	7 Jun 2004 02:02:51 -0000	1.13
+++ m88k-tdep.c	31 Jul 2004 21:39:36 -0000
@@ -731,9 +731,9 @@ m88k_frame_prev_register (struct frame_i
 	{
 	  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_i
       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: mips-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mips-tdep.c,v
retrieving revision 1.306
diff -p -u -r1.306 mips-tdep.c
--- mips-tdep.c	28 Jul 2004 19:42:00 -0000	1.306
+++ mips-tdep.c	31 Jul 2004 21:39:49 -0000
@@ -1706,8 +1706,8 @@ mips_mdebug_frame_prev_register (struct 
 {
   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: ppc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
retrieving revision 1.65
diff -p -u -r1.65 ppc-linux-tdep.c
--- ppc-linux-tdep.c	22 Jul 2004 01:31:49 -0000	1.65
+++ ppc-linux-tdep.c	31 Jul 2004 21:39:49 -0000
@@ -977,8 +977,8 @@ ppc_linux_sigtramp_prev_register (struct
 {
   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: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.223
diff -p -u -r1.223 rs6000-tdep.c
--- rs6000-tdep.c	20 Jul 2004 22:09:53 -0000	1.223
+++ rs6000-tdep.c	31 Jul 2004 21:39:51 -0000
@@ -2721,8 +2721,8 @@ rs6000_frame_prev_register (struct 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: s390-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/s390-tdep.c,v
retrieving revision 1.134
diff -p -u -r1.134 s390-tdep.c
--- s390-tdep.c	20 Jul 2004 19:45:07 -0000	1.134
+++ s390-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -2020,8 +2020,8 @@ s390_frame_prev_register (struct frame_i
 {
   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 fr
 {
   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 (struc
 {
   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: sparc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v
retrieving revision 1.5
diff -p -u -r1.5 sparc-linux-tdep.c
--- sparc-linux-tdep.c	20 Jul 2004 19:45:07 -0000	1.5
+++ sparc-linux-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -225,8 +225,8 @@ sparc32_linux_sigtramp_frame_prev_regist
   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: sparc-sol2-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-sol2-tdep.c,v
retrieving revision 1.5
diff -p -u -r1.5 sparc-sol2-tdep.c
--- sparc-sol2-tdep.c	10 Apr 2004 09:40:02 -0000	1.5
+++ sparc-sol2-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -145,8 +145,8 @@ sparc32_sol2_sigtramp_frame_prev_registe
   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: sparc64-sol2-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64-sol2-tdep.c,v
retrieving revision 1.5
diff -p -u -r1.5 sparc64-sol2-tdep.c
--- sparc64-sol2-tdep.c	10 Apr 2004 09:40:02 -0000	1.5
+++ sparc64-sol2-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -124,8 +124,8 @@ sparc64_sol2_sigtramp_frame_prev_registe
   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: sparc64fbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64fbsd-tdep.c,v
retrieving revision 1.9
diff -p -u -r1.9 sparc64fbsd-tdep.c
--- sparc64fbsd-tdep.c	22 May 2004 15:16:22 -0000	1.9
+++ sparc64fbsd-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -169,8 +169,8 @@ sparc64fbsd_sigtramp_frame_prev_register
   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: sparc64nbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64nbsd-tdep.c,v
retrieving revision 1.10
diff -p -u -r1.10 sparc64nbsd-tdep.c
--- sparc64nbsd-tdep.c	22 May 2004 15:16:22 -0000	1.10
+++ sparc64nbsd-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -193,8 +193,8 @@ sparc64nbsd_sigcontext_frame_prev_regist
   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: sparc64obsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc64obsd-tdep.c,v
retrieving revision 1.9
diff -p -u -r1.9 sparc64obsd-tdep.c
--- sparc64obsd-tdep.c	31 Jul 2004 20:42:29 -0000	1.9
+++ sparc64obsd-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -164,8 +164,8 @@ sparc64obsd_frame_prev_register (struct 
   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: sparcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparcnbsd-tdep.c,v
retrieving revision 1.21
diff -p -u -r1.21 sparcnbsd-tdep.c
--- sparcnbsd-tdep.c	22 May 2004 15:16:22 -0000	1.21
+++ sparcnbsd-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -229,8 +229,8 @@ sparc32nbsd_sigcontext_frame_prev_regist
   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: sparcobsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparcobsd-tdep.c,v
retrieving revision 1.3
diff -p -u -r1.3 sparcobsd-tdep.c
--- sparcobsd-tdep.c	10 Apr 2004 09:40:02 -0000	1.3
+++ sparcobsd-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -118,8 +118,8 @@ sparc32obsd_frame_prev_register (struct 
   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: trad-frame.c
===================================================================
RCS file: /cvs/src/src/gdb/trad-frame.c,v
retrieving revision 1.5
diff -p -u -r1.5 trad-frame.c
--- trad-frame.c	23 Mar 2004 13:49:50 -0000	1.5
+++ trad-frame.c	31 Jul 2004 21:39:52 -0000
@@ -114,11 +114,11 @@ trad_frame_set_unknown (struct trad_fram
 }
 
 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_fra
 			 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: trad-frame.h
===================================================================
RCS file: /cvs/src/src/gdb/trad-frame.h,v
retrieving revision 1.6
diff -p -u -r1.6 trad-frame.h
--- trad-frame.h	24 Mar 2004 00:08:13 -0000	1.6
+++ trad-frame.h	31 Jul 2004 21:39:52 -0000
@@ -105,10 +105,10 @@ struct trad_frame_saved_reg *trad_frame_
 
 /* 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: vax-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-tdep.c,v
retrieving revision 1.83
diff -p -u -r1.83 vax-tdep.c
--- vax-tdep.c	26 Jun 2004 10:25:20 -0000	1.83
+++ vax-tdep.c	31 Jul 2004 21:39:52 -0000
@@ -394,8 +394,8 @@ vax_frame_prev_register (struct frame_in
 {
   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 =



More information about the Gdb-patches mailing list