summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2018-09-08 10:33:14 +0000
committerPavel Labath <pavel@labath.sk>2018-09-08 10:33:14 +0000
commit12286a2739fa9c028ff9726246a47f92f9f8be1e (patch)
tree80044e38f9de8b91a94f81327fd4235616eb6adc /lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
parent85dacd1116feee2246c4c0ca82ce037bf7d70401 (diff)
downloadbcm5719-llvm-12286a2739fa9c028ff9726246a47f92f9f8be1e.tar.gz
bcm5719-llvm-12286a2739fa9c028ff9726246a47f92f9f8be1e.zip
Revert "Modernize NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode"
This reverts commit r341487. Jan Kratochvil reports it breaks LLDB when compiling with clang. llvm-svn: 341747
Diffstat (limited to 'lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h')
-rw-r--r--lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
index a08da8efa80..142f74ecf19 100644
--- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
+++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
@@ -93,6 +93,16 @@ public:
static Status PtraceWrapper(int req, lldb::pid_t pid, void *addr = nullptr,
int data = 0, int *result = nullptr);
+protected:
+ // ---------------------------------------------------------------------
+ // NativeProcessProtocol protected interface
+ // ---------------------------------------------------------------------
+
+ Status
+ GetSoftwareBreakpointTrapOpcode(size_t trap_opcode_size_hint,
+ size_t &actual_opcode_size,
+ const uint8_t *&trap_opcode_bytes) override;
+
private:
MainLoop::SignalHandleUP m_sigchld_handle;
ArchSpec m_arch;
OpenPOWER on IntegriCloud