This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] gdbserver/xtensa: drop xtensa_usrregs_info
- From: Pedro Alves <palves at redhat dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>, gdb at sourceware dot org
- Cc: Maxim Grigoriev <maxim2405 at gmail dot com>, Woody LaRue <larue at cadence dot com>, Marc Gauthier <marc at cadence dot com>, linux-xtensa at linux-xtensa dot org, Daniel Jacobowitz <drow at false dot org>
- Date: Fri, 17 Apr 2015 12:29:20 +0100
- Subject: Re: [PATCH 1/2] gdbserver/xtensa: drop xtensa_usrregs_info
- Authentication-results: sourceware.org; auth=none
- References: <1429233286-6240-1-git-send-email-jcmvbkbc at gmail dot com> <1429233286-6240-2-git-send-email-jcmvbkbc at gmail dot com>
On 04/17/2015 02:14 AM, Max Filippov wrote:
> xtensa_usrregs_info refers to undefined variables xtensa_num_regs and
> xtensa_regmap. Drop xtensa_usrregs_info and replace pointer to usrregs
> in regs_info with NULL since all registers are read/set through regsets.
Eeek, that was added 2 years ago already... :-P
>
> 2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
> gdb/gdbserver/
> * linux-xtensa-low.c (xtensa_usrregs_info): remove.
> (regs_info): replace usrregs pointer with NULL.
Looks fine, thanks.
Thanks,
Pedro Alves