]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add spaceship operator to cp-name-parser.y
authorTom Tromey <tom@tromey.com>
Sat, 20 Apr 2024 22:33:37 +0000 (16:33 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 14 May 2024 19:28:40 +0000 (13:28 -0600)
commitda3ce5c46e1d5a87f2d3cb90cbc1b67a3b8fbb34
tree76ae5e17642bb4ba6ce9a1e47ef4ec4442e14314
parent3b099df59c47c4f09da0941c096098dde00a87dc
Add spaceship operator to cp-name-parser.y

While debugging gdb, I saw this:

During symbol reading: unexpected demangled name 'operator<=><std::chrono::_V2::system_clock, std::chrono::duration<long int>, std::chrono::duration<long int> >'

This happens because cp-name-parser.y does not handle the spaceship
operator.  This patch implements this.

Approved-By: John Baldwin <jhb@FreeBSD.org>
gdb/cp-name-parser.y