binutils-gdb/gdb/dwarf2
Tom Tromey 5cde1d8222 Handle 128-bit constants for fixed point
In some cases, GNAT can emit 128-bit constants for fixed-point types.
This patch changes gdb to handle this scenario, by changing the
low-level rational-reading functions in dwarf2/read.c to work directly
with gdb_mpz values.  (I'm not sure offhand if these 128-bit patches
have gone into upstream GCC yet -- but they will eventually, and
meanwhile I think it should be clear that this patch is otherwise
harmless.)

gdb/ChangeLog
2020-12-09  Tom Tromey  <tromey@adacore.com>

	* dwarf2/read.c (get_dwarf2_rational_constant): Change "numerator"
	and "denominator" to gdb_mpz.  Handle block forms.
	(get_dwarf2_unsigned_rational_constant): Change "numerator" and
	"denominator" to gdb_mpz.
	(finish_fixed_point_type): Update.
	(has_zero_over_zero_small_attribute): Update.
2020-12-09 14:12:58 -07:00
..
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit.c
comp-unit.h
die.h
dwz.c
dwz.h
expr.c
expr.h
frame-tailcall.c
frame-tailcall.h
frame.c gdb: fix logic of find_comp_unit and set_comp_unit 2020-12-03 15:47:56 -05:00
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 [gdb/symtab] Fix gdb.base/vla-optimized-out.exp with clang 2020-11-30 13:50:26 +01:00
loc.h
macro.c
macro.h
read.c Handle 128-bit constants for fixed point 2020-12-09 14:12:58 -07:00
read.h
section.c
section.h
stringify.c
stringify.h