binutils-gdb/gdb/dwarf2
Tom Tromey 621f8c42d3 Fix error in file_and_directory patch
In my earlier C++-ization patch for file_and_directory, I introduced
an error:

-  if (strcmp (fnd.name, "<unknown>") != 0)
+  if (fnd.is_unknown ())

This change inverted the sense of the test, which causes failures with
.debug_names.

This patch fixes the bug.  Regression tested on x86-64 Fedora 34.  I
also tested it using the AdaCore internal test suite, with
.debug_names -- this was failing before, and now it works.
2021-12-08 13:02:44 -07:00
..
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cu.c
cu.h
die.h
dwz.c
dwz.h
expr.c
expr.h
file-and-dir.h Preserve artificial CU name in process_psymtab_comp_unit_reader 2021-12-05 13:13:33 -07:00
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c
loc.h
macro.c
macro.h
public.h
read.c Fix error in file_and_directory patch 2021-12-08 13:02:44 -07:00
read.h Cache the result of find_file_and_directory 2021-12-04 11:16:22 -07:00
sect-names.h
section.c
section.h
stringify.c
stringify.h