aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-04-17 03:07:41 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2015-04-17 17:18:43 +0300
commitdeb44829ecc1dd38275af0fcf91acd319e227a89 (patch)
tree22f9b69ebd1c6fcb9955de6f26c3cf12f368c02d
parentdbbf180a8176d59eb04d20a681c0e77e2b0551a5 (diff)
downloadgdb-deb44829ecc1dd38275af0fcf91acd319e227a89.zip
gdb-deb44829ecc1dd38275af0fcf91acd319e227a89.tar.gz
gdb-deb44829ecc1dd38275af0fcf91acd319e227a89.tar.bz2
gdbserver/xtensa: drop xtensa_usrregs_info
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. 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.
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/linux-xtensa-low.c8
2 files changed, 6 insertions, 7 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 56da6dc..6934781 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-17 Max Filippov <jcmvbkbc@gmail.com>
+
+ * linux-xtensa-low.c (xtensa_usrregs_info): Remove.
+ (regs_info): Replace usrregs pointer with NULL.
+
2015-04-17 Gary Benson <gbenson@redhat.com>
* target.h (struct target_ops) <pid_to_exec_file>: New field.
diff --git a/gdb/gdbserver/linux-xtensa-low.c b/gdb/gdbserver/linux-xtensa-low.c
index f7fafaf..e786da5 100644
--- a/gdb/gdbserver/linux-xtensa-low.c
+++ b/gdb/gdbserver/linux-xtensa-low.c
@@ -186,16 +186,10 @@ static struct regsets_info xtensa_regsets_info =
NULL, /* disabled_regsets */
};
-static struct usrregs_info xtensa_usrregs_info =
- {
- xtensa_num_regs,
- xtensa_regmap,
- };
-
static struct regs_info regs_info =
{
NULL, /* regset_bitmap */
- &xtensa_usrregs_info,
+ NULL, /* usrregs */
&xtensa_regsets_info
};