1. 22 Aug, 2019 2 commits
  2. 18 Aug, 2019 1 commit
  3. 14 Aug, 2019 1 commit
  4. 12 Aug, 2019 1 commit
  5. 10 Aug, 2019 3 commits
  6. 09 Aug, 2019 2 commits
  7. 08 Aug, 2019 1 commit
  8. 07 Aug, 2019 6 commits
  9. 06 Aug, 2019 2 commits
  10. 05 Aug, 2019 2 commits
    • Simon Marchi's avatar
      Remove some variables in favor of using gdb::optional · 2b79f376
      Simon Marchi authored
      While reading that code, I noticed that some variables essentially meant
      whether to consider some other variable or not.  I think using
      gdb::optional (which was not available when this code was written) is
      clearer, as it embeds the used/not used predicate directly in the type
      of the variable, making it harder to miss.
      
      gdb/ChangeLog:
      
      	* dwarf2read.c (struct dw2_symtab_iterator):
      	<want_specific_block>: Remove.
      	<block_index>: Change type to gdb::optional.
      	(dw2_symtab_iter_init): Remove WANT_SPECIFIC_BLOCK parameter,
      	change type of BLOCK_INDEX parameter to gdb::optional.
      	(dw2_symtab_iter_next): Re-write in function of gdb::optional.
      	(dw2_lookup_symbol): Don't pass argument for
      	WANT_SPECIFIC_BLOCK.
      	(dw2_expand_symtabs_for_function): Don't pass argument for
      	WANT_SPECIFIC_BLOCK, pass empty optional for BLOCK_INDEX.
      	(class dw2_debug_names_iterator)
      	<dw2_debug_names_iterator>: Remove WANT_SPECIFIC_BLOCK
      	parameter, change BLOCK_INDEX type to gdb::optional.
      	<m_want_specific_block>: Remove.
      	<m_block_index>: Change type to gdb::optional.
      	(dw2_debug_names_iterator::next): Change type of IS_STATIC to
      	gdb::optional.  Re-write in function of gdb::optional.
      	(dw2_debug_names_lookup_symbol): Don't pass argument for
      	WANT_SPECIFIC_BLOCK.
      	(dw2_debug_names_expand_symtabs_for_function): Don't pass
      	argument for WANT_SPECIFIC_BLOCK, pass empty optional for
      	BLOCK_INDEX.
      2b79f376
    • GDB Administrator's avatar
      Automatic date update in version.in · 188a6373
      GDB Administrator authored
      188a6373
  11. 04 Aug, 2019 3 commits
  12. 03 Aug, 2019 4 commits
    • Philippe Waroquiers's avatar
      NEWS and documentation for info sources [-dirname | -basename] [--] [REGEXP]. · ae60f04e
      Philippe Waroquiers authored
      gdb/ChangeLog
      2019-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
      
              * NEWS: Mention changes to "info sources" command.
      
      gdb/doc/ChangeLog
      2019-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
      
              * gdb.texinfo (Symbols): Document new args -dirname and -basename
              of "info sources" command.
      ae60f04e
    • Philippe Waroquiers's avatar
      New test for 'info sources [-dirname | -basename] [--] [REGEXP]'. · db4dc13e
      Philippe Waroquiers authored
      This patch introduces a test for the 'info sources' command
      and its new arguments [-dirname | -basename] [--] [REGEXP].
      
      gdb/testsuite/ChangeLog
      
      2019-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
      
      	* gdb.base/info_sources.exp: New file.
      	* gdb.base/info_sources.c: New file.
      	* gdb.base/info_sources_base.c: New file.
      db4dc13e
    • Philippe Waroquiers's avatar
      New "info sources" args [-dirname | -basename] [--] [REGEXP] · 28cd9371
      Philippe Waroquiers authored
      gdb/ChangeLog
      
      2019-08-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
      
      	* symtab.c (filename_partial_match_opts): New struct type.
      	(struct output_source_filename_data): New members
      	regexp, c_regexp, partial_match.
      	(output_source_filename): Use new members to decide to print file.
      	(info_sources_option_defs): New variable.
      	(make_info_sources_options_def_group, print_info_sources_header,
      	info_sources_command_completer):
      	New functions.
      	(info_sources_command): Read new optional arguments.
      	(_initialize_symtab): Update info sources help.
      28cd9371
    • GDB Administrator's avatar
      Automatic date update in version.in · 6d6231ed
      GDB Administrator authored
      6d6231ed
  13. 02 Aug, 2019 6 commits
    • Alexandre Oliva's avatar
      support Ada EH ABI v1 · ca683e3a
      Alexandre Oliva authored
      A new pair of hooks used by Ada exception handlers, for correct
      release of reraised exception occurrences, involves the introduction
      of new v1 symbols that GDB should use when available.  The older, v0
      ABI remains available in newer runtimes for bootstrapping purposes
      only.
      
      
      for  gdb/ChangeLog
      
      	* ada-lang.c (exception_support_info_v0): Renamed from...
      	(default_exception_support_info): ... this.  Create new
      	definition for v1.
      	(ada_has_this_exception_support): Look up catch_handlers_sym.
      	(ada_exception_support_info_sniffer): Try v0 after default.
      ca683e3a
    • Alan Modra's avatar
      [GOLD] PowerPC64 pc-relative TLS support · 89c52ae3
      Alan Modra authored
      Gold version of git commit c213164a.
      
      elfcpp/
      	* powerpc.h (R_PPC64_TPREL34, R_PPC64_DTPREL34),
      	(R_PPC64_GOT_TLSGD34, R_PPC64_GOT_TLSLD34),
      	(R_PPC64_GOT_TPREL34, R_PPC64_GOT_DTPREL34): Define.
      gold/
      	* powerpc.cc (Target_powerpc::Scan::get_reference_flags): Set
      	flags for new relocations, and some missing older relocs.
      	(Target_powerpc::Scan::local): Handle new pcrel tls relocs.
      	Call set_has_static_tls for tprel relocs.
      	(Target_powerpc::Scan::global): Likewise.
      	(Target_powerpc::Relocate::relocate): Handle new pcrel tls relocs.
      89c52ae3
    • Alan Modra's avatar
      [GOLD] PowerPC relocation signed overflow check · 6a010cf6
      Alan Modra authored
      Relocations with right shifts were calculating wrong overflow status.
      Since the addr34 split-field reloc is implemented as an 18-bit high
      part with value shifted right by 16 and a 16-bit low part, most of the
      pc-relative relocs were affected.
      
      	* powerpc.cc (Powerpc_relocate_functions::rela, rela_ua): Perform
      	signed right shift for signed overflow check.
      6a010cf6
    • Alan Modra's avatar
      PR24871, readelf segv in dump_ia64_unwind · 97c0a079
      Alan Modra authored
      	PR 24871
      	* readelf.c (ABSADDR): Delete.
      	(dump_ia64_unwind): Expand ABSADDR.  Check validity of info.section.
      97c0a079
    • Alan Modra's avatar
      PowerPC tlsie test fix · 1b611b2d
      Alan Modra authored
      	* testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
      1b611b2d
    • GDB Administrator's avatar
      Automatic date update in version.in · 371367a9
      GDB Administrator authored
      371367a9
  14. 01 Aug, 2019 6 commits
    • Jim Wilson's avatar
      RISC-V: Fix lui relax failure with relro. · 0f52d45a
      Jim Wilson authored
      	bfd/ChangeLog
      	Ilia Diachkov  <ilia.diachkov@optimitech.com>
      	* elfnn-riscv.c (_bfd_riscv_relax_lui): Set lui relax safety area to
      	two pages in relro presence.
      0f52d45a
    • Pedro Franco de Carvalho's avatar
      Remove directory names from gdb.base/batch-exit-status.exp · 0eba165a
      Pedro Franco de Carvalho authored
      Adjust gdb.base/batch-exit-status.exp so that test prefixes don't show
      directory names for the source scripts passed with -x, to make test
      results from different build directories comparable.
      
      gdb/testsuite/ChangeLog:
      2019-08-01  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
      
      	* gdb.base/batch-exit-status.exp: Call test_exit_status with
      	prefix argument.
      	(test_exit_status): Add prefix argument.
      0eba165a
    • Max Filippov's avatar
      xtensa: bfd: add special case to loop alignment check · e0d0c518
      Max Filippov authored
      check_loop_aligned is used during link time relaxation to only allow
      transformations that don't violate loop body alignment requirements.
      Assembler can relax loops that have too long body by adding instructions
      between the loop instruction and the loop body. check_loop_aligned must
      check alignment of the first instruction of the actual loop body.
      Detect loop / rsr.lend / wsr.lbeg sequence used in assembly time
      relaxation and adjust alignment check when it's detected.
      
      bfd/
      2019-08-01  Max Filippov  <jcmvbkbc@gmail.com>
      
      	* elf32-xtensa.c (insn_num_slots, get_rsr_lend_opcode)
      	(get_wsr_lbeg_opcode): New functions.
      	(check_loop_aligned): Detect relaxed loops and adjust loop_len
      	and insn_len for the first actual instruction of the loop.
      e0d0c518
    • Tom Tromey's avatar
      Fix the ia64 libunwind build · f1264162
      Tom Tromey authored
      This fixes the ia64 libunwind build.
      
      gdb/ChangeLog
      2019-08-01  Tom Tromey  <tromey@adacore.com>
      
      	* ia64-libunwind-tdep.h (struct libunwind_descr): Include
      	gdbarch.h.
      f1264162
    • Christian Biesinger's avatar
      Include s12z-opc.h using ../opcodes. · 0a7b2485
      Christian Biesinger authored
      This file exists in binutils-gdb/opcodes, and nothing in Makefile.in adds this
      to the include path.  Default builds work because in-tree readline adds
      binutils-gdb/ to the include path (!). However, this is broken when compiling
      with system readline.
      
      Other files already use this way to include files in opcodes:
      ./gdb/lm32-tdep.c:#include "../opcodes/lm32-desc.h"
      ./gdb/or1k-tdep.h:#include "../opcodes/or1k-desc.h"
      ./gdb/mep-tdep.c:#include "../opcodes/mep-desc.h"
      
      etc.
      
      gdb/ChangeLog:
      
      2019-08-01  Christian Biesinger  <cbiesinger@google.com>
      
      	* s12z-tdep.c: Fix include path for s12z-opc.h.
      0a7b2485
    • Alan Hayward's avatar
      Require GNU make 3.82 · c6bdbeb7
      Alan Hayward authored
      Gdbserver has failed to build with GNU make 3.81 since commit 08f10e02.
      
      Update the NEWS file to state that versions earlier than 3.82 are not
      supported.
      
      3.82 was released in 2010, 3.81 was released 2006. A quick investigation
      of the default GNU make version provided across various distros found the
      earliest provided version to be 3.82:
      *RHEL 7, Centos 6 - make 3.82
      *Fedora 27 - make 4.2.1
      *OpenSuse 42.2, SLES11 - make 4.2.1
      *Ubuntu 16.04/18.04 - make 4.1
      *Debian Jessie - make 4.0
      
      Note that Glibc requires at least 4.0, whereas GCC still allows 3.81.
      
      gdb/ChangeLog:
      
      	* NEWS: Require GNU make 3.82.
      c6bdbeb7