Index: gdb/inf-ttrace.c |
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c |
index e82309d672fbd07ed7ea1846e5b12b689b8aba6f..2c620d58fe5ba75365ff00de48e2f9a5c70c5829 100644 |
--- a/gdb/inf-ttrace.c |
+++ b/gdb/inf-ttrace.c |
@@ -904,11 +904,11 @@ inf_ttrace_resume_callback (struct thread_info *info, void *arg) |
static void |
inf_ttrace_resume (struct target_ops *ops, |
- ptid_t ptid, int step, enum target_signal signal) |
+ ptid_t ptid, int step, enum gdb_signal signal) |
{ |
int resume_all; |
ttreq_t request = step ? TT_LWP_SINGLE : TT_LWP_CONTINUE; |
- int sig = target_signal_to_host (signal); |
+ int sig = gdb_signal_to_host (signal); |
struct thread_info *info; |
/* A specific PTID means `step only this process id'. */ |
@@ -1010,7 +1010,7 @@ inf_ttrace_wait (struct target_ops *ops, |
case TTEVT_BPT_SSTEP: |
/* Make it look like a breakpoint. */ |
ourstatus->kind = TARGET_WAITKIND_STOPPED; |
- ourstatus->value.sig = TARGET_SIGNAL_TRAP; |
+ ourstatus->value.sig = GDB_SIGNAL_TRAP; |
break; |
#endif |
@@ -1126,7 +1126,7 @@ inf_ttrace_wait (struct target_ops *ops, |
case TTEVT_SIGNAL: |
ourstatus->kind = TARGET_WAITKIND_STOPPED; |
ourstatus->value.sig = |
- target_signal_from_host (tts.tts_u.tts_signal.tts_signo); |
+ gdb_signal_from_host (tts.tts_u.tts_signal.tts_signo); |
break; |
case TTEVT_SYSCALL_ENTRY: |
@@ -1324,7 +1324,7 @@ inf_ttrace_target (void) |
/* Prevent warning from -Wmissing-prototypes. */ |
-void _initialize_hppa_hpux_nat (void); |
+void _initialize_inf_ttrace (void); |
void |
_initialize_inf_ttrace (void) |