summaryrefslogtreecommitdiffstats
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog38
-rw-r--r--gdb/arm-tdep.c8
-rw-r--r--gdb/avr-tdep.c4
-rw-r--r--gdb/cris-tdep.c4
-rw-r--r--gdb/d10v-tdep.c4
-rw-r--r--gdb/frv-tdep.c4
-rw-r--r--gdb/hppa-tdep.c10
-rw-r--r--gdb/m32r-tdep.c4
-rw-r--r--gdb/m68hc11-tdep.c10
-rw-r--r--gdb/m88k-tdep.c10
-rw-r--r--gdb/mips-tdep.c4
-rw-r--r--gdb/ppc-linux-tdep.c4
-rw-r--r--gdb/rs6000-tdep.c4
-rw-r--r--gdb/s390-tdep.c12
-rw-r--r--gdb/sparc-linux-tdep.c4
-rw-r--r--gdb/sparc-sol2-tdep.c4
-rw-r--r--gdb/sparc64-sol2-tdep.c4
-rw-r--r--gdb/sparc64fbsd-tdep.c4
-rw-r--r--gdb/sparc64nbsd-tdep.c4
-rw-r--r--gdb/sparc64obsd-tdep.c4
-rw-r--r--gdb/sparcnbsd-tdep.c4
-rw-r--r--gdb/sparcobsd-tdep.c4
-rw-r--r--gdb/trad-frame.c16
-rw-r--r--gdb/trad-frame.h10
-rw-r--r--gdb/vax-tdep.c4
25 files changed, 110 insertions, 72 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2e0d81cbac..f51436a134 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,43 @@
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)
(legacy_frame_chain_valid, legacy_frame_p)
(enum frame_type): Delete UNKNOWN_FRAME.
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index a86e09af08..023f7a339d 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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 = {
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index eabff9ca65..d64596febc 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -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 = {
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 029dc4623c..b9eb855cc4 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -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
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c
index caee590178..274f5db02a 100644
--- a/gdb/d10v-tdep.c
+++ b/gdb/d10v-tdep.c
@@ -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 = {
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c
index 2f6679736c..dc423f8568 100644
--- a/gdb/frv-tdep.c
+++ b/gdb/frv-tdep.c
@@ -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 = {
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index d41fc218b4..1209584e93 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -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);
}
diff --git a/gdb/m32r-tdep.c b/gdb/m32r-tdep.c
index 8ea87ae7d1..7094c644bf 100644
--- a/gdb/m32r-tdep.c
+++ b/gdb/m32r-tdep.c
@@ -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 = {
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 43fce35787..4aa5c00f87 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -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;
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c
index 572a66da69..7037808020 100644
--- a/gdb/m88k-tdep.c
+++ b/gdb/m88k-tdep.c
@@ -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 =
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 964edd0963..cb9f7fcff4 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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 =
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index 81a182b532..206b78aca0 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -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 =
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 6ce4aeb81f..18e9da6e9a 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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 =
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 57c8c6b541..055ba6cf68 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -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 = {
diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c
index 48e0a0d205..95f923739a 100644
--- a/gdb/sparc-linux-tdep.c
+++ b/gdb/sparc-linux-tdep.c
@@ -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 =
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c
index 10143bb67f..84a23e2c55 100644
--- a/gdb/sparc-sol2-tdep.c
+++ b/gdb/sparc-sol2-tdep.c
@@ -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 =
diff --git a/gdb/sparc64-sol2-tdep.c b/gdb/sparc64-sol2-tdep.c
index 733ce1a19c..d22232a0cd 100644
--- a/gdb/sparc64-sol2-tdep.c
+++ b/gdb/sparc64-sol2-tdep.c
@@ -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 =
diff --git a/gdb/sparc64fbsd-tdep.c b/gdb/sparc64fbsd-tdep.c
index 9ca4983dfa..5d3af0077d 100644
--- a/gdb/sparc64fbsd-tdep.c
+++ b/gdb/sparc64fbsd-tdep.c
@@ -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 =
diff --git a/gdb/sparc64nbsd-tdep.c b/gdb/sparc64nbsd-tdep.c
index 544c65b4f7..35ad2326ff 100644
--- a/gdb/sparc64nbsd-tdep.c
+++ b/gdb/sparc64nbsd-tdep.c
@@ -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 =
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index c26ce3a235..5f8cb3bc48 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -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 =
diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c
index 901959036c..8c68160865 100644
--- a/gdb/sparcnbsd-tdep.c
+++ b/gdb/sparcnbsd-tdep.c
@@ -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 =
diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c
index a7b9bebeb4..5e9d99d561 100644
--- a/gdb/sparcobsd-tdep.c
+++ b/gdb/sparcobsd-tdep.c
@@ -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 =
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c
index f51998d42b..58f6c1beb7 100644
--- a/gdb/trad-frame.c
+++ b/gdb/trad-frame.c
@@ -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
diff --git a/gdb/trad-frame.h b/gdb/trad-frame.h
index 51f3a0ea9e..95c70282b8 100644
--- a/gdb/trad-frame.h
+++ b/gdb/trad-frame.h
@@ -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
diff --git a/gdb/vax-tdep.c b/gdb/vax-tdep.c
index 78862fc04a..a790fad838 100644
--- a/gdb/vax-tdep.c
+++ b/gdb/vax-tdep.c
@@ -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 =
OpenPOWER on IntegriCloud