1. Feb 01, 2017
    • Markus Metzger's avatar
      testsuite: diagnose a running GDB in gdb_skip_xml_tests · 787f0025
      Markus Metzger authored
      If GDB is running when gdb_skip_xml_tests is called with
      --target_board=native-extended-gdbserer.exp, it fails with:
      
          (gdb) FAIL: ....exp: set tdesc filename .../trivial.xml (got interactive prompt)
          monitor exit
      
      Diagnose this in gdb_skip_xml_tests to generate a more meaningful error message:
      
          ERROR: tcl error sourcing ....exp.
          ERROR: GDB must not be running in gdb_skip_xml_tests.
              while executing
          [...]
      
      testsuite/
      	* lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
      787f0025
    • Markus Metzger's avatar
      btrace, testsuite: fix extended-remote fail · 68777c29
      Markus Metzger authored
      Parts of gdb.btrace/enable.exp are only valid for native debug.  The check for
      skip_gdbserver_tests is done while GDB is running, though, which causes it to
      fail with --target_board=native-extended-gdbserver.  Exit GDB before that check.
      
      testsuite/
      	* gdb.btrace/enable.exp: Call gdb_exit before skip_gdbserver_tests.
      68777c29
    • Markus Metzger's avatar
      btrace, testsuite: fix extended-remote non-stop test · 0a1c7e28
      Markus Metzger authored
      With --target_board=native-extended-gdbserver non-stop tests are failing with
      
          UNTESTED: gdb.btrace/non-stop.exp: failed to run to main
      
      Fix that by adding '-ex "set non-stop on"' to GDBFLAGS before restarting.
      
      testsuite/
      	* gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to GDBFLAGS.
      0a1c7e28
    • Markus Metzger's avatar
      btrace: add unsupported/untested messages when skipping tests · b5ac99b0
      Markus Metzger authored
      We may silently skip gdb.btrace tests if
      
        - the target does not support record-btrace
        - the target does not support TSX
        - the target does not support gdbserver
        - we fail to compile the test
        - we fail to run to main
      
      Add unsupported/untested messages for each of those.
      
      testsuite/
      	* gdb.btrace/buffer-size.exp: Add unsupported/untested message if
      	the test is skipped.
      	* gdb.btrace/data.exp: Likewise.
      	* gdb.btrace/delta.exp: Likewise.
      	* gdb.btrace/dlopen.exp: Likewise.
      	* gdb.btrace/enable-running.exp: Likewise.
      	* gdb.btrace/enable.exp: Likewise.
      	* gdb.btrace/exception.exp: Likewise.
      	* gdb.btrace/function_call_history.exp: Likewise.
      	* gdb.btrace/gcore.exp: Likewise.
      	* gdb.btrace/instruction_history.exp: Likewise.
      	* gdb.btrace/multi-thread-step.exp: Likewise.
      	* gdb.btrace/nohist.exp: Likewise.
      	* gdb.btrace/non-stop.exp: Likewise.
      	* gdb.btrace/reconnect.exp: Likewise.
      	* gdb.btrace/record_goto-step.exp: Likewise.
      	* gdb.btrace/record_goto.exp: Likewise.
      	* gdb.btrace/rn-dl-bind.exp: Likewise.
      	* gdb.btrace/segv.exp: Likewise.
      	* gdb.btrace/step.exp: Likewise.
      	* gdb.btrace/stepi.exp: Likewise.
      	* gdb.btrace/tailcall-only.exp: Likewise.
      	* gdb.btrace/tailcall.exp: Likewise.
      	* gdb.btrace/tsx.exp: Likewise.
      	* gdb.btrace/unknown_functions.exp: Likewise.
      	* gdb.btrace/vdso.exp: Likewise.
      b5ac99b0
    • Markus Metzger's avatar
      btrace: allow recording to be started (and stopped) for running threads · cd4007e4
      Markus Metzger authored
      When recording is started for a running thread, GDB was able to start tracing
      but then failed to read registers to insert the initial entry for the current
      PC.  We don't really need that initial entry if we don't know where exactly we
      started recording.  Skip that step to allow recording to be started while
      threads are running.
      
      If we do run into errors, we need to undo the tracing enable to not leak this
      thread.  The operation did not complete so our caller won't clean up this
      thread.
      
      For the BTRACE_FORMAT_PT btrace format, we don't need that initial entry since
      it will be recorded in the trace.  We can omit the call to btrace_add_pc.
      
      gdb/
      	* btrace.c (btrace_enable): Do not call btrace_add_pc for
      	BTRACE_FORMAT_PT or if can_access_registers_ptid returns false.
      	(btrace_fetch): Assert can_access_registers_ptid.
      	* record-btrace.c (require_btrace_thread, record_btrace_info): Call
      	validate_registers_access.
      
      testsuite/
      	* gdb.btrace/enable-running.c: New.
      	* gdb.btrace/enable-running.exp: New.
      cd4007e4
    • Markus Metzger's avatar
      thread: add can_access_registers_ptid · cf77c34e
      Markus Metzger authored
      Add a function can_access_registers_ptid that behaves like
      validate_registers_access but returns a boolean value instead of throwing an
      exception.
      
      gdb/
      	* gdbthread.h (can_access_registers_ptid): New.
      	* thread.c (can_access_registers_ptid): New.
      cf77c34e
    • Jiong Wang's avatar
      [ld, testsuite] Append $board_cflags in one more place in ld-unique/unique.exp · ce790370
      Jiong Wang authored
      ld/
      	* testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
      	Append $board_cflags to link commands.
      ce790370
    • Senthil Kumar Selvaraj's avatar
      Fix failing print-memory-usage-1 on Windows · 067869b6
      Senthil Kumar Selvaraj authored
      ld/
      
      2017-01-31  Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
      
      	* testsuite/ld-scripts/print-memory-usage-1.l: Relax
      	check for digit in second decimal place.
      067869b6
    • Cary Coutant's avatar
      Don't allow mov-to-lea optimization for __ehdr_start. · ed35cc4a
      Cary Coutant authored
      gold/
      	PR gold/21090
      	* x86_64.cc (Target_x86_64::can_convert_mov_to_lea): Add check
      	for predefined symbol.
      	(Target_x86_64::Relocate::relocate): Fix formatting.
      ed35cc4a
    • Maciej W. Rozycki's avatar
      PR ld/20828: LD/testsuite: Correct indentation · 15a00b13
      Maciej W. Rozycki authored
      	ld/
      	PR ld/20828
      	* testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
      	indentation.
      15a00b13
    • Pedro Alves's avatar
      [ob/pushed] Use gdb_insn_length instead of creating dummy stream · be85ce7d
      Pedro Alves authored
      gdb/ChangeLog:
      2017-02-01  Pedro Alves  <palves@redhat.com>
      
      	* i386-tdep.c (i386_fast_tracepoint_valid_at): Use gdb_insn_length.
      be85ce7d
    • GDB Administrator's avatar
      Automatic date update in version.in · a8128fa6
      GDB Administrator authored
      a8128fa6
    • Pedro Alves's avatar
      gdb/mi/mi-interp.c: Fix typos · 29b0b251
      Pedro Alves authored
      gdb/ChangeLog:
      2017-01-31  Pedro Alves  <palves@redhat.com>
      
      	* mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified):
      	Fix typos.
      29b0b251
    • Pedro Alves's avatar
      gdb/stack.c: Remove unused mem_fileopen · 289b5b24
      Pedro Alves authored
      gdb/ChangeLog:
      2017-01-31  Pedro Alves  <palves@redhat.com>
      
      	* stack.c (print_frame_args): Remove local mem_fileopen stream,
      	not used.
      289b5b24
    • Pedro Alves's avatar
      gdb/varobj.c: Fix leak · b47413b4
      Pedro Alves authored
      Whoops, this function returns a std::string.
      
      gdb/ChangeLog:
      2017-01-31  Pedro Alves  <palves@redhat.com>
      
      	* varobj.c (varobj_value_get_print_value): Remove xstrdup call.
      b47413b4
    • Pedro Alves's avatar
      gdb: make_scoped_restore and types convertible to T · 60adb36c
      Pedro Alves authored
      A following patch will want to do
      
         string_file str_file;
      
         scoped_restore save_stdout
          = make_scoped_restore (&gdb_stdout, &str_file);
      
      where gdb_stdout is a ui_file *, and string_file is a type that
      inherits from ui_file, but that doesn't compile today:
      
        src/gdb/top.c: In function ‘std::__cxx11::string execute_command_to_string(char*, int)’:
        src/gdb/top.c:710:50: error: no matching function for call to ‘make_scoped_restore(ui_file**, string_file*)’
             = make_scoped_restore (&gdb_stdout, &str_file);
      						    ^
        [...]
        In file included from src/gdb/utils.h:25:0,
      		   from src/gdb/defs.h:732,
      		   from src/gdb/top.c:20:
        src/gdb/common/scoped_restore.h:94:24: note: candidate: template<class T> scoped_restore_tmpl<T> make_scoped_restore(T*, T)
         scoped_restore_tmpl<T> make_scoped_restore (T *var, T value)
      			  ^
        src/gdb/common/scoped_restore.h:94:24: note:   template argument deduction/substitution failed:
        src/gdb/top.c:710:50: note:   deduced conflicting types for parameter ‘T’ (‘ui_file*’ and ‘string_file*’)
             = make_scoped_restore (&gdb_stdout, &str_file);
      						    ^
      
      This commit makes code such as the above possible.
      
      gdb/ChangeLog:
      2017-01-31  Pedro Alves  <palves@redhat.com>
      
      	* common/scoped_restore.h
      	(scoped_restore_tmpl::scoped_restore_tmpl): Template on T2, and
      	change the value's parameter type to T2.
      	(make_scoped_restore): Likewise.
      60adb36c
  2. Jan 31, 2017
    • Nick Clifton's avatar
      Fix buffer overflows in ld when printing translated strings. · 1273da04
      Nick Clifton authored
      ld	* ldmain.c (add_archive_element): Eliminate string buffer.
      	* ldlang.c (lang_print_asneeded): Likewise.
      1273da04
    • GDB Administrator's avatar
      Automatic date update in version.in · 07fbc63d
      GDB Administrator authored
      07fbc63d
    • Maciej W. Rozycki's avatar
      MIPS: Add options to control branch ISA checks · 8b10b0b3
      Maciej W. Rozycki authored
      Complement commit 9d862524 ("MIPS: Verify the ISA mode and alignment
      of branch and jump targets") and add GAS and LD options to control the
      checks for invalid branches between ISA modes introduced there, to help
      with some handwritten code lacking `.insn' annotation for labels used as
      branch targets and code produced by older versions of GCC which suffers
      from the issue with branches to code that has been optimized away,
      addressed with GCC commit 242424 ("MIPS/GCC: Mark trailing labels with
      `.insn'"), <https://gcc.gnu.org/ml/gcc-patches/2016-11/msg01061.html>.
      
      	bfd/
      	* elfxx-mips.h (_bfd_mips_elf_insn32): Rename prototype to...
      	(_bfd_mips_elf_linker_flags): ... this.  Add another parameter.
      	* elfxx-mips.c (mips_elf_link_hash_table): Add
      	`ignore_branch_isa' member.
      	(mips_elf_perform_relocation): Do not treat an ISA mode mismatch
      	in branch relocation calculation as an error if
      	`ignore_branch_isa' has been set.
      	(_bfd_mips_elf_insn32): Rename to...
      	(_bfd_mips_elf_linker_flags): ... this.  Rename the `on'
      	parameter to `insn32' and add an `ignore_branch_isa' parameter.
      	Handle the new parameter.
      
      	gas/
      	* config/tc-mips.c (mips_ignore_branch_isa): New variable.
      	(options): Add OPTION_IGNORE_BRANCH_ISA and
      	OPTION_NO_IGNORE_BRANCH_ISA enum values.
      	(md_longopts): Add "mignore-branch-isa" and
      	"mno-ignore-branch-isa" options.
      	(md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
      	OPTION_NO_IGNORE_BRANCH_ISA.
      	(fix_bad_cross_mode_branch_p): Return FALSE if
      	`mips_ignore_branch_isa' has been set.
      	(md_show_usage): Add `-mignore-branch-isa' and
      	`-mno-ignore-branch-isa'.
      
      	* doc/as.texinfo (Target MIPS options): Add
      	`-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
      	(-mignore-branch-isa, -mno-ignore-branch-isa): New options.
      	* doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
      	`-mno-ignore-branch-isa' options.
      
      	* testsuite/gas/mips/branch-local-ignore-2.d: New test.
      	* testsuite/gas/mips/branch-local-ignore-3.d: New test.
      	* testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
      	* testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
      	* testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
      	* testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
      	* testsuite/gas/mips/mips.exp: Run the new tests.
      
      	ld/
      	* emultempl/mipself.em (ignore_branch_isa): New variable.
      	(mips_create_output_section_statements): Rename
      	`_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
      	add `ignore_branch_isa' argument.
      	(PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
      	OPTION_NO_IGNORE_BRANCH_ISA enum values.
      	(PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
      	"no-ignore-branch-isa" options.
      	(PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
      	`--no-ignore-branch-isa'.
      	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
      	OPTION_NO_IGNORE_BRANCH_ISA.
      
      	* ld.texinfo (Options specific to MIPS targets): Add
      	`--ignore-branch-isa' and `--no-ignore-branch-isa' options.
      	(ld and the MIPS family): Likewise.
      
      	* testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
      	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
      	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
      	* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
      	* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
      	* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
      	test.
      	* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
      	test.
      	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
      8b10b0b3
    • Maciej W. Rozycki's avatar
      MIPS/GAS/testsuite: Convert branch local list tests to dump tests · 7795a8f8
      Maciej W. Rozycki authored
      	gas/
      	* testsuite/gas/mips/branch-local-2.d: New test.
      	* testsuite/gas/mips/branch-local-3.d: New test.
      	* testsuite/gas/mips/branch-local-n32-2.d: New test.
      	* testsuite/gas/mips/branch-local-n32-3.d: New test.
      	* testsuite/gas/mips/branch-local-n64-2.d: New test.
      	* testsuite/gas/mips/branch-local-n64-3.d: New test.
      	* testsuite/gas/mips/mips.exp: Fold corresponding list tests
      	into the new tests.
      7795a8f8
  3. Jan 30, 2017
  4. Jan 29, 2017
  5. Jan 28, 2017
  6. Jan 27, 2017
    • Walfred Tedeschi's avatar
      amd64-linux: expose system register FS_BASE and GS_BASE for Linux. · 2735833d
      Walfred Tedeschi authored
      
      
      This patch allows examination of the registers FS_BASE and GS_BASE
      for Linux Systems running on 64bit. Tests for simple read and write
      of the new registers is also added with this patch.
      
      2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
      	    Richard Henderson  <rth@redhat.com>
      
      gdb/ChangeLog:
      
      	* amd64-linux-nat.c (PTRACE_ARCH_PRCTL): New define.
      	(amd64_linux_fetch_inferior_registers): Add case to fetch FS_BASE
      	GS_BASE for older kernels.
      	(amd64_linux_store_inferior_registers): Add case to store FS_BASE
      	GS_BASE for older kernels.
      	* amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Add FS_BASE
      	and GS_BASE to the offset table.
      	(amd64_linux_register_reggroup_p): Add FS_BASE and GS_BASE to the
      	system register group.
      	* amd64-nat.c (amd64_native_gregset_reg_offset): Implements case
      	for older kernels.
      	* amd64-tdep.c (amd64_init_abi): Add segment registers for the
      	amd64 ABI.
      	* amd64-tdep.h (amd64_regnum): Add AMD64_FSBASE_REGNUM and
      	AMD64_GSBASE_REGNUM.
      	(AMD64_NUM_REGS): Set to AMD64_GSBASE_REGNUM + 1.
      	* features/Makefile (amd64-linux.dat, amd64-avx-linux.dat)
      	(amd64-mpx-linux.dat, amd64-avx512-linux.dat, x32-linux.dat)
      	(x32-avx-linux.dat, x32-avx512-linux.dat): Add
      	i386/64bit-segments.xml in those rules.
      	* features/i386/64bit-segments.xml: New file.
      	* features/i386/amd64-avx-mpx-linux.xml: Add 64bit-segments.xml.
      	* features/i386/amd64-avx-linux.xml: Add 64bit-segments.xml.
      	* features/i386/amd64-avx512-linux.xml: Add 64bit-segments.xml.
      	* features/i386/amd64-mpx-linux.xml: Add 64bit-segments.xml.
      	* features/i386/x32-avx512-linux.xml: Add 64bit-segments.xml.
      	* features/i386/x32-avx-linux.xml: Add 64bit-segments.xml.
      	* features/i386/amd64-linux.xml: Add 64bit-segments.xml.
      	* features/i386/amd64-avx-linux.c: Regenerated.
      	* features/i386/amd64-avx-mpx-linux.c: Regenerated.
      	* features/i386/amd64-avx-mpx.c: Regenerated.
      	* features/i386/amd64-avx512-linux.c: Regenerated.
      	* features/i386/amd64-linux.c: Regenerated.
      	* features/i386/amd64-mpx-linux.c: Regenerated.
      	* features/i386/i386-avx-mpx-linux.c: Regenerated.
      	* features/i386/i386-avx-mpx.c: Regenerated.
      	* features/i386/x32-avx-linux.c: Regenerated.
      	* features/i386/x32-avx512-linux.c: Regenerated.
      	* regformats/i386/amd64-avx-linux.dat: Regenerated.
      	* regformats/i386/amd64-avx-mpx-linux.dat: Regenerated.
      	* regformats/i386/amd64-avx512-linux.dat: Regenerated.
      	* regformats/i386/amd64-linux.dat: Regenerated.
      	* regformats/i386/amd64-mpx-linux.dat: Regenerated.
      	* regformats/i386/x32-avx-linux.dat: Regenerated.
      	* regformats/i386/x32-avx512-linux.dat: Regenerated.
      	* regformats/i386/x32-linux.dat: Regenerated.
      
      gdb/doc/ChangeLog:
      
      	* gdb.texinfo (i386 Features): Add system segment registers
      	as feature.
      
      gdb/gdbserver/ChangeLog:
      
      	* linux-x86-low.c (x86_64_regmap): Add fs_base and gs_base
      	to the register table.
      	(x86_fill_gregset): Add support for old kernels for the
      	fs_base and gs_base system registers.
      	(x86_store_gregset): Likewise.
      	* configure.srv (srv_i386_64bit_xmlfiles): Add 64bit-segments.xml.
      
      gdb/testsuite/ChangeLog:
      
      	* gdb.arch/amd64-gs_base.c: New file.
      	* gdb.arch/amd64-gs_base.exp: New file.
      
      Change-Id: I2e0eeb93058a2320d4d3b045082643cfe4aff963
      Signed-off-by: default avatarWalfred Tedeschi <walfred.tedeschi@intel.com>
      2735833d
    • Walfred Tedeschi's avatar
      amd64: simplify addition of new general registers. · 8884e97e
      Walfred Tedeschi authored
      The purpose of this patch is only simplify the addition of new registers.
      ORIG_RAX is kept as last register and any addition is done right before it.
      
      2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
      
      	* amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM):
      	Set to AMD64_NUM_REGS.
      8884e97e
    • Walfred Tedeschi's avatar
      amd64: remove additional comparison for validity of a register number. · 7005d26a
      Walfred Tedeschi authored
      Second part of the && is already guaranteed in the "regnum < num_regs"
      due to comparison above.
      
      2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
      
      	* amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic
      	that checks validity of a register number.
      7005d26a
    • Walfred Tedeschi's avatar
      gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver. · 239b6d10
      Walfred Tedeschi authored
      The macros mentioned in the title were set only for GDB. In gdbserver they
      were not set until now.  To align the code in GDB and gdbserver these macros
      are also added into gdbserver, enabling read and write of gs_base and fs_base
      registers from the system in new and old kernels.
      
      2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
      
      gdb/gdbserver/ChangeLog:
      
          	* configure.ac: Check if the fs_base and gs_base members of
          	`struct user_regs_struct' exist.
          	* config.in: Regenerated.
          	* configure: Likewise.
      239b6d10
    • Dilyan Palauzov's avatar
      Update description of the -plugin option used by the linker, ar and nm. · 387dd777
      Dilyan Palauzov authored
      	PR 20343
      ld	* ld.texinfo (Options): Extend documentation of the --plugin
      	option.  Include a description of where the plugins should be
      	located.
      
      binutils* doc/binutils.texi (ar): Extend documentation of the --plugin
      	option.  Include a description of where the plugins should be
      	located.
      	(nm): Likewise.
      387dd777
    • Alexis Deruell's avatar
      Fix disassembling of TIC6X parallel instructions where the previous fetch... · 8ec5cf65
      Alexis Deruell authored
      Fix disassembling of TIC6X parallel instructions where the previous fetch packet ended with a 32-bit insn.
      
      	PR 21056
      opcodes	* tic6x-dis.c (print_insn_tic6x): Correct displaying of parallel
      	instructions when the previous fetch packet ends with a 32-bit
      	instruction.
      
      gas	* testsuite/gas/tic6x/insns16-parallel.s: New test case.
      	* testsuite/gas/tic6x/insns16-parallel.d: New test driver.
      8ec5cf65
    • Nick Clifton's avatar
      Add Serbian translation for the LD directory. · 0348d4be
      Nick Clifton authored
      ld	* po/sr.po: New Serbian translation.
      	* configure.ac (ALL_LINGUAS): Add sr.
      	* configure: Regenerate.
      0348d4be
    • Kees Cook's avatar
      Fix PTRACE_GETREGSET failure for compat inferiors on arm64 · 4bd2e1b2
      Kees Cook authored
      When running a 32-bit ARM inferior with a 32-bit ARM GDB on a 64-bit
      AArch64 host, only VFP registers (NT_ARM_VFP) are available. The FPA
      registers (NT_PRFPREG) are not available so GDB must not request them, as
      this will fail with -EINVAL.  This is most noticeably exposed when running
      "generate-core-file":
      
      (gdb) generate-core-file myprog.core
      Unable to fetch the floating point registers.: Invalid argument.
      
      ptrace(PTRACE_GETREGSET, 27642, NT_FPREGSET, 0xffcc67f0) = -1 EINVAL (Invalid argument)
      
      gdb/ChangeLog:
      
      2017-01-27  Kees Cook  <keescook@google.com>
      
      	* gdb/arm-linux-nat.c (arm_linux_fetch_inferior_registers): Call
      	fetch_fpregs if target has fpa registers.
      	(arm_linux_store_inferior_registers): Call store_fpregs if target
      	has fpa registers.
      4bd2e1b2
    • Hans-Peter Nilsson's avatar
      Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol · 22d9a0de
      Hans-Peter Nilsson authored
      	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Remove now unused
      	local variable dynobj.
      22d9a0de
    • Hans-Peter Nilsson's avatar
      Fix PR ld/20995 for cris-linux · 1fbd05e1
      Hans-Peter Nilsson authored
      	PR ld/20995
      	* elf32-cris.c (elf_cris_size_dynamic_sections): Handle sdynrelro.
      	(elf_cris_adjust_dynamic_symbol): Place variables copied into the
      	executable from read-only sections into sdynrelro.
      	(elf_cris_finish_dynamic_symbol): Select sreldynrelro for
      	dynamic relocs in sdynrelro.
      	(elf_backend_want_dynrelro): Define.
      1fbd05e1
    • Luis Machado's avatar
      Add missing gdb/testsuite/ChangeLog entry. · b51e1e94
      Luis Machado authored
      b51e1e94
    • GDB Administrator's avatar
      Automatic date update in version.in · 03bc0a24
      GDB Administrator authored
      03bc0a24