Eliminate safe_strsignal().

This commit is contained in:
Andrew Cagney
2000-06-04 01:58:49 +00:00
parent 507f3c78fb
commit 8e6a3c35b9
5 changed files with 23 additions and 27 deletions

View File

@ -1,5 +1,5 @@
/* Core dump and executable file functions below target vector, for GDB.
Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 1998
Copyright 1986, 87, 89, 91, 92, 93, 94, 95, 96, 97, 1998, 2000
Free Software Foundation, Inc.
This file is part of GDB.
@ -337,8 +337,12 @@ core_open (filename, from_tty)
siggy = bfd_core_file_failing_signal (core_bfd);
if (siggy > 0)
/* NOTE: target_signal_from_host() converts a target signal value
into gdb's internal signal value. Unfortunatly gdb's internal
value is called ``target_signal'' and this function got the
name ..._from_host(). */
printf_filtered ("Program terminated with signal %d, %s.\n", siggy,
safe_strsignal (siggy));
target_signal_to_string (target_signal_from_host (siggy)));
/* Build up thread list from BFD sections. */