aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-04-19 05:11:53 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-04-19 05:11:53 +0000
commita57f9e49f5677be18c2bb0297a600b4373e831a2 (patch)
treee0fd46d875ff1e5f30f57884a5bfb80ba8af8c64
parent05924ed4b9900a247c654b0720570e8620b340b5 (diff)
downloadgdb-a57f9e49f5677be18c2bb0297a600b4373e831a2.zip
gdb-a57f9e49f5677be18c2bb0297a600b4373e831a2.tar.gz
gdb-a57f9e49f5677be18c2bb0297a600b4373e831a2.tar.bz2
* alpha-tdep.c (setup_arbitrary_frame): Rename...
(alpha_setup_arbitrary_frame): ...to this. * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update for alpha_setup_arbitrary_frame.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/alpha-tdep.c2
-rw-r--r--gdb/config/alpha/tm-alpha.h5
3 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d76ef9..86bf890 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * alpha-tdep.c (setup_arbitrary_frame): Rename...
+ (alpha_setup_arbitrary_frame): ...to this.
+ * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
+ for alpha_setup_arbitrary_frame.
+
2002-04-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 4ca6bcc..1a81ec8 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -1009,7 +1009,7 @@ alpha_frame_args_address (struct frame_info *fi)
arguments without difficulty. */
struct frame_info *
-setup_arbitrary_frame (int argc, CORE_ADDR *argv)
+alpha_setup_arbitrary_frame (int argc, CORE_ADDR *argv)
{
if (argc != 2)
error ("ALPHA frame specifications require two arguments: sp and pc");
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h
index 58412d0..316fb15 100644
--- a/gdb/config/alpha/tm-alpha.h
+++ b/gdb/config/alpha/tm-alpha.h
@@ -408,8 +408,9 @@ extern void alpha_print_extra_frame_info (struct frame_info *);
up so that the primary value is the SP, and the PC is used to disambiguate
multiple functions with the same SP that are at different stack levels. */
-#define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv)
-extern struct frame_info *setup_arbitrary_frame (int, CORE_ADDR *);
+#define SETUP_ARBITRARY_FRAME(argc, argv) \
+ alpha_setup_arbitrary_frame (argc, argv)
+extern struct frame_info *alpha_setup_arbitrary_frame (int, CORE_ADDR *);
/* This is used by heuristic_proc_start. It should be shot it the head. */
#ifndef VM_MIN_ADDRESS