Remove exec_bfd_mtime define
authorTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:33 +0000 (15:04 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:35 +0000 (15:04 -0600)
commit5a36e71525564fe8767bc9f00b29dcc0fec59837
treefd0bf48773db5a424b7e2cd9e5b18e0b08fc0770
parent784c859246ae2cf3ffa07376cfe8ec60e4526e57
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.
gdb/ChangeLog
gdb/corefile.c
gdb/exec.c
gdb/exec.h
gdb/source-cache.c