summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [LLDB] Insert names with same signo as alias instead of a new entryMohit K. Bhakkad2015-10-201-68/+66
| | | | | | | | Reviewers: clayborg, labath. Subscribers: jaydeep, dsanders, bhushan, sagar, nitesh.jain, emaste,lldb-commits. Differential Revision: http://reviews.llvm.org/D13646 llvm-svn: 250801
* Switch default disposition of realtime signalsPavel Labath2015-09-141-33/+33
| | | | | | | | | | | | | | | | | | | | | Summary: Realtime signals generally do not represent an error condition in an application but are more like a regular means of IPC. As such, we shouldn't interrupt an application whenever it recieves one. If any application will use these signals, it will probably use them a lot, rendering it's debugging tiresome if we stopped at every signal. Furthermore, these signals are likely to be used in a low level library, and the programmer may not even be aware of their presence. For these reasons, I am switching the default disposition of realtime signals on all supported platforms (i.e. Linux and Freebsd) to no-stop, no-notify. Any user still wishing to receive these signals can always change the default to suit his needs. Reviewers: ovyalov, emaste Subscribers: lldb-commits, emaste Differential Revision: http://reviews.llvm.org/D12795 llvm-svn: 247537
* Refactor Unix signals.Chaoren Lin2015-07-141-1/+1
| | | | | | | | | | | | | | | | | | Summary: - Consolidate Unix signals selection in UnixSignals. - Make Unix signals available from platform. - Add jSignalsInfo packet to retrieve Unix signals from remote platform. - Get a copy of the platform signal for each remote process. - Update SB API for signals. - Update signal utility in test suite. Reviewers: ovyalov, clayborg Subscribers: chaoren, jingham, labath, emaste, tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D11094 llvm-svn: 242101
* Add real time signals support to LinuxSignalsPavel Labath2015-05-221-34/+67
| | | | | | | | | | | | | | Summary: This enables correct handling of real time signals by lldb. Test Plan: Added a test that verifies handling of SIGRTMIN Reviewers: tberghammer, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9911 llvm-svn: 238009
* Move several plugin to its own namespaceTamas Berghammer2015-03-311-1/+1
| | | | | | | | | | | | | Affected paths: * Plugins/Platform/Android/* * Plugins/Platform/Linux/* * Plugins/Platform/gdb-server/* * Plugins/Process/Linux/* * Plugins/Process/gdb-remote/* Differential revision: http://reviews.llvm.org/D8654 llvm-svn: 233679
* Always transmit SIGPROF back to the inferior.Stephane Sezer2014-10-311-1/+1
| | | | | | | | | | | | | | | | | | | Summary: SIGPROF is used for profiling processes (with google-perftools for instance), which results in the inferior receiving a SIGPROF from the kernel every few milliseconds. Instead of stopping the debugging session and notifying the user of this, we should just pass the signal and keep running. This follows the behavior we have in UnixSignals.cpp. Test Plan: Run LLDB on linux with a binary using google-perftools, see that execution gets interrupted all the time because we receive SIGPROF. Apply the patch, everything works fine. Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D5953 llvm-svn: 221011
* Fixup Windows build breaks for the llgs upstream.Todd Fiala2014-06-301-51/+34
| | | | | | | | Also moves NativeRegisterContextLinux* files into the Linux directory. These, like NativeProcessLinux, should only be built on Linux or a cross compiler with proper headers. llvm-svn: 212074
* Add lldb-gdbserver support for Linux x86_64.Todd Fiala2014-06-301-0/+79
This change brings in lldb-gdbserver (llgs) specifically for Linux x86_64. (More architectures coming soon). Not every debugserver option is covered yet. Currently the lldb-gdbserver command line can start unattached, start attached to a pid (process-name attach not supported yet), or accept lldb attaching and launching a process or connecting by process id. The history of this large change can be found here: https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64 Until mid/late April, I was not sharing the work and continued to rebase it off of head (developed via id tfiala@google.com). I switched over to user todd.fiala@gmail.com in the middle, and once I went to github, I did merges rather than rebasing so I could share with others. llvm-svn: 212069
OpenPOWER on IntegriCloud