aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/tm-i386v42mp.h21
-rw-r--r--gdb/config/mips/nm-irix4.h5
2 files changed, 22 insertions, 4 deletions
diff --git a/gdb/config/i386/tm-i386v42mp.h b/gdb/config/i386/tm-i386v42mp.h
index 951a05a..b8b093d 100644
--- a/gdb/config/i386/tm-i386v42mp.h
+++ b/gdb/config/i386/tm-i386v42mp.h
@@ -25,10 +25,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "i386/tm-i386v4.h"
-/* proc on this architecture has multiple fds (ctl, as, map, status) */
-/* including a control fd */
+/* procfs on this architecture has multiple fds (ctl, as, map, status)
+ including a control fd */
#define HAVE_MULTIPLE_PROC_FDS
-#define HAVE_CONTROL_PROC_FD
+
+/* procfs on this architecture has a pstatus_t instead of prstatus_t */
+
+#define HAVE_PSTATUS_T
+
+/* procfs on this architecture has no prrun_t */
+#define HAVE_NO_PRRUN_T
+
+/* procfs on this architecture communicates with read/write instead
+ of ioctl */
+
+#define PROCFS_USE_READ_WRITE
+
+/* define to select for other sysv4.2mp weirdness */
+
+#define UNIXWARE
#endif /* ifndef TM_I386V42MP_H */
diff --git a/gdb/config/mips/nm-irix4.h b/gdb/config/mips/nm-irix4.h
index c4227ba..017695c 100644
--- a/gdb/config/mips/nm-irix4.h
+++ b/gdb/config/mips/nm-irix4.h
@@ -23,7 +23,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
* with ptrace(), which seems *extremely* fragile, anyway.
*/
#define USE_PROC_FS
-#define PROC_NAME_FMT "/debug/%d"
+#define CTL_PROC_NAME_FMT "/debug/%d"
+#define AS_PROC_NAME_FMT "/debug/%d"
+#define MAP_PROC_NAME_FMT "/debug/%d"
+#define STATUS_PROC_NAME_FMT "/debug/%d"
/* Don't need special routines for the SGI -- we can use infptrace.c */
#undef FETCH_INFERIOR_REGISTERS