[PATCH] Teeny bit of Alpha cleanup

Jason R Thorpe thorpej@wasabisystems.com
Thu Apr 18 22:11:00 GMT 2002


Committed as obvious.

        * 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.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: alpha-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alpha-tdep.c,v
retrieving revision 1.19
diff -u -r1.19 alpha-tdep.c
--- alpha-tdep.c	5 Feb 2002 04:37:21 -0000	1.19
+++ alpha-tdep.c	19 Apr 2002 04:51:24 -0000
@@ -1009,7 +1009,7 @@
    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");
Index: config/alpha/tm-alpha.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/tm-alpha.h,v
retrieving revision 1.17
diff -u -r1.17 tm-alpha.h
--- config/alpha/tm-alpha.h	24 Feb 2002 22:56:04 -0000	1.17
+++ config/alpha/tm-alpha.h	19 Apr 2002 04:51:26 -0000
@@ -408,8 +408,9 @@
    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


More information about the Gdb-patches mailing list