forked from OSchip/llvm-project
Enable AUXV and QPassSignals in gdb-remote for NetBSD
Summary: NetBSD is an ELF platform and it uses Elf Auxiliary Vector like Linux and other modern BSDs. While there enable QPassSignals for the NetBSD port as well. Sponsored by <The NetBSD Foundation> Reviewers: labath, kettenis, joerg, emaste Reviewed By: labath Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D31146 llvm-svn: 298407
This commit is contained in:
parent
a87101d6a7
commit
c93408a6ab
|
@ -840,7 +840,7 @@ GDBRemoteCommunicationServerCommon::Handle_qSupported(
|
|||
response.PutCString(";QThreadSuffixSupported+");
|
||||
response.PutCString(";QListThreadsInStopReply+");
|
||||
response.PutCString(";qEcho+");
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__NetBSD__)
|
||||
response.PutCString(";QPassSignals+");
|
||||
response.PutCString(";qXfer:auxv:read+");
|
||||
#endif
|
||||
|
|
|
@ -2665,7 +2665,7 @@ GDBRemoteCommunication::PacketResult
|
|||
GDBRemoteCommunicationServerLLGS::Handle_qXfer_auxv_read(
|
||||
StringExtractorGDBRemote &packet) {
|
||||
// *BSD impls should be able to do this too.
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__NetBSD__)
|
||||
Log *log(GetLogIfAnyCategoriesSet(LIBLLDB_LOG_PROCESS));
|
||||
|
||||
// Parse out the offset.
|
||||
|
|
Loading…
Reference in New Issue