aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1993-07-21 10:15:21 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1993-07-21 10:15:21 +0000
commit1a2a932d4f72714be0e3e2747e0b166a4c0b1a76 (patch)
tree290bec83dcdeb431a36b2e7c7fe53cc51a6802fa /gdb
parent66fe741646efa3a9aaa17a6805a4077dccb133b1 (diff)
downloadgdb-1a2a932d4f72714be0e3e2747e0b166a4c0b1a76.zip
gdb-1a2a932d4f72714be0e3e2747e0b166a4c0b1a76.tar.gz
gdb-1a2a932d4f72714be0e3e2747e0b166a4c0b1a76.tar.bz2
* config/mips/xm-makeva.h: New file implements va_list alignment
restrictions for mips hosts. * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}: Use it.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/config/mips/.Sanitize1
-rw-r--r--gdb/config/mips/xm-irix3.h3
-rw-r--r--gdb/config/mips/xm-mips.h3
-rw-r--r--gdb/config/mips/xm-news-mips.h3
-rw-r--r--gdb/config/mips/xm-riscos.h3
5 files changed, 13 insertions, 0 deletions
diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize
index c906265..64099cd 100644
--- a/gdb/config/mips/.Sanitize
+++ b/gdb/config/mips/.Sanitize
@@ -43,6 +43,7 @@ tm-irix3.h
tm-mips.h
xm-irix3.h
xm-irix4.h
+xm-makeva.h
xm-mips.h
xm-news-mips.h
xm-riscos.h
diff --git a/gdb/config/mips/xm-irix3.h b/gdb/config/mips/xm-irix3.h
index 41f02d9..2607cd1 100644
--- a/gdb/config/mips/xm-irix3.h
+++ b/gdb/config/mips/xm-irix3.h
@@ -39,3 +39,6 @@ extern void *memset();
addr = regno; \
else \
addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */
+
+/* Mips hosts need aligned va_list arguments. */
+#include "mips/xm-makeva.h"
diff --git a/gdb/config/mips/xm-mips.h b/gdb/config/mips/xm-mips.h
index 2c2e5cd..bcc12d5 100644
--- a/gdb/config/mips/xm-mips.h
+++ b/gdb/config/mips/xm-mips.h
@@ -63,3 +63,6 @@ extern void *memset();
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT
+
+/* Mips hosts need aligned va_list arguments. */
+#include "mips/xm-makeva.h"
diff --git a/gdb/config/mips/xm-news-mips.h b/gdb/config/mips/xm-news-mips.h
index 471cc2b..55ade55 100644
--- a/gdb/config/mips/xm-news-mips.h
+++ b/gdb/config/mips/xm-news-mips.h
@@ -28,3 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define SET_STACK_LIMIT_HUGE
#define MEM_FNS_DECLARED
+
+/* Mips hosts need aligned va_list arguments. */
+#include "mips/xm-makeva.h"
diff --git a/gdb/config/mips/xm-riscos.h b/gdb/config/mips/xm-riscos.h
index ba3845e..029e8de 100644
--- a/gdb/config/mips/xm-riscos.h
+++ b/gdb/config/mips/xm-riscos.h
@@ -28,3 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* setjmp.h requires uid_t. */
#include <sys/types.h>
+
+/* Mips hosts need aligned va_list arguments. */
+#include "mips/xm-makeva.h"