aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-11-21 18:19:58 +0000
committerFred Fish <fnf@specifix.com>1995-11-21 18:19:58 +0000
commitac99f5b2743db4fce7ac004c80a18926a4b58406 (patch)
tree6d3541e7b84cbce39ec1c578abc8ef1ca354466a /gdb/config
parent9c38648171cb82968cccf414b57bed8891bb9c81 (diff)
downloadgdb-ac99f5b2743db4fce7ac004c80a18926a4b58406.zip
gdb-ac99f5b2743db4fce7ac004c80a18926a4b58406.tar.gz
gdb-ac99f5b2743db4fce7ac004c80a18926a4b58406.tar.bz2
* config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
Also force HAVE_MMAP to be defined since autoconf is currently broken for detecting a working mmap under hpux.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/pa/xm-hppah.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/config/pa/xm-hppah.h b/gdb/config/pa/xm-hppah.h
index 407bf5f..d427a65 100644
--- a/gdb/config/pa/xm-hppah.h
+++ b/gdb/config/pa/xm-hppah.h
@@ -44,6 +44,22 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define MALLOC_INCOMPATIBLE
+/* If you expect to use the mmalloc package to obtain mapped symbol files,
+ for now you have to specify some parameters that determine how gdb places
+ the mappings in it's address space. See the comments in map_to_address()
+ for details. This is expected to only be a short term solution. Yes it
+ is a kludge.
+ FIXME: Make this more automatic. */
+
+#define MMAP_BASE_ADDRESS 0x60000000 /* First mapping here */
+#define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */
+
+/* On hpux, autoconf 2.4 (and possibly others) does not properly detect that
+ mmap is available. Until this is fixed, we have to explicitly force
+ HAVE_MMAP. -fnf */
+
+#define HAVE_MMAP 1
+
extern void *
malloc PARAMS ((size_t));