summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/UnixSignals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some issues with ARM backtraces by not processing any push/pop Greg Clayton2011-07-061-33/+33
| | | | | | | | | | | | | | instructions if they are conditional. Also fixed issues where the PC wasn't getting bit zero stripped for ARM targets when a stack frame was thumb. We now properly call through the GetOpcodeLoadAddress() functions to make sure the addresses are properly stripped for any targets that may decorate up their addresses. We now don't pass the SIGSTOP signals along. We can revisit this soon, but currently this was interfering with debugging some older ARM targets that don't have vCont support in the GDB server. llvm-svn: 134461
* Back up both the register AND the stop state when calling functions.Jim Ingham2011-01-201-1/+1
| | | | | | | Set the thread state to "bland" before calling functions so they don't inherit the pending signals and die. llvm-svn: 123869
* Change the default signal setting for SIBABRT to SUPPRESS the signal. Why?Greg Clayton2011-01-101-1/+1
| | | | | | | | | | | | | | | | When debugging, if an expression hits a SIGABRT, it the expression ends up completing and stopping due the the "SIGABRT". Then the next thing that runs (another expression, or continuing the program) ends up progating the SIGABRT and causing the parent processes to die. We should probably think of a different solution where we suppress any signal that resulted due to an expression, or we modifyin the UnixSignals class to contain a row for "suppress for expression". So the settings for SIGABRT are: suppress = true, stop = true, and notify = true. llvm-svn: 123157
* Fixed the UnixSignals class to be able to get a signal by name, short name, ↵Greg Clayton2010-10-151-44/+25
| | | | | | | | or signal number when using: int32_t UnixSignals::GetSignalNumberFromName (const char *name) const; llvm-svn: 116641
* Added short names and descriptions to the UnixSignals class. Also cleaned upGreg Clayton2010-10-151-108/+108
| | | | | | the code a bit. llvm-svn: 116561
* Fixed process.gdb-remote to be able to properly propagate the signals andGreg Clayton2010-10-091-32/+34
| | | | | | obey the UnixSignals table that we have in the process. llvm-svn: 116139
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-081-0/+310
llvm-svn: 105619
OpenPOWER on IntegriCloud