mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Remove exec_bfd_mtime define
This removes the exec_bfd_mtime define, in favor of directly using the appropriate member of the current program space. gdb/ChangeLog 2020-10-29 Tom Tromey <tom@tromey.com> * source-cache.c (source_cache::get_plain_source_lines): Use current_program_space. * corefile.c (reopen_exec_file): Use current_program_space. * exec.c (exec_file_attach): Use current_program_space. * exec.h (exec_bfd_mtime): Remove.
This commit is contained in:
@@ -482,7 +482,7 @@ exec_file_attach (const char *filename, int from_tty)
|
||||
|
||||
target_section_table sections = build_section_table (exec_bfd);
|
||||
|
||||
exec_bfd_mtime = bfd_get_mtime (exec_bfd);
|
||||
current_program_space->ebfd_mtime = bfd_get_mtime (exec_bfd);
|
||||
|
||||
validate_files ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user