aboutsummaryrefslogtreecommitdiff
path: root/gdb/record-btrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r--gdb/record-btrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index c1430e9..678984b 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -390,7 +390,7 @@ record_btrace_target_open (const char *args, int from_tty)
record_preopen ();
- if (!target_has_execution)
+ if (!target_has_execution ())
error (_("The program is not being run."));
for (thread_info *tp : current_inferior ()->non_exited_threads ())