aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-12-04 13:23:35 +0000
committerTamas Berghammer <tberghammer@google.com>2015-12-04 13:23:35 +0000
commit6d73750b2a6e379be0d105429077457fa0b68404 (patch)
treecc97090d6e967aa9bd6bceadf978624a0a003f00 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parent7fa69cd5ddb30b3fecd19debfde802b9c6248dc9 (diff)
downloadllvm-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.cpp2
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())