aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-15 22:05:44 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-15 22:05:44 +0000
commit5929a91098661a96a8fd889af00aebe461fc831a (patch)
treecc04ae304eca980d048213e2e3ee389d3b8d0f9b /gdb/config
parent8f22cb9068670ce9c634e55028877721e7863e63 (diff)
downloadgdb-5929a91098661a96a8fd889af00aebe461fc831a.zip
gdb-5929a91098661a96a8fd889af00aebe461fc831a.tar.gz
gdb-5929a91098661a96a8fd889af00aebe461fc831a.tar.bz2
2004-02-15 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro. * config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference. * config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro. * ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/arm/tm-linux.h3
-rw-r--r--gdb/config/i386/tm-i386bsd.h5
-rw-r--r--gdb/config/mips/tm-nbsd.h3
-rw-r--r--gdb/config/ns32k/tm-nbsd.h5
-rw-r--r--gdb/config/vax/tm-vaxbsd.h4
5 files changed, 0 insertions, 20 deletions
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h
index dd41540..306f837 100644
--- a/gdb/config/arm/tm-linux.h
+++ b/gdb/config/arm/tm-linux.h
@@ -26,9 +26,6 @@
#include "config/tm-linux.h"
-/* Offset to saved PC in sigcontext structure, from <asm/sigcontext.h> */
-#define SIGCONTEXT_PC_OFFSET (sizeof(unsigned long) * 18)
-
/* We've multi-arched this. */
#undef IN_SOLIB_CALL_TRAMPOLINE
diff --git a/gdb/config/i386/tm-i386bsd.h b/gdb/config/i386/tm-i386bsd.h
index e2b2229..fef009e 100644
--- a/gdb/config/i386/tm-i386bsd.h
+++ b/gdb/config/i386/tm-i386bsd.h
@@ -37,9 +37,4 @@
#define SIGTRAMP_START(pc) 0xfdbfdfc0
#define SIGTRAMP_END(pc) 0xfdbfe000
-/* Saved Pc. Get it from sigcontext if within sigtramp. */
-
-/* Offset to saved PC in sigcontext, from <sys/signal.h>. */
-#define SIGCONTEXT_PC_OFFSET 20
-
#endif /* ifndef TM_I386BSD_H */
diff --git a/gdb/config/mips/tm-nbsd.h b/gdb/config/mips/tm-nbsd.h
index 143f3a4..fb30761 100644
--- a/gdb/config/mips/tm-nbsd.h
+++ b/gdb/config/mips/tm-nbsd.h
@@ -22,9 +22,6 @@
#ifndef TM_NBSD_H
#define TM_NBSD_H
-/* Saved Pc. Get it from sigcontext if within sigtramp. */
-#define SIGCONTEXT_PC_OFFSET 8
-
#include "mips/tm-mips.h"
#include "solib.h"
diff --git a/gdb/config/ns32k/tm-nbsd.h b/gdb/config/ns32k/tm-nbsd.h
index 88b4e22..8e530d4 100644
--- a/gdb/config/ns32k/tm-nbsd.h
+++ b/gdb/config/ns32k/tm-nbsd.h
@@ -29,9 +29,4 @@
#include "ns32k/tm-ns32k.h"
-/* Saved Pc. Get it from sigcontext if within sigtramp. */
-
-/* Offset to saved PC in sigcontext, from <machine/signal.h>. */
-#define SIGCONTEXT_PC_OFFSET 20
-
#endif /* TM_NBSD_H */
diff --git a/gdb/config/vax/tm-vaxbsd.h b/gdb/config/vax/tm-vaxbsd.h
index e24049a..47c9f8c 100644
--- a/gdb/config/vax/tm-vaxbsd.h
+++ b/gdb/config/vax/tm-vaxbsd.h
@@ -34,8 +34,4 @@
#define SIGTRAMP_START(pc) STACK_END_ADDR
#define SIGTRAMP_END(pc) 0x80000000
-/* Offset to saved PC in sigcontext, from <sys/signal.h>. */
-/* XXXJRT should go away */
-#define SIGCONTEXT_PC_OFFSET 12
-
#endif /* TM_VAXBSD_H */