From 1dcabdbc6a01b30cbce1c85269d491fb204aa90a Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 26 Apr 1991 22:55:42 +0000 Subject: [PATCH] * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096. gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. --- gdb/config/i386v-g.mh | 2 ++ gdb/config/i386v.mh | 2 ++ gdb/config/i386v32-g.mh | 2 ++ gdb/config/i386v32.mh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/gdb/config/i386v-g.mh b/gdb/config/i386v-g.mh index a14a85e281f..bb6e209190b 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 c65cd3704cc..7d62b00cc08 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 4dfb1a478da..9382889529d 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 c184745f28c..40bb628000f 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 -- 2.30.2