[Lldb-commits] [PATCH] D11455: [MIPS] Create Unix Signals based on target architecture
Jaydeep Patil
jaydeep.patil at imgtec.com
Thu Jul 23 02:37:13 PDT 2015
jaydeep created this revision.
jaydeep added a reviewer: clayborg.
jaydeep added subscribers: lldb-commits, bhushan, sagar, mohit.bhakkad, nitesh.jain.
jaydeep set the repository for this revision to rL LLVM.
The patch creates Unix Signals based on target architecture. For MIPS it creates MipsLinuxSignals.
Repository:
rL LLVM
http://reviews.llvm.org/D11455
Files:
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Index: source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
===================================================================
--- source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -823,7 +823,8 @@
log->Printf ("ProcessGDBRemote::%s pid %" PRIu64 ": normalized target architecture triple: %s", __FUNCTION__, GetID (), GetTarget ().GetArchitecture ().GetTriple ().getTriple ().c_str ());
if (error.Success())
- SetUnixSignals(std::make_shared<GDBRemoteSignals>(GetTarget().GetPlatform()->GetUnixSignals()));
+ SetUnixSignals(std::make_shared<GDBRemoteSignals>(
+ GetTarget().GetPlatform()->GetUnixSignals()->Create(GetTarget().GetArchitecture())));
return error;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11455.30465.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150723/652b11ea/attachment.bin>
More information about the lldb-commits
mailing list