summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-01-20 02:03:18 +0000
committerJim Ingham <jingham@apple.com>2011-01-20 02:03:18 +0000
commit77787033b9cbecf9c444c26221374f96bd1fd521 (patch)
tree9f16a835550cce58f68d5bc4afab59c3a4472423 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
parent7d381c48fec57b35c3ce2e400ce53f68c456eabd (diff)
downloadbcm5719-llvm-77787033b9cbecf9c444c26221374f96bd1fd521.tar.gz
bcm5719-llvm-77787033b9cbecf9c444c26221374f96bd1fd521.zip
Back up both the register AND the stop state when calling functions.
Set the thread state to "bland" before calling functions so they don't inherit the pending signals and die. llvm-svn: 123869
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
index 3bf54afa9be..bf708485d73 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
+++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
@@ -47,12 +47,6 @@ public:
virtual lldb::RegisterContextSP
CreateRegisterContextForFrame (lldb_private::StackFrame *frame);
- virtual bool
- SaveFrameZeroState (RegisterCheckpoint &checkpoint);
-
- virtual bool
- RestoreSaveFrameZero (const RegisterCheckpoint &checkpoint);
-
virtual void
ClearStackFrames ();
@@ -81,12 +75,6 @@ public:
GetBasicInfoAsString ();
void
- SetStopInfo (const lldb::StopInfoSP &stop_info)
- {
- m_actual_stop_info_sp = stop_info;
- }
-
- void
SetName (const char *name)
{
if (name && name[0])
@@ -111,6 +99,12 @@ protected:
friend class ProcessGDBRemote;
+ virtual bool
+ SaveFrameZeroState (RegisterCheckpoint &checkpoint);
+
+ virtual bool
+ RestoreSaveFrameZero (const RegisterCheckpoint &checkpoint);
+
void
PrivateSetRegisterValue (uint32_t reg,
StringExtractor &response);
@@ -121,7 +115,6 @@ protected:
std::string m_thread_name;
std::string m_dispatch_queue_name;
lldb::addr_t m_thread_dispatch_qaddr;
- uint32_t m_thread_stop_reason_stop_id;
//------------------------------------------------------------------
// Member variables.
//------------------------------------------------------------------
OpenPOWER on IntegriCloud