diff options
Diffstat (limited to 'gdb/compile/compile.c')
-rw-r--r-- | gdb/compile/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 82ffb8e..3e45e76 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -641,7 +641,7 @@ compile_to_object (struct command_line *cmd, const char *cmd_string, struct gdbarch *gdbarch = get_current_arch (); std::string triplet_rx; - if (!target_has_execution) + if (!target_has_execution ()) error (_("The program must be running for the compile command to "\ "work.")); |