#include <sys/types.h>
#include "gdb_stat.h"
#include <fcntl.h>
-#include <obstack.h>
+#include "obstack.h"
#include "gdb_string.h"
/* Prototypes for local functions */
if (mapped)
{
- warning ("this version of gdb does not support mapped symbol tables.");
+ warning ("mapped symbol tables are not supported on this machine; missing or broken mmap().");
/* Turn off the global flag so we don't try to do mapped symbol tables
any more, which shuts up gdb unless the user specifically gives the
#else
+ warning ("need to recompile gdb with MMAP_BASE_ADDRESS and MMAP_INCREMENT defined");
return (0);
#endif