aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-08-07 13:34:39 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-08-07 13:34:39 +0000
commit2e793470f37f8ec8fe7358ecb48aeadbb85724d2 (patch)
tree1fb48966b85db1f7548909263dcde54582ddf31a /gdb/config/mips
parent0d98155c9484f354c4e65e7c39faa3d751ce2599 (diff)
downloadgdb-2e793470f37f8ec8fe7358ecb48aeadbb85724d2.zip
gdb-2e793470f37f8ec8fe7358ecb48aeadbb85724d2.tar.gz
gdb-2e793470f37f8ec8fe7358ecb48aeadbb85724d2.tar.bz2
* config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,
Irix 5 has a standard _sigtramp signal handler.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-irix5.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-irix5.h b/gdb/config/mips/tm-irix5.h
index dde53c3..d85ffbc 100644
--- a/gdb/config/mips/tm-irix5.h
+++ b/gdb/config/mips/tm-irix5.h
@@ -25,6 +25,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef Dest_Reg
#define Dest_Reg 25
+/* The signal handler trampoline is called _sigtramp. */
+#undef IN_SIGTRAMP
+#define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigtramp", name))
+
/* Irix 5 saves a full 64 bits for each register. We skip 2 * 4 to
get to the saved PC (the register mask and status register are both
32 bits) and then another 4 to get to the lower 32 bits. We skip