This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Delete unused HPREAD_ADJUST_STACK_ADDRESS


FYI,

The macro isn't referenced. The corresponding function definition clashes with a static decl in hpread.c (I guess both are never compiled together).

committed,
Andrew
2004-06-09  Andrew Cagney  <cagney@gnu.org>

	* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
	unreferenced macro.
	(hpread_adjust_stack_address): Delete declaration.

Index: config/pa/tm-hppa64.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa64.h,v
retrieving revision 1.33
diff -p -u -r1.33 tm-hppa64.h
--- config/pa/tm-hppa64.h	3 Apr 2004 17:49:08 -0000	1.33
+++ config/pa/tm-hppa64.h	9 Jun 2004 19:38:29 -0000
@@ -48,13 +48,6 @@ struct frame_info;
 #define SR5_REGNUM 48
 
 
-/* For a number of horrible reasons we may have to adjust the location
-   of variables on the stack.  Ugh.  jimb: why? */
-#define HPREAD_ADJUST_STACK_ADDRESS(ADDR) hpread_adjust_stack_address(ADDR)
-
-extern int hpread_adjust_stack_address (CORE_ADDR);
-
-
 /* jimb: omitted dynamic linking stuff here */
 
 #undef FUNC_LDIL_OFFSET

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]