diff options
Diffstat (limited to 'gdb/linux-fork.c')
-rw-r--r-- | gdb/linux-fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index e232d9c..b3d8fc1 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -645,7 +645,7 @@ checkpoint_command (const char *args, int from_tty) struct fork_info *fp; pid_t retpid; - if (!target_has_execution) + if (!target_has_execution ()) error (_("The program is not being run.")); /* Ensure that the inferior is not multithreaded. */ |