hanchenye-llvm-project/lldb/tools
Greg Clayton 46fb558df1 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
2011-11-18 07:03:08 +00:00
..
darwin-debug Fixed some warnings after enabling some stricter warnings in the Xcode project 2011-10-31 23:51:19 +00:00
darwin-threads Print out the task suspend count as well. 2011-11-03 21:43:55 +00:00
debugserver Added optional calls to lldb_private::Process for getting memory region info 2011-11-18 07:03:08 +00:00
driver Moved many of the "settings" that used to be in "target.process.*" to just 2011-11-08 02:43:13 +00:00
lldb-platform Fixed some warnings after enabling some stricter warnings in the Xcode project 2011-10-31 23:51:19 +00:00
Makefile