This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[obish] Inline config/tm-sysv4.h; delete
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 13 Nov 2004 21:57:44 -0500
- Subject: [obish] Inline config/tm-sysv4.h; delete
It only contained one macro, so I've inlined it at the #include points
(and remember, the whole lot is going away).
Andrew
2004-11-13 Andrew Cagney <cagney@gnu.org>
* config/tm-sysv4.h: Delete file, inlining contents.
* config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.
Index: config/tm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tm-linux.h,v
retrieving revision 1.6
diff -p -u -r1.6 tm-linux.h
--- config/tm-linux.h 3 Sep 2004 17:13:47 -0000 1.6
+++ config/tm-linux.h 14 Nov 2004 02:54:29 -0000
@@ -30,6 +30,9 @@
/* We need this file for the SOLIB_TRAMPOLINE stuff. */
-#include "config/tm-sysv4.h"
+/* If PC is in a shared library trampoline code, return the PC
+ where the function itself actually starts. If not, return 0. */
+
+#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
#include "solib.h" /* Support for shared libraries. */
Index: config/tm-nto.h
===================================================================
RCS file: /cvs/src/src/gdb/config/tm-nto.h,v
retrieving revision 1.2
diff -p -u -r1.2 tm-nto.h
--- config/tm-nto.h 1 Aug 2004 14:37:01 -0000 1.2
+++ config/tm-nto.h 14 Nov 2004 02:54:29 -0000
@@ -26,7 +26,10 @@
#ifndef _TM_QNXNTO_H
#define _TM_QNXNTO_H
-#include "tm-sysv4.h"
+/* If PC is in a shared library trampoline code, return the PC
+ where the function itself actually starts. If not, return 0. */
+
+#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
/* Setup the valid realtime signal range. */
#define REALTIME_LO 41
Index: config/ia64/tm-aix.h
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/tm-aix.h,v
retrieving revision 1.5
diff -p -u -r1.5 tm-aix.h
--- config/ia64/tm-aix.h 9 Jun 2004 19:54:13 -0000 1.5
+++ config/ia64/tm-aix.h 14 Nov 2004 02:54:29 -0000
@@ -23,7 +23,11 @@
#define TM_AIX_H
#include "ia64/tm-ia64.h"
-#include "config/tm-sysv4.h"
+
+/* If PC is in a shared library trampoline code, return the PC
+ where the function itself actually starts. If not, return 0. */
+
+#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc)
extern int ia64_aix_in_sigtramp (CORE_ADDR pc, char *func_name);
#define DEPRECATED_IN_SIGTRAMP(pc,func_name) ia64_aix_in_sigtramp (pc, func_name)