diff options
author | Tom Tromey <tromey@adacore.com> | 2021-03-15 08:20:24 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-03-15 08:20:24 -0600 |
commit | 6813ceb03f889f4ed0dd163866b6eaa42a097838 (patch) | |
tree | 312d1f2933bda27b6b1d5a1195d567687c3561d3 /install-sh | |
parent | 3b5c4de0cf93667ffc98f112db7dcbea92292e32 (diff) | |
download | gdb-6813ceb03f889f4ed0dd163866b6eaa42a097838.zip gdb-6813ceb03f889f4ed0dd163866b6eaa42a097838.tar.gz gdb-6813ceb03f889f4ed0dd163866b6eaa42a097838.tar.bz2 |
Fix unary + in Ada
My previous Ada patches introduced a bug that I found after checkin.
I had incorrectly implemented unary +. There was a test for the
overloaded case, but no test for the ordinary case.
This patch adds the tests and fixes the bug.
Tested on x86-64 Fedora 32.
gdb/ChangeLog
2021-03-15 Tom Tromey <tromey@adacore.com>
* ada-exp.y (simple_exp): Always push a result for unary '+'.
gdb/testsuite/ChangeLog
2021-03-15 Tom Tromey <tromey@adacore.com>
* gdb.ada/fixed_points.exp: Add tests of unary + and -.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions