aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/config/i386v-g.mh2
-rw-r--r--gdb/config/i386v.mh2
-rw-r--r--gdb/config/i386v32-g.mh2
-rw-r--r--gdb/config/i386v32.mh2
4 files changed, 8 insertions, 0 deletions
diff --git a/gdb/config/i386v-g.mh b/gdb/config/i386v-g.mh
index a14a85e..bb6e209 100644
--- a/gdb/config/i386v-g.mh
+++ b/gdb/config/i386v-g.mh
@@ -23,3 +23,5 @@ XM_CLIBS= -lPW
SYSV_DEFINE=-DSYSV
REGEX=regex.o
REGEX1=regex.o
+# for gmalloc.c
+XM_CFLAGS= -Dgetpagesize()=4096
diff --git a/gdb/config/i386v.mh b/gdb/config/i386v.mh
index c65cd37..7d62b00 100644
--- a/gdb/config/i386v.mh
+++ b/gdb/config/i386v.mh
@@ -23,3 +23,5 @@ XM_CLIBS= -lPW
SYSV_DEFINE=-DSYSV
REGEX=regex.o
REGEX1=regex.o
+# for gmalloc.c
+XM_CFLAGS= -Dgetpagesize()=4096
diff --git a/gdb/config/i386v32-g.mh b/gdb/config/i386v32-g.mh
index 4dfb1a4..9382889 100644
--- a/gdb/config/i386v32-g.mh
+++ b/gdb/config/i386v32-g.mh
@@ -23,3 +23,5 @@ XM_CLIBS= -lPW
SYSV_DEFINE=-DSYSV
REGEX=regex.o
REGEX1=regex.o
+# for gmalloc.c
+XM_CFLAGS= -Dgetpagesize()=4096
diff --git a/gdb/config/i386v32.mh b/gdb/config/i386v32.mh
index c184745..40bb628 100644
--- a/gdb/config/i386v32.mh
+++ b/gdb/config/i386v32.mh
@@ -23,3 +23,5 @@ XM_CLIBS= -lPW
SYSV_DEFINE=-DSYSV
REGEX=regex.o
REGEX1=regex.o
+# for gmalloc.c
+XM_CFLAGS= -Dgetpagesize()=4096