summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/StringExtractor.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-08 03:17:57 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-08 03:17:57 +0000
commitde9d0494ef474b4db5d24ad89357629d08804499 (patch)
treeddeb5c4d5f7411c897017b03e7c6effee66924ec /lldb/source/Utility/StringExtractor.h
parent671cabeeb5e80036ad66c3129aa2a4d9cc599b43 (diff)
downloadbcm5719-llvm-de9d0494ef474b4db5d24ad89357629d08804499.tar.gz
bcm5719-llvm-de9d0494ef474b4db5d24ad89357629d08804499.zip
Modified the stop reply packet to be able to send the thread name using the
new "hexname" key for the "key:value;" duple that is part of the packet. This allows for thread names to contain special characters such as $ # : ; + - Debugserver now detects if the thread name contains special characters and sends the chars in hex format if needed. llvm-svn: 123053
Diffstat (limited to 'lldb/source/Utility/StringExtractor.h')
-rw-r--r--lldb/source/Utility/StringExtractor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Utility/StringExtractor.h b/lldb/source/Utility/StringExtractor.h
index 3817ecbf6b0..ed67b926c2a 100644
--- a/lldb/source/Utility/StringExtractor.h
+++ b/lldb/source/Utility/StringExtractor.h
@@ -110,6 +110,9 @@ public:
uint64_t
GetHexWithFixedSize (uint32_t byte_size, bool little_endian, uint64_t fail_value);
+ size_t
+ GetHexByteString (std::string &str);
+
protected:
//------------------------------------------------------------------
// For StringExtractor only
OpenPOWER on IntegriCloud