aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/tm-irix3.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eea5c28..14ae6d6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
Fri Mar 5 17:16:26 1993 K. Richard Pixley (rich@rtl.cygnus.com)
+ * tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
+ irix4 will again compile.
+
* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
* configure.in: accept mips-sgi-irix4* for irix4.
diff --git a/gdb/tm-irix3.h b/gdb/tm-irix3.h
index e418b27..a227aa4 100644
--- a/gdb/tm-irix3.h
+++ b/gdb/tm-irix3.h
@@ -105,6 +105,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
to be actual register numbers as far as the user is concerned
but do serve to get the desired values when passed to read_register. */
+#define ZERO_REGNUM 0 /* read-only register, always 0 */
#define A0_REGNUM 4 /* Loc of first arg during a subr call */
#define SP_REGNUM 29 /* Contains address of top of stack */
#define FP_REGNUM 30 /* Pseudo register that contains true address of executing stack frame */