This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] (riscv/ada) fix error when calling functions with range argument
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org, KONRAD Frederic <konrad at adacore dot com>
- Date: Tue, 12 Feb 2019 14:17:38 -0700
- Subject: Re: [RFA] (riscv/ada) fix error when calling functions with range argument
- References: <1549805906-1627-1-git-send-email-brobecker@adacore.com> <87wom56j7u.fsf@tromey.com>
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> I don't have any issue with this, but I do wonder if
Tom> riscv_type_alignment can be removed and/or simplified in favor
Tom> type_align and the gdbarch method.
Also now I wonder whether the TYPE_CODE_RANGE case in
gdbtypes.c:type_align ought to be changed. Right now it just returns 0,
which means "cannot be determined".
Tom