1 --- gdb-7.2.50.20110328.orig/gdb/dwarf2read.c 2011-03-30 12:52:20.395450001 +0200
2 +++ gdb-7.2.50.20110328/gdb/dwarf2read.c 2011-03-30 13:41:55.485450006 +0200
11 #define MAP_FAILED ((void *) -1)
16 typedef struct symbol *symbolp;
25 pagesize = getpagesize ();
32 /* If we get here, we are a normal, not-compressed section. */
34 @@ -15439,6 +15443,7 @@
36 if (info->was_mmapped)
40 intptr_t begin = (intptr_t) info->buffer;
41 intptr_t map_begin = begin & ~(pagesize - 1);
42 @@ -15449,6 +15454,7 @@
43 /* Without HAVE_MMAP, we should never be here to begin with. */
44 gdb_assert_not_reached ("no mmap support");