aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 3b8da49..43fa388 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -431,7 +431,7 @@ startup_inferior (int ntraps)
while (1)
{
- enum target_signal resume_signal = TARGET_SIGNAL_0;
+ enum gdb_signal resume_signal = TARGET_SIGNAL_0;
ptid_t event_ptid;
struct target_waitstatus ws;
@@ -458,8 +458,8 @@ startup_inferior (int ntraps)
target_terminal_ours ();
target_mourn_inferior ();
error (_("During startup program terminated with signal %s, %s."),
- target_signal_to_name (ws.value.sig),
- target_signal_to_string (ws.value.sig));
+ gdb_signal_to_name (ws.value.sig),
+ gdb_signal_to_string (ws.value.sig));
return;
case TARGET_WAITKIND_EXITED: