Re: [PATCH] Removal of uses of MAX_REGISTER_SIZE

Yao Qi
2017-02-01T12:45:04Z

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 (é½å°§)