diff options
author | Fred Fish <fnf@specifix.com> | 1992-04-22 16:46:47 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-04-22 16:46:47 +0000 |
commit | 4ace50a5102f0839b7838993401520d90ee268d2 (patch) | |
tree | 632965d9d3c1131a7174ae6ce02f5bbe673fba60 /gdb/convex-tdep.c | |
parent | be2d8c134a174732a53bb6b6e2d4095054c18897 (diff) | |
download | gdb-4ace50a5102f0839b7838993401520d90ee268d2.zip gdb-4ace50a5102f0839b7838993401520d90ee268d2.tar.gz gdb-4ace50a5102f0839b7838993401520d90ee268d2.tar.bz2 |
Remove now obsolete signame.c and signame.h; functionality is handled by
libiberty/strsignal.c. Widespread changes to use libiberty/strerror.c
functions for errno manipulations and libiberty/strsignal.c for signo
(signals) manipulations.
Diffstat (limited to 'gdb/convex-tdep.c')
-rw-r--r-- | gdb/convex-tdep.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/convex-tdep.c b/gdb/convex-tdep.c index 774bbcb..ac213ae 100644 --- a/gdb/convex-tdep.c +++ b/gdb/convex-tdep.c @@ -664,8 +664,10 @@ subsig_name (signo, subcode) {0, 0, 0, 0, subsig4, subsig5, 0, 0, subsig8, 0, subsig10, subsig11, 0}; int i; - char *p = signo < NSIG ? sys_siglist[signo] : "unknown"; + char *p; + if ((p = strsignal (signo)) == NULL) + p = "unknown"; if (signo >= (sizeof subsig_list / sizeof *subsig_list) || !subsig_list[signo]) return p; |