aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-01-31 20:35:51 +0000
committerFred Fish <fnf@specifix.com>1996-01-31 20:35:51 +0000
commit44e9f3b3d38840ca7e72ddeed031391f0243b833 (patch)
tree3dac06e68e342e3a152d3835142df0e8cd171c76 /gdb
parent40ab9bb9d7fa0734bfea8ed08a1b6d02e225fe29 (diff)
downloadfsf-binutils-gdb-44e9f3b3d38840ca7e72ddeed031391f0243b833.zip
fsf-binutils-gdb-44e9f3b3d38840ca7e72ddeed031391f0243b833.tar.gz
fsf-binutils-gdb-44e9f3b3d38840ca7e72ddeed031391f0243b833.tar.bz2
* config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Define to what should be reasonable values. However, apparently a bug in linux mmap prevents mapped symbol tables from working.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/i386/xm-linux.h10
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0eef833..9bfd237 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
+
+ * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
+ Define to what should be reasonable values. However, apparently
+ a bug in linux mmap prevents mapped symbol tables from working.
+
Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
* defs.h (errno.h>: Move #include closer to head of file to solve
diff --git a/gdb/config/i386/xm-linux.h b/gdb/config/i386/xm-linux.h
index f63d8fc..5004926 100644
--- a/gdb/config/i386/xm-linux.h
+++ b/gdb/config/i386/xm-linux.h
@@ -33,4 +33,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Need R_OK etc, but USG isn't defined. */
#include <unistd.h>
+/* 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 0x20000000 /* First mapping here */
+#define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */
+
#endif /* #ifndef XM_LINUX_H */