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
commitb35d5554622912f8c1149e0938b0df157f176f20 (patch)
treed6d51835a311277676a6ffd6ea1974fb2ab21bb1 /gdb/corelow.c
parent59699d8b0b3dacdc6225098eca6b4098ec4876cf (diff)
downloadgdb-b35d5554622912f8c1149e0938b0df157f176f20.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. */