diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-02-10 17:01:17 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-02-10 17:03:59 -0800 |
commit | 386047969d9d36980fd6c4129b372e4a400114e0 (patch) | |
tree | da07658b16a2f011e944e9a65707f3f06ebeff7e /bfd/ChangeLog-2014 | |
parent | e7d52ed30408677f63c121e88a1493e6300b80ba (diff) | |
download | gdb-386047969d9d36980fd6c4129b372e4a400114e0.zip gdb-386047969d9d36980fd6c4129b372e4a400114e0.tar.gz gdb-386047969d9d36980fd6c4129b372e4a400114e0.tar.bz2 |
Unmap the buffer if plugin didn't claim the file
If plugin didn't claim the file, unmap the buffer.
* plugin.c (plugin_input_file_t): Add use_mmap.
(plugin_pagesize): New.
(get_view): Use plugin_pagesize. Set use_mmap if mmap is used.
(plugin_load_plugins): Initialize plugin_pagesize.
(plugin_maybe_claim): Unmap the buffer if plugin didn't claim the
file.
Diffstat (limited to 'bfd/ChangeLog-2014')
0 files changed, 0 insertions, 0 deletions