binutils-gdb/gdb/compile
Keith Seitz cc1defb1dc Allow really large fortran array bounds: TYPE_LENGTH to ULONGEST
This series is revisit of Siddhesh Poyarekar's patch from back in
2012. The last status on the patch is in the following gdb-patches
thread:

  https://sourceware.org/ml/gdb-patches/2012-08/msg00562.html

It appears that Tom approved the patch, but Jan had some issues
with a compiler error that made the test fail on -m32 test runs.
He wrote up a hand-tweaked .S file to deal with it. Siddesh said
he would update tests. Then nothing.

Siddesh and Jan have both moved on since.

The patch originally required a large precursor patch to work.
I have whittled this down to/rewritten the bare minimum, and this
first patch is the result, changing the type of TYPE_LENGTH
to ULONGEST from unsigned int.

The majority of the changes involve changing printf format
strings to use %s and pulongest instead of %d.

gdb/ChangeLog:

	* ada-lang.c (ada_template_to_fixed_record_type_1): Use
	%s/pulongest for TYPE_LENGTH instead of %d in format
	strings.
	* ada-typerint.c (ada_print_type): Likewise.
	* amd64-windows-tdep.c (amd64_windows_store_arg_in_reg): Likewise.
	* compile/compile-c-support.c (generate_register_struct): Likewise.
	* gdbtypes.c (recursive_dump_type): Likewise.
	* gdbtypes.h (struct type) <length>: Change type to ULONGEST.
	* m2-typeprint.c (m2_array):  Use %s/pulongest for TYPE_LENGTH
	instead of %d in format strings.
	* riscv-tdep.c (riscv_type_alignment): Cast second argument
	to std::min to ULONGEST.
	* symmisc.c (print_symbol): Use %s/pulongest for TYPE_LENGTH
	instead of %d in format strings.
	* tracepoint.c (info_scope_command): Likewise.
	* typeprint.c (print_offset_data::update)
	(print_offset_data::finish): Likewise.
	* xtensa-tdep.c (xtensa_store_return_value)
	(xtensa_push_dummy_call): Likewise.
2019-03-29 10:15:38 -07:00
..
compile-c-support.c Allow really large fortran array bounds: TYPE_LENGTH to ULONGEST 2019-03-29 10:15:38 -07:00
compile-c-symbols.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-c-types.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-c.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
compile-cplus-symbols.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
compile-cplus-types.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
compile-cplus.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
compile-internal.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
compile-loc2c.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
compile-object-load.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
compile-object-load.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
compile-object-run.c Change all_objfiles adapter to be a method on program_space 2019-01-17 15:34:37 -07:00
compile-object-run.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
compile.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
compile.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gcc-c-plugin.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
gcc-cp-plugin.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00