aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-12-08 12:52:34 -0700
committerTom Tromey <tromey@adacore.com>2021-12-08 13:02:44 -0700
commit621f8c42d3df079ca5781cdb0925c5ec3498f59c (patch)
treeebf093da156b721c5b8690f79bd55f6017af510b /gdb/p-exp.y
parent2988a36005f2821cee6744473ad8a3ba7638c212 (diff)
downloadgdb-621f8c42d3df079ca5781cdb0925c5ec3498f59c.zip
gdb-621f8c42d3df079ca5781cdb0925c5ec3498f59c.tar.gz
gdb-621f8c42d3df079ca5781cdb0925c5ec3498f59c.tar.bz2
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.
Diffstat (limited to 'gdb/p-exp.y')
0 files changed, 0 insertions, 0 deletions