llvm-project/lldb/source/Utility
Francis Ricci 15a2165d64 Skip leading spaces when decoding hex values
Summary:
The StringExtractor functions using stroull will already
skip leading whitespace (ie GetU64). Make sure that the manual
hex parsing functions also skip leading whitespace.

This is important for members of the gdb protocol which are defined
as using whitespace separators (ie qfThreadInfo, qC, etc). While
lldb-server does not use the whitespace separators, gdb-remotes
should work if they do, as the whitespace is defined by the gdb-remote
protocol.

Reviewers: vharron, jasonmolenda, clayborg

Subscribers: sas, lldb-commits

Differential Revision: http://reviews.llvm.org/D20509

llvm-svn: 270592
2016-05-24 18:19:45 +00:00
..
ARM64_DWARF_Registers.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
ARM64_DWARF_Registers.h lldb arm64 import. 2014-03-29 18:54:20 +00:00
ARM64_ehframe_Registers.h Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
ARM_DWARF_Registers.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
ARM_DWARF_Registers.h
ARM_ehframe_Registers.h Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
CMakeLists.txt Add a new task pool class to LLDB 2015-10-20 12:42:05 +00:00
ConvertEnum.cpp Add support for handling absolute symbols in ELF 2016-02-25 12:23:43 +00:00
JSON.cpp Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break. 2016-02-26 01:20:20 +00:00
KQueue.cpp
KQueue.h
LLDBAssert.cpp Have lldb_assert accept bool expressions 2015-05-08 09:53:31 +00:00
ModuleCache.cpp Replace file system forbidden symbols in the hostname which passed to the ModuleCache. 2016-05-24 18:09:05 +00:00
ModuleCache.h Download symbol file for .oat files on android 2015-08-12 11:10:25 +00:00
NameMatches.cpp Move some functions from source/lldb.cpp to Utility. 2015-03-18 21:31:45 +00:00
PseudoTerminal.cpp Get lldb-server building on android-9 2015-05-12 01:10:56 +00:00
Range.cpp
RegisterNumber.cpp Add an additional check to UnwindAssembly_x86::AugmentUnwindPlanFromCallSite 2015-01-13 06:07:07 +00:00
SharingPtr.cpp remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
StringExtractor.cpp Skip leading spaces when decoding hex values 2016-05-24 18:19:45 +00:00
StringExtractorGDBRemote.cpp Remove some lldbassert's from the packet checking code. 2016-05-07 00:52:18 +00:00
StringExtractorGDBRemote.h Fixed an issue that could cause debugserver to return two stop reply packets ($T packets) for one \x03 interrupt. The problem was that when a \x03 byte is sent to debugserver while the process is running, and up calling: 2016-04-01 00:41:29 +00:00
StringLexer.cpp Removed a couple of static helpers in the data formatters, replaced with new general logic in StringLexer 2014-11-14 22:58:11 +00:00
TaskPool.cpp Work around a linux libc bug causing a crash in TaskPool 2016-04-15 10:49:07 +00:00
TimeSpecTimeout.cpp
TimeSpecTimeout.h Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
UriParser.cpp Simplify find_first_of & find_last_of on single char. 2015-09-01 23:57:17 +00:00
UriParser.h Make UriParser to support [$HOSTNAME] notation. 2015-08-20 23:09:34 +00:00
UuidCompatibility.h