From b252a80b7ed8954beeb28c0be3df20bdd83015e5 Mon Sep 17 00:00:00 2001 From: Drazen Kacar Date: Thu, 6 May 1999 20:44:01 +0000 Subject: [PATCH] Fixed, valid for Solaris 2.6 & 7. * siglist.c: Fixed, valid for Solaris 2.6 & 7. --- sysdeps/solaris/ChangeLog | 4 +++ sysdeps/solaris/siglist.c | 76 +++++++++++++++++++++------------------ 2 files changed, 46 insertions(+), 34 deletions(-) diff --git a/sysdeps/solaris/ChangeLog b/sysdeps/solaris/ChangeLog index 4b102d85..3217022b 100644 --- a/sysdeps/solaris/ChangeLog +++ b/sysdeps/solaris/ChangeLog @@ -1,3 +1,7 @@ +1999-05-06 Drazen Kacar + + * siglist.c: Fixed, valid for Solaris 2.6 & 7. + 1999-05-06 Drazen Kacar * glibtop_private.h, procuid.c, procdata.c: List of supplementary diff --git a/sysdeps/solaris/siglist.c b/sysdeps/solaris/siglist.c index b010013a..576df11c 100644 --- a/sysdeps/solaris/siglist.c +++ b/sysdeps/solaris/siglist.c @@ -24,44 +24,52 @@ #include #include -static const glibtop_signame glibtop_sys_siglist [] = +const glibtop_signame glibtop_sys_siglist [] = { { 1, "SIGHUP", "Hangup" }, { 2, "SIGINT", "Interrupt" }, { 3, "SIGQUIT", "Quit" }, - { 4, "SIGILL", "Illegal instruction" }, - { 5, "SIGTRAP", "Trace or breakpoint trap" }, + { 4, "SIGILL", "Illegal Instruction" }, + { 5, "SIGTRAP", "Trace/Breakpoint Trap" }, { 6, "SIGABRT", "Abort" }, - { 7, "SIGEMT", "Emulation trap" }, - { 8, "SIGFPE", "Arithmetic exception" }, - { 9, "SIGKILL", "Kill" }, - { 10, "SIGBUS", "Bus error" }, - { 11, "SIGSEGV", "Segmentation fault" }, - { 12, "SIGSYS", "Bad system call" }, - { 13, "SIGPIPE", "Broken pipe" }, - { 14, "SIGALRM", "Alarm clock" }, - { 15, "SIGTERM", "Terminate" }, - { 16, "SIGUSR1", "User signal 1" }, - { 17, "SIGUSR2", "User signal 2" }, - { 18, "SIGCHLD", "Child status changed" }, - { 19, "SIGPWR", "Power fail or restart" }, - { 20, "SIGWINCH","Window size change" }, - { 21, "SIGURG", "Urgent socket condition" }, - { 22, "SIGPOLL", "Pollable event" }, - { 23, "SIGSTOP", "Stop (cannot be ignored)" }, - { 24, "SIGTSTP", "User stop requested from tty" }, - { 25, "SIGCONT", "Continue" }, - { 26, "SIGTTIN", "Background tty read attempted" }, - { 27, "SIGTTOU", "Background tty write attempted" }, - { 28, "SIGVTALRM","Virtual timer expired" }, - { 29, "SIGPROF", "Profiling timer expired" }, - { 30, "SIGXCPU", "CPU time limit exceeded" }, - { 31, "SIGXFSZ", "File size limit exceeded" }, - { 32, "SIGWAITING","process' lwps are blocked" }, - { 33, "SIGLWP", "Inter-LWP signal reserved by threads library" }, - { 34, "SIGFREEZE","Check point freeze" }, - { 35, "SIGTHAW", "Check point thaw" }, - { 36, "SIGCANCEL","Cancelation signal reserved by threads library" }, - { 37, "SIGLOST", "Resource lost" }, + { 7, "SIGEMT", "Emulation Trap" }, + { 8, "SIGFPE", "Arithmetic Exception" }, + { 9, "SIGKILL", "Killed" }, + { 10, "SIGBUS", "Bus Error" }, + { 11, "SIGSEGV", "Segmentation Fault" }, + { 12, "SIGSYS", "Bad System Call" }, + { 13, "SIGPIPE", "Broken Pipe" }, + { 14, "SIGALRM", "Alarm Clock" }, + { 15, "SIGTERM", "Terminated" }, + { 16, "SIGUSR1", "User Signal 1" }, + { 17, "SIGUSR2", "User Signal 2" }, + { 18, "SIGCHLD", "Child Status Changed" }, + { 19, "SIGPWR", "Power-Fail/Restart" }, + { 20, "SIGWINCH","Window Size Change" }, + { 21, "SIGURG", "Urgent Socket Condition" }, + { 22, "SIGPOLL", "Pollable Event" }, + { 23, "SIGSTOP", "Stoped (signal)" }, + { 24, "SIGTSTP", "Stopped (user)" }, + { 25, "SIGCONT", "Continued" }, + { 26, "SIGTTIN", "Stopped (tty input)" }, + { 27, "SIGTTOU", "Stopped (tty output)" }, + { 28, "SIGVTALRM","Virtual Timer Expired" }, + { 29, "SIGPROF", "Profiling Timer Expired" }, + { 30, "SIGXCPU", "Cpu Limit Exceeded" }, + { 31, "SIGXFSZ", "File Size Limit Exceeded" }, + { 32, "SIGWAITING","No runnable lwp" }, + { 33, "SIGLWP", "Inter-lwp signal" }, + { 34, "SIGFREEZE","Checkpoint Freeze" }, + { 35, "SIGTHAW", "Checkpoint Thaw" }, + { 36, "SIGCANCEL","Thread Cancelation" }, + { 37, "SIGLOST", "Resource Lost" }, + { 38, "SIGRTMIN","First Realtime Signal" }, + { 39, "SIGRTMIN+1", "Second Realtime Signal" }, + { 40, "SIGRTMIN+2", "Third Realtime Signal" }, + { 41, "SIGRTMIN+3", "Fourth Realtime Signal" }, + { 42, "SIGRTMAX-3", "Fourth Last Realtime Signal" }, + { 43, "SIGRTMAX-2", "Third Last Realtime Signal" }, + { 44, "SIGRTMAX-1", "Second Last Realtime Signal" }, + { 45, "SIGRTMAX", "Last Realtime Signal" }, { 0, NULL, NULL } };