aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-02-22 18:47:41 +0000
committerKevin Buettner <kevinb@redhat.com>2000-02-22 18:47:41 +0000
commit50c9bd316dea4c2a2103d5856a9a942c999e16ae (patch)
tree79e6371c6bad015c5ff46697f9baadb44c581065 /gdb/config
parent9a1e79ca636303362b6e05ad5bbbd8580c4bd982 (diff)
downloadgdb-50c9bd316dea4c2a2103d5856a9a942c999e16ae.zip
gdb-50c9bd316dea4c2a2103d5856a9a942c999e16ae.tar.gz
gdb-50c9bd316dea4c2a2103d5856a9a942c999e16ae.tar.bz2
Cleanups and signal handler backtrace fix for GNU/Linux PPC port.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/powerpc/tm-linux.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/gdb/config/powerpc/tm-linux.h b/gdb/config/powerpc/tm-linux.h
index 13a5327..271c302 100644
--- a/gdb/config/powerpc/tm-linux.h
+++ b/gdb/config/powerpc/tm-linux.h
@@ -21,8 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define TM_LINUX_H
#include "powerpc/tm-ppc-eabi.h"
-
-#undef PUSH_ARGUMENTS
+/* Avoid warning from redefinition in tm-sysv4.h (included from tm-linux.h) */
+#undef SKIP_TRAMPOLINE_CODE
+#include "tm-linux.h"
/* We can single step on linux */
#undef SOFTWARE_SINGLE_STEP
@@ -44,12 +45,6 @@ extern int at_subroutine_call_instruction_target();
/* Offset to saved PC in sigcontext, from <linux/signal.h>. */
#define SIGCONTEXT_PC_OFFSET 184
-/* Avoid warning from redefinition in tm-sysv4.h */
-#undef SKIP_TRAMPOLINE_CODE
-
-/* We need this file for the SOLIB_TRAMPOLINE stuff. */
-#include "tm-sysv4.h"
-
extern CORE_ADDR ppc_linux_skip_trampoline_code (CORE_ADDR pc);
#undef SKIP_TRAMPOLINE_CODE
#define SKIP_TRAMPOLINE_CODE(pc) ppc_linux_skip_trampoline_code (pc)
@@ -98,16 +93,8 @@ CORE_ADDR ppc_sysv_abi_push_arguments PARAMS ((int, struct value **, CORE_ADDR,
#define PROLOGUE_FIRSTLINE_OVERLAP
#endif
-/* Some versions of Linux have real-time signal support in the C library, and
- some don't. We have to include this file to find out. */
-#include <signal.h>
-
-#ifdef __SIGRTMIN
-#define REALTIME_LO __SIGRTMIN
-#define REALTIME_HI (__SIGRTMAX + 1)
-#else
-#define REALTIME_LO 32
-#define REALTIME_HI 64
-#endif
+/* N_FUN symbols in shared libaries have 0 for their values and need
+ to be relocated. */
+#define SOFUN_ADDRESS_MAYBE_MISSING
#endif /* #ifndef TM_LINUX_H */