aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/tm-sun386.h3
-rw-r--r--gdb/xm-sun386.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/tm-sun386.h b/gdb/tm-sun386.h
index 60c8986..719f52c 100644
--- a/gdb/tm-sun386.h
+++ b/gdb/tm-sun386.h
@@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef sun386
#define sun386
#endif
+#define GDB_TARGET_IS_SUN386 1
#define SUNOS4
#define USE_MACHINE_REG_H
@@ -34,8 +35,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define _EXEC_
#endif
-#define BROKEN_LARGE_ALLOCA
-
/* sun386 ptrace seems unable to change the frame pointer */
#define PTRACE_FP_BUG
diff --git a/gdb/xm-sun386.h b/gdb/xm-sun386.h
index 69b3673..730ac8a 100644
--- a/gdb/xm-sun386.h
+++ b/gdb/xm-sun386.h
@@ -23,6 +23,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SET_STACK_LIMIT_HUGE
+#define BROKEN_LARGE_ALLOCA
+
/* Enable use of alternate code for Sun's format of core dump file. */
#define NEW_SUN_CORE