summaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-04 01:58:49 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-04 01:58:49 +0000
commit8e6a3c35b9c93dbff0ead9659581e7b75c3e31be (patch)
tree53595a6a8dd256fac35bc9278d111afcae5d231d /gdb/corelow.c
parent507f3c78fb4a1235b731350d60f1bf0ce94b4175 (diff)
downloadbinutils-gdb-8e6a3c35b9c93dbff0ead9659581e7b75c3e31be.tar.gz
Eliminate safe_strsignal().
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c
index 940776d895b..43163d927bd 100644
--- a/gdb/corelow.c
+++ b/gdb/corelow.c
@@ -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. */