aboutsummaryrefslogtreecommitdiff
path: root/gdb/reverse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/reverse.c')
-rw-r--r--gdb/reverse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/reverse.c b/gdb/reverse.c
index 4c618a0..e51defb 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -45,7 +45,7 @@ exec_reverse_once (const char *cmd, const char *args, int from_tty)
cmd);
if (!target_can_execute_reverse ())
- error (_("Target %s does not support this command."), target_shortname);
+ error (_("Target %s does not support this command."), target_shortname ());
std::string reverse_command = string_printf ("%s %s", cmd, args ? args : "");
scoped_restore restore_exec_dir