This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove MAX_REGISTER_SIZE from remote-sim.c
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Alan Hayward <Alan dot Hayward at arm dot com>
- Cc: "gdb-patches\@sourceware.org" <gdb-patches at sourceware dot org>, "vapier\@gentoo.org" <vapier at gentoo dot org>, nd <nd at arm dot com>
- Date: Tue, 27 Jun 2017 11:57:50 +0100
- Subject: Re: [PATCH] Remove MAX_REGISTER_SIZE from remote-sim.c
- Authentication-results: sourceware.org; auth=none
- References: <E66B5C1B-FDC4-4A3F-937B-7A138DAFE01E@arm.com> <86wpbft0r4.fsf@gmail.com> <E7F813B0-BCB9-464C-BD4C-95F0A3D789E1@arm.com> <CAH=s-POSw=RatBGkLmryoAR4eN880nzxW+zt-p_TOuPMq8RRaw@mail.gmail.com> <692B46FA-E9FE-48BF-BE1C-9DDD606474B7@arm.com>
Alan Hayward <Alan.Hayward@arm.com> writes:
Patch is good to me.
> if (nr_bytes > 0
> - && nr_bytes != register_size (gdbarch, regno) && warn_user)
> + && nr_bytes != regsize && warn_user)
> {
A nit, can you put them in a single line?
--
Yao (齐尧)