Make "show remote exec-file" inferior-aware
[deliverable/binutils-gdb.git] / gdb / remote.c
index 082499e6e84644aa3c20d34d6b678f7c343186ae..539b27ebd29133f2603286ae230346526c245cfe 100644 (file)
@@ -1268,7 +1268,7 @@ static void
 show_remote_exec_file (struct ui_file *file, int from_tty,
                       struct cmd_list_element *cmd, const char *value)
 {
-  fprintf_filtered (file, "%s\n", remote_exec_file_var);
+  fprintf_filtered (file, "%s\n", get_remote_exec_file ());
 }
 
 static int
This page took 0.0262 seconds and 4 git commands to generate.