Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb fix typo, unused variable



details:   https://anonhg.NetBSD.org/src/rev/a03e15d41fe9
branches:  trunk
changeset: 450428:a03e15d41fe9
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 13 18:02:37 2019 +0000

description:
fix typo, unused variable

diffstat:

 external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 9ab6f9d9b795 -r a03e15d41fe9 external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c Sat Apr 13 18:02:05 2019 +0000
+++ b/external/gpl3/gdb/dist/gdb/arm-nbsd-nat.c Sat Apr 13 18:02:37 2019 +0000
@@ -303,7 +303,6 @@
 {
   struct fpreg inferior_fp_registers;
   int ret;
-  int regno;
 
   ret = ptrace (PT_GETFPREGS, ptid_get_pid (inferior_ptid),
                (PTRACE_TYPE_ARG3) &inferior_fp_registers, ptid_get_lwp(inferior_ptid));
@@ -599,7 +598,7 @@
 
 static struct core_fns arm_netbsd_core_fns =
 {
-  bfd_target_unknown_flavour,          /* core_flovour.  */
+  bfd_target_unknown_flavour,          /* core_flavour.  */
   default_check_format,                        /* check_format.  */
   default_core_sniffer,                        /* core_sniffer.  */
   fetch_core_registers,                        /* core_read_registers.  */
@@ -608,7 +607,7 @@
 
 static struct core_fns arm_netbsd_elfcore_fns =
 {
-  bfd_target_elf_flavour,              /* core_flovour.  */
+  bfd_target_elf_flavour,              /* core_flavour.  */
   default_check_format,                        /* check_format.  */
   default_core_sniffer,                        /* core_sniffer.  */
   fetch_elfcore_registers,             /* core_read_registers.  */



Home | Main Index | Thread Index | Old Index