summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-11-18 07:03:08 +0000
committerGreg Clayton <gclayton@apple.com>2011-11-18 07:03:08 +0000
commit46fb558df13ad41638408734014a89baef592f51 (patch)
tree294b5dbd7f3f033b80536e804a10ed5b74ebda7a /lldb/source/Core/ModuleList.cpp
parent7ba18027e95b4acbf629395e9da5a6212a7005f5 (diff)
downloadbcm5719-llvm-46fb558df13ad41638408734014a89baef592f51.tar.gz
bcm5719-llvm-46fb558df13ad41638408734014a89baef592f51.zip
Added optional calls to lldb_private::Process for getting memory region info
from a process and hooked it up to the new packet that was recently added to our GDB remote executable named debugserver. Now Process has the following new calls: virtual Error Process::GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info); virtual uint32_t GetLoadAddressPermissions (lldb::addr_t load_addr); Only the first one needs to be implemented by subclasses that can add this support. Cleaned up the way the new packet was implemented in debugserver to be more useful as an API inside debugserver. Also found an error where finding a region for an address actually will pick up the next region that follows the address in the query so we also need ot make sure that the address we requested the region for falls into the region that gets returned. llvm-svn: 144976
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud