summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachTask.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-11-09 08:03:56 +0000
committerJason Molenda <jmolenda@apple.com>2011-11-09 08:03:56 +0000
commit3dc8583c96e249fba8884b9785ea02910f418f2b (patch)
treed9a80c29cd08a31e195243954dbbd0d1d023e958 /lldb/tools/debugserver/source/MacOSX/MachTask.h
parent8c8a43105720bcc5eedd35efc490afc84c8fe668 (diff)
downloadbcm5719-llvm-3dc8583c96e249fba8884b9785ea02910f418f2b.tar.gz
bcm5719-llvm-3dc8583c96e249fba8884b9785ea02910f418f2b.zip
Remove the QAddressIsExecutable packet I added last night.
Add a more general purpose qMemoryRegionInfo packet which can describe various attributes about a memory region. Currently it will return the start address, size, and permissions (read, write, executable) for the memory region. It may be possible to add additional attributes in the future such as whether the region is designated as stack memory or jitted code a la vmmap. I still haven't implemented the lldb side of the code to use this packet yet so there may be unexpected behavior - but the basic implementation looks about right. I'll hook it up to lldb soon and fix any problems that crop up. llvm-svn: 144175
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachTask.h')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachTask.h b/lldb/tools/debugserver/source/MacOSX/MachTask.h
index da64ba6c997..f0cfd0e56e8 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachTask.h
+++ b/lldb/tools/debugserver/source/MacOSX/MachTask.h
@@ -64,7 +64,7 @@ public:
nub_size_t ReadMemory (nub_addr_t addr, nub_size_t size, void *buf);
nub_size_t WriteMemory (nub_addr_t addr, nub_size_t size, const void *buf);
- bool IsAddressExecutable (nub_addr_t addr) ;
+ int MemoryRegionInfo (nub_addr_t addr, char *outbuf, nub_size_t outbufsize);
nub_addr_t AllocateMemory (nub_size_t size, uint32_t permissions);
nub_bool_t DeallocateMemory (nub_addr_t addr);
OpenPOWER on IntegriCloud