From 9c38648171cb82968cccf414b57bed8891bb9c81 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 21 Nov 1995 18:19:23 +0000 Subject: [PATCH] * objfiles.c (map_to_address): Have gdb print a warning when it is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and MMAP_INCREMENT defined (thus making it appear mmap doesn't work). --- gdb/ChangeLog | 9 +++++++++ gdb/objfiles.c | 1 + 2 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8f01e02b6fb..be7d049f5bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +Tue Nov 21 08:48:58 1995 Fred Fish + + * 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. + * objfiles.c (map_to_address): Have gdb print a warning when it + is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and + MMAP_INCREMENT defined (thus making it appear mmap doesn't work). + Mon Nov 20 14:13:53 1995 Stu Grossman (grossman@cygnus.com) * infrun.c (wait_for_inferior): Add support for dynamic function diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 6688e2d14cd..b0bd359919e 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -855,6 +855,7 @@ map_to_address () #else + warning ("need to recompile gdb with MMAP_BASE_ADDRESS and MMAP_INCREMENT defined"); return (0); #endif -- 2.30.2