diff options
author | Fred Fish <fnf@specifix.com> | 1995-11-21 18:19:23 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1995-11-21 18:19:23 +0000 |
commit | 9c38648171cb82968cccf414b57bed8891bb9c81 (patch) | |
tree | 0fc1f7a83e82ae096a40bb29a66c6c887ad3a5ce /gdb/objfiles.c | |
parent | 7938b4cb15b41d54cb6029abc3146fab82dd6549 (diff) | |
download | gdb-9c38648171cb82968cccf414b57bed8891bb9c81.zip gdb-9c38648171cb82968cccf414b57bed8891bb9c81.tar.gz gdb-9c38648171cb82968cccf414b57bed8891bb9c81.tar.bz2 |
* 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).
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 6688e2d..b0bd359 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -855,6 +855,7 @@ map_to_address () #else + warning ("need to recompile gdb with MMAP_BASE_ADDRESS and MMAP_INCREMENT defined"); return (0); #endif |