[0/3] Make exec-file-mismatch compare build IDs

Message ID 20200517180450.14925-1-palves@redhat.com
Headers show
Series
  • Make exec-file-mismatch compare build IDs
Related show

Message

Kevin Buettner via Gdb-patches May 17, 2020, 6:04 p.m.
The patch series makes GDB first try exec-file-mismatch validation via
build IDs, and then if that isn't possible, fallback to validating
using the old method of comparing filenames.  I'd argue that we should
remove the filename validation for causing too many false positives,
though.

See full details on patch #3.  Patches #1 and #2 and simple
preparatory patches.

Patch #3 contains manual and NEWS changes.

Pedro Alves (3):
  Default gdb_bfd_open's fd parameter to -1
  Eliminate target_fileio_open_warn_if_slow
  Make exec-file-mismatch compare build IDs

 gdb/doc/gdb.texinfo               | 23 ++++++++++++----------
 gdb/NEWS                          | 15 +++++++-------
 gdb/build-id.c                    |  2 +-
 gdb/compile/compile-object-load.c |  2 +-
 gdb/dwarf2/read.c                 |  4 ++--
 gdb/exec.c                        | 41 +++++++++++++++++++++++++++++++++++++--
 gdb/gdb_bfd.c                     | 28 ++++++++++++++++----------
 gdb/gdb_bfd.h                     |  7 +++++--
 gdb/machoread.c                   |  4 ++--
 gdb/solib-darwin.c                |  2 +-
 gdb/symfile.c                     |  6 +++---
 gdb/target.c                      | 33 +++++--------------------------
 gdb/target.h                      | 20 +++++++------------
 gdb/windows-nat.c                 |  2 +-
 gdb/windows-tdep.c                |  2 +-
 15 files changed, 106 insertions(+), 85 deletions(-)


base-commit: 7cfd74cfc6e14034779e6cc048c68877b7a08f88
-- 
2.14.5