[PATCH 1/2] gdb: fix dwarf2/read.c build on solaris

Tom Tromey tom@tromey.com
Fri Nov 20 15:29:50 GMT 2020


>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> I don't know why, but using std::abs instead of just abs fixes it.

We've had a couple of other patches related to std::abs, but neither of
those seems to be exactly the same.

Simon> gdb/ChangeLog:

Simon> 	* dwarf2/read.c (finish_fixed_point_type): Use std::abs instead
Simon> 	of abs.

This seems fine to me.

Tom


More information about the Gdb-patches mailing list