summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/OperatingSystem/Darwin-Kernel
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-19 22:22:57 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-19 22:22:57 +0000
commit1d19a2f25313d7f46bf725b1c8c29a586b490901 (patch)
treec38c953a9b6f764587eb7e411f86352ac6a35220 /lldb/source/Plugins/OperatingSystem/Darwin-Kernel
parent38860baad039595fc33e3036cc934c8f8fe8bdb3 (diff)
downloadbcm5719-llvm-1d19a2f25313d7f46bf725b1c8c29a586b490901.tar.gz
bcm5719-llvm-1d19a2f25313d7f46bf725b1c8c29a586b490901.zip
<rdar://problem/12491387>
Added commands to the KDP plug-in that allow sending raw commands through the KDP protocol. You specify a command byte and a payload as ASCII hex bytes, and the packet is created with a valid header/sequenceID/length and sent. The command responds with a raw ASCII hex string that contains all bytes in the reply including the header. An example of sending a read register packet for the GPR on x86_64: (lldb) process plugin packet send --command 0x07 --payload 0100000004000000 llvm-svn: 166346
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Darwin-Kernel')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.cpp b/lldb/source/Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.cpp
index a8cd1567791..93e69336c7f 100644
--- a/lldb/source/Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.cpp
+++ b/lldb/source/Plugins/OperatingSystem/Darwin-Kernel/OperatingSystemDarwinKernel.cpp
@@ -94,7 +94,7 @@ OperatingSystemDarwinKernel::CreateInstance (Process *process, bool force)
const char *
OperatingSystemDarwinKernel::GetPluginNameStatic()
{
- return "darwin-kernel";
+ return "macosx-kernel";
}
const char *
OpenPOWER on IntegriCloud