summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-22 07:12:45 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-22 07:12:45 +0000
commit6ed95945edea5f40fa5aedb3b049bb3d78dcce4e (patch)
tree0d4d4585b6dc65f10d66542ae0d5aa8ebab33344 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
parent9c399a29fd5b57c7a200d1fd014f39684c78a0e1 (diff)
downloadbcm5719-llvm-6ed95945edea5f40fa5aedb3b049bb3d78dcce4e.tar.gz
bcm5719-llvm-6ed95945edea5f40fa5aedb3b049bb3d78dcce4e.zip
Sped up the shutdown time on MacOSX by quite a bit by making sure any
threads that we spawn let us know when they are going away and that we don't timeout waiting for a message from threads that have gone away. We also now don't expect the "k" packet (kill) to send a response. This greatly speeds up debugger shutdown performance. The test suite now runs quite a bit faster. Added a fix to the variable display code that fixes the display of base classes. We were assuming the virtual or normal base class offsets were being given in bit sizes, but they were being given as character sizes, so we needed to multiply the offset by 8. This wasn't affecting the expression parser, but it was affecting the correct display of C++ class base classes and all of their children. llvm-svn: 124024
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
index ab9384f291e..bcbaeb5ebd9 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
@@ -87,7 +87,11 @@ public:
GetAck (uint32_t timeout_seconds);
size_t
- SendAck (char ack_char);
+ SendAck ();
+
+ size_t
+ SendNack ();
+
char
CalculcateChecksum (const char *payload,
@@ -117,7 +121,8 @@ public:
bool
SendInterrupt (lldb_private::Mutex::Locker &locker,
uint32_t seconds_to_wait_for_stop,
- bool *timed_out = NULL);
+ bool &sent_interrupt,
+ bool &timed_out);
bool
GetSequenceMutex(lldb_private::Mutex::Locker& locker);
OpenPOWER on IntegriCloud