diff options
author | Frank Ch. Eigler <fche@redhat.com> | 2001-03-20 17:13:39 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 2001-03-20 17:13:39 +0000 |
commit | 764f1408a3fa9b1991e3e18d17ea857776c1503e (patch) | |
tree | f978f18906457011d87fe189fe741c1dcf1866b7 /gdb/ChangeLog-2000 | |
parent | a9cbbe6d3e713210dcb111b1fa2dacda55eab456 (diff) | |
download | gdb-764f1408a3fa9b1991e3e18d17ea857776c1503e.zip gdb-764f1408a3fa9b1991e3e18d17ea857776c1503e.tar.gz gdb-764f1408a3fa9b1991e3e18d17ea857776c1503e.tar.bz2 |
* mmap support for common simulators
2001-03-16 Frank Ch. Eigler <fche@redhat.com>
Add support for mmap-based memory regions.
* sim-memopt.c (mmap_next_fd): New global.
(sim_memory_init): Reinitialize it.
(OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
"--memory-mapfile FILE" option. Check for some errors.
(do_memopt_add): Conditionally do mmap instead of malloc for
backing store of simulated memory. Check for more errors.
(do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
* sim-memopt.h (munmap_length): New member of _sim_memopt.
* configure.in: Look for mmap/fstat related functions and headers.
* config.in, configure: Regenerated.
Diffstat (limited to 'gdb/ChangeLog-2000')
0 files changed, 0 insertions, 0 deletions