aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-sun3os4.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xm-sun3os4.h')
-rw-r--r--gdb/xm-sun3os4.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/xm-sun3os4.h b/gdb/xm-sun3os4.h
index de0a640..b9401f9 100644
--- a/gdb/xm-sun3os4.h
+++ b/gdb/xm-sun3os4.h
@@ -30,3 +30,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* SunOS 4.x has memory mapped files. */
#define HAVE_MMAP
+
+/* 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 0xE0000000 /* First mapping here */
+#define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */