From b5ec0a8e8a723e44f5b7996f24b592cc186c18c4 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sat, 22 May 1993 10:35:55 +0000 Subject: [PATCH] * config/mips/tm-irix3.h: Add sigcontext offsets for Irix. --- gdb/config/mips/tm-irix3.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/config/mips/tm-irix3.h b/gdb/config/mips/tm-irix3.h index 5d8089086c9..bee90cfbb3a 100644 --- a/gdb/config/mips/tm-irix3.h +++ b/gdb/config/mips/tm-irix3.h @@ -69,3 +69,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LO_REGNUM 68 /* ... */ #define FCRCS_REGNUM 69 /* FP control/status */ #define FCRIR_REGNUM 70 /* FP implementation/revision */ + +/* Offsets for register values in _sigtramp frame. + sigcontext is immediately above the _sigtramp frame on Irix. */ +#define SIGFRAME_BASE 0x0 +#define SIGFRAME_PC_OFF (SIGFRAME_BASE + 2 * 4) +#define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 3 * 4) -- 2.30.2