diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1677,7 +1677,7 @@ kill_or_detach (inferior *inf, int from_tty) switch_to_thread (thread); /* Leave core files alone. */ - if (target_has_execution) + if (target_has_execution ()) { if (inf->attach_flag) target_detach (inf, from_tty); |