diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-12-04 13:23:35 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-12-04 13:23:35 +0000 |
commit | 6d73750b2a6e379be0d105429077457fa0b68404 (patch) | |
tree | cc97090d6e967aa9bd6bceadf978624a0a003f00 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | 7fa69cd5ddb30b3fecd19debfde802b9c6248dc9 (diff) | |
download | llvm-6d73750b2a6e379be0d105429077457fa0b68404.zip llvm-6d73750b2a6e379be0d105429077457fa0b68404.tar.gz llvm-6d73750b2a6e379be0d105429077457fa0b68404.tar.bz2 |
Improve the functionality of JSONNumber
* Add support for representing signed integers
* Add new constructors taking any signed or unsigned integer types
Differential revision: http://reviews.llvm.org/D15187
llvm-svn: 254715
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index a620b90..921369c 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -566,7 +566,7 @@ GetJSONThreadsInfo(NativeProcessProtocol &process, bool abridged) thread_obj_sp->SetObject("tid", std::make_shared<JSONNumber>(tid)); if (signum != 0) - thread_obj_sp->SetObject("signal", std::make_shared<JSONNumber>(uint64_t(signum))); + thread_obj_sp->SetObject("signal", std::make_shared<JSONNumber>(signum)); const std::string thread_name = thread_sp->GetName (); if (! thread_name.empty()) |