gdbserver/xtensa: drop xtensa_usrregs_info
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 17 Apr 2015 00:07:41 +0000 (03:07 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 17 Apr 2015 14:18:43 +0000 (17:18 +0300)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-xtensa-low.c

index 56da6dcd219b94b660e204a3f47d955ab9f4228c..6934781369b695acf974217a4f1755142802ebd8 100644 (file)
@@ -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.
index f7fafafc3af9e932eb9786147a6811ba1d04e09c..e786da5314a076b318dff495f68b3bb4d5122940 100644 (file)
@@ -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
   };