aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index f72f2eb..f17040a 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -494,10 +494,6 @@ exec_file_attach (const char *filename, int from_tty)
target. */
current_program_space->add_target_sections
(current_program_space->ebfd.get (), sections);
-
- /* Tell display code (if any) about the changed file name. */
- if (deprecated_exec_file_display_hook)
- (*deprecated_exec_file_display_hook) (filename);
}
/* Are are loading the same executable? */