1 //===-- MipsLinuxSignals.cpp ----------------------------------------*- C++
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
12 // Other libraries and framework includes
14 #include "MipsLinuxSignals.h"
16 using namespace lldb_private;
18 MipsLinuxSignals::MipsLinuxSignals() : UnixSignals() { Reset(); }
20 void MipsLinuxSignals::Reset() {
22 // SIGNO NAME SUPPRESS STOP NOTIFY DESCRIPTION ALIAS
23 // ===== =========== ======== ===== ======
24 // ====================================== ========
25 AddSignal(1, "SIGHUP", false, true, true, "hangup");
26 AddSignal(2, "SIGINT", true, true, true, "interrupt");
27 AddSignal(3, "SIGQUIT", false, true, true, "quit");
28 AddSignal(4, "SIGILL", false, true, true, "illegal instruction");
29 AddSignal(5, "SIGTRAP", true, true, true,
30 "trace trap (not reset when caught)");
31 AddSignal(6, "SIGABRT", false, true, true, "abort()/IOT trap", "SIGIOT");
32 AddSignal(7, "SIGEMT", false, true, true, "terminate process with core dump");
33 AddSignal(8, "SIGFPE", false, true, true, "floating point exception");
34 AddSignal(9, "SIGKILL", false, true, true, "kill");
35 AddSignal(10, "SIGBUS", false, true, true, "bus error");
36 AddSignal(11, "SIGSEGV", false, true, true, "segmentation violation");
37 AddSignal(12, "SIGSYS", false, true, true, "invalid system call");
38 AddSignal(13, "SIGPIPE", false, true, true,
39 "write to pipe with reading end closed");
40 AddSignal(14, "SIGALRM", false, false, false, "alarm");
41 AddSignal(15, "SIGTERM", false, true, true, "termination requested");
42 AddSignal(16, "SIGUSR1", false, true, true, "user defined signal 1");
43 AddSignal(17, "SIGUSR2", false, true, true, "user defined signal 2");
44 AddSignal(18, "SIGCHLD", false, false, true, "child status has changed",
46 AddSignal(19, "SIGPWR", false, true, true, "power failure");
47 AddSignal(20, "SIGWINCH", false, true, true, "window size changes");
48 AddSignal(21, "SIGURG", false, true, true, "urgent data on socket");
49 AddSignal(22, "SIGIO", false, true, true, "input/output ready/Pollable event",
51 AddSignal(23, "SIGSTOP", true, true, true, "process stop");
52 AddSignal(24, "SIGTSTP", false, true, true, "tty stop");
53 AddSignal(25, "SIGCONT", false, true, true, "process continue");
54 AddSignal(26, "SIGTTIN", false, true, true, "background tty read");
55 AddSignal(27, "SIGTTOU", false, true, true, "background tty write");
56 AddSignal(28, "SIGVTALRM", false, true, true, "virtual time alarm");
57 AddSignal(29, "SIGPROF", false, false, false, "profiling time alarm");
58 AddSignal(30, "SIGXCPU", false, true, true, "CPU resource exceeded");
59 AddSignal(31, "SIGXFSZ", false, true, true, "file size limit exceeded");
60 AddSignal(32, "SIG32", false, false, false,
61 "threading library internal signal 1");
62 AddSignal(33, "SIG33", false, false, false,
63 "threading library internal signal 2");
64 AddSignal(34, "SIGRTMIN", false, false, false, "real time signal 0");
65 AddSignal(35, "SIGRTMIN+1", false, false, false, "real time signal 1");
66 AddSignal(36, "SIGRTMIN+2", false, false, false, "real time signal 2");
67 AddSignal(37, "SIGRTMIN+3", false, false, false, "real time signal 3");
68 AddSignal(38, "SIGRTMIN+4", false, false, false, "real time signal 4");
69 AddSignal(39, "SIGRTMIN+5", false, false, false, "real time signal 5");
70 AddSignal(40, "SIGRTMIN+6", false, false, false, "real time signal 6");
71 AddSignal(41, "SIGRTMIN+7", false, false, false, "real time signal 7");
72 AddSignal(42, "SIGRTMIN+8", false, false, false, "real time signal 8");
73 AddSignal(43, "SIGRTMIN+9", false, false, false, "real time signal 9");
74 AddSignal(44, "SIGRTMIN+10", false, false, false, "real time signal 10");
75 AddSignal(45, "SIGRTMIN+11", false, false, false, "real time signal 11");
76 AddSignal(46, "SIGRTMIN+12", false, false, false, "real time signal 12");
77 AddSignal(47, "SIGRTMIN+13", false, false, false, "real time signal 13");
78 AddSignal(48, "SIGRTMIN+14", false, false, false, "real time signal 14");
79 AddSignal(49, "SIGRTMIN+15", false, false, false, "real time signal 15");
80 AddSignal(50, "SIGRTMAX-14", false, false, false,
81 "real time signal 16"); // switching to SIGRTMAX-xxx to match "kill
83 AddSignal(51, "SIGRTMAX-13", false, false, false, "real time signal 17");
84 AddSignal(52, "SIGRTMAX-12", false, false, false, "real time signal 18");
85 AddSignal(53, "SIGRTMAX-11", false, false, false, "real time signal 19");
86 AddSignal(54, "SIGRTMAX-10", false, false, false, "real time signal 20");
87 AddSignal(55, "SIGRTMAX-9", false, false, false, "real time signal 21");
88 AddSignal(56, "SIGRTMAX-8", false, false, false, "real time signal 22");
89 AddSignal(57, "SIGRTMAX-7", false, false, false, "real time signal 23");
90 AddSignal(58, "SIGRTMAX-6", false, false, false, "real time signal 24");
91 AddSignal(59, "SIGRTMAX-5", false, false, false, "real time signal 25");
92 AddSignal(60, "SIGRTMAX-4", false, false, false, "real time signal 26");
93 AddSignal(61, "SIGRTMAX-3", false, false, false, "real time signal 27");
94 AddSignal(62, "SIGRTMAX-2", false, false, false, "real time signal 28");
95 AddSignal(63, "SIGRTMAX-1", false, false, false, "real time signal 29");
96 AddSignal(64, "SIGRTMAX", false, false, false, "real time signal 30");