aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-03-06 01:25:06 +0000
committerK. Richard Pixley <rich@cygnus>1993-03-06 01:25:06 +0000
commit24365af9608bb80028101776a2c9ce59f5e37849 (patch)
treef7b755018f1308ce1eec22d139547f11b2d073f8 /gdb
parent5870d84848765fd709d79c586e35a65a7453dfdd (diff)
downloadgdb-24365af9608bb80028101776a2c9ce59f5e37849.zip
gdb-24365af9608bb80028101776a2c9ce59f5e37849.tar.gz
gdb-24365af9608bb80028101776a2c9ce59f5e37849.tar.bz2
* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
irix4 will again compile.
Diffstat (limited to 'gdb')
-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 */