* objfiles.c (map_to_address): Have gdb print a warning when it
authorFred Fish <fnf@specifix.com>
Tue, 21 Nov 1995 18:19:23 +0000 (18:19 +0000)
committerFred Fish <fnf@specifix.com>
Tue, 21 Nov 1995 18:19:23 +0000 (18:19 +0000)
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
gdb/objfiles.c

index 8f01e02b6fb6cdf2ad45865a8e3e14db7eba319e..be7d049f5bd5509a015ab2de4cccc56b2fd41be7 100644 (file)
@@ -1,3 +1,12 @@
+Tue Nov 21 08:48:58 1995  Fred Fish  <fnf@cygnus.com>
+
+       * 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
index 6688e2d14cda6e60003cd5faaaa0a43692fbfc56..b0bd359919e8d4837f351eac833ae991a6630883 100644 (file)
@@ -855,6 +855,7 @@ map_to_address ()
 
 #else
 
+  warning ("need to recompile gdb with MMAP_BASE_ADDRESS and MMAP_INCREMENT defined");
   return (0);
 
 #endif
This page took 0.0388 seconds and 4 git commands to generate.