This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Removal of uses of MAX_REGISTER_SIZE
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Alan Hayward <Alan dot Hayward at arm dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 1 Feb 2017 12:41:23 +0000
- Subject: Re: [PATCH] Removal of uses of MAX_REGISTER_SIZE
- Authentication-results: sourceware.org; auth=none
- References: <7CF07197-4FED-4970-BB4B-2FE828E29A63@arm.com> <45e3a5e1-a9aa-1bc0-5d08-526b89fc458e@redhat.com>
On 17-01-27 12:11:09, Pedro Alves wrote:
>
> Makes me wonder whether this is the right approach. :-/
> (No, I don't have a formed opinion for what that would be.)
>
Hi Pedro,
What do you mean by "this" here? We can't take MAX_REGISTER_SIZE for
ever, as we may have bigger and bigger single register. We do need a
gdbarch specific max register size. Given there is no standard VLA in
C++, using alloca is the best way we can do so far.
--
Yao (齐尧)