diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-03 00:36:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-03 00:36:35 +0000 |
commit | 0c5af733b1eafcbc2efeb5a703a532ed86b1ac22 (patch) | |
tree | c0266779ddb04b2ca8bb2e1d66b1ea3c6bb107a7 | |
parent | 1500864f5b7dc3a51b138fe32706c9a052e48e6d (diff) | |
download | gdb-0c5af733b1eafcbc2efeb5a703a532ed86b1ac22.zip gdb-0c5af733b1eafcbc2efeb5a703a532ed86b1ac22.tar.gz gdb-0c5af733b1eafcbc2efeb5a703a532ed86b1ac22.tar.bz2 |
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/config/mips/nm-irix3.h | 5 | ||||
-rw-r--r-- | gdb/config/mips/nm-irix4.h | 5 | ||||
-rw-r--r-- | gdb/config/mips/xm-irix3.h | 13 | ||||
-rw-r--r-- | gdb/config/mips/xm-irix4.h | 21 |
5 files changed, 29 insertions, 18 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 037b38b..835da8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Jul 2 18:22:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * config/mips/{x,n}m-irix{3,4}.h: Make some definitions here + rather than including xm-bigmips.h. + * eval.c (evaluate_subexp): Improve error messages for OP_TYPE and default cases. diff --git a/gdb/config/mips/nm-irix3.h b/gdb/config/mips/nm-irix3.h index 0b77e5f..ca6f470 100644 --- a/gdb/config/mips/nm-irix3.h +++ b/gdb/config/mips/nm-irix3.h @@ -29,3 +29,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) + +/* Is this really true or is this just a leftover from a DECstation + config file? */ + +#define ONE_PROCESS_WRITETEXT diff --git a/gdb/config/mips/nm-irix4.h b/gdb/config/mips/nm-irix4.h index 340dade..81d2708 100644 --- a/gdb/config/mips/nm-irix4.h +++ b/gdb/config/mips/nm-irix4.h @@ -29,3 +29,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef FETCH_INFERIOR_REGISTERS #define U_REGS_OFFSET 0 + +/* Is this really true or is this just a leftover from a DECstation + config file? */ + +#define ONE_PROCESS_WRITETEXT diff --git a/gdb/config/mips/xm-irix3.h b/gdb/config/mips/xm-irix3.h index 24cc561..41f02d9 100644 --- a/gdb/config/mips/xm-irix3.h +++ b/gdb/config/mips/xm-irix3.h @@ -20,7 +20,17 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_TERMIO -#include "mips/xm-bigmips.h" +/* Get rid of any system-imposed stack limit if possible */ + +#define SET_STACK_LIMIT_HUGE + +#define HOST_BYTE_ORDER BIG_ENDIAN + +/* memcpy and memset return void *, not char *. */ + +extern void *memcpy(); +extern void *memset(); +#define MEM_FNS_DECLARED /* Override register locations in upage for SGI machines */ #undef REGISTER_U_ADDR @@ -29,4 +39,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ addr = regno; \ else \ addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ - diff --git a/gdb/config/mips/xm-irix4.h b/gdb/config/mips/xm-irix4.h index aa74a7d..91bb97b 100644 --- a/gdb/config/mips/xm-irix4.h +++ b/gdb/config/mips/xm-irix4.h @@ -20,22 +20,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This is for the iris. */ -#define HAVE_TERMIO - -#include "mips/xm-bigmips.h" - -/* Override register locations in upage for SGI machines */ -#undef REGISTER_U_ADDR -#define REGISTER_U_ADDR(addr, blockend, regno) \ - if (regno < PC_REGNUM) \ - addr = regno; \ - else \ - addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ - -/* BEGIN GW MODS */ -/* Irix defines psignal() in signal.h, which gets gcc rather angry at us - * because their definition is markedly different. - */ +#include "mips/xm-irix3.h" + +/* Irix defines psignal() in signal.h, in a way which conflicts with the + definition in defs.h. */ + #define PSIGNAL_IN_SIGNAL_H #define BROKEN_SIGINFO_H /* <sys/siginfo.h> si_pid & si_uid are bogus */ |