mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
* 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).
This commit is contained in:
@ -855,6 +855,7 @@ map_to_address ()
|
||||
|
||||
#else
|
||||
|
||||
warning ("need to recompile gdb with MMAP_BASE_ADDRESS and MMAP_INCREMENT defined");
|
||||
return (0);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user