1 From deb44829ecc1dd38275af0fcf91acd319e227a89 Mon Sep 17 00:00:00 2001
2 From: Max Filippov <jcmvbkbc@gmail.com>
3 Date: Fri, 17 Apr 2015 03:07:41 +0300
4 Subject: [PATCH 1/2] gdbserver/xtensa: drop xtensa_usrregs_info
6 xtensa_usrregs_info refers to undefined variables xtensa_num_regs and
7 xtensa_regmap. Drop xtensa_usrregs_info and replace pointer to usrregs
8 in regs_info with NULL since all registers are read/set through regsets.
10 2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
12 * linux-xtensa-low.c (xtensa_usrregs_info): Remove.
13 (regs_info): Replace usrregs pointer with NULL.
15 Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
17 Backported from: deb44829ecc1dd38275af0fcf91acd319e227a89
18 Changes to ChangeLog are dropped.
20 gdb/gdbserver/linux-xtensa-low.c | 8 +-------
21 2 files changed, 6 insertions(+), 7 deletions(-)
23 diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
24 index f7fafaf..e786da5 100644
25 --- a/gdb/gdbserver/linux-xtensa-low.c
26 +++ b/gdb/gdbserver/linux-xtensa-low.c
27 @@ -186,16 +186,10 @@ static struct regsets_info xtensa_regsets_info =
28 NULL, /* disabled_regsets */
31 -static struct usrregs_info xtensa_usrregs_info =
37 static struct regs_info regs_info =
39 NULL, /* regset_bitmap */
40 - &xtensa_usrregs_info,