This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa] delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: Andrew Cagney <ac131313 at redhat dot com>
- Date: 24 Dec 2002 10:04:54 -0800
- Subject: [rfa] delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY
config/sparc/tm-sparc.h has two identical definitions of
DEPRECATED_PC_IN_CALL_DUMMY. Here's a patch to delete one of them.
It seems obvious, but I wanted to double-check, both because I haven't
been following the dummy frame stuff too closely and because I haven't
actually yet done an all-targets build testing this patch. (That will
probably happen tonight.)
David Carlton
carlton@math.stanford.edu
2002-12-24 David Carlton <carlton@math.stanford.edu>
* config/sparc/tm-sparc.h: Delete duplicate definition of
DEPRECATED_PC_IN_CALL_DUMMY.
Index: tm-sparc.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v
retrieving revision 1.26
diff -u -p -r1.26 tm-sparc.h
--- tm-sparc.h 11 Dec 2002 02:26:38 -0000 1.26
+++ tm-sparc.h 24 Dec 2002 18:01:17 -0000
@@ -657,7 +657,6 @@ extern void sparc_print_extra_frame_info
/* Call dummy method (eg. on stack, at entry point, etc.) */
#define CALL_DUMMY_LOCATION ON_STACK
-#define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
/* Method for detecting dummy frames. */