mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 21:34:46 +08:00
* cache.c (close_one): Remove mtime hack.
* corefile.c (reopen_exec_file): Use exec_bfd_mtime. * exec.c (exec_bfd_mtime): Define. (exec_close): Clear it. (exec_file_attach): Set it. * gdbcore.h (exec_bfd_mtime): Declare. * source.c (find_source_lines): Do not use bfd_get_mtime.
This commit is contained in:
@ -104,6 +104,9 @@ extern void specify_exec_file_hook (void (*hook) (char *filename));
|
||||
extern bfd *core_bfd;
|
||||
extern bfd *exec_bfd;
|
||||
|
||||
/* The mtime when we last opened exec_bfd. */
|
||||
extern long exec_bfd_mtime;
|
||||
|
||||
/* Whether to open exec and core files read-only or read-write. */
|
||||
|
||||
extern int write_files;
|
||||
|
Reference in New Issue
Block a user