public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc
@ 2016-11-03 15:50 sergiodj+buildbot
  2016-11-03 15:54 ` *** COMPILATION FAILED *** Failures on Debian-i686, branch master *** BREAKAGE *** sergiodj+buildbot
                   ` (10 more replies)
  0 siblings, 11 replies; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0f4a997c26760d2584946196ee5c411d1a632a6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c0f4a997c26760d2584946196ee5c411d1a632a6

Remove gdbarch_remote_breakpoint_from_pc

This patch removes gdbarch method remote_breakpoint_from_pc, as it
is no longer used.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_remote_breakpoint_from_pc): Remove.
	* arch-utils.h (default_remote_breakpoint_from_pc): Remove.
	* arm-tdep.c (arm_remote_breakpoint_from_pc): Remove.
	(arm_gdbarch_init): Don't call
	set_gdbarch_remote_breakpoint_from_pc.
	* gdbarch.sh (remote_breakpoint_from_pc): Remove.
	* gdbarch.c, gdbarch.h: Regenerate.
	* mips-tdep.c (mips_remote_breakpoint_from_pc): Remove.
	(mips_gdbarch_init): Don't call
	set_gdbarch_remote_breakpoint_from_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfin: Don't create .interp section for info->nointerp
@ 2017-10-10  0:15 sergiodj+buildbot
  2017-12-13 10:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d45a7de8b80336b9965ee99353c34be85b1b98f ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 9d45a7de8b80336b9965ee99353c34be85b1b98f

bfin: Don't create .interp section for info->nointerp

Don't create the .interp section with "ld --no-dynamic-linker".  This
fixed:

FAIL: PR ld/20828 forcibly exported symbol version without section GC
FAIL: PR ld/20828 forcibly exported symbol version with section GC
FAIL: readelf version information

	* elf32-bfin.c (bfin_size_dynamic_sections): Don't create the
	.interp section with "ld --no-dynamic-linker".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] mn10300: Don't free cached internal symbol table
@ 2017-10-09 22:40 sergiodj+buildbot
  2017-12-14  6:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 22:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 478c006f9b4a64d59c31aed081c14c1d7dd4ba68 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 478c006f9b4a64d59c31aed081c14c1d7dd4ba68

mn10300: Don't free cached internal symbol table

Since ELF linker may cache internal symbol table in init_reloc_cookie,
we should check if it is cached, before free it.

	* elf-m10300.c (mn10300_elf_check_relocs): Don't free cached
	isymbuf.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Multi-arch exec, more register reading avoidance
@ 2017-10-09 21:45 sergiodj+buildbot
  2017-12-03  8:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 21:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cbd2b4e316370ab740433b06ed65786831232c8f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: cbd2b4e316370ab740433b06ed65786831232c8f

Multi-arch exec, more register reading avoidance

As mentioned in commit bf93d7ba9931 ("Add thread after updating
gdbarch when exec'ing"), we should avoid doing register reads after a
process does an exec and before we've updated that inferior's gdbarch.
Otherwise, we may interpret the registers using the wrong
architecture.

There's still (at least) one case where we still read registers
post-exec with the pre-exec architecture.  That's when infrun decides
it needs to switch context to the exec'ing thread.  I.e., if the exec
event is processed at a time when the current thread is not already
the exec'ing thread, then we get (with the test added by this commit):

  continue
  Continuing.
  Truncated register 50 in remote 'g' packet
  Truncated register 50 in remote 'g' packet
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

The fix is to avoid reading registers when switching context in this
case.

(I'd be nice to get rid of the constant stop_pc reading when switching
threads, but that'd be a deeper change.)

gdb/ChangeLog:
2017-10-09  Pedro Alves  <palves@redhat.com>

	* infrun.c (handle_inferior_event_1) <TARGET_WAITKIND_EXECD>: Skip
	reading registers when switching context.

gdb/testsuite/ChangeLog:
2017-10-09  Pedro Alves  <palves@redhat.com>

	* gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
	(barrier): New.
	(thread_start, all_started): New functions.
	(main): Spawn new thread and wait until it is scheduled.
	* gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
	option.
	(do_test): Add 'selected_thread' parameter.  Run to all_started
	instead of main.  Explicitly set the breakpoint at main.  Switch
	to the SELECTED_THREAD thread.
	(top level): Test handling the exec event with either the main
	thread or the second thread selected.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64
@ 2017-10-09 19:41 sergiodj+buildbot
  2017-12-12 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 19:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 777a42f1f86b60d11cfe0e5964036823e6920f79 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 777a42f1f86b60d11cfe0e5964036823e6920f79

gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64

The gdb.multi/multi-arch-exec.exp testcase currently tests execing
from -m64 to -m32, but does not test the other direction.  For
thoroughness, this commit fixes that.  Without the fix in the previous
commit for example ("Multi-arch exec, more register reading
avoidance"), on x86_64 we would get different symptoms depending on
"execing direction".  Vis:

  Continuing.
  Truncated register 50 in remote 'g' packet
  Truncated register 50 in remote 'g' packet
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

Vs:

  Continuing.
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): daffffffffffffff0000[snip]
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): daffffffffffffff0000[snip]
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=2: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

gdb/testsuite/ChangeLog:
2017-10-09  Pedro Alves  <palves@redhat.com>

	Test both arch1=>arch2 and arch2=>arch1.

	* gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
	(srcfile2, binfile2, march1, march2): Remove globals.  Largely
	factored out to...
	(append_arch1_options, append_arch2_options, append_arch_options)
	(build_executables): New procedures.
	(do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
	local.
	(top level): Add new 'first_arch' testing axis.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t.
@ 2017-10-09 19:00 sergiodj+buildbot
  2017-12-02 12:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 19:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a181c0bf7461c28cdb72a4074c6d7608119fb575 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: a181c0bf7461c28cdb72a4074c6d7608119fb575

Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t.

FreeBSD architectures are either ILP32 or LP64 resulting in two
different layouts for siginfo_t.  Previously, the 'bits_per_word'
member of bfd_arch_info was used to determine the layout to use for a
given FreeBSD architecture.  However, mipsn32 architectures inherit
from a 64-bit mips architecture where bits_per_word is 64.  As a
result, $_siginfo was not properly extracted from FreeBSD/mipsn32 core
dumps.  Fix this by using gdbarch_long_bit instead of 'bits_per_word'
to determine if a FreeBSD architecture is ILP32 or LP64.

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_siginfo_size): Use gdbarch_long_bit.
	(fbsd_convert_siginfo): Likewise.
	* fbsd-tdep.c (fbsd_core_xfer_siginfo): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't try building gdb against guile-2.2
@ 2017-10-09 18:14 sergiodj+buildbot
  2017-11-29 19:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 18:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e66f7538112d2f5fb1af17dbde33ba37a7171be ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6e66f7538112d2f5fb1af17dbde33ba37a7171be

Don't try building gdb against guile-2.2

GDB currently doesn't build with Guile 2.2 (see PR 21104).  If one has
both Guile 2.2 and 2.0 installed, GDB will pick up Guile 2.2 first and
fail building.  Until somebody does the work of adapting the GDB code to
Guile 2.2, we should not try using it.  This patch therefore removes it
from configure.

gdb/ChangeLog:

	* configure.ac (try_guile_versions): Remove guile-2.2.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S/390: Sync with latest POP - 3 new instructions
@ 2017-10-09 17:56 sergiodj+buildbot
  2017-11-28 21:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e464506d2131fc931c4f81a22cc7125b7adf434 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 8e464506d2131fc931c4f81a22cc7125b7adf434

S/390: Sync with latest POP - 3 new instructions

prno, tpei, and irbm are missing in the optable.

gas/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
	instructions added.
	* testsuite/gas/s390/zarch-arch12.s: Likewise.
	* testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.

opcodes/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-opc.txt (prno, tpei, irbm): New instructions added.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S/390: Sync with IBM z14 POP - SI_RD format
@ 2017-10-09 17:35 sergiodj+buildbot
  2017-11-28  1:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee6767daf13a13867f8e716c2a53b748ab0da536 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: ee6767daf13a13867f8e716c2a53b748ab0da536

S/390: Sync with IBM z14 POP - SI_RD format

The recent POP adjusted a few of the instruction formats.  This patch
adjusts our optable accordingly.  No user visible change - hopefully.

opcodes/ChangeLog:

2017-10-09  Heiko Carstens  <heiko.carstens@de.ibm.com>

	* s390-opc.c (INSTR_SI_RD): New macro.
	(INSTR_S_RD): Adjust example instruction.
	* s390-opc.txt (lpsw, ssm, ts): Change S_RD instruction format to
	SI_RD.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix automatic dependency tracking
@ 2017-10-09 16:13 sergiodj+buildbot
  2017-11-25 15:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 890e97902a21a3b88f9b6028852736b813303029 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 890e97902a21a3b88f9b6028852736b813303029

Fix automatic dependency tracking

Commit f38307f5 changed COMPILE.post and POSTCOMPILE to remove
$(basename) from the dependency file name computation.  However, it
did not update the `-include' at the end of the Makefile.in; this in
effect disabled automatic dependency tracking.

This patch restores the $(basename) wrapper so that the dependency
files are named "file.Po" rather than "file.o.Po".

I also tested the non-gcc3 dependency mode, which pointed out that
this case hadn't been working since the switch to C++.  This is also
fixed in this patch.

Tested by rebuilding.

ChangeLog
2017-10-09  Tom Tromey  <tom@tromey.com>

	* Makefile.in (COMPILE.post, POSTCOMPILE): Restore $(basename).
	(COMPILE.pre): Use $(CXX).


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make cp_remove_params return a gdb::unique_xmalloc_ptr
@ 2017-10-09 15:34 sergiodj+buildbot
  2017-11-24 18:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 109483d9eec3f0d0c3eaafd5d829435059167c52 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 109483d9eec3f0d0c3eaafd5d829435059167c52

Make cp_remove_params return a gdb::unique_xmalloc_ptr

Use the type system instead of callers needing to know how the
returned string's memory is supposed to be managed.

gdb/ChangeLog:
2017-10-09  Pedro Alves  <palves@redhat.com>

	* cp-support.c (cp_remove_params): Return a gdb::unique_xmalloc_ptr.
	Use bool.
	(overload_list_add_symbol): Adjust to use gdb::unique_xmalloc_ptr.
	* cp-support.h (cp_remove_params): Now returns a
	gdb::unique_xmalloc_ptr.
	* dwarf2read.c (find_slot_in_mapped_hash): Now returns bool.
	Adjust to cp_remove_params returning a gdb::unique_xmalloc_ptr.
	* psymtab.c (psymtab_search_name): Adjust to cp_remove_params
	returning a gdb::unique_xmalloc_ptr.
	(lookup_partial_symbol): Adjust to use gdb::unique_xmalloc_ptr.
	* stack.c (find_frame_funname): Adjust to cp_remove_params
	returning a gdb::unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix gdb.base/print-file-var-main.c value check logic
@ 2017-10-09 12:16 sergiodj+buildbot
  2017-11-23 19:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 12:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c9e4427a745e5e26fba320ecc62e4285b613e4f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5c9e4427a745e5e26fba320ecc62e4285b613e4f

Fix gdb.base/print-file-var-main.c value check logic

Fix a typo introduced in commit c56e7c4390ed ("Make ctxobj.exp and
print-file-var.exp work on all platforms.").

This doesn't really affect the outcome of the testcase.  I only
noticed the typo because I stepped through the program manually.

To avoid such problems if the test is extended, this moves the STOP
marker until after the program self-validates the values.  With the
typo in place, this alone would have resulted in a test FAIL.  I.e.,
it'd have caught the typo.

gdb/testsuite/ChangeLog:
2017-10-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/print-file-var-main.c: Fix get_version_2 value check
	logic.  Move STOP marker after the value checks.
	* gdb.base/print-file-var.exp (continue to STOP marker): Tighten
	regexp.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer
@ 2017-10-09  8:52 sergiodj+buildbot
  2017-11-21 22:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30a9c02feff56bd58a276c2a7262f364baa558ac ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 30a9c02feff56bd58a276c2a7262f364baa558ac

Remove cleanup from frame_prepare_for_sniffer

Currently frame_prepare_for_sniffer returns a cleanup.  This patch
changes it to return void, and exposes frame_cleanup_after_sniffer to
the caller.

Normally I would write an RAII class for this sort of thing; but
because there was just a single caller of frame_prepare_for_sniffer,
and because this caller is already using try/catch, I thought it
seemed ok to require explicit calls in this instance.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* frame-unwind.c (frame_unwind_try_unwinder): Update.
	* frame.h (frame_cleanup_after_sniffer): Declare.
	(frame_prepare_for_sniffer): Return void.
	* frame.c (frame_cleanup_after_sniffer): No longer static.  Change
	type of argument.
	(frame_prepare_for_sniffer): Return void.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some cleanups from dwarf2read.c
@ 2017-10-09  7:27 sergiodj+buildbot
  2017-11-22 18:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  7:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 791afaa233ca9f4baa59aa16062296a00aa2c4da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 791afaa233ca9f4baa59aa16062296a00aa2c4da

Remove some cleanups from dwarf2read.c

This removes a number of cleanups from dwarf2read.c in a
straightforward way.

Note that some places in dwarf2read create dangling cleanups.  I don't
believe any of the changes in this patch interact with those spots.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* dwarf2read.c (dwarf2_get_dwz_file): Use
	gdb::unique_xmalloc_ptr.
	(find_slot_in_mapped_hash): Likewise.
	(dwarf2_physname): Likewise.
	(create_dwo_unit_in_dwp_v1): Use std::string.
	(create_dwo_unit_in_dwp_v2): Likewise.
	(lookup_dwo_cutu): Likewise.
	(inherit_abstract_dies): Use std::vector.
	(read_array_type): Likewise.
	(dwarf_decode_macros): Remove unused declaration.
	(unsigned_int_compar): Remove.
	(dwarf2_build_psymtabs_hard): Use scoped_restore.
	(psymtabs_addrmap_cleanup): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove make_cleanup_value_free
@ 2017-10-09  5:51 sergiodj+buildbot
  2017-11-21 13:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 757325a3f24e01bf8e7b7214f33c546bc52d1d12 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 757325a3f24e01bf8e7b7214f33c546bc52d1d12

Remove make_cleanup_value_free

This removes make_cleanup_value_free, in favor of a unique_ptr
specialization.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* utils.h (make_cleanup_value_free): Remove.
	* utils.c (do_value_free, struct cleanup): Remove.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_STACK>:
	Use gdb_value_up.
	* value.h (struct value_deleter): New.
	(gdb_value_up): New typedef.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change search_symbols to return std::vector
@ 2017-10-09  5:31 sergiodj+buildbot
  2017-11-20 12:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9c04fb2681dd5706d2cafa5dcc6bdcd99016cf4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b9c04fb2681dd5706d2cafa5dcc6bdcd99016cf4

Change search_symbols to return std::vector

This changes search_symbols to return a std::vector, replacing the
previous linked list approach.  This allows the removal of some
cleanups, as well as the use of std::sort and std::unique, saving some
code and extra allocations in sort_search_symbols_remove_dups.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* symtab.c (free_search_symbols, do_free_search_symbols_cleanup)
	(make_cleanup_free_search_symbols): Remove.
	(search_symbols): Return std::vector.
	(symbol_search::compare_search_syms): Now member of
	symbol_search.  Change arguments.
	(sort_search_symbols_remove_dups): Change arguments.  Rewrite.
	(symtab_symbol_info, rbreak_command): Update.
	* symtab.h (struct symbol_search) <next>: Remove.
	Add constructors.
	(symbol_search::operator<): New function.
	(symbol_search::operator==): New function.
	(search_symbols): Remove std::vector.
	(free_search_symbols, make_cleanup_free_search_symbols): Remove.
	(symbol_search::compare_search_syms): Declare.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR22212, memory leak in nm
@ 2017-10-09  5:11 sergiodj+buildbot
  2017-11-19 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b55ec8b676ed05d93ee49d6c79ae0403616c4fb0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b55ec8b676ed05d93ee49d6c79ae0403616c4fb0

PR22212, memory leak in nm

	PR 22212
	* dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Free
	funcinfo_hash_table and varinfo_hash_table.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sh: Dump dynamic relocation info to the map file
@ 2017-10-09  1:20 sergiodj+buildbot
  2017-11-18 19:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  1:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a72f95f7760bf85693af393c5e01dd3aedbe5bde ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a72f95f7760bf85693af393c5e01dd3aedbe5bde

sh: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-sh.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(sh_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sparc: Remove a strayed comment
@ 2017-10-09  0:35 sergiodj+buildbot
  2017-11-17 21:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  0:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f9799aae8e51948c1d87fbe7249b3d76dcb4585d ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f9799aae8e51948c1d87fbe7249b3d76dcb4585d

sparc: Remove a strayed comment

	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Remove
	a strayed comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tilegx: Set this_hdr.sh_entsize only if section size > 0
@ 2017-10-08 21:53 sergiodj+buildbot
  2017-11-16 23:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-08 21:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b

tilegx: Set this_hdr.sh_entsize only if section size > 0

This fixes:

/export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new   -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf  -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o
sh: line 1:  9208 Segmentation fault      (core dumped) /export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o 2>&1
FAIL: Common symbol override test

	* elfxx-tilegx.c (tilegx_elf_finish_dynamic_sections): Set
	this_hdr.sh_entsize only if section size > 0.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Reformat elf_x86_allocate_dynrelocs
@ 2017-10-08 20:47 sergiodj+buildbot
  2017-11-16  4:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-08 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70090aa5f629dcbdfa88b20c29951fa8f50f0545 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 70090aa5f629dcbdfa88b20c29951fa8f50f0545

Reformat elf_x86_allocate_dynrelocs

	* elfxx-x86.c (elf_x86_allocate_dynrelocs): Reformat.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sparc: Dump dynamic relocation info to the map file
@ 2017-10-08  0:51 sergiodj+buildbot
  2017-11-14  6:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-08  0:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0f07ad1825e9b7f539e410562993b25f76e5627 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f0f07ad1825e9b7f539e410562993b25f76e5627

sparc: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elfxx-sparc.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(_bfd_sparc_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Use zero_undefweak in elf_x86_link_hash_entry
@ 2017-10-07  1:04 sergiodj+buildbot
  2017-11-12 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-07  1:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98b273dc13b1e45db8c66821efc9e514884f3c25 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 98b273dc13b1e45db8c66821efc9e514884f3c25

x86: Use zero_undefweak in elf_x86_link_hash_entry

Replace has_got_reloc and has_non_got_reloc in elf_x86_link_hash_entry
with zero_undefweak:

Bit 0: Symbol has no GOT nor PLT relocations.
Bit 1: Symbol has non-GOT/non-PLT relocations in text sections.

zero_undefweak is initialized to 1 and undefined weak symbol should be
resolved to 0 if zero_undefweak > 0.

	* elf32-i386.c (elf_i386_check_relocs): Replace has_got_reloc
	and has_non_got_reloc with zero_undefweak.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
	* elfxx-x86.c (_bfd_x86_elf_link_hash_newfunc): Initialize
	zero_undefweak to 1.
	(_bfd_x86_elf_copy_indirect_symbol): Replace has_got_reloc and
	has_non_got_reloc with zero_undefweak.
	* elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Replace
	has_got_reloc and has_non_got_reloc with zero_undefweak.
	(elf_x86_link_hash_entry): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments
@ 2017-10-07  0:08 sergiodj+buildbot
  2017-11-13  8:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-07  0:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99180bccaf09413c9ddb28e51fa30f1ca4966583 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 99180bccaf09413c9ddb28e51fa30f1ca4966583

x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments

	* elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Update
	comments.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
@ 2017-10-06 22:49 sergiodj+buildbot
  2017-11-11 15:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 22:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3b7c423883ad8d8b81f166ad2d2d4b637086bc0 ***

Author: Sandra Loosemore <sandra@codesourcery.com>
Branch: master
Commit: b3b7c423883ad8d8b81f166ad2d2d4b637086bc0

Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.

2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes.
@ 2017-10-06 21:43 sergiodj+buildbot
  2017-11-10 18:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 544c67cda1686c1b204cb96c0d7885b08d37b8d6 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 544c67cda1686c1b204cb96c0d7885b08d37b8d6

Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes.

Add a new ELF backend method to grok FreeBSD NT_PRSTATUS core dump
notes.  Define a method for MIPS N32 to override the default
elfcore_grok_freebsd_prstatus that accounts for additional padding
between pr_pid and pr_reg that is not present in other 32-bit FreeBSD
platforms.

	* elf-bfd.h (struct elf_backend_data): Add
	`elf_backend_grok_freebsd_prstatus'.
	* elf.c (elfcore_grok_freebsd_note): Call
	`elf_backend_grok_freebsd_prstatus' to handle NT_PRSTATUS if
	present.
	* elfn32-mips.c (elf_n32_mips_grok_freebsd_prstatus): New
	function.
	(elf_backend_grok_freebsd_prstatus): Define.
	* elfxx-target.h (elf_backend_grok_freebsd_prstatus): Define.
	(elfNN_bed): Initialize `elf_backend_grok_freebsd_prstatus'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c
@ 2017-10-06 13:56 sergiodj+buildbot
  2017-11-09 22:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d28b0a5caa6b04129e21a9aff371d4032c7ef17 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0d28b0a5caa6b04129e21a9aff371d4032c7ef17

Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c

This patch moves aarch64-insn.o to arch/aarch64-insn.o.  Then, all
arch/*.c are built to arch/*.o, so we don't need a Makefile rule to build
*.o from arch/*.c.  This patch removes it too.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_64_TARGET_OBS): Replace aarch64-insn.o with
	arch/aarch64-insn.o.
	Remove one rule.
	* configure.tgt: Replace aarch64-insn.o with arch/aarch64-insn.o.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move arm.o arm-get-next-pcs.o arm-linux.o to arch/
@ 2017-10-06 13:38 sergiodj+buildbot
  2017-11-09  2:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 71917808c3490b4d4df9c6e848e3c5d75f5278d2 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 71917808c3490b4d4df9c6e848e3c5d75f5278d2

Move arm.o arm-get-next-pcs.o arm-linux.o to arch/

It is tested by building GDB for some targets, arm-elf, arm-netbsd,
arm-linux, and aarch64-linux.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_TARGET_OBS): Replace arm.o, arm-get-next-pcs.o,
	and arm-linux.o with arch/arm.o, arch/arm-get-next-pcs.o and
	arch/arm-linux.o respectively.
	* configure.tgt: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move i386.o to arch/i386.o
@ 2017-10-06 13:11 sergiodj+buildbot
  2017-11-08  5:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2081b2b2ca30d7c3b6464a3e167ce2c336c0465f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2081b2b2ca30d7c3b6464a3e167ce2c336c0465f

Move i386.o to arch/i386.o

This patch changes the build that arch/i386.c is built to arch/i386.o,
instead of i386.o.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o.
	* configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add "do/while(0); " to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC
@ 2017-10-06 12:54 sergiodj+buildbot
  2017-11-07  7:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 12:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e0d8f43169368abf354e596c7725dee1dd609cb8 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: e0d8f43169368abf354e596c7725dee1dd609cb8

Add "do/while(0);" to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC

Add "do/while(0);" to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC to avoid
potential dangling else problems.

	* elfxx-x86.h (COPY_INPUT_RELOC_P): Add "do/while(0);".
	(VERIFY_COPY_RELOC): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix more GDB build breakage on mingw32
@ 2017-10-06 11:06 sergiodj+buildbot
  2017-11-06 11:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1b85d282f408dfd18a27539874846197f7e4044 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: a1b85d282f408dfd18a27539874846197f7e4044

Fix more GDB build breakage on mingw32

With F23's mingw gcc 5.3.0, I'm seeing:

 i686-w64-mingw32-g++ -x c++ -std=gnu++11 -g3 -O0   -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../../src/gdb/../zlib -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib/import -Ibuild-gnulib/import   -I/home/pedro/src/expat/install-win32//include   -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-format -Werror -c -o windows-nat.o -MT windows-nat.o -MMD -MP -MF ./.deps/windows-nat.o.Tpo ../../src/gdb/windows-nat.c
 ../../src/gdb/windows-nat.c: In function 'void windows_create_inferior(target_ops*, const char*, const string&, char**, int)':
 ../../src/gdb/windows-nat.c:2476:7: error: 'replace' is not a member of 'std'
	std::replace (expanded_infcwd.begin (), expanded_infcwd.end (),
	^

gdb/Changelog:
2017-10-06  Pedro Alves  <palves@redhat.com>

	* windows-nat.c: Include <algorithm>.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit
@ 2017-10-06 10:53 sergiodj+buildbot
  2017-11-05  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b79f7801a2c555ee4ff4bc3050141e83158f66d4 ***

Author: Yuanhui Zhang <asmwarrior@gmail.com>
Branch: master
Commit: b79f7801a2c555ee4ff4bc3050141e83158f66d4

Fix GDB build under msys+mingw gcc 32bit

I see a build error when building GDB under msys+mingw gcc 32bit:

 g++ -x c++ -std=gnu++11 -g -O2    -I. -I../../../binutils-gdb/gdb/gdbserver -I../../../binutils-gdb/gdb/gdbserver/../common -I../../../binutils-gdb/gdb/gdbserver/../regformats -I../../../binutils-gdb/gdb/gdbserver/.. -I../../../binutils-gdb/gdb/gdbserver/../../include -I../../../binutils-gdb/gdb/gdbserver/../gnulib/import -Ibuild-gnulib-gdbserver/import  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-format -Werror -DGDBSERVER -c -o win32-low.o -MT win32-low.o -MMD -MP -MF .deps/win32-low.Tpo ../../../binutils-gdb/gdb/gdbserver/win32-low.c
 ../../../binutils-gdb/gdb/gdbserver/win32-low.c: In function 'BOOL create_process(const char*, char*, DWORD, PROCESS_INFORMATION*)':
 ../../../binutils-gdb/gdb/gdbserver/win32-low.c:566:48: error: 'get_inferior_cwd' was not declared in this scope
    const char *inferior_cwd = get_inferior_cwd ();
						 ^
 make[4]: *** [win32-low.o] Error 1

It can be fixed by simply including the right header file.

gdb/gdbserver/ChangeLog:
2017-10-06  Yuanhui Zhang  <asmwarrior@gmail.com>

	* win32-low.c: Include "common-inferior.h".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Share code updating gdb_target_obs
@ 2017-10-06 10:23 sergiodj+buildbot
  2017-11-03  5:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d97987e219b80c670e37eb0e25e31b36fa295509 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d97987e219b80c670e37eb0e25e31b36fa295509

Share code updating gdb_target_obs

Nowadays, there are much duplications in configure.tgt to update
gdb_target_obs, some cpu specific object files are added to gdb_target_obs
to some different target triplets of the same cpu.  The same problem
exists for os specific object files too.  It is fragile to update them,
and build with all targets enabled doesn't find the problem.

This patch splits the gdb_target_obs update to three steps, cpu steps, os
steps, and the rest.

I tested this patch by build gdb for each different target triplets
respectively,

aarch64-elf aarch64-rtems aarch64-freebsd aarch64-linux alpha-elf
alpha-linux alpha-netbsd alpha-openbsd arm-elf arm-wince-pe arm-linux
arm-netbsd arm-symbianelf avr cris-elf frv-elf h8300-elf i386-elf
i386-darwin i386-dicos i386-freebsd i386-netbsdelf i386-openbsd
i386-nto i386-solaris i386-linux i386-gnu i386-cygwin i386-mingw32
i386-go32 ia64-linux-gnu ia64-vms lm32-elf m32c-elf m32r-elf m32r-linux
m68hc11-elf m68k-elf m68k-linux m68k-netbsd m68k-openbsd m88k-openbsd
mep-elf microblaze-xilinx-elf microblaze-linux-gnu mips-elf moxie-elf
ms1-elf nios2-elf nios2-linux-gnu hppa-elf hppa-linux hppa-netbsd
hppa-openbsd powerpc-eabi powerpc-freebsd powerpc-netbsd powerpc-openbsd
powerpc-linux powerpc-lynx178 rl78-elf rx-elf s390-linux-gnu score-elf
sh-elf sh-linux sh-openbsd sh64-elf sh64-linux sh64-openbsd sparc64-linux
sparc-linux sparc-freebsd sparc64-freebsd sparc-netbsd sparc64-netbsd
sparc-openbsd sparc64-openbsd spu-elf tic6x-elf tic6x-uclinux v850-elf
vax-netbsd vax-openbsd x86_64-linux-gnu x86_64-darwin x86_64-dicos
x86_64-elf x86_64-freebsd x86_64-mingw32 x86_64-netbsd x86_64-openbsd
x86_64-rtems xstormy16-elf xtensa-elf xtensa-linux

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* configure.tgt (i386_tobjs): New variable.
	(amd64_tobjs): New variable.
	Set $cpu_obs and $os_obs.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [RFC] Replicate src dir in build dir
@ 2017-10-06 10:17 sergiodj+buildbot
  2017-11-02  8:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f38307f593cb8189c82fb39e46e0cd899022e2fb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f38307f593cb8189c82fb39e46e0cd899022e2fb

[RFC] Replicate src dir in build dir

Nowadays, GDB build tree is almost flat, but source tree isn't.  We
have arch/ nat/ target/ common/ cli/ mi/ tui/ python/ guile/ directories.
We need to some rules in Makefile for source files in different source
directories, like,

 # Rules for compiling .c files in the various source subdirectories.
%.o: ${srcdir}/arch/%.c
	$(COMPILE) $<
	$(POSTCOMPILE)

%.o: ${srcdir}/nat/%.c
	$(COMPILE) $<
	$(POSTCOMPILE)

so we should take care of some special case that files' base name is the
same, like,

 # Specify an explicit rule for gdb/common/agent.c, to avoid a clash with the
 # object file generate by gdb/agent.c.
common-agent.o: $(srcdir)/common/agent.c
	$(COMPILE) $(srcdir)/common/agent.c
	$(POSTCOMPILE)

As we add more and more files in different directories, it becomes tricky
to name files, because we need take this into account.

This patch takes the first step toward "Replicate src dir in build dir",
that is, we create arch/ directory in buildtree, and put amd64.o there
as an example.  Dependency tracking is updated for files with directory
name.  Currently, when we build amd64.o,

  "-c -o amd64.o -MT amd64.o -MMD -MP -MF .deps/amd64.Tpo"

with this patch applied, it becomes,

  "-c -o arch/amd64.o -MT arch/amd64.o -MMD -MP -MF arch/.deps/amd64.o.Tpo"

"make clean" removes the object files, and "make distclean" removes .deps
additionally.  configure file create .deps directory in each of
CONFIG_SRC_SUBDIR, and pass it to Makefile.in, so that "make clean" and
"make distclean" can remove stuffs there.

If people agree with this change, I'll add more directories to
CONFIG_SRC_SUBDIR.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (CONFIG_SRC_SUBDIR): New.
	(ALL_64_TARGET_OBS): Replace amd64.o with arch/amd64.o.
	(clean): Remove object files and dependency files.
	(distclean): Remove the directory.
	* configure.ac: Invoke AC_CONFIG_COMMANDS.
	* configure: Re-generated.
	* configure.tgt: Replace amd64.o with arch/amd64.o.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix decoding of ARM neon memory hint insns.
@ 2017-10-06  9:53 sergiodj+buildbot
  2017-11-01 10:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  9:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f924de654ff8f719faf60b84948397809baaac6 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 2f924de654ff8f719faf60b84948397809baaac6

gdb: Fix decoding of ARM neon memory hint insns.

gdb/ChangeLog:

2017-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>

	PR build/22188
	* arm-tdep.c (arm_decode_misc_memhint_neon): Fix decoding of CPS
	and SETEND.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add VERIFY_COPY_RELOC
@ 2017-10-06  7:54 sergiodj+buildbot
  2017-10-31 14:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff38b4cc55dade4c9970cac2149a946d5dc0adc7 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: ff38b4cc55dade4c9970cac2149a946d5dc0adc7

x86: Add VERIFY_COPY_RELOC

Add VERIFY_COPY_RELOC to verify that symbol supports copy relocation.

	* elfxx-x86.h (VERIFY_COPY_RELOC): New.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add VERIFY_PLT_ENTRY
@ 2017-10-06  7:51 sergiodj+buildbot
  2017-10-30 17:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f3180fa9ee8917fa9547cd5f79c822761f5d87a0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f3180fa9ee8917fa9547cd5f79c822761f5d87a0

x86: Add VERIFY_PLT_ENTRY

Add VERIFY_PLT_ENTRY to verify that symbol has an entry in the procedure
linkage table.

	* elfxx-x86.h (VERIFY_PLT_ENTRY): New.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add COPY_INPUT_RELOC_P
@ 2017-10-06  7:49 sergiodj+buildbot
  2017-10-29 20:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e74399c47c76b8111651f41b52a05401852cf799 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: e74399c47c76b8111651f41b52a05401852cf799

x86: Add COPY_INPUT_RELOC_P

Add COPY_INPUT_RELOC_P which returns TRUE if input relocation should
be copied to output.

	* elfxx-x86.h (COPY_INPUT_RELOC_P): New.
	* elf32-i386.c (elf_i386_relocate_section): Use it.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:44 sergiodj+buildbot
  2017-10-29  0:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aebcc8ffd201adbee973b414818b01876dabe1a0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: aebcc8ffd201adbee973b414818b01876dabe1a0

x86: Add GENERATE_DYNAMIC_RELOCATION_P

Add GENERATE_DYNAMIC_RELOCATION_P which returns TRUE if dynamic
relocation should be generated.

	* elf32-i386.c (X86_SIZE_TYPE_P): New.
	(elf_i386_relocate_section): Use GENERATE_DYNAMIC_RELOCATION_P.
	* elf64-x86-64.c (X86_SIZE_TYPE_P): New.
	(elf_x86_64_relocate_section): Use GENERATE_DYNAMIC_RELOCATION_P.
	* elfxx-x86.h (GENERATE_DYNAMIC_RELOCATION_P): New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P
@ 2017-10-06  7:42 sergiodj+buildbot
  2017-10-28  3:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf1070f1a1ca1f8be1cd88aa6ece55a25e6a887b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: cf1070f1a1ca1f8be1cd88aa6ece55a25e6a887b

x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P

Add POINTER_LOCAL_IFUNC_P which returns TRUE for pointer reference to
local IFUNC symbol.  Add PLT_LOCAL_IFUNC_P which returns TRUE for PLT
reference to local IFUNC symbol.

	* elfxx-x86.h (POINTER_LOCAL_IFUNC_P): New.
	(PLT_LOCAL_IFUNC_P): Likewise.
	* elf32-i386.c (elf_i386_relocate_section): Use them.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P
@ 2017-10-06  7:36 sergiodj+buildbot
  2017-10-27  7:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f70656b2604eff12cea2e9bef27c1e00a3077f30 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f70656b2604eff12cea2e9bef27c1e00a3077f30

x86: Add GENERATE_RELATIVE_RELOC_P

Add GENERATE_RELATIVE_RELOC_P which returns TRUE if dynamic relative
relocation should be generated.

	* elfxx-x86.h (GENERATE_RELATIVE_RELOC_P): New.
	* elf32-i386.c (elf_i386_relocate_section): Use it.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add RESOLVED_LOCALLY_P
@ 2017-10-06  7:30 sergiodj+buildbot
  2017-10-26 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2eba97c207399d8b541092a7b0a4428dc02f5cf1 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 2eba97c207399d8b541092a7b0a4428dc02f5cf1

Add RESOLVED_LOCALLY_P


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:26 sergiodj+buildbot
  2017-10-25 14:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT daf1c414a48baf090f005ce4b319b6881d5d6872 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: daf1c414a48baf090f005ce4b319b6881d5d6872

x86: Add NEED_DYNAMIC_RELOCATION_P

Add NEED_DYNAMIC_RELOCATION_P which returns TRUE if dynamic relocation
is needed.

	* elf32-i386.c (X86_PCREL_TYPE_P): New.
	(elf_i386_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
	* elf64-x86-64.c (IS_X86_64_PCREL_TYPE): Renamed to ...
	(X86_PCREL_TYPE_P): This.
	(elf_x86_64_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
	Replace IS_X86_64_PCREL_TYPE with X86_PCREL_TYPE_P.
	(elf_x86_64_relocate_section): Replace IS_X86_64_PCREL_TYPE with
	X86_PCREL_TYPE_P.
	* elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add TLS_TRANSITION_IE_TO_LE_P
@ 2017-10-06  7:18 sergiodj+buildbot
  2017-10-24 18:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51537393bd939e79f6e9291629fb65a17e6f19da ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 51537393bd939e79f6e9291629fb65a17e6f19da

x86: Add TLS_TRANSITION_IE_TO_LE_P

Add TLS_TRANSITION_IE_TO_LE_P which returns TRUE if TLS IE->LE transition
is OK.

	* elfxx-x86.h (TLS_TRANSITION_IE_TO_LE_P): New.
	* elf32-i386.c (elf_i386_tls_transition): Use it.
	* elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] powerpc: Dump dynamic relocation info to the map file
@ 2017-10-06  1:11 sergiodj+buildbot
  2017-10-23 22:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  1:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0caf6c82ab23ece570d14499ed02653968cd8abd ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0caf6c82ab23ece570d14499ed02653968cd8abd

powerpc: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-ppc.c (readonly_dynrelocs): Add a link_info argument.
	Dump dynamic relocation in read-only section with minfo if
	needed.
	(ppc_elf_adjust_dynamic_symbol): Pass NULL to readonly_dynrelocs.
	(maybe_set_textrel): Likewise.
	(ppc_elf_size_dynamic_sections): Dump dynamic relocation in
	read-only section with minfo.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix fork-related regressions on GNU/Linux
@ 2017-10-05 17:35 sergiodj+buildbot
  2017-10-23  2:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2fd9d7ca17539ce983862b25e0abc27cfb706189 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2fd9d7ca17539ce983862b25e0abc27cfb706189

Fix fork-related regressions on GNU/Linux

Commit 5cd63fda035d ("Fix "Remote 'g' packet reply is too long"
problems with multiple inferiors") caused a number of regressions on
native GNU/Linux, all related to follow-fork support.  E.g.:

  src/gdb/target.c:3141: internal-error: gdbarch* default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n)
  Resyncing due to internal error.
  FAIL: gdb.base/catch-signal-fork.exp: got SIGHUP after fork (GDB internal error)

This commit fixes it.

gdb/ChangeLog:
2017-10-05  Pedro Alves  <palves@redhat.com>

	* linux-nat.c (linux_child_follow_fork): When following the parent
	and detaching the child, consult the parent thread's architecture
	instead of the child's.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Clean up some DFP interfaces
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-21  6:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b4b2f160d288b85a1379d24fd0f4de19062f3fd ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 3b4b2f160d288b85a1379d24fd0f4de19062f3fd

Clean up some DFP interfaces

This cleans up a number of interfaces in dfp.c / dfp.h.  Specifically:

- The decimal_from_string / decimal_to_string routines are C++-ified
  to operate on std::string instead of character buffers.  In the
  decimal_from_string, the boolean return value now actually is bool
  instead of an int.

- The decimal_from_integral and decimal_from_doublest routines take
  an struct value as input.  This is not really appropriate at the low
  level the DFP routines sit, so this replaced them with new routines
  decimal_from_longest / decimal_from_ulongest / decimal_from_doublest
  that operate on contents instead.

- To mirror the decimal_from_[u]longest, a new decimal_to_longest
  routine is added as well, which can be used in unpack_long to
  avoid an unnecessary conversion via DOUBLEST.

Note that the decimal_from_longest / decimal_from_ulongest routines
are actually more powerful than decimal_from_integral: the old routine
would only accept integer *types* of at most four bytes size, while
the new routines accept all integer *values* that fit in an [u]int32_t,
no matter which type they came from.  The DFP tests are updated to
allow for this larger range of integers that can be converted.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* dfp.h (MAX_DECIMAL_STRING): Move to dfp.c.
	(decimal_to_string): Return std::string object.
	(decimal_from_string): Accept std::string object.  Return bool.
	(decimal_from_integral, decimal_from_doublest): Remove.
	(decimal_from_longest): Add prototype.
	(decimal_from_ulongest): Likewise.
	(decimal_to_longest): Likewise.
	(decimal_from_doublest): Likewise.
	* dfp.c: Do not include "gdbtypes.h" or "value.h".
	(MAX_DECIMAL_STRING): Move here.
	(decimal_to_string): Return std::string object.
	(decimal_from_string): Accept std::string object.  Return bool.
	(decimal_from_integral): Remove, replace by ...
	(decimal_from_longest, decimal_from_ulongest): ... these new functions.
	(decimal_to_longest): New function.
	(decimal_from_floating): Remove, replace by ...
	(decimal_from_doublest): ... this new function.
	(decimal_to_doublest): Update to new decimal_to_string interface.

	* value.c (unpack_long): Use decimal_to_longest.
	* valops.c (value_cast): Use decimal_from_doublest instead of
	decimal_from_floating.  Use decimal_from_[u]longest isntead of
	decimal_from_integral.
	* valarith.c (value_args_as_decimal): Likewise.
	* valprint.c (print_decimal_floating): Update to new
	decimal_to_string interface.
	* printcmd.c (printf_decfloat): Likewise.
	* c-exp.y (parse_number): Update to new decimal_from_string interface.

gdb/testsuite/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* gdb.base/dfp-exprs.exp: Update tests to larger range of supported
	integer-to-dfp conversion.
	* gdb.base/dfp-test.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Clean up includes of doublest.h and floatformat.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-20  9:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1841ee5d0300cf00022c8aadfe16725c5e86fe1d ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 1841ee5d0300cf00022c8aadfe16725c5e86fe1d

Clean up includes of doublest.h and floatformat.h

As a first small step to getting rid of doublest.h, this patch removes the
include of "floatformat.h" in "doublest.h".  This is actually not needed
for the file itself.  A few source files now need to include "floatformat.h"
directly, since they got it indirectly via "doublest.h" and still need it.

In reviewing which files need it, I found a number of files that include
"floatformat.h" directly without actually needing it at all.  Similarly,
a number of files include "doublest.h" without needing it.  I've also
removed those unnecessary include statements.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* doublest.h: Do not include "floatformat.h".  Remove stale comments.
	* gdbtypes.c: Include "floatformat.h".
	* value.c: Likewise.
	* m68k-tdep.c: Likewise.

	* findvar.c: Do not include "floatformat.h".
	* amd64-darwin-tdep.c: Likewise.
	* arm-linux-tdep.c: Likewise.
	* i386-darwin-tdep.c: Likewise.
	* i387-tdep.c: Likewise.
	* m68k-linux-tdep.c: Likewise.
	* mep-tdep.c: Likewise.
	* mips-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* sparc-obsd-tdep.c: Likewise.
	* sparc-tdep.c: Likewise.
	* sparc64-tdep.c: Likewise.
	* spu-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* vax-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.

	* top.c: Do not include "doublest.h".
	* aarch64-tdep.c: Likewise.
	* alpha-tdep.c: Likewise.
	* arm-linux-tdep.c: Likewise.
	* m68k-linux-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unused "union agent_val" from ax.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-22  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d13b8493cbd2891b5886e6176d468eb63c73606a ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: d13b8493cbd2891b5886e6176d468eb63c73606a

Remove unused "union agent_val" from ax.h

The ax.h header file contains a use of DOUBLEST in the type "union agent_val".

However, that type is never used anywhere, so it can be simply removed.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* ax.h: Do not include "doublest.h".
	(union agent_val): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Handle the NT_ARM_VFP core dump note on FreeBSD.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-18 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d5be5d6b8b4412e65bc037472aa2e727c25ccf5 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 6d5be5d6b8b4412e65bc037472aa2e727c25ccf5

Handle the NT_ARM_VFP core dump note on FreeBSD.

bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-19 12:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a80a647180bf92692e0f01efe7b323afe7d317c9 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: a80a647180bf92692e0f01efe7b323afe7d317c9

Add a signal frame unwinder for FreeBSD/mipsn32.

The N32 signal frame uses an identical layout to N64, so reuse the N64
handler.  The N32 signal trampoline does use one different instruction
relative to N64, so a separate tramp_frame is required.

gdb/ChangeLog:

	* mips-fbsd-tdep.c (MIPS_INST_ADDIU_A0_SP_N32): Define.
	(mipsn32_fbsd_sigframe): Define.
	(mips_fbsd_init_abi): Install mipsn32_fbsd_sigframe unwinder
	for FreeBSD/mipsn32.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-17 15:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12c4bd7f53e9cefcf7c3a7f8cbf9e552526cb963 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 12c4bd7f53e9cefcf7c3a7f8cbf9e552526cb963

Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.

FreeBSD recently added two additional ELF auxiliary vectors.  FreeBSD's
AT_HWCAP uses a different number compared to AT_HWCAP on Linux as the
numerical value was already in use for a different vector on FreeBSD.

include/ChangeLog:

	* elf/common.h (AT_FREEBSD_EHDRFLAGS, AT_FREEBSD_HWCAP): Define.

gdb/ChangeLog:

	* fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_EHDRFLAGS and
	AT_HWCAP.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tile: Dump dynamic relocation info to the map file
@ 2017-10-05 13:02 sergiodj+buildbot
  2017-10-16 18:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 007873f54e41eaef2f7a89b8adbb63a563d98b65 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 007873f54e41eaef2f7a89b8adbb63a563d98b65

tile: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-tilepro.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(tilepro_elf_size_dynamic_sections): Likewise.
	* elfxx-tilegx.c (readonly_dynrelocs): Likewise.
	(tilegx_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update my email address.
@ 2017-10-05  4:45 sergiodj+buildbot
  2017-10-15 17:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  4:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c91933e9e33654c7b8973cb449b93f5152afcbcb ***

Author: Tristan Gingold <tgingold@free.fr>
Branch: master
Commit: c91933e9e33654c7b8973cb449b93f5152afcbcb

Update my email address.

Also refer to global maintainers for branch release approval.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd_set_input_error
@ 2017-10-05  1:42 sergiodj+buildbot
  2017-10-14 21:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  1:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ca7de3746be7484aa5affceafa1ad2e1d789381 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2ca7de3746be7484aa5affceafa1ad2e1d789381

bfd_set_input_error

A downside to the 2017-10-04 PR22245 fix is that bfd_set_error can now
silently accept invalid errors if/when someone passes the a value of
the wrong enumeration type, which previously would be caught by the
-Wenum-conversion warning.

	PR 22245
	* bfd.c (bfd_set_error): Revert 2017-10-04 change.  Remove
	ellipsis parameter.  Split out bfd_error_on_input code to..
	(bfd_set_input_error): .. New function.
	* archive.c (_bfd_write_archive_contents): Use bfd_set_input_error.
	* vms-lib.c (_bfd_vms_lib_write_archive_contents): Likewise.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd_error_on_input is for archives
@ 2017-10-05  1:09 sergiodj+buildbot
  2017-10-14  1:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  1:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c6716e57eb991ba6ceb07011045d626652aaf01 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8c6716e57eb991ba6ceb07011045d626652aaf01

bfd_error_on_input is for archives

	* elflink.c (elf_link_input_bfd): Correct ctor/dtor in init_array/
	fini_array error value.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR21167, relocation sections not included in groups
@ 2017-10-04 23:08 sergiodj+buildbot
  2017-10-12 21:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 23:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db4677b8bd90b49f826807352c6c3c7eb0d57814 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: db4677b8bd90b49f826807352c6c3c7eb0d57814

PR21167, relocation sections not included in groups

This fixes a wart I've known about for years, but haven't done
anything about because BFD treats relocation sections as an adjunct to
the section they relocate.  SHF_GROUP on the section thus implicitly
applies to its relocation section(s), but it is an error that the
reloc sections aren't part of the group.

Like many patches to gas, this wasn't as straightforward as it could
be due to a number of backends, i386, cr16 and others, removing relocs
in tc_get_reloc rather than marking them as "done" earlier in
md_apply_reloc.  So it isn't possible for the group support to
reliably detect the presence of relocs by looking at fixups earlier
than write_relocs.  However the group support needs to create
signature symbols, and that must be done before the symbol table is
frozen, before write_relocs.  So split off the group sizing from
elf_adjust_symtab and put it in elf_frob_file_after_relocs.

bfd/
	PR 21167
	* elf.c (_bfd_elf_setup_sections): Don't trim reloc sections from
	groups.
	(_bfd_elf_init_reloc_shdr): Pass sec_hdr, use it to copy SHF_GROUP
	flag from section.
	(elf_fake_sections): Adjust calls.  Exit immediately on failure.
	(bfd_elf_set_group_contents): Add associated reloc section indices
	to group contents
gas/
	PR 21167
	* config/obj-elf.c (struct group_list): Delete elt_count.
	(groups): New static.
	(build_group_lists): Don't count elements.
	(elf_adjust_symtab): Use groups rather than auto list.  Set up
	pointer from group member to SHT_GROUP section.  Don't size
	SHT_GROUP section or clean up here..
	(elf_frob_file_after_relocs): ..do so here instead.
	* testsuite/gas/arc/jli-1.d,
	* testsuite/gas/elf/groupautob.d,
	* testsuite/gas/mips/compact-eh-eb-2.d,
	* testsuite/gas/mips/compact-eh-eb-5.d,
	* testsuite/gas/mips/compact-eh-el-2.d,
	* testsuite/gas/mips/compact-eh-el-5.d: Adjust.
ld/
	PR 21167
	* testsuite/ld-elf/group9b.d: Adjust for relocs included in group.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Reimplement support for "maint print registers" with no running inferior yet
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-09 20:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed4227b7c6d62767c9c323dd95d8ead75be51a6c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ed4227b7c6d62767c9c323dd95d8ead75be51a6c

Reimplement support for "maint print registers" with no running inferior yet

A following patch will change the default target_thread_architecture
method, like this:

   struct gdbarch *
   default_thread_architecture (struct target_ops *ops, ptid_t ptid)
   {
  -  return target_gdbarch ();
  +  inferior *inf = find_inferior_ptid (ptid);
  +  gdb_assert (inf != NULL);
  +  return inf->gdbarch;
   }

This is because target_gdbarch is really just
current_inferior()->gdbarch, and it's wrong to return that
architecture when the inferior of the passed in PTID is NOT the
current inferior -- the inferior for PTID may be running a different
architecture.  E.g., a mix of 64-bit and 32-bit inferiors in the same
debug session.

Doing that change above however exposes a problem in "maint print
registers", caught be the testsuite:

 -PASS: gdb.base/maint.exp: maint print registers
 +FAIL: gdb.base/maint.exp: maint print registers (GDB internal error)
...
  gdb/inferior.c:309: internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
  A problem internal to GDB has been detected,

The call stack looks like this:

  #0  0x000000000068b707 in internal_error(char const*, int, char const*, ...) (file=0xa9b958 "gdb/inferior.c", line=309, fmt=0xa9b8e0 "%s: Assertion `%s' failed.") at gdb/common/errors.c:54
  #1  0x00000000006e1c40 in find_inferior_pid(int) (pid=0) at gdb/inferior.c:309
  #2  0x00000000006e1c8d in find_inferior_ptid(ptid_t) (ptid=...) at gdb/inferior.c:323
  #3  0x00000000007c18dc in default_thread_architecture(target_ops*, ptid_t) (ops=0xf86d60 <dummy_target>, ptid=...)
      at gdb/target.c:3134
  #4  0x00000000007b5414 in delegate_thread_architecture(target_ops*, ptid_t) (self=0xf86d60 <dummy_target>, arg1=...)
      at gdb/target-delegates.c:2527
  #5  0x00000000007647b3 in get_thread_regcache(ptid_t) (ptid=...) at gdb/regcache.c:466
  #6  0x00000000007647ff in get_current_regcache() () at gdb/regcache.c:475
  #7  0x0000000000767495 in regcache_print(char const*, regcache_dump_what) (args=0x0, what_to_dump=regcache_dump_none)
      at gdb/regcache.c:1599
  #8  0x0000000000767550 in maintenance_print_registers(char const*, int) (args=0x0, from_tty=1)
      at gdb/regcache.c:1613

I.e., the test does "maint print registers" while the inferior is not
running yet.  This is expected to work, and there's already a hack in
get_thread_arch_regcache to make it work.

Instead of pilling on hacks in the internal of regcache and
target_ops, this commit moves the null_ptid special casing to where it
belongs -- higher up in the call chain in the implementation of "maint
print registers" & co directly.

gdb/ChangeLog:
2017-10-04  Pedro Alves  <palves@redhat.com>

	* regcache.c (get_thread_arch_regcache): Remove null_ptid special
	case.
	(regcache_print): Handle !target_has_registers here instead.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix "Remote 'g' packet reply is too long" problems with multiple inferiors
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-11 21:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cd63fda035d4ba949e6478406162c4673b3c9ef ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5cd63fda035d4ba949e6478406162c4673b3c9ef

Fix "Remote 'g' packet reply is too long" problems with multiple inferiors

When debugging two inferiors (or more) against gdbserver, and the
inferiors have different architectures, such as e.g., on x86_64
GNU/Linux and one inferior is 64-bit while the other is 32-bit, then
GDB can get confused with the different architectures in a couple
spots.

In both cases I ran into, GDB incorrectly ended up using the
architecture of whatever happens to be the selected inferior instead
of the architecture of some other given inferior:

#1 - When parsing the expedited registers in stop replies.

#2 - In the default implementation of the target_thread_architecture
     target method.

These resulted in instances of the infamous "Remote 'g' packet reply
is too long" error.  For example, with the test added in this commit,
we get:

~~~
  Continuing.
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): ad064000000000000[snip]
  (gdb) FAIL: gdb.multi/multi-arch.exp: inf1 event with inf2 selected: continue to hello_loop

  c
  Continuing.
  Truncated register 50 in remote 'g' packet
  (gdb) PASS: gdb.multi/multi-arch.exp: inf2 event with inf1 selected: c
~~~

This commit fixes that.

gdb/ChangeLog:
2017-10-04  Pedro Alves  <palves@redhat.com>

	* remote.c (get_remote_arch_state): New 'gdbarch' parameter.  Use
	it instead of target_gdbarch.
	(get_remote_state, get_remote_packet_size): Adjust
	get_remote_arch_state calls, passing down target_gdbarch
	explicitly.
	(packet_reg_from_regnum, packet_reg_from_pnum): New parameter
	'gdbarch' and use it instead of target_gdbarch.
	(get_memory_packet_size): Adjust get_remote_arch_state calls,
	passing down target_gdbarch explicitly.
	(struct stop_reply) <arch>: New field.
	(remote_parse_stop_reply): Use the stopped thread's architecture,
	not the current inferior's.  Save the architecture in the
	stop_reply.
	(process_stop_reply): Use the stop reply's architecture.
	(process_g_packet, remote_fetch_registers)
	(remote_prepare_to_store, store_registers_using_G)
	(remote_store_registers): Adjust get_remote_arch_state calls,
	using the regcache's architecture.
	(remote_get_trace_status): Adjust get_remote_arch_state calls,
	passing down target_gdbarch explicitly.
	* spu-multiarch.c (spu_thread_architecture): Defer to the target
	beneath instead of calling target_gdbarch.
	* target.c (default_thread_architecture): Use the specified
	inferior's architecture, instead of the current inferior's
	architecture (via target_gdbarch).

gdb/testsuite/ChangeLog:
2017-10-04  Pedro Alves  <palves@redhat.com>

	* gdb.multi/hangout.c: Include <unistd.h>.
	(hangout_loop): New function.
	(main): Call alarm.  Call hangout_loop in a loop.
	* gdb.multi/hello.c: Include <unistd.h>.
	(hello_loop): New function.
	(main): Call alarm.  Call hangout_loop in a loop.
	* gdb.multi/multi-arch.exp: Test running to a breakpoint one
	inferior with the other selected.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Redesign mock environment for gdbarch selftests
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-05 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55b11ddf16b97b9c50ed480bc9da8b3e1c6c4198 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 55b11ddf16b97b9c50ed480bc9da8b3e1c6c4198

Redesign mock environment for gdbarch selftests

A following patch will remove this hack from within regcache's
implementation:

  struct regcache *
  get_thread_arch_regcache (ptid_t ptid, struct gdbarch *gdbarch)
  {
    struct address_space *aspace;

    /* For the benefit of "maint print registers" & co when debugging an
       executable, allow dumping the regcache even when there is no
       thread selected (target_thread_address_space internal-errors if
       no address space is found).  Note that normal user commands will
       fail higher up on the call stack due to no
       target_has_registers.  */
    aspace = (ptid_equal (null_ptid, ptid)
	      ? NULL
	      : target_thread_address_space (ptid));

i.e., it'll no longer be possible to try to build a regcache for
null_ptid.  That change alone would regress the gdbarch self tests
though, causing this:

  (gdb) maintenance selftest
  [...]
  Running selftest register_to_value.
  src/gdb/inferior.c:309: internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n) FAIL: gdb.gdb/unittest.exp: maintenance selftest (GDB internal error)

The problem is that the way the mocking environment for those unit
tests is written is a bit fragile: it creates a special purpose
regcache (and sentinel's frame), using whatever is the current
inferior_ptid (usually null_ptid), and assumes get_current_regcache
will find that in the regcache::current_regcache list.

This commit changes the way the mock environment is created.  It
eliminates the special regcache and frame and instead creates a fuller
mock environment, with a custom mock target_ops, and then a mock
inferior and thread "running" on that target.

If there's already a running target when you type "maint selftest",
then we error out, instead of pushing a new target on top of the
existing one (and thus killing the debug session).  This results in:

  (gdb) maint selftest
  (...)
  Self test failed: arch i386: target already pushed
  Self test failed: arch i386:x86-64: target already pushed
  Self test failed: arch i386:x64-32: target already pushed
  Self test failed: arch i8086: target already pushed
  Self test failed: arch i386:intel: target already pushed
  Self test failed: arch i386:x86-64:intel: target already pushed
  Self test failed: arch i386:x64-32:intel: target already pushed
  Self test failed: arch i386:nacl: target already pushed
  Self test failed: arch i386:x86-64:nacl: target already pushed
  Self test failed: arch i386:x64-32:nacl: target already pushed
  Self test failed: self-test failed at /home/pedro/gdb/mygit/src/gdb/selftest-arch.c:86
  (...)
  Ran 19 unit tests, 1 failed

I think that's OK, because self tests are really meant to be run from
a clean state right after GDB is started.  I'm adding that erroring
out just as safe measure just in case someone types "maint selftest"
on the command line while already debugging something (as I've done
it).

(In my multi-target branch, where this patch originated from, we don't
actually need to error out, because there each inferior has its own
target stack).

Also, note that the current code was doing:

 current_inferior()->gdbarch = gdbarch;

without taking care to restore the previous gdbarch.  This means that
GDB's state was being left inconsistent after running the self tests,
further supporting the point that there's probably not much
expectation that mixing "maint selftests" and regular debugging in the
same GDB invocation really works.  This patch fixes that, regardless.

gdb/ChangeLog:
2017-10-04  Pedro Alves  <palves@redhat.com>

	* frame.c (create_test_frame): Delete.
	* frame.h (create_test_frame): Delete.
	* gdbarch-selftests.c: Include gdbthread.h and target.h.
	(class regcache_test): Delete.
	(test_target_has_registers, test_target_has_stack)
	(test_target_has_memory, test_target_prepare_to_store)
	(test_target_store_registers): New functions.
	(test_target_ops): New class.
	(register_to_value_test): Error out if there's already a
	process_stratum (or higher) target pushed.  Create a fuller mock
	environment, with mock target_ops, inferior, address space, thread
	and inferior_ptid.
	* progspace.c (struct address_space): Move to ...
	* progspace.h (struct address_space): ... here.
	* regcache.h (regcache::~regcache, regcache::raw_write)
	[GDB_SELF_TEST]: No longer virtual.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/22046: Fix T-stopped detach regression on old Linux kernels
@ 2017-09-01  5:02 sergiodj+buildbot
  2017-10-04  4:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-09-01  5:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c811d30d12b6f7c6c6f4ce6d03408d987154548 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 5c811d30d12b6f7c6c6f4ce6d03408d987154548

PR gdb/22046: Fix T-stopped detach regression on old Linux kernels

On <=RHEL6 hosts Fedora/RHEL GDB started to 'kill -STOP' all processes it
detached.  Even those not originally T-stopped.  This is a Fedora-specific
patch which is based on upstream GDB's PROC_STATE_STOPPED state.

I believe (I did not verify) this patch did regress it:
commit d617208bb06bd461b52ce041d89f7127e3044762
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jul 25 12:42:17 2016 +0100
    linux-procfs: Introduce enum proc_state

As originally there was strstr() but now there is strcmp() and so the missing
trailing '\n' no longer matches.

The Bug was found by Michal Kolar.

Reproducibility:
$ gdb -p $PID
(gdb) quit
$ ...

Actual results:
===
RHEL6.9 x86_64 # scl enable devtoolset-7 bash
RHEL6.9 x86_64 # which gdb
/opt/rh/devtoolset-7/root/usr/bin/gdb
RHEL6.9 x86_64 # ./testcase.sh
24737 pts/0    S+     0:00 /bin/sleep 4
24737 pts/0    T+     0:00 /bin/sleep 4
RHEL6.9 x86_64 #
===

Expected results:
===
RHEL6.9 x86_64 # which gdb
/usr/bin/gdb
RHEL6.9 x86_64 # ./testcase.sh
24708 pts/0    S+     0:00 /bin/sleep 4
24708 pts/0    S+     0:00 /bin/sleep 4
./testcase.sh: line 20: kill: (24708) - No such process
RHEL6.9 x86_64 #
===

gdb/ChangeLog
2017-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/22046
	* nat/linux-procfs.c (parse_proc_status_state): Fix PROC_STATE_STOPPED
	detection.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement the ability to set/unset environment variables to GDBserver when starting the inferior
@ 2017-08-31 22:00 sergiodj+buildbot
  2017-10-03  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31 22:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a2dde4a321d2f7bd2ded9a558b9ae92892de0e2 ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 0a2dde4a321d2f7bd2ded9a558b9ae92892de0e2

Implement the ability to set/unset environment variables to GDBserver when starting the inferior

This patch implements the ability to set/unset environment variables
on the remote target, mimicking what GDB already offers to the user.
There are two features present here: user-set and user-unset
environment variables.

User-set environment variables are only the variables that are
explicitly set by the user, using the 'set environment' command.  This
means that variables that were already present in the environment when
starting GDB/GDBserver are not transmitted/considered by this feature.

User-unset environment variables are variables that are explicitly
unset by the user, using the 'unset environment' command.

The idea behind this patch is to store user-set and user-unset
environment variables in two separate sets, both part of gdb_environ.
Then, when extended_remote_create_inferior is preparing to start the
inferior, it will iterate over the two sets and set/unset variables
accordingly.  Three new packets are introduced:

- QEnvironmentHexEncoded, which is used to set environment variables,
  and contains an hex-encoded string in the format "VAR=VALUE" (VALUE
  can be empty if the user set a variable with a null value, by doing
  'set environment VAR=').

- QEnvironmentUnset, which is used to unset environment variables, and
  contains an hex-encoded string in the format "VAR".

- QEnvironmentReset, which is always the first packet to be
  transmitted, and is used to reset the environment, i.e., discard any
  changes made by the user on previous runs.

The QEnvironmentHexEncoded packet is inspired on LLDB's extensions to
the RSP.  Details about it can be seen here:

  <https://raw.githubusercontent.com/llvm-mirror/lldb/master/docs/lldb-gdb-remote.txt>

I decided not to implement the QEnvironment packet because it is
considered deprecated by LLDB.  This packet, on LLDB, serves the same
purpose of QEnvironmentHexEncoded, but sends the information using a
plain text, non-hex-encoded string.

The other two packets are new.

This patch also includes updates to the documentation, testsuite, and
unit tests, without introducing regressions.

gdb/ChangeLog:
2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>

	* NEWS (Changes since GDB 8.0): Add entry mentioning new support
	for setting/unsetting environment variables on the remote target.
	(New remote packets): Add entries for QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset.
	* common/environ.c (gdb_environ::operator=): Extend method to
	handle m_user_set_env_list and m_user_unset_env_list.
	(gdb_environ::clear): Likewise.
	(match_var_in_string): Change type of first parameter from 'char
	*' to 'const char *'.
	(gdb_environ::set): Extend method to handle
	m_user_set_env_list and m_user_unset_env_list.
	(gdb_environ::unset): Likewise.
	(gdb_environ::clear_user_set_env): New method.
	(gdb_environ::user_set_envp): Likewise.
	(gdb_environ::user_unset_envp): Likewise.
	* common/environ.h (gdb_environ): Handle m_user_set_env_list and
	m_user_unset_env_list on move constructor/assignment.
	(unset): Add new default parameter 'update_unset_list = true'.
	(clear_user_set_env): New method.
	(user_set_envp): Likewise.
	(user_unset_envp): Likewise.
	(m_user_set_env_list): New std::set.
	(m_user_unset_env_list): Likewise.
	* common/rsp-low.c (hex2str): New function.
	(bin2hex): New overload for bin2hex function.
	* common/rsp-low.c (hex2str): New prototype.
	(str2hex): New overload prototype.
	* remote.c: Include "environ.h". Add QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset.
	(remote_protocol_features): Add QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset packets.
	(send_environment_packet): New function.
	(extended_remote_environment_support): Likewise.
	(extended_remote_create_inferior): Call
	extended_remote_environment_support.
	(_initialize_remote): Add QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset packet configs.
	* unittests/environ-selftests.c (gdb_selftest_env_var):
	New variable.
	(test_vector_initialization): New function.
	(test_init_from_host_environ): Likewise.
	(test_reinit_from_host_environ): Likewise.
	(test_set_A_unset_B_unset_A_cannot_find_A_can_find_B):
	Likewise.
	(test_unset_set_empty_vector): Likewise.
	(test_vector_clear): Likewise.
	(test_std_move): Likewise.
	(test_move_constructor):
	(test_self_move): Likewise.
	(test_set_unset_reset): Likewise.
	(run_tests): Rewrite in terms of the functions above.

gdb/gdbserver/ChangeLog:
2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>

	* server.c (handle_general_set): Handle QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset packets.
	(handle_query): Inform remote that QEnvironmentHexEncoded,
	QEnvironmentUnset and QEnvironmentReset are supported.

gdb/doc/ChangeLog:
2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>

	* gdb.texinfo (set environment): Add @anchor.  Explain that
	environment variables set by the user are sent to GDBserver.
	(unset environment): Likewise, but for unsetting variables.
	(Connecting) <Remote Packet>: Add "environment-hex-encoded",
	"QEnvironmentHexEncoded", "environment-unset", "QEnvironmentUnset",
	"environment-reset" and "QEnvironmentReset" to the table.
	(Remote Protocol) <QEnvironmentHexEncoded, QEnvironmentUnset,
	QEnvironmentReset>: New item, explaining the packet.

gdb/testsuite/ChangeLog:
2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>

	* gdb.base/share-env-with-gdbserver.c: New file.
	* gdb.base/share-env-with-gdbserver.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix buffer read overrun by ensuring that DWARF sections containing strings always end in a NUL byte.
@ 2017-08-31 16:43 sergiodj+buildbot
  2017-10-02 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31 16:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4f2723003859dc6b33ca0dadbc4a7659ebf1643 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e4f2723003859dc6b33ca0dadbc4a7659ebf1643

Fix buffer read overrun by ensuring that DWARF sections containing strings always end in a NUL byte.

	PR 22047
	* dwarf2.c (read_section): If necessary add a terminating NUL byte
	to dwarf string sections.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add updated French translations for opcodes and gprof
@ 2017-08-31 14:24 sergiodj+buildbot
  2017-10-02  2:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31 14:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b55f3386e45d8ba4af1a70f0684bc0089060d600 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: b55f3386e45d8ba4af1a70f0684bc0089060d600

Add updated French translations for opcodes and gprof


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR22048, Incorrect .eh_frame section in libc.so
@ 2017-08-31  4:27 sergiodj+buildbot
  2017-09-28  8:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31  4:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af471f828cc74d65b50a7531ba2c69522266cfe9 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: af471f828cc74d65b50a7531ba2c69522266cfe9

PR22048, Incorrect .eh_frame section in libc.so

	PR 21441
	PR 22048
	* elflink.c (bfd_elf_discard_info): Don't pad embedded zero
	terminators.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add elf64.lo together with elfxx-x86.lo for 64-bit BFD
@ 2017-08-31  4:05 sergiodj+buildbot
  2017-09-27 14:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31  4:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3321e42bf2b5819b76ca36e8964fe7cf9a8ae9a2 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 3321e42bf2b5819b76ca36e8964fe7cf9a8ae9a2

Add elf64.lo together with elfxx-x86.lo for 64-bit BFD

Since elfxx-x86.lo needs elf64.lo with 64-bit BFD, add elf64.lo together
with elfxx-x86.lo to bfd_backends for 64-bit BFD.

	* configure.ac (bfd_backends): Add elf64.lo together with
	elfxx-x86.lo for 64-bit BFD.
	* configure: Regenerated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] FT32: improve disassembly readability
@ 2017-08-31  3:38 sergiodj+buildbot
  2017-09-26 13:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31  3:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59e8523bf8f92db8371d3a10bd7e4d7fe03d417d ***

Author: James Bowman <jamesb@excamera.com>
Branch: master
Commit: 59e8523bf8f92db8371d3a10bd7e4d7fe03d417d

FT32: improve disassembly readability

For opcode fields that are not addresses, display as
integers instead of using print_address_func.

opcodes/ChangeLog:

2017-08-31  James Bowman  <james.bowman@ftdichip.com>

	* ft32-dis.c (print_insn_ft32): Correct display of non-address
	fields.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] FT32: Permit R_FT32_18 overflow
@ 2017-08-31  3:19 sergiodj+buildbot
  2017-09-25 14:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31  3:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef32532f22be7e98c25480449fbc7a80d1030e1e ***

Author: James Bowman <jamesb@excamera.com>
Branch: master
Commit: ef32532f22be7e98c25480449fbc7a80d1030e1e

FT32: Permit R_FT32_18 overflow

The howto for R_FT32_18 was using complain_overflow_signed. But some
valid address calculations exceed the range of this reloc.  Changing it
to complain_overflow_dont allows them.

bfd/ChangeLog:

	* elf32-ft32.c (ft32_elf_howto_table): Use
	complain_overflow_dont for R_FT32_18.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd_close_all_done calling _close_and_cleanup
@ 2017-08-31  1:26 sergiodj+buildbot
  2017-09-25  6:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-31  1:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e234de6be5cc96286e0efb90e8d9fce51239e901 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e234de6be5cc96286e0efb90e8d9fce51239e901

bfd_close_all_done calling _close_and_cleanup

elf64_vms_close_and_cleanup calls bfd_get_size, which calls
iovec->bstat.  cache_bstat ends up adding the bfd to the cache lru
list, negating the bfd_cache_close call in bfd_close_all_done.  So
there is a dangling pointer into the freed and then reused bfd.  Thus,
bfd_cache_close must be called after _close_and_cleanup, or better,
via iovec->bclose.

	PR binutils/22032
	* opncls.c (bfd_close_all_done): Don't call bfd_cache_close
	before _close_and_cleanup.  Call iovec->bclose after.
	(bfd_close): Remove code common to, and call, bfd_close_all_done.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
[parent not found: <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>]
* [binutils-gdb] x86: Add _bfd_x86_elf_get_synthetic_symtab
@ 2017-08-30 19:49 sergiodj+buildbot
  2017-09-23 21:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f493882dab762fb49ecb8685c18a85edfab5e6d3 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f493882dab762fb49ecb8685c18a85edfab5e6d3

x86: Add _bfd_x86_elf_get_synthetic_symtab

Move the common codes in elf_i386_get_synthetic_symtab and
elf_x86_64_get_synthetic_symtab to _bfd_x86_elf_get_synthetic_symtab.

	* elf32-i386.c (elf_i386_plt_type): Removed.
	(elf_i386_plt): Likewise.
	(elf_i386_get_synthetic_symtab): Updated.   Call
	_bfd_x86_elf_get_synthetic_symtab.
	* elf64-x86-64.c (elf_x86_64_plt_type): Removed.
	(elf_x86_64_plt): Likewise.
	(elf_x86_64_get_synthetic_symtab): Updated.  Call
	_bfd_x86_elf_get_synthetic_symtab.
	* elfxx-x86.c (elf_i386_get_plt_got_vma): New function.
	(elf_x86_64_get_plt_got_vma): Likewise.
	(elf_i386_valid_plt_reloc_p): Likewise.
	(elf_x86_64_valid_plt_reloc_p): Likewise.
	(_bfd_x86_elf_get_synthetic_symtab): Likewise.
	* elfxx-x86.h (elf_x86_plt_type): New.
	(elf_x86_plt): Likewise.
	(_bfd_x86_elf_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Check target_id instead of elf_machine_code
@ 2017-08-30 18:41 sergiodj+buildbot
  2017-09-23  8:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 18:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b86dbf4549af98c4428da4764182e03f22c58ab ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5b86dbf4549af98c4428da4764182e03f22c58ab

x86: Check target_id instead of elf_machine_code

Since both elf32-i386.c and elf64-x86-64.c support targets with
different ELF_MACHINE_CODEs, _bfd_x86_elf_link_hash_table_create
should check target_id instead of elf_machine_code.

	* elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Check
	target_id instead of elf_machine_code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create
@ 2017-08-30 16:30 sergiodj+buildbot
  2017-09-22  9:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 765e526c75506a7d9644bc7c137ac1923fdb1369 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 765e526c75506a7d9644bc7c137ac1923fdb1369

x86: Add _bfd_x86_elf_link_hash_table_create

Share _bfd_x86_elf_link_hash_table_create in elf32-i386.c and
elf64-x86-64.c by:

1. Replace elf_i386_lazy_plt_layout, elf_i386_non_lazy_plt_layout,
elf_i386_plt_layout, elf_x86_64_lazy_plt_layout,
elf_x86_64_non_lazy_plt_layout and elf_x86_64_plt_layout with
elf_x86_lazy_plt_layout, elf_x86_non_lazy_plt_layout and
elf_x86_plt_layout.
2. Move plt, lazy_plt, non_lazy_plt, srelplt2 and next_tls_desc_index
from elf_i386_link_hash_table to elf_x86_link_hash_table.
3. Remove elf_i386_link_hash_table and elf_x86_64_link_hash_table.

	* elf32-i386.c (ELF_DYNAMIC_INTERPRETER): Removed.
	(elf_i386_lazy_plt_layout): Likewise.
	(elf_i386_non_lazy_plt_layout): Likewise.
	(elf_i386_plt_layout): Likewise.
	(elf_i386_link_hash_table): Likewise.
	(elf_i386_next_tls_desc_index): Likewise.
	(elf_i386_srelplt2): Likewise.
	(elf_i386_plt): Likewise.
	(elf_i386_lazy_plt): Likewise.
	(elf_i386_non_lazy_plt): Likewise.
	(elf_i386_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_i386_lazy_plt): Updated.
	(elf_i386_non_lazy_plt): Likewise.
	(elf_i386_lazy_ibt_plt): Likewise.
	(elf_i386_non_lazy_ibt_plt): Likewise.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_size_dynamic_sections): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol): Likewise.
	(elf_i386_finish_dynamic_sections): Likewise.
	(elf_i386_get_synthetic_symtab): Likewise.
	(elf_i386_link_setup_gnu_properties): Likewise.
	(elf_i386_nacl_plt): Likewise.
	* elf64-x86-64.c (ABI_64_P): Removed.
	(ELF64_DYNAMIC_INTERPRETER): Likewise.
	(ELF32_DYNAMIC_INTERPRETER): Likewise.
	(elf_x86_64_lazy_plt_layout): Likewise.
	(elf_x86_64_non_lazy_plt_layout): Likewise.
	(elf_x86_64_plt_layout): Likewise.
	(elf_x86_64_link_hash_table): Likewise.
	(elf_x86_64_plt): Likewise.
	(elf_x86_64_lazy_plt): Likewise.
	(elf_x86_64_non_lazy_plt): Likewise.
	(elf_x86_64_link_hash_table_create): Likewise.
	(bfd_elf64_bfd_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_x86_64_lazy_plt): Updated.
	(elf_x86_64_non_lazy_plt): Likewise.
	(elf_x86_64_lazy_bnd_plt): Likewise.
	(elf_x86_64_non_lazy_bnd_plt): Likewise.
	(elf_x86_64_lazy_ibt_plt): Likewise.
	(elf_x32_lazy_ibt_plt): Likewise.
	(elf_x86_64_non_lazy_ibt_plt): Likewise.
	(elf_x32_non_lazy_ibt_plt): Likewise.
	(elf_x86_64_allocate_dynrelocs): Likewise.
	(elf_x86_64_size_dynamic_sections): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_finish_dynamic_symbol): Likewise.
	(elf_x86_64_finish_dynamic_sections): Likewise.
	(elf_x86_64_get_synthetic_symtab): Likewise.
	(elf_x86_64_link_setup_gnu_properties): Likewise.
	(elf_x86_64_nacl_plt): Likewise.
	* elfxx-x86.c: Include "objalloc.h", "elf/i386.h" and
	"elf/x86-64.h".
	(ELF32_DYNAMIC_INTERPRETER): New.
	(ELF64_DYNAMIC_INTERPRETER): Likewise.
	(ELFX32_DYNAMIC_INTERPRETER): Likewise.
	(_bfd_x86_elf_link_hash_table_create): Likewise.
	(_bfd_x86_elf_link_hash_table_free): Renamed to ...
	(elf_x86_link_hash_table_free): This.  Make it static.
	* elfxx-x86.h: Don't include "objalloc.h".
	(ABI_64_P): New.
	(elf_x86_lazy_plt_layout): Likewise.
	(elf_x86_non_lazy_plt_layout): Likewise.
	(elf_x86_plt_layout): Likewise.
	(_bfd_x86_elf_link_hash_table_create): Likewise.
	(bfd_elf64_bfd_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_x86_link_hash_table): Add plt, lazy_plt, non_lazy_plt,
	srelplt2 and next_tls_desc_index.
	(_bfd_x86_elf_link_hash_table_free): Removed.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation
@ 2017-08-30 15:38 sergiodj+buildbot
  2017-09-21  9:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 15:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70e65ca8e5d1fc984d58f6137c290e807fe772a5 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 70e65ca8e5d1fc984d58f6137c290e807fe772a5

MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation

Fix a bug in commit a6ebf6169a1b ("MIPS: Convert cross-mode BAL to
JALX") and in BFD linker relaxation correct the microMIPS interpretation
of the branch offset, which is supposed to be shifted by 1 bit, rather
than 2 as in the regular MIPS case.

	bfd/
	* elfxx-mips.c (mips_elf_perform_relocation): Correct microMIPS
	branch offset interpretation.

	gas/
	* testsuite/gas/mips/branch-addend-micromips.d: New test.
	* testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
	* testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
	* testsuite/gas/mips/branch-addend-micromips.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	ld/
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done
@ 2017-08-30 13:41 sergiodj+buildbot
  2017-09-20 13:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c0ed39626e3193adb70aeb98d3633787579d6ec ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7c0ed39626e3193adb70aeb98d3633787579d6ec

Call _close_and_cleanup in bfd_close_all_done

	PR binutils/22032
	* opncls.c (bfd_close_all_done): Call _close_and_cleanup.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2
@ 2017-08-30 12:51 sergiodj+buildbot
  2017-09-19 19:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f2425c4c8fdaa7822555bbb61468b46d4e4af20 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0f2425c4c8fdaa7822555bbb61468b46d4e4af20

Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2

They are unused.

	* elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed.
	(elf_x86_64_srelplt2): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization
@ 2017-08-30 12:05 sergiodj+buildbot
  2017-09-18 20:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 12:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9a23f96e919ba91587d077b1d399246dde4002dd ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9a23f96e919ba91587d077b1d399246dde4002dd

PowerPC TPREL16_HA/LO reloc optimization

In the TLS GD/LD to LE optimization, ld replaces a sequence like

 addi 3,2,x@got@tlsgd		R_PPC64_GOT_TLSGD16	x
 bl __tls_get_addr(x@tlsgd)	R_PPC64_TLSGD		x
				R_PPC64_REL24		__tls_get_addr
 nop

with

 addis 3,13,x@tprel@ha		R_PPC64_TPREL16_HA	x
 addi 3,3,x@tprel@l		R_PPC64_TPREL16_LO	x
 nop

When the tprel offset is small, this can be further optimized to

 nop
 addi 3,13,x@tprel
 nop

bfd/
	* elf64-ppc.c (struct ppc_link_hash_table): Add do_tls_opt.
	(ppc64_elf_tls_optimize): Set it.
	(ppc64_elf_relocate_section): Nop addis on TPREL16_HA, and convert
	insn on TPREL16_LO and TPREL16_LO_DS relocs to use r13 when
	addis would add zero.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add do_tls_opt.
	(ppc_elf_tls_optimize): Set it.
	(ppc_elf_relocate_section): Nop addis on TPREL16_HA, and convert
	insn on TPREL16_LO relocs to use r2 when addis would add zero.
gold/
	* powerpc.cc (Target_powerpc::Relocate::relocate): Nop addis on
	TPREL16_HA, and convert insn on TPREL16_LO and TPREL16_LO_DS
	relocs to use r2/r13 when addis would add zero.
ld/
	* testsuite/ld-powerpc/tls.s: Add calls with tls markers.
	* testsuite/ld-powerpc/tls32.s: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Run tls marker tests.
	* testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization.
	* testsuite/ld-powerpc/tlsexe.d: Likewise.
	* testsuite/ld-powerpc/tlsexetoc.d: Likewise.
	* testsuite/ld-powerpc/tlsld.d: Likewise.
	* testsuite/ld-powerpc/tlsmark.d: Likewise.
	* testsuite/ld-powerpc/tlsopt4.d: Likewise.
	* testsuite/ld-powerpc/tlstoc.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization
@ 2017-08-30 11:36 sergiodj+buildbot
  2017-09-18  9:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 11:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9f04fe0dfe64bc6224e7bb96378607f17da7446 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b9f04fe0dfe64bc6224e7bb96378607f17da7446

PowerPC64 __tls_get_addr sequence optimization

There isn't a good reason for ld.bfd to behave differently from gold
in the code generated by TLS GD/LD to LE optimization.

bfd/
	* elf64-ppc.c (ppc64_elf_relocate_section): When optimizing
	__tls_get_addr call sequences to LE, don't move the addi down
	to the nop.  Replace the bl with addi and leave the nop alone.
ld/
	* testsuite/ld-powerpc/tls.d: Update.
	* testsuite/ld-powerpc/tlsexe.d: Update.
	* testsuite/ld-powerpc/tlsexetoc.d: Update.
	* testsuite/ld-powerpc/tlsld.d: Update.
	* testsuite/ld-powerpc/tlsmark.d: Update.
	* testsuite/ld-powerpc/tlsopt4.d: Update.
	* testsuite/ld-powerpc/tlstoc.d: Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register.
@ 2017-08-29 23:07 sergiodj+buildbot
  2017-09-17 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 23:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7755ddb77d227d1d5c1b211e989fafb17e26765d ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 7755ddb77d227d1d5c1b211e989fafb17e26765d

Look for FIR in the last FreeBSD/mips floating-point register.

FreeBSD/mips kernels were recently changed to include the floating
point implementation revision register in the floating point register
set exported in process cores and via ptrace() (r318067).  This change
will first ship in FreeBSD 12.0 when it is eventually released.  The
space used to hold FIR was previously reserved in 'struct fpreg' as a
zero-filled dummy for padding, so 'struct fpreg' has not changed in
size.  Since FIR should be non-zero on all MIPS processors supported
by FreeBSD, ignore a value of 0 from 'struct fpreg' and only report
non-zero values as a valid FIR register.

gdb/ChangeLog:

	* mips-fbsd-nat.c (getfpregs_supplies): Return true for FIR.
	* mips-fbsd-tdep.c (mips_fbsd_supply_fpregs): Split supply of FSR
	out of loop and add supply of FIR.
	(mips_fbsd_collect_fpregs): Split collect of FSR out of loop and
	add collect of FIR.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c
@ 2017-08-29 22:11 sergiodj+buildbot
  2017-09-14 19:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 22:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f0f0847e23a57d4e95c2c639e803e6f51914efc ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5f0f0847e23a57d4e95c2c639e803e6f51914efc

x86: Re-indent elf32-i386.c/elf64-x86-64.c

	* elf32-i386.c (elf_i386_pie_finish_undefweak_symbol):
	Re-indent.
	* elf64-x86-64.c (elf_x86_64_finish_local_dynamic_symbol):
	Likewise.
	(elf_x86_64_pie_finish_undefweak_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c
@ 2017-08-29 21:02 sergiodj+buildbot
  2017-09-14  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 21:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0afcef5384c656b69706fed61d91f6d886c4c0f1 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0afcef5384c656b69706fed61d91f6d886c4c0f1

Add elfxx-x86.h and elfxx-x86.c

Move common codes in elf32-i386.c and elf64-x86-64.c to elfxx-x86.c.

	* Makefile.am (BFD32_BACKENDS): Add elfxx-x86.lo.
	(BFD64_BACKENDS): Likewise.
	(BFD32_BACKENDS_CFILES): Add elfxx-x86.c.
	(BFD64_BACKENDS_CFILES): Likewise.
	* Makefile.in: Regenerated.
	* configure.ac (bfd_backends): Add elfxx-x86.lo together with
	elf32-i386.lo and elf64-x86-64.lo.
	* configure: Regenerated.
	* elf32-i386.c: Include "elfxx-x86.h" instead of "sysdep.h",
	"bfd.h", "bfdlink.h", "libbfd.h", "elf-bfd.h", "bfd_stdint.h",
	"objalloc.h" and "hashtab.h".
	(ELIMINATE_COPY_RELOCS): Removed.
	(UNDEFINED_WEAK_RESOLVED_TO_ZERO):Likewise.
	(SYMBOL_NO_COPYRELOC): Likewise.
	(elf_i386_link_hash_entry): Likewise.
	(GOT_UNKNOWN): Likewise.
	(GOT_NORMAL): Likewise.
	(GOT_TLS_GD): Likewise.
	(elf_i386_hash_entry): Likewise.
	(elf_i386_obj_tdata): Likewise.
	(elf_i386_tdata): Likewise.
	(elf_i386_local_got_tls_type): Likewise.
	(elf_i386_local_tlsdesc_gotent): Likewise.
	(elf_i386_hash_table): Likewise.
	(elf_i386_link_hash_newfunc): Likewise.
	(elf_i386_local_htab_hash): Likewise.
	(elf_i386_local_htab_eq): Likewise.
	(elf_i386_get_local_sym_hash): Likewise.
	(elf_i386_link_hash_table_free): Likewise.
	(elf_i386_copy_indirect_symbol): Likewise.
	(elf_i386_fixup_symbol): Likewise.
	(elf_i386_readonly_dynrelocs): Likewise.
	(elf_i386_always_size_sections): Likewise.
	(elf_i386_set_tls_module_base): Likewise.
	(elf_i386_dtpoff_base): Likewise.
	(compare_relocs): Likewise.
	(elf_i386_hash_symbol): Likewise.
	(elf_i386_parse_gnu_properties): Likewise.
	(elf_i386_merge_gnu_properties): Likewise.
	(elf_i386_link_check_relocs): Likewise.
	(elf_i386_merge_symbol_attribute): Likewise.
	(bfd_elf32_bfd_link_check_relocs): Likewise.
	(elf_backend_copy_indirect_symbol): Likewise.
	(elf_backend_always_size_sections): Likewise.
	(elf_backend_omit_section_dynsym): Likewise.
	(elf_backend_hash_symbol): Likewise.
	(elf_backend_fixup_symbol): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	(elf_backend_merge_symbol_attribute): Likewise.
	(elf_i386_mkobject): Updated.
	(elf_i386_link_hash_table_create): Likewise.
	(elf_i386_check_tls_transition): Likewise.
	(elf_i386_tls_transition): Likewise.
	(elf_i386_convert_load_reloc): Likewise.
	(elf_i386_check_relocs): Likewise.
	(elf_i386_adjust_dynamic_symbol): Likewise.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_convert_load): Likewise.
	(elf_i386_size_dynamic_sections): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol ): Likewise.
	(elf_i386_finish_dynamic_sections): Likewise.
	(elf_i386_output_arch_local_syms): Likewise.
	(elf_i386_get_synthetic_symtab): Likewise.
	(elf_i386_link_setup_gnu_properties): Likewise.
	(elf_i386_link_hash_table): Use elf_x86_link_hash_table, instead
	of elf_link_hash_table, as base.
	(elf_i386_next_tls_desc_index): New.
	(elf_i386_srelplt2): Likewise.
	(elf_i386_plt): Likewise.
	(elf_i386_lazy_plt): Likewise.
	(elf_i386_non_lazy_plt): Likewise.
	* elf32-x86-64.c: Include "elfxx-x86.h" instead of "sysdep.h",
	"bfd.h", "bfdlink.h", "libbfd.h", "elf-bfd.h", "bfd_stdint.h",
	"objalloc.h" and "hashtab.h".
	(ELIMINATE_COPY_RELOCS): Removed.
	(UNDEFINED_WEAK_RESOLVED_TO_ZERO):Likewise.
	(SYMBOL_NO_COPYRELOC): Likewise.
	(elf_x86_64_link_hash_entry): Likewise.
	(GOT_UNKNOWN): Likewise.
	(GOT_NORMAL): Likewise.
	(GOT_TLS_GD): Likewise.
	(elf_x86_64_hash_entry): Likewise.
	(elf_x86_64_obj_tdata): Likewise.
	(elf_x86_64_tdata): Likewise.
	(elf_x86_64_local_got_tls_type): Likewise.
	(elf_x86_64_local_tlsdesc_gotent): Likewise.
	(elf_x86_64_hash_table): Likewise.
	(elf_x86_64_link_hash_newfunc): Likewise.
	(elf_x86_64_local_htab_hash): Likewise.
	(elf_x86_64_local_htab_eq): Likewise.
	(elf_x86_64_get_local_sym_hash): Likewise.
	(elf_x86_64_link_hash_table_free): Likewise.
	(elf_x86_64_copy_indirect_symbol): Likewise.
	(elf_x86_64_fixup_symbol): Likewise.
	(elf_x86_64_readonly_dynrelocs): Likewise.
	(elf_x86_64_always_size_sections): Likewise.
	(elf_x86_64_set_tls_module_base): Likewise.
	(elf_x86_64_dtpoff_base): Likewise.
	(compare_relocs): Likewise.
	(elf_x86_64_merge_symbol_attribute): Likewise.
	(elf_x86_64_hash_symbol): Likewise.
	(elf_x86_64_parse_gnu_properties): Likewise.
	(elf_x86_64_merge_gnu_properties): Likewise.
	(elf_x86_64_link_check_relocs): Likewise.
	(elf_backend_copy_indirect_symbol): Likewise.
	(elf_backend_always_size_sections): Likewise.
	(bfd_elf64_bfd_link_check_relocs): Likewise.
	(elf_backend_merge_symbol_attribute): Likewise.
	(elf_backend_hash_symbol): Likewise.
	(elf_backend_omit_section_dynsym): Likewise.
	(elf_backend_fixup_symbol): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	(bfd_elf32_bfd_link_check_relocs): Likewise.
	(elf_x86_64_mkobject): Updated.
	(elf_x86_64_link_hash_table_create): Likewise.
	(elf_x86_64_check_tls_transition): Likewise.
	(elf_x86_64_tls_transition): Likewise.
	(elf_x86_64_convert_load_reloc): Likewise.
	(elf_x86_64_check_relocs): Likewise.
	(elf_x86_64_adjust_dynamic_symbol): Likewise.
	(elf_x86_64_allocate_dynrelocs): Likewise.
	(elf_x86_64_convert_load): Likewise.
	(elf_x86_64_size_dynamic_sections): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_finish_dynamic_symbol ): Likewise.
	(elf_x86_64_finish_dynamic_sections): Likewise.
	(elf_x86_64_output_arch_local_syms): Likewise.
	(elf_x86_64_get_synthetic_symtab): Likewise.
	(elf_x86_64_link_setup_gnu_properties): Likewise.
	(elf_x86_64_link_hash_table): Use elf_x86_link_hash_table,
	instead of elf_link_hash_table, as base.
	(elf_x86_64_next_tls_desc_index): New.
	(elf_x86_64_srelplt2): Likewise.
	(elf_x86_64_plt): Likewise.
	(elf_x86_64_lazy_plt): Likewise.
	(elf_x86_64_non_lazy_plt): Likewise.
	* elfxx-x86.c: New file.
	* elfxx-x86.h: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Simplify bad return in get_synthetic_symtab
@ 2017-08-29 18:56 sergiodj+buildbot
  2017-09-13 10:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 823cb06774ad6a2aee0afcf6f011c3a134f25747 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 823cb06774ad6a2aee0afcf6f011c3a134f25747

x86: Simplify bad return in get_synthetic_symtab

	* elf32-i386.c (elf_i386_get_synthetic_symtab): Simplify bad
	return.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Check valid PLT sections before checking dynamic relocations
@ 2017-08-29 18:16 sergiodj+buildbot
  2017-09-12  0:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 18:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37c0b6ee65941d54fa8064c21b39f97fdc318156 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 37c0b6ee65941d54fa8064c21b39f97fdc318156

x86: Check valid PLT sections before checking dynamic relocations

Update x86 get_synthetic_symtab to check valid PLT sections before
checking dynamic relocations and free invalid PLT section contents.

	* elf32-i386.c (elf_i386_get_synthetic_symtab): Check valid PLT
	sections before checking dynamic relocations and free invalid
	PLT section contents.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix simulation of MSP430's open system call.
@ 2017-08-29 13:35 sergiodj+buildbot
  2017-09-11  7:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 13:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3819af136deb7ba6bc2058d7848cf80b33dbe51c ***

Author: Jozef Lawrynowicz <jozef.l@somniumtech.com>
Branch: master
Commit: 3819af136deb7ba6bc2058d7848cf80b33dbe51c

Fix simulation of MSP430's open system call.

	* sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
	arguments for variadic syscall "open".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
[parent not found: <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>]
* [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab
@ 2017-08-28 23:21 sergiodj+buildbot
  2017-09-10  1:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 23:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fb0a7677827aea3e7ca1fdb2dfd1ccbdf6c2f71 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0fb0a7677827aea3e7ca1fdb2dfd1ccbdf6c2f71

Remove unused _bfd_elf_ifunc_get_synthetic_symtab

Since _bfd_elf_ifunc_get_synthetic_symtab is no longer called by x86
get_synthetic_symtab, it is now unused.  This patch removes it.

	* elf-bfd.h (_bfd_elf_ifunc_get_synthetic_symtab): Removed.
	* elf-ifunc.c (_bfd_elf_ifunc_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb.base/commands.exp: Remove unused global references
@ 2017-08-28 22:28 sergiodj+buildbot
  2017-09-09 12:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 22:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e89eb3ab04a378133ff3da1ed23d4bd89a56b5e ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 5e89eb3ab04a378133ff3da1ed23d4bd89a56b5e

gdb.base/commands.exp: Remove unused global references

There are a few unused references to the gdb_prompt global.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (gdbvar_simple_if_test,
	gdbvar_simple_if_test, gdbvar_complex_if_while_test,
	progvar_simple_if_test, progvar_simple_while_test,
	progvar_complex_if_while_test, user_defined_command_test,
	user_defined_command_args_eval,
	user_defined_command_args_stack_test,
	user_defined_command_manyargs_test, bp_deleted_in_command_test,
	temporary_breakpoint_commands,
	gdb_test_no_prompt, redefine_hook_test,
	redefine_backtrace_test): Remove "global gdb_prompt".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] define_command: Don't convert command name to lower case
@ 2017-08-28 21:32 sergiodj+buildbot
  2017-09-07 11:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 21:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fd437cbc432d5421492a5b0e371750de104cce93 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: fd437cbc432d5421492a5b0e371750de104cce93

define_command: Don't convert command name to lower case

Commit

  Command names: make them case sensitive
  3d7b173c29900879c9a5958dd6029fd36666e57c

made command name lookup case sensitive.  However, define_command, used
when creating a user-defined command, converts the command name to
lowercase, assuming that the command name lookup works in a case
insensitive way.  This causes user-defined commands with capital letters
in their name to only be callable with a lowercase version:

  (gdb) define Foo
  Type commands for definition of "Foo".
  End with a line saying just "end".
  >print 1
  >end
  (gdb) Foo
  Undefined command: "Foo".  Try "help".
  (gdb) foo
  $1 = 1

This patch removes that conversion to lowercase, so that the user can
call the command with the same name they provided.

gdb/ChangeLog:

	* cli/cli-script.c (define_command): Don't convert command name
	to lower case.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (user_defined_command_case_sensitivity):
	New proc, call it from toplevel.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Check for valid PLT section size
@ 2017-08-28 18:53 sergiodj+buildbot
  2017-09-06 14:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 18:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90efb6422939ca031804266fba669f77c22a274a ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 90efb6422939ca031804266fba669f77c22a274a

x86: Check for valid PLT section size

Update x86 get_synthetic_symtab to check for valid PLT section size
before examining PLT section contents.

	PR binutils/22018
	* elf32-i386.c (elf_i386_get_synthetic_symtab): Check for valid
	PLT section size.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
[parent not found: <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>]
* [binutils-gdb] Disallow copy relocation against protected data symbol
@ 2017-08-27  2:54 sergiodj+buildbot
  2017-09-05  1:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-27  2:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5b4ee9451dc9ffb6aa29376fc03943c53c6da0d ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a5b4ee9451dc9ffb6aa29376fc03943c53c6da0d

Disallow copy relocation against protected data symbol

We shpouldn't generate copy relocation to resolve reference to protected
data symbol defined in shared object with the NO_COPY_ON_PROTECTED
property.  This patch adds a bit to elf_obj_tdata as well as
elf_i386_link_hash_entry and elf_x86_64_link_hash_entry to track the bfd
with the NO_COPY_ON_PROTECTED property as well as protected symbol
defined in shared object.  extern_protected_data is set to FALSE if any
input relocatable file contains the NO_COPY_ON_PROTECTED property.

bfd/

	PR ld/21997
	* elf-bfd.h (elf_obj_tdata): Use ENUM_BITFIELD on object_id,
	dyn_lib_class and has_gnu_symbols.  Change bad_symtab to bitfield.
	Add a has_no_copy_on_protected bitfield.
	(elf_has_no_copy_on_protected): New.
	* elf-properties.c (_bfd_elf_parse_gnu_properties): Set
	elf_has_no_copy_on_protected for GNU_PROPERTY_NO_COPY_ON_PROTECTED.
	(elf_merge_gnu_property_list): Likewise.
	(_bfd_elf_link_setup_gnu_properties): Set extern_protected_data
	to FALSE for elf_has_no_copy_on_protected.
	* elf32-i386.c (SYMBOL_NO_COPYRELOC): New.
	(elf_i386_link_hash_entry): Add def_protected.
	(elf_i386_adjust_dynamic_symbol): Also check SYMBOL_NO_COPYRELOC
	when checking info->nocopyreloc.
	(elf_i386_link_setup_gnu_properties): Don't set
	extern_protected_data here.
	(elf_i386_merge_symbol_attribute): New function.
	(elf_backend_merge_symbol_attribute): New.
	* elf64-x86-64.c (SYMBOL_NO_COPYRELOC): New.
	(elf_x86_64_link_hash_entry): Add def_protected.
	(elf_x86_64_need_pic): Report protected symbol for def_protected.
	(elf_x86_64_adjust_dynamic_symbol): Also check SYMBOL_NO_COPYRELOC
	when checking info->nocopyreloc.
	(elf_x86_64_relocate_section): Also check for R_X86_64_PC32
	relocation run-time overflow and unresolvable R_X86_64_32S
	relocation against protected data symbol defined in shared object
	with GNU_PROPERTY_NO_COPY_ON_PROTECTED.
	(elf_x86_64_link_setup_gnu_properties): Don't set
	extern_protected_data here.
	(elf_x86_64_merge_symbol_attribute): New function.
	(elf_backend_merge_symbol_attribute): New.

ld/

	PR ld/21997
	* testsuite/ld-i386/i386.exp: Run PR ld/21997 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr21997-1a.S: New file.
	* testsuite/ld-i386/pr21997-1b.c: Likewise.
	* testsuite/ld-i386/pr21997-1c.S: Likewise.
	* testsuite/ld-x86-64/pr21997-1a.S: Likewise.
	* testsuite/ld-x86-64/pr21997-1a.err: Likewise.
	* testsuite/ld-x86-64/pr21997-1b.c: Likewise.
	* testsuite/ld-x86-64/pr21997-1b.err: Likewise.
	* testsuite/ld-x86-64/pr21997-1c.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC TPREL reloc handling
@ 2017-08-26 11:54 sergiodj+buildbot
  2017-09-04  3:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-26 11:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405

PowerPC TPREL reloc handling

Tidy how these are handled in PIEs.

	* elf32-ppc.c (must_be_dyn_reloc): Use bfd_link_dll.  Comment.
	(ppc_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
	(ppc_elf_relocate_section): Comment fix.
	* elf64-ppc.c (must_be_dyn_reloc): Use bfd_link_dll.  Comment.
	(ppc64_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
	Support dynamic relocs for TPREL16 when non-pic too.
	(dec_dynrel_count): Adjust TPREL16 handling as per check_relocs.
	(ppc64_elf_relocate_section): Support dynamic relocs for TPREL16
	when non-pic too.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
[parent not found: <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>]
* [binutils-gdb] remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type
@ 2017-08-26  1:01 sergiodj+buildbot
  2017-09-03  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-26  1:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 988f6b3dc615173d6d78a76ac26c109b4582da74 ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: 988f6b3dc615173d6d78a76ac26c109b4582da74

remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type

The function is always called with DISPP set to NULL, so there is
no need for this parameter anymore. This patch removes it, and
eliminates some dead code associated to that.

gdb/ChangeLog:

        * ada-lang.c (ada_lookup_struct_elt_type): Remove parameter "dispp".
        Update all callers accordingly. Remove all code blocks handling
        the case where DISPP is not NULL.

Tested on x86_64-linux, no regression.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: Remove redundant "symbol" in comments
@ 2017-08-26  0:39 sergiodj+buildbot
  2017-09-02 12:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-26  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fdda9d6a4c3520f4787d96c4ae293783fe6262a ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5fdda9d6a4c3520f4787d96c4ae293783fe6262a

x86: Remove redundant "symbol" in comments

	* elf32-i386.c (elf_i386_link_hash_entry): Remove redundant
	"symbol" in comments.
	* elf64-x86-64.c (elf_x86_64_link_hash_entry): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Rename some functions, thread -> inferior
@ 2017-08-25  9:18 sergiodj+buildbot
  2017-09-01 13:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-25  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6afd337d1a1a789b71d77b157529c08250eb9093 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 6afd337d1a1a789b71d77b157529c08250eb9093

gdbserver: Rename some functions, thread -> inferior

These functions apply to thread, and not inferiors (in the gdbserver
sense, the abstraction for threads and processes, as in
inferior_list).  Therefore, it would make more sense if these functions
were named with "thread" rather than "inferior".

gdb/gdbserver/ChangeLog:

	* inferiors.h (inferior_target_data): Rename to ...
	(thread_target_data): ... this.
	(inferior_regcache_data): Rename to ...
	(thread_regcache_data): ... this.
	(set_inferior_regcache_data): Rename to ...
	(set_thread_regcache_data): ... this.
	* inferiors.c (inferior_target_data): Rename to ...
	(thread_target_data): ... this.
	(inferior_regcache_data): Rename to ...
	(thread_regcache_data): ... this.
	(set_inferior_regcache_data): Rename to ...
	(set_thread_regcache_data): ... this.
	(free_one_thread): Update.
	* linux-low.h (get_thread_lwp): Update.
	* regcache.c (get_thread_regcache): Update.
	(regcache_invalidate_thread): Update.
	(free_register_cache_thread): Update.
	* win32-i386-low.c (update_debug_registers_callback): Update.
	(win32_get_current_dr): Update.
	* win32-low.c (thread_rec): Update.
	(delete_thread_info): Update.
	(continue_one_thread): Update.
	(suspend_one_thread): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
[parent not found: <74081948353b117fcbe870fc3cc9ebe0f18fdcf8@gdb-build>]
* [binutils-gdb] Remove unused function set_inferior_target_data
@ 2017-08-24 21:53 sergiodj+buildbot
  2017-08-31 21:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-08-24 21:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a160cc4628aa125959dc65983d805500fc58512c ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: a160cc4628aa125959dc65983d805500fc58512c

Remove unused function set_inferior_target_data

The inferior (thread) target data is always set through add_thread.

gdb/gdbserver/ChangeLog:

	* inferiors.c (set_inferior_target_data): Remove.
	* inferiors.h (set_inferior_target_data): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Remove -Wno-write-strings
@ 2017-04-06 14:16 sergiodj+buildbot
  2017-08-22  6:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06 14:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bf2a700667c53003ece783c05e8b355801105f2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9bf2a700667c53003ece783c05e8b355801105f2

-Wwrite-strings: Remove -Wno-write-strings

AFAIK GDB is now free from -Wwrite-strings warnings.  A few warnings may
be left behind in some host-specific code, but those should be few and
easy to fix.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* warning.m4 (build_warnings): Remove -Wno-write-strings.
	* configure: Regenerate.

gdb/gdbserver/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: More Solaris
@ 2017-04-06 12:43 sergiodj+buildbot
  2017-08-20  2:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06 12:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 995816ba55d952b2823d2ead66495c5cad6dfe58 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 995816ba55d952b2823d2ead66495c5cad6dfe58

-Wwrite-strings: More Solaris

Some obvious constifications found by attempting to build 64-bit GDB
on Solaris 11.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* proc-api.c (struct trans): Constify.
	(procfs_note): Constify.
	* proc-events.c (struct trans, syscall_table):
	* proc-flags.c (struct trans): Constify.
	* proc-utils.h (procfs_note): Constify.
	* proc-why.c (struct trans): Constify.
	* procfs.c (dead_procinfo, find_syscall, proc_warn, proc_error)
	(procfs_detach): Constify.
	* sol-thread.c (struct string_map): Constify.
	(td_err_string, td_state_string): Constify.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Fix Solaris "set procfs-file"
@ 2017-04-06 11:16 sergiodj+buildbot
  2017-08-19 12:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06 11:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e83a920090130052a407621b94b94513f539fda ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3e83a920090130052a407621b94b94513f539fda

-Wwrite-strings: Fix Solaris "set procfs-file"

Compiling GDB with -Wwrite-strings flags this code in gdb/proc-api.c:

  static char *procfs_filename = "procfs_trace";

as needing a cast.  However, this variable is a command variable, and
as such it's incorrect to initialize it to a literal, since when you
use the corresponding set command, gdb frees the old string...

I didn't manage to fully build Solaris gdb (fails for other reasons),
but I confirmed that the system GDB on Solaris 11 crashes when running
this command:

 (gdb) set procfs-file foo
 Segmentation Fault (core dumped)

So I don't think this commit can make it worse than the status quo.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* proc-api.c (procfs_filename): Don't initialize
        procfs_filename.
	(prepare_to_trace): Assume procfs_filename is non-NULL.
	(_initialize_proc_api): Give procfs_filename a default value here.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ptid_{lwp,tid}_p: Remove unnecessary checks
@ 2017-04-06  4:14 sergiodj+buildbot
  2017-08-22 16:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  4:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e9868d4e0c8e45505876901d22c021dd36972a8 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 4e9868d4e0c8e45505876901d22c021dd36972a8

ptid_{lwp,tid}_p: Remove unnecessary checks

The calls to ptid_equal in ptid_lwp_p and ptid_tid_p that compare the
argument to minus_one_ptid and null_ptid are not necessary.  The calls
in question are:

   if (ptid_equal (minus_one_ptid, ptid)
       || ptid_equal (null_ptid, ptid))
     return 0;

minus_one_ptid is { .pid = -1, .lwp = 0, .tid = 0 }
null_ptid is { .pid = 0, .lwp = 0, .tid = 0 }

If the ptid argument is either of them, the statements

  return (ptid_get_lwp (ptid) != 0);

and

  return (ptid_get_tid (ptid) != 0);

will yield the same result (0/false).

gdb/ChangeLog:

	* common/ptid.c (ptid_lwp_p, ptid_tid_p): Remove comparison with
	minus_one_ptid and null_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: The Rest
@ 2017-04-06  3:09 sergiodj+buildbot
  2017-08-21  2:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  3:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a121b7c1ac76833018f4fc3adaeddc3147272dd0 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: a121b7c1ac76833018f4fc3adaeddc3147272dd0

-Wwrite-strings: The Rest

This is the remainder boring constification that all looks more of less
borderline obvious IMO.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* ada-exp.y (yyerror): Constify.
	* ada-lang.c (bound_name, get_selections)
	(ada_variant_discrim_type)
	(ada_variant_discrim_name, ada_value_struct_elt)
	(ada_lookup_struct_elt_type, is_unchecked_variant)
	(ada_which_variant_applies, standard_exc, ada_get_next_arg)
	(catch_ada_exception_command_split)
	(catch_ada_assert_command_split, catch_assert_command)
	(ada_op_name): Constify.
	* ada-lang.h (ada_yyerror, get_selections)
	(ada_variant_discrim_name, ada_value_struct_elt): Constify.
	* arc-tdep.c (arc_print_frame_cache): Constify.
	* arm-tdep.c (arm_skip_stub): Constify.
	* ax-gdb.c (gen_binop, gen_struct_ref_recursive, gen_struct_ref)
	(gen_aggregate_elt_ref): Constify.
	* bcache.c (print_bcache_statistics): Constify.
	* bcache.h (print_bcache_statistics): Constify.
	* break-catch-throw.c (catch_exception_command_1):
	* breakpoint.c (struct ep_type_description::description):
	Constify.
	(add_solib_catchpoint): Constify.
	(catch_fork_command_1): Add cast.
	(add_catch_command): Constify.
	* breakpoint.h (add_catch_command, add_solib_catchpoint):
	Constify.
	* bsd-uthread.c (bsd_uthread_state): Constify.
	* buildsym.c (patch_subfile_names): Constify.
	* buildsym.h (next_symbol_text_func, patch_subfile_names):
	Constify.
	* c-exp.y (yyerror): Constify.
	(token::oper): Constify.
	* c-lang.h (c_yyerror, cp_print_class_member): Constify.
	* c-varobj.c (cplus_describe_child): Constify.
	* charset.c (find_charset_names): Add cast.
	(find_charset_names): Constify array and add const_cast.
	* cli/cli-cmds.c (complete_command, cd_command): Constify.
	(edit_command): Constify.
	* cli/cli-decode.c (lookup_cmd): Constify.
	* cli/cli-dump.c (dump_memory_command, dump_value_command):
	Constify.
	(struct dump_context): Constify.
	(add_dump_command, restore_command): Constify.
	* cli/cli-script.c (get_command_line): Constify.
	* cli/cli-script.h (get_command_line): Constify.
	* cli/cli-utils.c (check_for_argument): Constify.
	* cli/cli-utils.h (check_for_argument): Constify.
	* coff-pe-read.c (struct read_pe_section_data): Constify.
	* command.h (lookup_cmd): Constify.
	* common/print-utils.c (decimal2str): Constify.
	* completer.c (gdb_print_filename): Constify.
	* corefile.c (set_gnutarget): Constify.
	* cp-name-parser.y (yyerror): Constify.
	* cp-valprint.c (cp_print_class_member): Constify.
	* cris-tdep.c (cris_register_name, crisv32_register_name):
	Constify.
	* d-exp.y (yyerror): Constify.
	(struct token::oper): Constify.
	* d-lang.h (d_yyerror): Constify.
	* dbxread.c (struct header_file_location::name): Constify.
	(add_old_header_file, add_new_header_file, last_function_name)
	(dbx_next_symbol_text, add_bincl_to_list)
	(find_corresponding_bincl_psymtab, set_namestring)
	(find_stab_function_addr, read_dbx_symtab, start_psymtab)
	(dbx_end_psymtab, read_ofile_symtab, process_one_symbol):
	* defs.h (command_line_input, print_address_symbolic)
	(deprecated_readline_begin_hook): Constify.
	* dwarf2read.c (anonymous_struct_prefix, dwarf_bool_name):
	Constify.
	* event-top.c (handle_line_of_input): Constify and add cast.
	* exceptions.c (catch_errors): Constify.
	* exceptions.h (catch_errors): Constify.
	* expprint.c (print_subexp_standard, op_string, op_name)
	(op_name_standard, dump_raw_expression, dump_raw_expression):
	* expression.h (op_name, op_string, dump_raw_expression):
	Constify.
	* f-exp.y (yyerror): Constify.
	(struct token::oper): Constify.
	(struct f77_boolean_val::name): Constify.
	* f-lang.c (f_word_break_characters): Constify.
	* f-lang.h (f_yyerror): Constify.
	* fork-child.c (fork_inferior): Add cast.
	* frv-tdep.c (struct gdbarch_tdep::register_names): Constify.
	(new_variant): Constify.
	* gdbarch.sh (pstring_ptr, pstring_list): Constify.
	* gdbarch.c: Regenerate.
	* gdbcore.h (set_gnutarget): Constify.
	* go-exp.y (yyerror): Constify.
	(token::oper): Constify.
	* go-lang.h (go_yyerror): Constify.
	* go32-nat.c (go32_sysinfo): Constify.
	* guile/scm-breakpoint.c (gdbscm_breakpoint_expression): Constify.
	* guile/scm-cmd.c (cmdscm_function): Constify.
	* guile/scm-param.c (pascm_param_value): Constify.
	* h8300-tdep.c (h8300_register_name, h8300s_register_name)
	(h8300sx_register_name): Constify.
	* hppa-tdep.c (hppa32_register_name, hppa64_register_name):
	Constify.
	* ia64-tdep.c (ia64_register_names): Constify.
	* infcmd.c (construct_inferior_arguments): Constify.
	(path_command, attach_post_wait): Constify.
	* language.c (show_range_command, show_case_command)
	(unk_lang_error): Constify.
	* language.h (language_defn::la_error)
	(language_defn::la_name_of_this): Constify.
	* linespec.c (decode_line_2): Constify.
	* linux-thread-db.c (thread_db_err_str): Constify.
	* lm32-tdep.c (lm32_register_name): Constify.
	* m2-exp.y (yyerror): Constify.
	* m2-lang.h (m2_yyerror): Constify.
	* m32r-tdep.c (m32r_register_names): Constify and make static.
	* m68hc11-tdep.c (m68hc11_register_names): Constify.
	* m88k-tdep.c (m88k_register_name): Constify.
	* macroexp.c (appendmem): Constify.
	* mdebugread.c (fdr_name, add_data_symbol, parse_type)
	(upgrade_type, parse_external, parse_partial_symbols)
	(mdebug_next_symbol_text, cross_ref, mylookup_symbol, new_psymtab)
	(new_symbol): Constify.
	* memattr.c (mem_info_command): Constify.
	* mep-tdep.c (register_name_from_keyword): Constify.
	* mi/mi-cmd-env.c (mi_cmd_env_path, _initialize_mi_cmd_env):
	Constify.
	* mi/mi-cmd-stack.c (list_args_or_locals): Constify.
	* mi/mi-cmd-var.c (mi_cmd_var_show_attributes): Constify.
	* mi/mi-main.c (captured_mi_execute_command): Constify and add
	cast.
	(mi_execute_async_cli_command): Constify.
	* mips-tdep.c (mips_register_name): Constify.
	* mn10300-tdep.c (register_name, mn10300_generic_register_name)
	(am33_register_name, am33_2_register_name)
	* moxie-tdep.c (moxie_register_names): Constify.
	* nat/linux-osdata.c (osdata_type): Constify fields.
	* nto-tdep.c (nto_parse_redirection): Constify.
	* objc-lang.c (lookup_struct_typedef, lookup_objc_class)
	(lookup_child_selector): Constify.
	(objc_methcall::name): Constify.
	* objc-lang.h (lookup_objc_class, lookup_child_selector)
	(lookup_struct_typedef): Constify.
	* objfiles.c (pc_in_section): Constify.
	* objfiles.h (pc_in_section): Constify.
	* p-exp.y (struct token::oper): Constify.
	(yyerror): Constify.
	* p-lang.h (pascal_yyerror): Constify.
	* parser-defs.h (op_name_standard): Constify.
	(op_print::string): Constify.
	(exp_descriptor::op_name): Constify.
	* printcmd.c (print_address_symbolic): Constify.
	* psymtab.c (print_partial_symbols): Constify.
	* python/py-breakpoint.c (stop_func): Constify.
	(bppy_get_expression): Constify.
	* python/py-cmd.c (cmdpy_completer::name): Constify.
	(cmdpy_function): Constify.
	* python/py-event.c (evpy_add_attribute)
	(gdbpy_initialize_event_generic): Constify.
	* python/py-event.h (evpy_add_attribute)
	(gdbpy_initialize_event_generic): Constify.
	* python/py-evts.c (add_new_registry): Constify.
	* python/py-finishbreakpoint.c (outofscope_func): Constify.
	* python/py-framefilter.c (get_py_iter_from_func): Constify.
	* python/py-inferior.c (get_buffer): Add cast.
	* python/py-param.c (parm_constant::name): Constify.
	* python/py-unwind.c (fprint_frame_id): Constify.
	* python/python.c (gdbpy_parameter_value): Constify.
	* remote-fileio.c (remote_fio_func_map): Make 'name' const.
	* remote.c (memory_packet_config::name): Constify.
	(show_packet_config_cmd, remote_write_bytes)
	(remote_buffer_add_string):
	* reverse.c (exec_reverse_once): Constify.
	* rs6000-tdep.c (variant::name, variant::description): Constify.
	* rust-exp.y (rustyyerror): Constify.
	* rust-lang.c (rust_op_name): Constify.
	* rust-lang.h (rustyyerror): Constify.
	* serial.h (serial_ops::name): Constify.
	* sh-tdep.c (sh_sh_register_name, sh_sh3_register_name)
	(sh_sh3e_register_name, sh_sh2e_register_name)
	(sh_sh2a_register_name, sh_sh2a_nofpu_register_name)
	(sh_sh_dsp_register_name, sh_sh3_dsp_register_name)
	(sh_sh4_register_name, sh_sh4_nofpu_register_name)
	(sh_sh4al_dsp_register_name): Constify.
	* sh64-tdep.c (sh64_register_name): Constify.
	* solib-darwin.c (lookup_symbol_from_bfd): Constify.
	* spu-tdep.c (spu_register_name, info_spu_dma_cmdlist): Constify.
	* stabsread.c (patch_block_stabs, read_type_number)
	(ref_map::stabs, ref_add, process_reference)
	(symbol_reference_defined, define_symbol, define_symbol)
	(error_type, read_type, read_member_functions, read_cpp_abbrev)
	(read_one_struct_field, read_struct_fields, read_baseclasses)
	(read_tilde_fields, read_struct_type, read_array_type)
	(read_enum_type, read_sun_builtin_type, read_sun_floating_type)
	(read_huge_number, read_range_type, read_args, common_block_start)
	(find_name_end): Constify.
	* stabsread.h (common_block_start, define_symbol)
	(process_one_symbol, symbol_reference_defined, ref_add):
	* symfile.c (get_section_index, add_symbol_file_command):
	* symfile.h (get_section_index): Constify.
	* target-descriptions.c (tdesc_type::name): Constify.
	(tdesc_free_type): Add cast.
	* target.c (find_default_run_target):
	(add_deprecated_target_alias, find_default_run_target)
	(target_announce_detach): Constify.
	(do_option): Constify.
	* target.h (add_deprecated_target_alias): Constify.
	* thread.c (print_thread_info_1): Constify.
	* top.c (deprecated_readline_begin_hook, command_line_input):
	Constify.
	(init_main): Add casts.
	* top.h (handle_line_of_input): Constify.
	* tracefile-tfile.c (tfile_write_uploaded_tsv): Constify.
	* tracepoint.c (tvariables_info_1, trace_status_mi): Constify.
	(tfind_command): Rename to ...
	(tfind_command_1): ... this and constify.
	(tfind_command): New function.
	(tfind_end_command, tfind_start_command): Adjust.
	(encode_source_string): Constify.
	* tracepoint.h (encode_source_string): Constify.
	* tui/tui-data.c (tui_partial_win_by_name): Constify.
	* tui/tui-data.h (tui_partial_win_by_name): Constify.
	* tui/tui-source.c (tui_set_source_content_nil): Constify.
	* tui/tui-source.h (tui_set_source_content_nil): Constify.
	* tui/tui-win.c (parse_scrolling_args): Constify.
	* tui/tui-windata.c (tui_erase_data_content): Constify.
	* tui/tui-windata.h (tui_erase_data_content): Constify.
	* tui/tui-winsource.c (tui_erase_source_content): Constify.
	* tui/tui.c (tui_enable): Add cast.
	* utils.c (defaulted_query): Constify.
	(init_page_info): Add cast.
	(puts_debug, subset_compare): Constify.
	* utils.h (subset_compare): Constify.
	* varobj.c (varobj_format_string): Constify.
	* varobj.h (varobj_format_string): Constify.
	* vax-tdep.c (vax_register_name): Constify.
	* windows-nat.c (windows_detach): Constify.
	* xcoffread.c (process_linenos, xcoff_next_symbol_text): Constify.
	* xml-support.c (gdb_xml_end_element): Constify.
	* xml-tdesc.c (tdesc_start_reg): Constify.
	* xstormy16-tdep.c (xstormy16_register_name): Constify.
	* xtensa-tdep.c (xtensa_find_register_by_name): Constify.
	* xtensa-tdep.h (xtensa_register_t::name): Constify.

gdb/gdbserver/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* gdbreplay.c (sync_error): Constify.
	* linux-x86-low.c (push_opcode): Constify.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Some constification in gdb/breakpoint.c
@ 2017-04-06  1:50 sergiodj+buildbot
  2017-08-18  8:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  1:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63160a43508fb50d9013df061b2191de71f67b50 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 63160a43508fb50d9013df061b2191de71f67b50

-Wwrite-strings: Some constification in gdb/breakpoint.c

The main motivation here is avoiding having to write a couple casts
like these:

     if (!arg)
  -    arg = "";
  +    arg = (char *) "";

in catch_exception_command_1 and catch_exec_command_1.

That requires making ep_parse_optional_if_clause and
check_for_argument take pointers to const strings.  I then tried
propagating the resulting constification all the way, but that was
spiraling out of control, so instead I settled for keeping const and
non-const overloads.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* break-catch-throw.c (handle_gnu_v3_exceptions): Constify
	'cond_string' parameter.
	(extract_exception_regexp): Constify 'string' parameter.
	(catch_exception_command_1): Constify.
	* breakpoint.c (init_catchpoint)
	(create_fork_vfork_event_catchpoint): Constify 'cond_string'
	parameter.
	(ep_parse_optional_if_clause, catch_fork_command_1)
	(catch_exec_command_1): Constify.
	* breakpoint.h (init_catchpoint): Constify 'cond_string'
	parameter.
	(ep_parse_optional_if_clause): Constify.
	* cli/cli-utils.c (remove_trailing_whitespace)
	(check_for_argument): Constify.
	* cli/cli-utils.h (remove_trailing_whitespace): Constify and add
	non-const overload.
	(check_for_argument): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: execute_command calls with string literals
@ 2017-04-06  1:31 sergiodj+buildbot
  2017-08-16 21:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  1:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b2eba3dcc6b41f17180e1aee29ed133f942c733 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9b2eba3dcc6b41f17180e1aee29ed133f942c733

-Wwrite-strings: execute_command calls with string literals

This is ugly, but it's just making the uglyness explicit.

All these places would better be calling some API function directly
instead of going through execute_command & friends...

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* event-top.c (command_line_handler): Add cast to execute_command
	call.
	* record-btrace.c (cmd_record_btrace_bts_start)
	(cmd_record_btrace_pt_start, cmd_record_btrace_start)
	(cmd_record_btrace_start): Add cast to execute_command call.
	* record-full.c (record_full_goto_insn):
	* record.c (record_start, record_stop): Add cast to
	execute_command_to_string calls.
	(cmd_record_start): Add cast to execute_command calls.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Add a PyArg_ParseTupleAndKeywords "const char *" overload
@ 2017-04-06  1:14 sergiodj+buildbot
  2017-08-16  7:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  1:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2adadf517063fb1c3b9240bf99ad339968c12f15 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2adadf517063fb1c3b9240bf99ad339968c12f15

-Wwrite-strings: Add a PyArg_ParseTupleAndKeywords "const char *" overload

-Wwrite-strings flags code like:

   static char *keywords[] = {"command", "from_tty", "to_string", NULL };

as needing "(char *)" casts, because string literals are "const char []".

We can get rid of the casts by changing the array type like this:

 -  static char *keywords[] = {"command", "from_tty", "to_string", NULL };
 +  static const char *keywords[] = {"command", "from_tty", "to_string", NULL };

However, passing the such array to PyArg_ParseTupleAndKeywords no longer
works OOTB, because PyArg_ParseTupleAndKeywords expects a "char **":

  PyArg_ParseTupleAndKeywords(PyObject *args, PyObject *kw,
                              const char *format,
			      char *keywords[], ...);

and "const char **" is not implicitly convertible to "char **".  C++
is more tolerant that C here WRT aliasing, and a const_cast<char **>
is fine.  However, to avoid having all callers do the cast themselves,
this commit defines a gdb_PyArg_ParseTupleAndKeywords function here
with a corresponding 'keywords' parameter type that does the cast in a
single place.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* python/python-internal.h (gdb_PyArg_ParseTupleAndKeywords): New
	static inline function.
	* python/py-arch.c (archpy_disassemble): Constify 'keywords'
	array and use gdb_PyArg_ParseTupleAndKeywords.
	* python/py-cmd.c (cmdpy_init): Likewise.
	* python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
	* python/py-inferior.c (infpy_read_memory, infpy_write_memory)
	(infpy_search_memory): Likewise.
	* python/py-objfile.c (objfpy_add_separate_debug_file)
	(gdbpy_lookup_objfile): Likewise.
	* python/py-symbol.c (gdbpy_lookup_symbol)
	(gdbpy_lookup_global_symbol): Likewise.
	* python/py-type.c (gdbpy_lookup_type): Likewise.
	* python/py-value.c (valpy_lazy_string, valpy_string): Likewise.
	* python/python.c (execute_gdb_command, gdbpy_write, gdbpy_flush):
	Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify word break character arrays
@ 2017-04-06  1:07 sergiodj+buildbot
  2017-08-09 18:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  1:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 67cb5b2da285175d37782f3606992b8052234b00 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 67cb5b2da285175d37782f3606992b8052234b00

-Wwrite-strings: Constify word break character arrays

-Wwrite-strings flags several cases of missing casts around
initializations like:

   static char *gdb_completer_command_word_break_characters =
    " \t\n!@#$%^&*()+=|~`}{[]\"';:?/>.<,";

Obviously these could/should be const.  However, while at it, there's
no need for these variables to be pointers instead of arrays.  They
are never changed to point to anything else.

Unfortunately, readline's rl_completer_word_break_characters is
"char *", not "const char *".  So we always need a cast somewhere.  The
approach taken here is to add a new
set_rl_completer_word_break_characters function that becomes the only
place that writes to rl_completer_word_break_characters, and thus the
single place that needs the cast.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_completer_word_break_characters): Now a const
	array.
	(ada_get_gdb_completer_word_break_characters): Constify.
	* completer.c (gdb_completer_command_word_break_characters)
	(gdb_completer_file_name_break_characters)
	(gdb_completer_quote_characters): Now const arrays.
	(get_gdb_completer_quote_characters): Constify.
	(set_rl_completer_word_break_characters): New function.
	(set_gdb_completion_word_break_characters)
	(complete_line_internal): Use it.
	* completer.h (get_gdb_completer_quote_characters): Constify.
	(set_rl_completer_word_break_characters): Declare.
	* f-lang.c (f_word_break_characters): Constify.
	* language.c (default_word_break_characters): Constify.
	* language.h (language_defn::la_word_break_characters): Constify.
	(default_word_break_characters): Constify.
	* top.c (init_main): Use set_rl_completer_word_break_characters.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Wrap PyGetSetDef for construction with string literals
@ 2017-04-06  0:27 sergiodj+buildbot
  2017-08-15  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  0:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d1f4ceb3904c4c82231adf98f0e84f37bc8d4ea ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 0d1f4ceb3904c4c82231adf98f0e84f37bc8d4ea

-Wwrite-strings: Wrap PyGetSetDef for construction with string literals

Unfortunately, PyGetSetDef's 'name' and 'doc' members are 'char *'
instead of 'const char *', meaning that in order to list-initialize
PyGetSetDef arrays using string literals requires writing explicit
'char *' casts.  For example:

    static PyGetSetDef value_object_getset[] = {
   -  { "address", valpy_get_address, NULL, "The address of the value.",
   +  { (char *) "address", valpy_get_address, NULL,
   +    (char *) "The address of the value.",
	NULL },
   -  { "is_optimized_out", valpy_get_is_optimized_out, NULL,
   -    "Boolean telling whether the value is optimized "
   +  { (char *) "is_optimized_out", valpy_get_is_optimized_out, NULL,
   +    (char *) "Boolean telling whether the value is optimized "
	"out (i.e., not available).",
	NULL },
   -  { "type", valpy_get_type, NULL, "Type of the value.", NULL },
   -  { "dynamic_type", valpy_get_dynamic_type, NULL,
   -    "Dynamic type of the value.", NULL },
   -  { "is_lazy", valpy_get_is_lazy, NULL,
   -    "Boolean telling whether the value is lazy (not fetched yet\n\
   +  { (char *) "type", valpy_get_type, NULL,
   +    (char *) "Type of the value.", NULL },
   +  { (char *) "dynamic_type", valpy_get_dynamic_type, NULL,
   +    (char *) "Dynamic type of the value.", NULL },
   +  { (char *) "is_lazy", valpy_get_is_lazy, NULL,
   +    (char *) "Boolean telling whether the value is lazy (not fetched yet\n\
    from the inferior).  A lazy value is fetched when needed, or when\n\
    the \"fetch_lazy()\" method is called.", NULL },
      {NULL}  /* Sentinel */

We have ~20 such arrays, and I first wrote a patch that fixed all of
them like that...  It's not pretty...

One way to make these a bit less ugly would be add a new macro that
hides the casts, like:

  #define GDBPY_GSDEF(NAME, GET, SET, DOC, CLOSURE) \
     { (char *) NAME, GET, SET, (char *) DOC, CLOSURE }

and then use it like:

    static PyGetSetDef value_object_getset[] = {
       GDBPY_GSDEF ("address", valpy_get_address, NULL,
       		    "The address of the value.", NULL),
       GDBPY_GSDEF ("is_optimized_out", valpy_get_is_optimized_out, NULL,
       		    "Boolean telling whether the value is optimized ", NULL),
      {NULL}  /* Sentinel */
    };

But since we have C++11, which gives us constexpr and list
initialization, I thought of a way that requires no changes where the
arrays are initialized:

We add a new type that extends PyGetSetDef (called gdb_PyGetSetDef),
and add constexpr constructors that accept const 'name' and 'doc', and
then list/aggregate initialization simply "calls" these matching
constructors instead.

I put "calls" in quotes, because given "constexpr", it's all done at
compile time, and there's no overhead either in binary size or at run
time.  In fact, we get identical binaries, before/after this change.

Unlike the fixes that fix some old Python API to match the API of more
recent Python, this switches to using explicit "gdb_PyGetSetDef"
everywhere, just to be clear that we are using our own version of it.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* python/python-internal.h (gdb_PyGetSetDef): New type.
	* python/py-block.c (block_object_getset)
	(breakpoint_object_getset): Now a gdb_PyGetSetDef array.
	* python/py-event.c (event_object_getset)
	(finish_breakpoint_object_getset): Likewise.
	* python/py-inferior.c (inferior_object_getset): Likewise.
	* python/py-infthread.c (thread_object_getset): Likewise.
	* python/py-lazy-string.c (lazy_string_object_getset): Likewise.
	* python/py-linetable.c (linetable_entry_object_getset): Likewise.
	* python/py-objfile.c (objfile_getset): Likewise.
	* python/py-progspace.c (pspace_getset): Likewise.
	* python/py-record-btrace.c (btpy_insn_getset, btpy_call_getset):
	Likewise.
	* python/py-record.c (recpy_record_getset): Likewise.
	* python/py-symbol.c (symbol_object_getset): Likewise.
	* python/py-symtab.c (symtab_object_getset, sal_object_getset):
	Likewise.
	* python/py-type.c (type_object_getset, field_object_getset):
	Likewise.
	* python/py-value.c (value_object_getset): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: More fix-old-Python-API wrappers
@ 2017-04-06  0:12 sergiodj+buildbot
  2017-08-14  4:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  0:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d75997912d77497fd395fde222513436a7df046 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4d75997912d77497fd395fde222513436a7df046

-Wwrite-strings: More fix-old-Python-API wrappers

When building against Python 2.7, -Wwrite-strings flags several cases
of passing a string literal to Python functions that expect a "char
*".  This commit addresses the issue like we already handle several
other similar cases -- wrap the Python API with our own fixed
version that adds the necessary constification.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* python/python-internal.h (gdb_PyObject_CallMethod)
	(gdb_PyErr_NewException, gdb_PySys_GetObject, gdb_PySys_SetPath):
	New functions.
	(GDB_PYSYS_SETPATH_CHAR, PyObject_CallMethod, PyErr_NewException)
	(PySys_GetObject, PySys_SetPath): New macros.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info
@ 2017-04-06  0:07 sergiodj+buildbot
  2017-08-08 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-06  0:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a1149643d8621541025e2c70e6391e901c8c7ef ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7a1149643d8621541025e2c70e6391e901c8c7ef

-Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info

-Wwrite-strings flagged a missing cast for example here:

   static char *
   ravenscar_extra_thread_info (struct target_ops *self, struct thread_info *tp)
   {
     return "Ravenscar task";

Since callers are not supposed to free the string returned by these
methods, change the methods' signature to return const strings.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* aix-thread.c (aix_thread_pid_to_str)
	(aix_thread_extra_thread_info): Constify.
	* bsd-kvm.c (bsd_kvm_pid_to_str): Constify.
	* bsd-uthread.c (bsd_uthread_extra_thread_info)
	(bsd_uthread_pid_to_str): Constify.
	* corelow.c (core_pid_to_str): Constify.
	* darwin-nat.c (darwin_pid_to_str): Constify.
	* fbsd-nat.c (fbsd_pid_to_str): Constify.
	* fbsd-tdep.c (fbsd_core_pid_to_str, gdbarch_core_pid_to_str):
	Constify.
	* gnu-nat.c (gnu_pid_to_str): Constify.
	* go32-nat.c (go32_pid_to_str): Constify.
	* i386-cygwin-tdep.c (i386_windows_core_pid_to_str): Constify.
	* inf-ptrace.c (inf_ptrace_pid_to_str): Constify.
	* inferior.c (inferior_pid_to_str): Constify.
	* linux-nat.c (linux_nat_pid_to_str): Constify.
	* linux-tdep.c (linux_core_pid_to_str): Constify.
	* linux-thread-db.c (thread_db_pid_to_str)
	(thread_db_extra_thread_info): Constify.
	* nto-tdep.c (nto_extra_thread_info): Constify.
	* nto-tdep.h (nto_extra_thread_info): Constify.
	* obsd-nat.c (obsd_pid_to_str): Constify.
	* procfs.c (procfs_pid_to_str): Constify.
	* ravenscar-thread.c (ravenscar_extra_thread_info)
	(ravenscar_pid_to_str): Constify.
	* remote-sim.c (gdbsim_pid_to_str): Constify.
	* remote.c (remote_threads_extra_info, remote_pid_to_str):
	Constify.
	* sol-thread.c (solaris_pid_to_str): Constify.
	* sol2-tdep.c (sol2_core_pid_to_str): Constify.
	* sol2-tdep.h (sol2_core_pid_to_str): Constify.
	* target.c (default_pid_to_str, target_pid_to_str)
	(normal_pid_to_str, default_pid_to_str): Constify.
	* target.h (target_ops::to_pid_to_str)
	(target_ops::to_extra_thread_info): Constify.
	(target_pid_to_str, normal_pid_to_str): Constify.
	* windows-nat.c (windows_pid_to_str): Constify.
	* gdbarch.sh (core_pid_to_str): Constify.
	* target-delegates.c: Regenerate.
	* gdbarch.h, gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: gdbserver/win32-low.c and TARGET_WAITKIND_EXECD
@ 2017-04-05 23:25 sergiodj+buildbot
  2017-08-13  5:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 23:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21c8a587ab81a58d3e067551d5503a765f00ec6e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 21c8a587ab81a58d3e067551d5503a765f00ec6e

-Wwrite-strings: gdbserver/win32-low.c and TARGET_WAITKIND_EXECD

 src/gdb/gdbserver/win32-low.c:1499:39: error: ISO C++ forbids converting a string constant to 'char*' [-Werror=write-strings]
	ourstatus->value.execd_pathname = "Main executable";
					^

This reporting via TARGET_WAITKIND_EXECD it's totally unnecessary.
get_child_debug_event returns a TARGET_WAITKIND_SPURIOUS by default,
which works just as well here, and is what the equivalent code in
gdb/windows-nat.c does too.

gdb/gdbserver/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* win32-low.c (get_child_debug_event)
	<CREATE_PROCESS_DEBUG_EVENT>: Don't report TARGET_WAITKIND_EXECD.
	Report TARGET_WAITKIND_SPURIOUS instead.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: gdbserver's 'port' parsing
@ 2017-04-05 23:10 sergiodj+buildbot
  2017-08-12  6:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 23:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb32b4f7005ef8f1bde02394b58b5c5eda9cbf10 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: fb32b4f7005ef8f1bde02394b58b5c5eda9cbf10

-Wwrite-strings: gdbserver's 'port' parsing

-Wwrite-strings flags this assignment as requiring a cast:

		  port = STDIO_CONNECTION_NAME;

because 'port' is a "char *", and STDIO_CONNECTION_NAME is a string
literal.

gdb/gdbserver/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

        * remote-utils.c (remote_prepare, remote_open): Constify.
        * remote-utils.h (remote_prepare, remote_open): Constify.
        * server.c (captured_main): Constify 'port' handling.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: MI -info-os
@ 2017-04-05 22:55 sergiodj+buildbot
  2017-08-11 10:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 22:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdf9e36fa2ed39f0da0dfa5dfdbd8e2452c6cb45 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: fdf9e36fa2ed39f0da0dfa5dfdbd8e2452c6cb45

-Wwrite-strings: MI -info-os

-Wwrite-strings flags this attempt to convert a string literal to
 "char *":

      info_osdata_command ("", 0);

info_osdata_command is a command function.  We could address this by
simply passing NULL instead of "".  However, I went a little bit
further and added a new function that is called by both the CLI and
MI.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* mi/mi-cmd-info.c (mi_cmd_info_os): Call info_osdata instead of
	info_osdata_command.
	* osdata.c (info_osdata_command): Rename to ...
	(info_osdata): ... this.  Constify 'type' parameter, and remove
	the 'from_tty' parameter.  Accept NULL TYPE.
	(info_osdata_command): New function.
	* osdata.h (info_osdata_command): Remove declaration.
	(info_osdata): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify mi_cmd_argv_ftype's 'command' parameter
@ 2017-04-05 22:41 sergiodj+buildbot
  2017-08-10 14:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 22:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f33b8b7c19413efbb37638bdba54706e4da8573 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9f33b8b7c19413efbb37638bdba54706e4da8573

-Wwrite-strings: Constify mi_cmd_argv_ftype's 'command' parameter

-Wwrite-strings flags this attempt to pass a literal to a "char *":

	mi_cmd_interpreter_exec ("-interpreter-exec", argv, 2);

Fix that by constifying mi_cmd_argv_ftype's 'command' parameter and
adjusting all MI commands.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* mi/mi-cmd-break.c (mi_cmd_break_insert_1, mi_cmd_break_insert)
	(mi_cmd_dprintf_insert, mi_cmd_break_passcount)
	(mi_cmd_break_watch, mi_cmd_break_commands): Constify 'command'
	parameter.
	* mi/mi-cmd-catch.c (mi_cmd_catch_assert, mi_cmd_catch_exception)
	(mi_cmd_catch_load, mi_cmd_catch_unload): Constify cmd' parameter.
	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Constify 'command'
	parameter.
	* mi/mi-cmd-env.c (mi_cmd_env_pwd, mi_cmd_env_cd, mi_cmd_env_path)
	(mi_cmd_env_dir, mi_cmd_inferior_tty_set, _cmd_inferior_tty_show)
	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
	(mi_cmd_file_list_exec_source_files)
	(mi_cmd_file_list_shared_libraries): Constify 'command' parameter.
	* mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions)
	(mi_cmd_info_gdb_mi_command, mi_cmd_info_os): Constify 'command'
	parameter.
	* mi/mi-cmd-stack.c (mi_cmd_enable_frame_filters)
	(mi_cmd_stack_list_frames, mi_cmd_stack_info_depth)
	(mi_cmd_stack_list_locals, mi_cmd_stack_list_args)
	(mi_cmd_stack_list_variables, mi_cmd_stack_select_frame)
	(mi_cmd_stack_info_frame): Constify 'command' parameter.
	* mi/mi-cmd-target.c (mi_cmd_target_file_get)
	(mi_cmd_target_file_put, mi_cmd_target_file_delete): Constify
	'command' parameter.
	* mi/mi-cmd-var.c (mi_cmd_var_create, mi_cmd_var_delete)
	(mi_cmd_var_set_format, mi_cmd_var_set_visualizer)
	(mi_cmd_var_set_frozen, mi_cmd_var_show_format)
	(mi_cmd_var_info_num_children, mi_cmd_var_list_children)
	(mi_cmd_var_info_type, mi_cmd_var_info_path_expression)
	(mi_cmd_var_info_expression, mi_cmd_var_show_attributes)
	(mi_cmd_var_evaluate_expression, mi_cmd_var_assign)
	(mi_cmd_var_update, mi_cmd_enable_pretty_printing)
	(mi_cmd_var_set_update_range): Constify 'command' parameter.
	* mi/mi-cmds.h (mi_cmd_argv_ftype): Constify 'command' parameter.
	* mi/mi-interp.c (mi_cmd_interpreter_exec): Constify 'command'
	parameter.
	* mi/mi-main.c (mi_cmd_gdb_exit, mi_cmd_exec_next)
	(mi_cmd_exec_next_instruction, mi_cmd_exec_step)
	(mi_cmd_exec_step_instruction, mi_cmd_exec_finish)
	(mi_cmd_exec_return ,mi_cmd_exec_jump, mi_cmd_exec_continue)
	(mi_cmd_exec_interrupt, mi_cmd_exec_run, mi_cmd_target_detach)
	(mi_cmd_target_flash_erase, mi_cmd_thread_select)
	(mi_cmd_thread_list_ids, mi_cmd_thread_info)
	(mi_cmd_list_thread_groups, mi_cmd_data_list_register_names)
	(mi_cmd_data_list_changed_registers)
	(mi_cmd_data_write_register_values)
	(mi_cmd_data_evaluate_expression, mi_cmd_data_read_memory)
	(mi_cmd_data_read_memory_bytes, mi_cmd_data_write_memory)
	(mi_cmd_data_write_memory_bytes, mi_cmd_enable_timings)
	(mi_cmd_list_features, mi_cmd_list_target_features)
	(mi_cmd_add_inferior, mi_cmd_remove_inferior)
	(mi_cmd_trace_define_variable, mi_cmd_trace_list_variables)
	(mi_cmd_trace_find, mi_cmd_trace_save, mi_cmd_trace_start)
	(mi_cmd_trace_status, mi_cmd_trace_stop, mi_cmd_ada_task_info)
	(mi_cmd_trace_frame_collected): Constify 'command'
	parameter.
	* mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Constify
	'command' parameter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Don't initialize string command variables to empty string
@ 2017-04-05 21:07 sergiodj+buildbot
  2017-08-06  9:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 21:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bde6261aed330cd8d108c387bfe659a6171525dd ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: bde6261aed330cd8d108c387bfe659a6171525dd

-Wwrite-strings: Don't initialize string command variables to empty string

-Wwrite-strings flags these initializations as requiring a cast.
However, these variables are command variables, and as such point to
heap-allocated memory.  The initial allocation is always done when the
corresponding command is registered.  E.g.,:

    dprintf_function = xstrdup ("printf");
    add_setshow_string_cmd ("dprintf-function", class_support,
			    &dprintf_function, _("\
  Set the function to use for dynamic printf"), _("\
  Show the function to use for dynamic printf"), NULL,
			    update_dprintf_commands, NULL,
			    &setlist, &showlist);

That's why we never reach a bogus attempt to free these string
literals.

So, just drop the incorrect initializations.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (dprintf_function, dprintf_channel): Don't initialize.
	* tracepoint.c (default_collect): Don't initialize.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify warning_pre_print
@ 2017-04-05 20:52 sergiodj+buildbot
  2017-08-08  2:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 69bbf465237819bd7bf2a21a682d695273b3c8cb ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 69bbf465237819bd7bf2a21a682d695273b3c8cb

-Wwrite-strings: Constify warning_pre_print

-Wwrite-strings flags a warning here:

  char *warning_pre_print = "\nwarning: ";

gdb/ChangeLog:
2017-04-05  Pedro Alves	 <palves@redhat.com>

	* main.c (captured_main_1): Use gdb::unique_xmalloc_ptr to manage
	the memory of the temporary warning_pre_print override.
	* utils.c (warning_pre_print): Constify.
	* utils.h (warning_pre_print): Constify.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify shell_escape and plug make_command leak
@ 2017-04-05 20:34 sergiodj+buildbot
  2017-08-07  5:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 20:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT be47f9e8180d7275b0e2b26998472e99be9a2d7b ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: be47f9e8180d7275b0e2b26998472e99be9a2d7b

-Wwrite-strings: Constify shell_escape and plug make_command leak

gdb/ChangeLog:
2017-04-05  Pedro Alves	 <palves@redhat.com>

	* cli/cli-cmds.c (shell_escape): Constify 'arg' parameter.
	(shell_command): New function.
	(make_command): Use std::string.
	(init_cli_cmds): Register shell_command instead of shell_escape.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify macroexp.c:init_shared_buffer
@ 2017-04-05 19:30 sergiodj+buildbot
  2017-08-05 13:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b38ef47f47bda5509babd768092ceb09ab98828d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b38ef47f47bda5509babd768092ceb09ab98828d

-Wwrite-strings: Constify macroexp.c:init_shared_buffer

There's one call in the file that passes a string literal, like:

	init_shared_buffer (&va_arg_name, "__VA_ARGS__",
				  strlen ("__VA_ARGS__"));

Instead of adding a cast here, make init_shared_buffer take a 'const
char *', and remove the several casts in the file that are made
obsolete.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* macroexp.c (macro_buffer::shared): Now a bool.
	(init_buffer): Update.
	(init_shared_buffer): Constify 'addr' parameter.
	(substitute_args, expand, macro_expand, macro_expand_next): Remove
	casts.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wwrite-strings: Constify struct disassemble_info's disassembler_options field
@ 2017-04-05 19:07 sergiodj+buildbot
  2017-08-04 16:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 19:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f995bbe8e62fdb5607acb1ee127240cfe50d2b8f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: f995bbe8e62fdb5607acb1ee127240cfe50d2b8f

-Wwrite-strings: Constify struct disassemble_info's disassembler_options field

The memory disassemble_info::disassembler_options points to is always
owned by the client.  I.e., that field is an non-owning, observing
pointer.  Thus const makes sense.

Are the include/ and opcodes/ bits OK?

Tested on x86_64 Fedora 23, built with --enable-targets=all.

include/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* dis-asm.h (disassemble_info) <disassembler_options>: Now a
	"const char *".
	(next_disassembler_option): Constify.

opcodes/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* arc-dis.c (parse_option, parse_disassembler_options): Constify.
	* arm-dis.c (parse_arm_disassembler_options): Constify.
	* ppc-dis.c (powerpc_init_dialect): Constify local.
	* vax-dis.c (parse_disassembler_options): Constify.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* arm-tdep.c (show_disassembly_style_sfunc): Constify local.
	* disasm.c (set_disassembler_options): Constify local.
	* i386-tdep.c (i386_print_insn): Remove cast and FIXME comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR 21352: Add testsuite for "tsave -r" command
@ 2017-04-05 17:31 sergiodj+buildbot
  2017-08-03 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 17:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0ad9d8c73486e60c5a4963c1b7a0ea7063d69cd2 ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 0ad9d8c73486e60c5a4963c1b7a0ea7063d69cd2

PR 21352: Add testsuite for "tsave -r" command

This commit adds a test for the fix of PR 21352.

gdb/testsuite/ChangeLog:
2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21352
	* gdb.trace/tsv.exp: Add test for "tsave -r".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR 21352: Command tsave does not support -r argument
@ 2017-04-05 16:56 sergiodj+buildbot
  2017-08-03  0:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a596fe20e93109300e841a3d0ee5f198146ab6d ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 4a596fe20e93109300e841a3d0ee5f198146ab6d

Fix PR 21352: Command tsave does not support -r argument

This is an obvious fix for PR 21352.  The problem is that the argument
parsing loop is not using an "else if" where it should, and therefore
the '-r' option ends up unrecognized by GDB.

gdb/ChangeLog:
2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21352
	* tracefile.c (tsave_command): Fix argument parsing for '-r'
	option.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use frame_unwind_register_value in frame_unwind_register_unsigned
@ 2017-04-05 15:20 sergiodj+buildbot
  2017-08-02  3:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 15:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2cad08ea7dbc96103da9957da6973f9d0dbc33a8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2cad08ea7dbc96103da9957da6973f9d0dbc33a8

Use frame_unwind_register_value in frame_unwind_register_unsigned

gdb:

2017-04-05  Yao Qi  <yao.qi@linaro.org>

	* frame.c (frame_unwind_register_unsigned): Call
	frame_unwind_register_value.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix racy test in gdb.threads/thread-specific-bp.exp
@ 2017-04-05 14:11 sergiodj+buildbot
  2017-08-01  7:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 14:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55a98976756cb2df83ac8f8e9799331fbcc4f669 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 55a98976756cb2df83ac8f8e9799331fbcc4f669

Fix racy test in gdb.threads/thread-specific-bp.exp

I see the following test fail from time to time, due to the racy test
in gdb.threads/thread-specific-bp.exp.

continue -a^M
Continuing.^M
^M
Thread 1 "thread-specific" hit Breakpoint 4, end () at binutils-gdb/gdb/testsuite/gdb.threads/thread-specific-bp.c:29^M
29      }^M
(gdb) [Thread 0x40322460 (LWP 12950) exited]^M
Thread-specific breakpoint 3 deleted - thread 2 no longer in the thread list.^M
FAIL: gdb.threads/thread-specific-bp.exp: non-stop: continue to end (timeout)

This patch changes gdb_test to gdb_test_multiple to match prompt only
instead of both prompt and anchor.

gdb/testsuite:

2017-04-05  Yao Qi  <yao.qi@linaro.org>

	* gdb.threads/thread-specific-bp.exp (check_thread_specific_breakpoint):
	Use gdb_test_multiple, and don't match anchor.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC64le PLT reference counting
@ 2017-04-05 12:49 sergiodj+buildbot
  2017-07-31 10:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8dea77f0254d6a76d71092c922e9409ef1b67df4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8dea77f0254d6a76d71092c922e9409ef1b67df4

PowerPC64le PLT reference counting

A fix for ELFv2 ABI garbage-collection.

	* elf64-ppc.c (ppc64_elf_gc_sweep_hook): Support ELFv2 PLT
	reference counting.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] New global maintainer - Simon Marchi
@ 2017-04-05  9:19 sergiodj+buildbot
  2017-07-30 13:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ac40124eef08045bf99ad9f4fcc277961953109 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4ac40124eef08045bf99ad9f4fcc277961953109

New global maintainer - Simon Marchi

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* MAINTAINERS (Global Maintainers): Add Simon Marchi.
	(Write After Approval): Remove Simon Marchi.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Initialize gdb::optional empty payload to quiet false -Wmaybe-uninitialized warnings
@ 2017-04-05  1:01 sergiodj+buildbot
  2017-07-29 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-05  1:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c053b65441eb70ac78a514fabc3431b857a30d2e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c053b65441eb70ac78a514fabc3431b857a30d2e

Initialize gdb::optional empty payload to quiet false -Wmaybe-uninitialized warnings

Commit ecfb656c37b982 ("dwarf2read.c: Make dir_index and
file_name_index strong typedefs") added a use of gdb::optional that
triggers bogus -Wmaybe-uninitialized warnings:

GCC trunk is complaining like this:

  ../../binutils-gdb/gdb/dwarf2read.c: In function void read_formatted_entries(bfd*, const gdb_byte**, line_header*, const comp_unit_head*, void (*)(line_header*, const char*, dir_index, unsigned int, unsigned int)):
  ../../binutils-gdb/gdb/dwarf2read.c:17779:65: error: fe.file_entry::length may be used uninitialized in this function [-Werror=maybe-uninitialized]
	 callback (lh, fe.name, fe.d_index, fe.mod_time, fe.length);
								   ^
  ../../binutils-gdb/gdb/dwarf2read.c:17779:65: error: *((void*)& fe +8) may be used uninitialized in this function [-Werror=maybe-uninitialized]
  ../../binutils-gdb/gdb/dwarf2read.c:17779:65: error: fe.file_entry::mod_time may be used uninitialized in this function [-Werror=maybe-uninitialized]
  ../../binutils-gdb/gdb/dwarf2read.c:17779:65: error: fe.file_entry::name may be used uninitialized in this function [-Werror=maybe-uninitialized]

While some older GCCs are complaining like this:

  ../../binutils-gdb/gdb/dwarf2read.c: In function void read_formatted_entries(bfd*, const gdb_byte**, line_header*, const comp_unit_head*, void (*)(line_header*, const char*, dir_index, unsigned int, unsigned int)):
  ../../binutils-gdb/gdb/dwarf2read.c:17779:65: error: uint may be used uninitialized in this function [-Werror=maybe-uninitialized]
	 callback (lh, fe.name, fe.d_index, fe.mod_time, fe.length);

Looking around the web, I see that boost's optional implementation
triggers this kind of issue often too.  See:

  http://www.boost.org/doc/libs/1_63_0/libs/optional/doc/html/boost_optional/tutorial/gotchas/false_positive_with__wmaybe_uninitialized.html

I noticed that replacing the gdb::optional uses with real C++17
std::optional uses against GCC 7/trunk makes the warnings go away.
Looking at the implementation, AFAICS, libstdc++ always initializes
its "empty" union payload member (_M_empty, which is defined as an
empty class, like ours).  I.e., all payload types have this ctor:

    struct _Optional_payload.....
    {
      constexpr _Optional_payload()
	: _M_empty() {}

The constexpr makes a diference too.  Without it, GCC7 still warns.

So I'm applying the same treatment to our gdb::optional.

gdb/ChangeLog:
2017-04-05  Pedro Alves  <palves@redhat.com>

	* common/gdb_optional.h (optional::optional): Make constexpr and
	initialize m_dummy.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove support for FreeBSD/alpha.
@ 2017-04-04 23:00 sergiodj+buildbot
  2017-07-28  0:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 23:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e1a8bef60db2f524c5eb1d27be22cfa9ff82a84 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 1e1a8bef60db2f524c5eb1d27be22cfa9ff82a84

Remove support for FreeBSD/alpha.

FreeBSD last shipped a release for Alpha (6.3) in 2008.
This also removes support for GNU/kFreeBSD on Alpha.

gdb/ChangeLog:

	* Makefile.in (ALL_64_TARGET_OBS): Remove alpha-fbsd-tdep.o.
	(ALLDEPFILES): Remove alpha-fbsd-tdep.c
	* NEWS: Mention that support for FreeBSD/alpha was removed.
	* alpha-fbsd-tdep.c: Delete file.
	* config/alpha/fbsd.mh: Delete file.
	* configure.host: Delete alpha*-*-freebsd* and
	alpha*-*-kfreebsd*-gnu.
	* configure.tgt: Delete alpha*-*-freebsd* and
	alpha*-*-kfreebsd*-gnu.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove support for using the bsd-uthread target on FreeBSD.
@ 2017-04-04 22:09 sergiodj+buildbot
  2017-07-28 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 22:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c7bf4f91b7dd3ccbd12be55316fca8817059a24 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 4c7bf4f91b7dd3ccbd12be55316fca8817059a24

Remove support for using the bsd-uthread target on FreeBSD.

The bsd-uthread target supports an old thread library ("libc_r") that
was last included in FreeBSD release 6.4 released in 2008.  However,
this library has not been used as the default library since FreeBSD
5.0 (2003) and 4.11 (2005).  Thread support for modern FreeBSD binaries
is provided via "normal" LWP support in core files and the native
FreeBSD target.

gdb/ChangeLog:

	* amd64-fbsd-tdep.c: Remove "bsd-uthread.h" include.
	(amd64fbsd_jmp_buf_reg_offset): Remove.
	(amd64fbsd_supply_uthread): Remove function.
	(amd64fbsd_collect_uthread): Remove function.
	(amd64fbsd_init_abi): Don't set bsd-uthread callbacks.
	* configure.tgt (i[34567]86-*-freebsd*): Remove bsd-uthread.o.
	(x86_64-*-freebsd*): Remove bsd-uthread.o.
	(fbsd-nat.c): Update comment.
	* i386-fbsd-tdep.c: Remove "bsd-uthread.h" include.
	(i386fbsd_jmp_buf_reg_offset): Remove.
	(i386fbsd_supply_uthread): Remove function.
	(i386fbsd_collect_uthread): Remove function.
	(i386fbsd_init_abi): Don't set bsd-uthread callbacks.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ptid from regcache instead of inferior_ptid.
@ 2017-04-04 21:39 sergiodj+buildbot
  2017-07-27  4:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 21:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 499079343549348e270047ffa2687a8a76523700 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 499079343549348e270047ffa2687a8a76523700

Use ptid from regcache instead of inferior_ptid.

gdb/ChangeLog:

	* amd64-bsd-nat.c (amd64bsd_fetch_inferior_registers,
	amd64bsd_store_inferior_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] dwarf2read.c: C++fy lnp_state_machine
@ 2017-04-04 21:21 sergiodj+buildbot
  2017-07-26  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 21:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f77053d2ae56f16c10a8817732ed9fb43893507 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6f77053d2ae56f16c10a8817732ed9fb43893507

dwarf2read.c: C++fy lnp_state_machine

While I was looking at the file, I noticed that this struct could be
nicely converted to a class.  As I was progressing, I ended up moving
all state machine actual internal state manipulation to methods of
lnp_state_machine, essentially decoupling DWARF parsing from state
tracking.  I also noticed that the lnp_reader_state doesn't really
serve any good use, so that's eliminated in the process.

gdb/ChangeLog:
2017-04-04  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (lnp_state_machine): Now a class.  Initialize all
	data fields, make them private and add "m_" prefixes.
	(lnp_state_machine::lnp_state_machine): New ctor.
	(record_line, check_line_address, handle_set_discriminator)
	(handle_set_address, handle_advance_pc, handle_special_opcode)
	(handle_advance_line, handle_set_file, handle_negate_stmt)
	(handle_const_add_pc, handle_fixed_advance_pc, handle_copy)
	(end_sequence, advance_line): New methods.
	(m_gdbarch, m_record_lines_p): New fields.
	(lnp_reader_state): Delete.
	(dwarf_record_line): Rename to ...
	(lnp_state_machine::record_line): ... adjust.
	(init_lnp_state_machine): Delete.
	(lnp_state_machine::lnp_state_machine): New.
	(check_line_address): Rename to ...
	(lnp_state_machine::check_line_address): This.
	(dwarf_decode_lines_1): Remove reference to "reader_state".
	Adjust lnp_state_machine having a non-default ctor.  Use bool.
	State machine internal state manipulation moved to
	lnp_state_machine methods.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make sect_offset and cu_offset strong typedefs instead of structs
@ 2017-04-04 21:06 sergiodj+buildbot
  2017-07-25 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 21:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c5417255690af00751c7d506172459afe856894 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9c5417255690af00751c7d506172459afe856894

Make sect_offset and cu_offset strong typedefs instead of structs

A while ago, back when GDB was a C program, the sect_offset and
cu_offset types were made structs in order to prevent incorrect mixing
of those offsets.  Now that we require C++11, we can make them
integers again, while keeping the safety, by exploiting "enum class".
We can add a bit more safety, even, by defining operators that the
types _should_ support, helping making the suspicious uses stand out
more.

Getting at the underlying type is done with the new to_underlying
function added by the previous patch, which also helps better spot
where do we need to step out of the safety net.  Mostly, that's around
parsing the DWARF, and when we print the offset for complaint/debug
purposes.  But there are other occasional uses.

Since we have to define the sect_offset/cu_offset types in a header
anyway, I went ahead and generalized/library-fied the idea of "offset"
types, making it trivial to add more such types if we find a use.  See
common/offset-type.h and the DEFINE_OFFSET_TYPE macro.

I needed a couple generaly-useful preprocessor bits (e.g., yet another
CONCAT implementation), so I started a new common/preprocessor.h file.

I included units tests covering the "offset" types API.  These are
mostly compile-time tests, using SFINAE to check that expressions that
shouldn't compile (e.g., comparing unrelated offset types) really are
invalid and would fail to compile.  This same idea appeared in my
pending enum-flags revamp from a few months ago (though this version
is a bit further modernized compared to what I had posted), and I plan
on reusing the "check valid expression" bits added here in that
series, so I went ahead and defined the CHECK_VALID_EXPR macro in its
own header -- common/valid-expr.h.  I think that's nicer regardless.

I was borderline between calling the new types "offset" types, or
"index" types, BTW.  I stuck with "offset" simply because that's what
we're already calling them, mostly.

gdb/ChangeLog:
2017-04-04  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
	unittests/offset-type-selftests.c.
	(SUBDIR_UNITTESTS_OBS): Add offset-type-selftests.o.
	* common/offset-type.h: New file.
	* common/preprocessor.h: New file.
	* common/traits.h: New file.
	* common/valid-expr.h: New file.
	* dwarf2expr.c: Include "common/underlying.h".  Adjust to use
	sect_offset and cu_offset strong typedefs throughout.
	* dwarf2expr.h: Adjust to use sect_offset and cu_offset strong
	typedefs throughout.
	* dwarf2loc.c: Include "common/underlying.h".  Adjust to use
	sect_offset and cu_offset strong typedefs throughout.
	* dwarf2read.c: Adjust to use sect_offset and cu_offset strong
	typedefs throughout.
	* gdbtypes.h: Include "common/offset-type.h".
	(cu_offset): Now an offset type (strong typedef) instead of a
	struct.
	(sect_offset): Likewise.
	(union call_site_parameter_u): Rename "param_offset" field to
	"param_cu_off".
	* unittests/offset-type-selftests.c: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] dwarf2read.c: Make dir_index and file_name_index strong typedefs
@ 2017-04-04 20:48 sergiodj+buildbot
  2017-07-24 14:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 20:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecfb656c37b982479d8eb07f240b434772d98fd6 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ecfb656c37b982479d8eb07f240b434772d98fd6

dwarf2read.c: Make dir_index and file_name_index strong typedefs

This should help catch mistakes related to mixing the 1-based DWARF
indexes with 0-based std::vector indexes, since the new types do not
implicitly convert to anything.

The change in read_formatted_entries relates to the fact that doing
the seemingly simpler:

 -	      uintp = &fe.dir_index;
 +	      uintp = (unsigned int *) &fe.dir_index;

would be undefined C/C++.  So to address that, I made the function
extract the form before assigning to the file_entry.  It felt natural
to use gdb::optional for "do I have this value", and this is what
motivated the previous patch that added the missing observer methods
to gdb::optional.

gdb/ChangeLog:
2017-04-04  Pedro Alves  <palves@redhat.com>

	* common/underlying.h: New file.
	* dwarf2read.c: Include "common/gdb_optional.h" and
	"common/underlying.h".
	(dir_index, file_name_index): New types.
	(file_entry): Use them.
	(file_entry::include): Use to_underlying.
	(line_header::add_file_name): Use dir_index.
	(read_formatted_entries): Use gdb::optional.  Read form before
	writting to file_entry.
	(dwarf_decode_line_header): Use dir_index.
	(lnp_state_machine::current_file): Use to_underlying.
	(lnp_state_machine::file): Change type to file_name_index.
	(dwarf_record_line): Use to_underlying.
	(init_lnp_state_machine): Use file_name_index.
	(dwarf_decode_lines_1): Use dir_index and file_name_index.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb::optional: Add observers
@ 2017-04-04 20:33 sergiodj+buildbot
  2017-07-23 17:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 20:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d194f1fe51cb85b8a919b7ee9e3a7715b0ec9744 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d194f1fe51cb85b8a919b7ee9e3a7715b0ec9744

gdb::optional: Add observers

Currently, gdb::optional is really minimal and can only be used for
lazy initialization.  There's no way to get at the value contained
inside the optinal.  This commit corrects that, by adding observer
methods, mostly copied from libstdc++'s implementation of C++17
std::optional.

This will be used in the following patch.

gdb/ChangeLog:
2017-04-04  Pedro Alves  <palves@redhat.com>

	* common/gdb_optional.h (gdb::optiona): Add operator->, operator*,
	operator bool, has_value and get methods.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] dwarf2read.c: Some C++fycation, use std::vector, std::unique_ptr
@ 2017-04-04 20:11 sergiodj+buildbot
  2017-07-22 21:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 20:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fff8551cf549f4047c9276a836408d802db6ce6d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: fff8551cf549f4047c9276a836408d802db6ce6d

dwarf2read.c: Some C++fycation, use std::vector, std::unique_ptr

This starts off as replacing a couple custom open coded vector
implementations in the file with std::vector, and then the rest falls
off of that.  I.e., use new/delete instead of XCNEW/xfree, add
ctors/dtors/initializers where appropriate.  And then use
std::unique_ptr instead of cleanups.  Some functions became methods,
and in a couple spots, some single-use callback functions that would
have to be tweaked anyway are converted to lambdas instead.

gdb/ChangeLog:
2017-04-04  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (struct file_entry): Add ctors, and initialize all
	fields.
	(line_header): Initialize all data fields.  Change type of
	standard_opcode_lengths to std::unique_ptr<unsigned char[]>.
	Change type of include_dirs to std::vector<const char *>.  Remove
	num_include_dirs, include_dirs_size.  Change type of file_names to
	std::vector<file_entry>.  Remove num_file_names, file_names_size.
	(line_header::line_header): New.
	(line_header::add_include_dir, line_header::add_file_name): New
	methods.
	(line_header::include_dir_at): Remove NULL check.
	(line_header::file_name_at): Add const overload.
	(line_header_up): New unique_ptr typedef.
	(dw2_get_file_names_reader): Use line_header_up.  Adjust to use
	std::vector.  Remove free_line_header call.
	(dwarf2_build_include_psymtabs): Use line_header_up.  Remove
	free_line_header call.
	(free_cu_line_header): Delete.
	(handle_DW_AT_stmt_list, handle_DW_AT_stmt_list)
	(setup_type_unit_groups): Use line_header_up instead of cleanups.
	Adjust to use std::vector.
	(free_line_header): Delete.
	(free_line_header_voidp): Use delete.
	(add_include_dir): Replace with ...
	(line_header::add_include_dir): ... this method.  Use std::vector.
	(add_file_name): Replace with ...
	(line_header::add_file_name): ... this method.  Use std::vector.
	(add_include_dir_stub): Delete.
	(read_formatted_entries): Remove memset.
	(dwarf_decode_line_header): Return a line_header_up instead of a
	raw pointer.  Remove cleanup handling.  Pass lambdas to
	read_formatted_entries.  Adjust to use line_header methods.
	(dwarf_decode_lines_1): Adjust to use line_header methods.
	(dwarf_decode_lines, file_file_name, file_full_name): Adjust to
	use std::vector.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use symbolic constants instead of magic numbers with add_data_entry()
@ 2017-04-04 18:37 sergiodj+buildbot
  2017-07-22  1:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 18:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 477bdd393c8145ad44899cb4681d57a61c82aad3 ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: 477bdd393c8145ad44899cb4681d57a61c82aad3

Use symbolic constants instead of magic numbers with add_data_entry()

Use symbolic constants from include/coff/internal.h instead of magic numbers
with add_data_entry()

bfd/ChangeLog:

2017-04-02  Jon Turney  <jon.turney@dronecode.org.uk>

	(_bfd_XXi_swap_aouthdr_out): For clarity, use defines rather than
	numbers for DataDirectory entry indicies passed to
	add_data_entry().


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX
@ 2017-04-04 18:09 sergiodj+buildbot
  2017-07-21  5:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 18:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a91e1603afb6704545793e967a1a3dfe96b389de ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a91e1603afb6704545793e967a1a3dfe96b389de

Support ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX

Mark an ALLOC section, which should be placed in special memory area,
with SHF_GNU_MBIND.  Its sh_info field indicates the special memory
type.  GNU_MBIND section names start with ".mbind" so that they are
placed as orphan sections by linker.  All input GNU_MBIND sections
with the same sh_type, sh_flags and sh_info are placed in one output
GNU_MBIND section.  In executable and shared object, create a
GNU_MBIND segment for each GNU_MBIND section and its segment type is
PT_GNU_MBIND_LO plus the sh_info value.  Each GNU_MBIND segment is
aligned at page boundary.

The assembler syntax:

    .section .mbind.foo,"adx",%progbits
                          ^             0: Special memory type.
                          |
                         'd' for SHF_GNU_MBIND.

    .section .mbind.foo,"adx",%progbits,0x1
                          ^             1: Special memory type.
                          |
                         'd' for SHF_GNU_MBIND.

    .section .mbind.bar,"adG",%progbits,.foo_group,comdat,0x2
                          ^                               2: Special memory type.
                          |
                         'd' for SHF_GNU_MBIND.

bfd/

	* elf.c (get_program_header_size): Add a GNU_MBIND segment for
	each GNU_MBIND section and align GNU_MBIND section to page size.
	(_bfd_elf_map_sections_to_segments): Create a GNU_MBIND
	segment for each GNU_MBIND section.
	(_bfd_elf_init_private_section_data): Copy sh_info from input
	for GNU_MBIND section.

binutils/

	* NEWS: Mention support for ELF SHF_GNU_MBIND and
	PT_GNU_MBIND_XXX.
	* readelf.c (get_segment_type): Handle PT_GNU_MBIND_XXX.
	(get_elf_section_flags): Handle SHF_GNU_MBIND.
	(process_section_headers): Likewise.
	* testsuite/binutils-all/mbind1.s: New file.
	* testsuite/binutils-all/objcopy.exp: Run readelf test on
	mbind1.s.

gas/

	* NEWS: Mention support for ELF SHF_GNU_MBIND.
	* config/obj-elf.c (section_match): New.
	(get_section): Match both sh_info and group name.
	(obj_elf_change_section): Add argument for sh_info.  Pass both
	sh_info and group name to get_section. Issue an error for
	SHF_GNU_MBIND section without SHF_ALLOC.  Set sh_info.
	(obj_elf_parse_section_letters): Set SHF_GNU_MBIND for 'd'.
	(obj_elf_section): Support SHF_GNU_MBIND section info.
	* config/obj-elf.h (obj_elf_change_section): Add argument for
	sh_info.
	* config/tc-arm.c (start_unwind_section): Pass 0 as sh_info to
	obj_elf_change_section.
	* config/tc-ia64.c (obj_elf_vms_common): Likewise.
	* config/tc-microblaze.c (microblaze_s_data): Likewise.
	(microblaze_s_sdata): Likewise.
	(microblaze_s_rdata): Likewise.
	(microblaze_s_bss): Likewise.
	* config/tc-mips.c (s_change_section): Likewise.
	* config/tc-msp430.c (msp430_profiler): Likewise.
	* config/tc-rx.c (parse_rx_section): Likewise.
	* config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
	* doc/as.texinfo: Document 'd' for SHF_GNU_MBIND.
	* testsuite/gas/elf/elf.exp: Run section12a, section12b and
	section13.
	* testsuite/gas/elf/section10.d: Updated.
	* testsuite/gas/elf/section10.s: Likewise.
	* testsuite/gas/elf/section12.s: New file.
	* testsuite/gas/elf/section12a.d: Likewise.
	* testsuite/gas/elf/section12b.d: Likewise.
	* testsuite/gas/elf/section13.l: Likewise.
	* testsuite/gas/elf/section13.d: Likewise.
	* testsuite/gas/elf/section13.s: Likewise.

include/

	* elf/common.h (PT_GNU_MBIND_NUM): New.
	(PT_GNU_MBIND_LO): Likewise.
	(PT_GNU_MBIND_HI): Likewise.
	(SHF_GNU_MBIND): Likewise.

ld/

	* NEWS: Mention support for ELF SHF_GNU_MBIND and
	PT_GNU_MBIND_XXX.
	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
	input GNU_MBIND sections with the same type, attributes and
	sh_info field into a single output GNU_MBIND section.
	* testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b.
	* testsuite/ld-elf/mbind1.s: New file.
	* testsuite/ld-elf/mbind1a.d: Likewise.
	* testsuite/ld-elf/mbind1b.d: Likewise.
	* testsuite/ld-elf/mbind1c.d: Likewise.
	* testsuite/ld-elf/mbind2a.s: Likewise.
	* testsuite/ld-elf/mbind2b.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V: Resurrect GP-relative disassembly hints
@ 2017-04-04 16:13 sergiodj+buildbot
  2017-07-20  8:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b52920324fabbcad93042f2e17de52696d0dab42 ***

Author: Palmer Dabbelt <palmer@dabbelt.com>
Branch: master
Commit: b52920324fabbcad93042f2e17de52696d0dab42

RISC-V: Resurrect GP-relative disassembly hints

We missed a "_gp" when changing the GP symbol.  To make sure that
doesn't happen again, we now use the same definition everywhere (thanks,
Nick).

include/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * elf/riscv.h (RISCV_GP_SYMBOL): New define.

bfd/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * elfnn-riscv.c (GP_NAME): Delete.
        (riscv_global_pointer_value): Change GP_NAME to RISCV_GP_SYMBOL.
        (_bfd_riscv_relax_lui): Likewise.

opcodes/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * riscv-dis.c (riscv_disassemble_insn): Change "_gp" to
        RISCV_GP_SYMBOL.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Clear .deps on clean
@ 2017-04-04 16:07 sergiodj+buildbot
  2017-07-19 11:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 16:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65dd1e590e519eba10bc29fb6e952271e0604c9b ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 65dd1e590e519eba10bc29fb6e952271e0604c9b

gdbserver: Clear .deps on clean

In some situations, the dependency tracking files in .deps can refer to
source files that were removed or renamed, leading to errors like:

  make: *** No rule to make target `version.c', needed by `version.o'. Stop.

This patch makes the clean target clear the .deps directory, which gives
the user a chance to recover from the error wihtout knowing about the
internals of the build system.

It is already done for GDB.  See here for more details:

  https://sourceware.org/ml/gdb-patches/2009-03/msg00000.html

gdb/gdbserver/ChangeLog:

	* Makefile.in (clean): Clear .deps.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] remote.c: Use ptid_t instead of struct ptid
@ 2017-04-04 14:49 sergiodj+buildbot
  2017-07-18 15:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 14:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d62a8ae2dd0fbb6235f4e8f2fb61b83fe4ba1d90 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: d62a8ae2dd0fbb6235f4e8f2fb61b83fe4ba1d90

remote.c: Use ptid_t instead of struct ptid

It's the only place in the codebase that uses "struct ptid", so change
it to ptid_t for consistency.

gdb/ChangeLog:

	* remote.c (set_general_thread, set_continue_thread): Use ptid_t
	instead of struct ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix null pointer dereferences when using a link built with clang.
@ 2017-04-04 10:51 sergiodj+buildbot
  2017-07-17 17:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04 10:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad32986fdf9da1c8748e47b8b45100398223dba8 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: ad32986fdf9da1c8748e47b8b45100398223dba8

Fix null pointer dereferences when using a link built with clang.

	PR binutils/21342
	* elflink.c (_bfd_elf_define_linkage_sym): Prevent null pointer
	dereference.
	(bfd_elf_final_link): Only initialize the extended symbol index
	section if there are extended symbol tables to list.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove MAX_REGISTER_SIZE from frame.c
@ 2017-04-04  8:09 sergiodj+buildbot
  2017-07-16 17:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-04  8:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db3a1dc7c9404e203c54576db3335e69d995e83e ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: db3a1dc7c9404e203c54576db3335e69d995e83e

Remove MAX_REGISTER_SIZE from frame.c

gdb/
	* frame.c (get_frame_register_bytes): Unwind using value.
	(put_frame_register_bytes): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] IA16 support
@ 2017-04-03 16:30 sergiodj+buildbot
  2017-07-15  9:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-03 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f5f29cada3c06c9c26f4da5994951effee7d6f7 ***

Author: Andrew Jenner <andrew@codesourcery.com>
Branch: master
Commit: 2f5f29cada3c06c9c26f4da5994951effee7d6f7

IA16 support

       * config.sub: Handle ia16 in $basic_machine.

       bfd/
       * config.bfd: Handle ia16.

       gas/
       * configure.tgt: Handle ia16.

       ld/
       * configure.tgt: Handle ia16.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ld: Support ELF GNU program properties
@ 2017-04-03 15:34 sergiodj+buildbot
  2017-07-14 11:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-04-03 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 46bed6796d5821832e8ba373ddb2e7fdc45a109d ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 46bed6796d5821832e8ba373ddb2e7fdc45a109d

ld: Support ELF GNU program properties

>From .note.gnu.property section in each ELF input, we build a list of
GNU properties if .note.gnu.property section isn't corrupt.  The unknown
properties are ignored.  All property lists in relocatable inputs are
merged into an output property list.  When -z stack-size=N is used and
N isn't 0, the GNU_PROPERTY_STACK_SIZE property will be merged with or
added to the output property list.  .note.gnu.property section is
generated in output from the output property list.

bfd/

	* Makefile.am (BFD32_BACKENDS): Add elf-properties.lo.
	(BFD32_BACKENDS_CFILES): Add elf-properties.c.
	* configure.ac (elf): Add elf-properties.lo.
	* Makefile.in: Regenerated.
	* configure: Likewise.
	* elf-bfd.h (elf_property_kind): New.
	(elf_property): Likewise.
	(elf_property_list): Likewise.
	(elf_properties): Likewise.
	(_bfd_elf_parse_gnu_properties): Likewise.
	(_bfd_elf_get_property): Likewise.
	(_bfd_elf_link_setup_gnu_properties): Likewise.
	(elf_backend_data): Add parse_gnu_properties, merge_gnu_properties
	and setup_gnu_properties.
	(elf_obj_tdata): Add properties.
	* elf-properties.c: New file.
	* elf32-i386.c (elf_i386_parse_gnu_properties): New.
	(elf_i386_merge_gnu_properties): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	* elf64-x86-64.c (elf_x86_64_parse_gnu_properties): Likewise.
	(elf_x86_64_merge_gnu_properties): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	* elfxx-target.h (elf_backend_merge_gnu_properties): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_setup_gnu_properties): Likewise.
	(elfNN_bed): Add elf_backend_parse_gnu_properties,
	elf_backend_merge_gnu_properties and
	elf_backend_setup_gnu_properties.

ld/

	* ld/NEWS: Mention support for ELF GNU program properties.
	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
	ELF setup_gnu_properties.
	* testsuite/ld-i386/i386.exp: Run property tests for Linux/i386.
	* testsuite/ld-i386/pass.c: New file.
	* testsuite/ld-i386/property-1.r: Likewise.
	* testsuite/ld-i386/property-2.r: Likewise.
	* testsuite/ld-i386/property-3.r: Likewise.
	* testsuite/ld-i386/property-4.r: Likewise.
	* testsuite/ld-i386/property-5.r: Likewise.
	* testsuite/ld-i386/property-6.r: Likewise.
	* testsuite/ld-i386/property-6a.c: Likewise.
	* testsuite/ld-i386/property-6b.c: Likewise.
	* testsuite/ld-i386/property-6c.S: Likewise.
	* testsuite/ld-i386/property-7.r: Likewise.
	* testsuite/ld-i386/property-no-copy.S: Likewise.
	* testsuite/ld-i386/property-stack.S: Likewise.
	* testsuite/ld-i386/property-unsorted-1.S: Likewise.
	* testsuite/ld-i386/property-unsorted-2.S: Likewise.
	* testsuite/ld-i386/property-x86-1.S: Likewise.
	* testsuite/ld-i386/property-x86-2.S: Likewise.
	* testsuite/ld-x86-64/pass.c: Likewise.
	* testsuite/ld-x86-64/property-1.r: Likewise.
	* testsuite/ld-x86-64/property-2.r: Likewise.
	* testsuite/ld-x86-64/property-3.r: Likewise.
	* testsuite/ld-x86-64/property-4.r: Likewise.
	* testsuite/ld-x86-64/property-5.r: Likewise.
	* testsuite/ld-x86-64/property-6.r: Likewise.
	* testsuite/ld-x86-64/property-6a.c: Likewise.
	* testsuite/ld-x86-64/property-6b.c: Likewise.
	* testsuite/ld-x86-64/property-6c.S: Likewise.
	* testsuite/ld-x86-64/property-7.r: Likewise.
	* testsuite/ld-x86-64/property-no-copy.S: Likewise.
	* testsuite/ld-x86-64/property-stack.S: Likewise.
	* testsuite/ld-x86-64/property-unsorted-1.S: Likewise.
	* testsuite/ld-x86-64/property-unsorted-2.S: Likewise.
	* testsuite/ld-x86-64/property-x86-1.S: Likewise.
	* testsuite/ld-x86-64/property-x86-2.S: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run property tests for
	Linux/x86-64.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V: Add physical memory protection CSRs
@ 2017-03-31 17:09 sergiodj+buildbot
  2017-07-10 12:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-31 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 858f82bf7e6531f4ad821285359c759c835f9dce ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 858f82bf7e6531f4ad821285359c759c835f9dce

RISC-V: Add physical memory protection CSRs

2017-03-27  Andrew Waterman  <andrew@sifive.com>

       * opcode/riscv-opc.h (CSR_PMPCFG0): New define.
       (CSR_PMPCFG1): Likewise.
       (CSR_PMPCFG2): Likewise.
       (CSR_PMPCFG3): Likewise.
       (CSR_PMPADDR0): Likewise.
       (CSR_PMPADDR1): Likewise.
       (CSR_PMPADDR2): Likewise.
       (CSR_PMPADDR3): Likewise.
       (CSR_PMPADDR4): Likewise.
       (CSR_PMPADDR5): Likewise.
       (CSR_PMPADDR6): Likewise.
       (CSR_PMPADDR7): Likewise.
       (CSR_PMPADDR8): Likewise.
       (CSR_PMPADDR9): Likewise.
       (CSR_PMPADDR10): Likewise.
       (CSR_PMPADDR11): Likewise.
       (CSR_PMPADDR12): Likewise.
       (CSR_PMPADDR13): Likewise.
       (CSR_PMPADDR14): Likewise.
       (CSR_PMPADDR15): Likewise.
       (pmpcfg0): Declare register.
       (pmpcfg1): Likewise.
       (pmpcfg2): Likewise.
       (pmpcfg3): Likewise.
       (pmpaddr0): Likewise.
       (pmpaddr1): Likewise.
       (pmpaddr2): Likewise.
       (pmpaddr3): Likewise.
       (pmpaddr4): Likewise.
       (pmpaddr5): Likewise.
       (pmpaddr6): Likewise.
       (pmpaddr7): Likewise.
       (pmpaddr8): Likewise.
       (pmpaddr9): Likewise.
       (pmpaddr10): Likewise.
       (pmpaddr11): Likewise.
       (pmpaddr12): Likewise.
       (pmpaddr13): Likewise.
       (pmpaddr14): Likewise.
       (pmpaddr15): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for the WebAssembly file format and the wasm32 ELF conversion to gas and the binutils.
@ 2017-03-30 10:20 sergiodj+buildbot
  2017-07-08 20:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-30 10:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f96bd6c2d7a3801fabbf9d834f7a29b752aa7532 ***

Author: Pip Cet <pipcet@gmail.com>
Branch: master
Commit: f96bd6c2d7a3801fabbf9d834f7a29b752aa7532

Add support for the WebAssembly file format and the wasm32 ELF conversion to gas and the binutils.

binutils * readelf.c: Add support for wasm32 ELF format WebAssembly files.
	(guess_is_rela): Likewise.
	(dump_relocations): Likewise.
	(is_32bit_abs_reloc): Likewise.
	(is_none_reloc_): Likewise.
	* NEWS: Mention the new support.
	* testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32
	as ELF target.
	(supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE.
	* testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations.
	* testsuite/binutils-all/wasm32: New directory.
	* testsuite/binutils-all/wasm32/create-wasm.d: New file.
	* testsuite/binutils-all/wasm32/create-wasm.s: Likewise.
	* testsuite/binutils-all/wasm32/custom-section.d: Likewise.
	* testsuite/binutils-all/wasm32/custom-section.s: Likewise.
	* testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise.
	* testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise.
	* testsuite/binutils-all/wasm32/long-sections.d: Likewise.
	* testsuite/binutils-all/wasm32/long-sections.s: Likewise.
	* testsuite/binutils-all/wasm32/parse-wasm.d: Likewise.
	* testsuite/binutils-all/wasm32/parse-wasm.s: Likewise.
	* testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise.
	* testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise.
	* testsuite/binutils-all/wasm32/prepared-section.d: Likewise.
	* testsuite/binutils-all/wasm32/prepared-section.s: Likewise.
	* testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests.

gas	* config/tc-wasm32.h: New file: Add WebAssembly assembler target.
	* config/tc-wasm32.c: New file: Add WebAssembly assembler target.
	* Makefile.am: Add WebAssembly assembler target.
	* configure.tgt: Add WebAssembly assembler target.
	* doc/c-wasm32.texi: New file: Start documenting WebAssembly
	assembler.
	* doc/all.texi: Define WASM32.
	* doc/as.texinfo: Add WebAssembly entries.
	* NEWS: Mention the new support.
	* Makefile.in: Regenerate.
	* po/gas.pot: Regenerate.
	* po/POTFILES.in: Regenerate.
	* testsuite/gas/wasm32: New directory.
	* testsuite/gas/wasm32/allinsn.d: New file.
	* testsuite/gas/wasm32/allinsn.s: New file.
	* testsuite/gas/wasm32/illegal.l: New file.
	* testsuite/gas/wasm32/illegal.s: New file.
	* testsuite/gas/wasm32/illegal-2.l: New file.
	* testsuite/gas/wasm32/illegal-2.s: New file.
	* testsuite/gas/wasm32/illegal-3.l: New file.
	* testsuite/gas/wasm32/illegal-3.s: New file.
	* testsuite/gas/wasm32/illegal-4.l: New file.
	* testsuite/gas/wasm32/illegal-4.s: New file.
	* testsuite/gas/wasm32/illegal-5.l: New file.
	* testsuite/gas/wasm32/illegal-5.s: New file.
	* testsuite/gas/wasm32/illegal-6.l: New file.
	* testsuite/gas/wasm32/illegal-6.s: New file.
	* testsuite/gas/wasm32/illegal-7.l: New file.
	* testsuite/gas/wasm32/illegal-7.s: New file.
	* testsuite/gas/wasm32/illegal-8.l: New file.
	* testsuite/gas/wasm32/illegal-8.s: New file.
	* testsuite/gas/wasm32/illegal-9.l: New file.
	* testsuite/gas/wasm32/illegal-9.s: New file.
	* testsuite/gas/wasm32/illegal-10.l: New file.
	* testsuite/gas/wasm32/illegal-10.s: New file.
	* testsuite/gas/wasm32/illegal-11.l: New file.
	* testsuite/gas/wasm32/illegal-11.s: New file.
	* testsuite/gas/wasm32/illegal-12.l: New file.
	* testsuite/gas/wasm32/illegal-12.s: New file.
	* testsuite/gas/wasm32/illegal-13.l: New file.
	* testsuite/gas/wasm32/illegal-13.s: New file.
	* testsuite/gas/wasm32/illegal-14.l: New file.
	* testsuite/gas/wasm32/illegal-14.s: New file.
	* testsuite/gas/wasm32/illegal-15.l: New file.
	* testsuite/gas/wasm32/illegal-15.s: New file.
	* testsuite/gas/wasm32/illegal-16.l: New file.
	* testsuite/gas/wasm32/illegal-16.s: New file.
	* testsuite/gas/wasm32/illegal-17.l: New file.
	* testsuite/gas/wasm32/illegal-17.s: New file.
	* testsuite/gas/wasm32/illegal-18.l: New file.
	* testsuite/gas/wasm32/illegal-18.s: New file.
	* testsuite/gas/wasm32/illegal-19.l: New file.
	* testsuite/gas/wasm32/illegal-19.s: New file.
	* testsuite/gas/wasm32/illegal-20.l: New file.
	* testsuite/gas/wasm32/illegal-20.s: New file.
	* testsuite/gas/wasm32/illegal-21.l: New file.
	* testsuite/gas/wasm32/illegal-21.s: New file.
	* testsuite/gas/wasm32/illegal-22.l: New file.
	* testsuite/gas/wasm32/illegal-22.s: New file.
	* testsuite/gas/wasm32/illegal-24.l: New file.
	* testsuite/gas/wasm32/illegal-24.s: New file.
	* testsuite/gas/wasm32/illegal-25.l: New file.
	* testsuite/gas/wasm32/illegal-25.s: New file.
	* testsuite/gas/wasm32/reloc.d: New file.
	* testsuite/gas/wasm32/reloc.s: New file.
	* testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly
	architecture.

opcodes * configure.ac: Add (empty) bfd_wasm32_arch target.
	* configure: Regenerate
	* po/opcodes.pot: Regenerate.

include	* opcode/wasm.h: New file to support wasm32 architecture.
	* elf/wasm32.h: Add R_WASM32_32 relocation.

bfd	* elf32-wasm32.c: Add relocation code, two relocs.
	* reloc.c: Add wasm32 relocations.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
	* bfd/po/bfd.pot: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix classification of `module.type' in D lexer.
@ 2017-03-30  9:38 sergiodj+buildbot
  2017-07-08  0:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-30  9:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 662659a1a582af14aa45a458005e2a4df514b6d7 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 662659a1a582af14aa45a458005e2a4df514b6d7

Fix classification of `module.type' in D lexer.

The two-tier lexer in gdb/d-exp.y, which resolves fully qualified names
missed a case where `module.type' was not being classified as one token.
And so when the grammar takes over, it matched the remaining tokens
against the rule `TypeExp . IdentifierExp', where we were expecting to
instead match cast expression `( TypeExp ) UnaryExpression'.

Adding a case for TYPE_CODE_MODULE in type_aggregate_p means that
classify_inner_name will get a chance to lookup the symbol.

This was noticed when using `watch -l', and got the rather confusing
response:

    A syntax error in expression, near `) 0x0add4e55'.

So it's been included in the testsuite, along with another test that
does effectively the same expression, but explicitly.

gdb/ChangeLog:

	* d-exp.y (type_aggregate_p): Treat TYPE_CODE_MODULE as being
	aggregate-like.

gdb/testsuite/ChangeLog:

	* gdb.dlang/watch-loc.c: New file.
	* gdb.dlang/watch-loc.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix warning: Invalid entry in .debug_gdb_scripts section
@ 2017-03-29 20:26 sergiodj+buildbot
  2017-07-07  4:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 20:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec13808ef07550f8a5f87fad1945739da1f10c81 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: ec13808ef07550f8a5f87fad1945739da1f10c81

Fix warning: Invalid entry in .debug_gdb_scripts section

$ gdb rustc
Reading symbols from rustc...Reading symbols from /usr/lib/debug/usr/bin/rustc.debug...done.
done.
warning: Invalid entry in .debug_gdb_scripts section

/usr/bin/rustc
Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
  [15] .debug_gdb_scripts PROGBITS        00000000000008ed 0008ed 000022 00 AMS  0   0  1

/usr/lib/debug/usr/bin/rustc.debug
Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
  [15] .debug_gdb_scripts NOBITS          00000000000008ed 000280 000022 00 AMS  0   0  1

There remains questionable whether bfd_get_section_by_name() should not return
an error for !SEC_LOAD but I haven't investigated that.

gdb/ChangeLog
2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* auto-load.c (auto_load_section_scripts): Check SEC_HAS_CONTENTS.

gdb/testsuite/ChangeLog
2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.python/py-section-script.exp (sepdebug): New testcases.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] opcodes: sparc: support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015
@ 2017-03-29 19:38 sergiodj+buildbot
  2017-07-06  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 19:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7c514a3784384215692c43d66f013d7640db277 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: f7c514a3784384215692c43d66f013d7640db277

opcodes: sparc: support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add constructor and destructor to thread_info
@ 2017-03-29 16:25 sergiodj+buildbot
  2017-07-05 11:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1231656410996d2cc271486adc743a0fafe2ab4d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1231656410996d2cc271486adc743a0fafe2ab4d

Add constructor and destructor to thread_info

This patch adds constructor and destructor to thread_info.

gdb:

2017-03-29  Yao Qi  <yao.qi@linaro.org>

	* gdbthread.h (struct thread_info): Declare constructor and
	destructor.  Add some in-class member initializers.
	* thread.c (free_thread): Remove.
	(init_thread_list): Call delete instead of free_thread.
	(new_thread): Call thread_info constructor.
	(thread_info::thread_info): New function.
	(thread_info::~thread_info): New function.
	(delete_thread_1): Call delete instead of free_thread.
	(make_cleanup_restore_current_thread): Move tp and frame to
	inner block.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC -Mraw disassembly
@ 2017-03-29 13:12 sergiodj+buildbot
  2017-07-04  9:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 13:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52be03fd13a26ecda4f27c451a434f19eded0ca6 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 52be03fd13a26ecda4f27c451a434f19eded0ca6

PowerPC -Mraw disassembly

This adds -Mraw for PowerPC objdump, a disassembler option to display
the underlying machine instruction rather than aliases.  For example,
"rlwinm" always rather than "rotlwi" when the instruction is
performing a simple rotate.

binutils/
	* doc/binutils.texi (objdump): Document PowerPC -M options.
gas/
	* config/tc-ppc.c (md_parse_option): Reject -mraw.
include/
	* opcode/ppc.h (PPC_OPCODE_RAW): Define.
	(PPC_OPCODE_*): Make them all unsigned long long constants.
opcodes/
	* ppc-dis.c (ppc_opts): Set PPC_OPCODE_PPC for "any" flags.  Add
	"raw" option.
	(lookup_powerpc): Don't special case -1 dialect.  Handle
	PPC_OPCODE_RAW.
	(print_insn_powerpc): Mask out PPC_OPCODE_ANY on first
	lookup_powerpc call, pass it on second.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Improve the speed of scanning PE binaries for line number information.
@ 2017-03-29 11:54 sergiodj+buildbot
  2017-07-03 13:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-29 11:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e643cb45bf85fa5c8c49a89ff177de246af4212e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e643cb45bf85fa5c8c49a89ff177de246af4212e

Improve the speed of scanning PE binaries for line number information.

	PR binutils/18025
	* coff-bfd.h (struct coff_section_data): Add new fields:
	saved_bias and bias.
	* coffgen.c (coff_find_nearest_line_with_names): Cache the bias
	computed for PE binaries.
	* dwarf2.c (scan_unit_for_symbols): Only warn once about each
	missing abbrev.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency
@ 2017-03-28 23:16 sergiodj+buildbot
  2017-07-02 17:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28 23:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 086554e8e6b222518f12acab34e6cc7b5af7fde7 ***

Author: Hans-Peter Nilsson <hp@bitrange.com>
Branch: master
Commit: 086554e8e6b222518f12acab34e6cc7b5af7fde7

Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add prologue analysis
@ 2017-03-28 20:37 sergiodj+buildbot
  2017-07-01 21:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28 20:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29

arc: Add prologue analysis

Add a prologue analysis that recognizes all instructions that may happen in
compiler-generated prologue, including various stores, core register moves,
subtraction and ENTER_S instruction that does a lot of prologue actions through
microcode.

Testcases cover various prologue scenarios, including instructions that are
spread across multiple 16-bit encodings (for example there are 7 encodings of
store instruction).

gdb/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* arc-tdep.c (arc_frame_cache): Add support for prologue analysis.
	(arc_skip_prologue): Likewise.
	(arc_make_frame_cache): Likewise.
	(arc_pv_get_operand): New function.
	(arc_is_in_prologue): Likewise.
	(arc_analyze_prologue): Likewise.
	(arc_print_frame_cache): Likewise.
	(MAX_PROLOGUE_LENGTH): New constant.

gdb/doc/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* gdb.texinfo (Synopsys ARC): Document "set debug arc 2".

gdb/testsuite/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* gdb.arch/arc-analyze-prologue.S: New file.
	* gdb.arch/arc-analyze-prologue.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add disassembler helper
@ 2017-03-28 20:23 sergiodj+buildbot
  2017-07-01  1:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28 20:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eea787570f708e51048f812808e6cbd76fde6919 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: eea787570f708e51048f812808e6cbd76fde6919

arc: Add disassembler helper

Add disassembler helper for GDB, that uses opcodes structure arc_instruction
and adds convenience functions to handle instruction operands.  This interface
solves at least those problems with arc_instruction:

  * Some instructions, like "push_s", have implicit operands which are not
    directly present in arc_instruction.
  * Operands of particular meaning, like branch/jump targets, have various
    locations and meaning depending on type of branch/target.
  * Access to operand value is abstracted into a separate function, so callee
    code shouldn't bother if operand value is an immediate value or in a
    register.

Testcases included in this commit are fairly limited - they test exclusively
branch instructions, something that will be used in software single stepping.
Most of the other parts of this disassembler helper are tested during prologue
analysis testing.

gdb/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* configure.tgt: Add arc-insn.o.
	* arc-tdep.c (arc_delayed_print_insn): Make non-static.
	(dump_arc_instruction_command): New function.
	(arc_fprintf_disasm): Likewise.
	(arc_disassemble_info): Likewise.
	(arc_insn_get_operand_value): Likewise.
	(arc_insn_get_operand_value_signed): Likewise.
	(arc_insn_get_memory_base_reg): Likewise.
	(arc_insn_get_memory_offset): Likewise.
	(arc_insn_get_branch_target): Likewise.
	(arc_insn_dump): Likewise.
	(arc_insn_get_linear_next_pc): Likewise.
	* arc-tdep.h (arc_delayed_print_insn): Add function declaration.
	(arc_disassemble_info): Likewise.
	(arc_insn_get_branch_target): Likewise.
	(arc_insn_get_linear_next_pc): Likewise.
	* NEWS: Mention new "maint print arc arc-instruction".

gdb/doc/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* gdb.texinfo (Synopsys ARC): Add "maint print arc arc-instruction".

gdb/testsuite/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* gdb.arch/arc-decode-insn.S: New file.
	* gdb.arch/arc-decode-insn.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add "maintenance print arc" command prefix
@ 2017-03-28 20:15 sergiodj+buildbot
  2017-06-30  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3be78afdeddd3ebf57eb0df8b029cf596f468c7a ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 3be78afdeddd3ebf57eb0df8b029cf596f468c7a

arc: Add "maintenance print arc" command prefix

Add an "arc" sublist to "maintenance print" command list.  The list is empty
for now, its purpose is to contain commands that print internal state of some
ARC-specific structures.

gdb/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* arc-tdep (maintenance_print_arc_list): New variable.
	(maintenance_print_arc_command): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Align internal regnums with architectural regnums
@ 2017-03-28 18:58 sergiodj+buildbot
  2017-06-29  9:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28 18:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 296ec4fa2afb14abc400fa0109d7288eb958c544 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 296ec4fa2afb14abc400fa0109d7288eb958c544

arc: Align internal regnums with architectural regnums

Add ARC_LIMM_REGNUM to arc_regnum enumeration and assign a number 62 to it.
This ensures that for core registers internal register numbers in this enum are
the same as architectural numbers.  This allows to use internal register
numbers in the contexts where architectural number is implied, for example when
disassembling instruction during prologue analysis.

gdb/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <anton.kolesov@synopsys.com>

	* arc-tdep.c (core_v2_register_names, core_arcompact_register_names)
	Add "limm" and "reserved".
	(arc_cannot_fetch_register, arc_cannot_store_register): Add
	ARC_RESERVED_REGNUM and ARC_LIMM_REGNUM.
	* arc-tdep.h (arc_regnum): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: xtensa-linux: support THREADPTR register
@ 2017-03-28  1:43 sergiodj+buildbot
  2017-06-27 17:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28  1:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f74f865e5030057deb8a6a56af4a9e003d82cdcd ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: f74f865e5030057deb8a6a56af4a9e003d82cdcd

gdb: xtensa-linux: support THREADPTR register

Make THREADPTR user register accessible.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* xtensa-linux-nat.c (fill_gregset): Call regcache_raw_collect
	for THREADPTR register.
	(supply_gregset_reg): Call regcache_raw_supply for THREADPTR
	register.
	* xtensa-tdep.c (XTENSA_DBREGN_UREG): New definition.
	(xtensa_derive_tdep): Initialize tdep->threadptr_regnum.
	* xtensa-tdep.h (gdbarch_tdep::threadptr_regnum): New field.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: xtensa: fix test for privileged register number
@ 2017-03-28  0:44 sergiodj+buildbot
  2017-06-26 21:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-28  0:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d0bf81a6729478563c3851ccfca435222ddfa25 ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: 0d0bf81a6729478563c3851ccfca435222ddfa25

gdb: xtensa: fix test for privileged register number

There are no a0-a15 pseudoregisters at the top of the register set in
call0 registers layout. All registers above gdbarch_num_regs (gdbarch)
are privileged. Treat them as such. This fixes the following gdb
assertion seen when 'finish' command is invoked:

  regcache.c:649: internal-error: register_status
  regcache_raw_read(regcache*, int, gdb_byte*):
  Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers'
  failed.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* xtensa-tdep.c (xtensa_pseudo_register_read): Treat all
	registers above gdbarch_num_regs (gdbarch) as privileged in
	call0 ABI.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: xtensa: support THREADPTR register
@ 2017-03-27 22:23 sergiodj+buildbot
  2017-06-28 14:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 22:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a12e714b775ce025444af15dcfbd5a420363ad53 ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: a12e714b775ce025444af15dcfbd5a420363ad53

gdbserver: xtensa: support THREADPTR register

Provide aceess to the THREADPTR register to remote gdb.

gdb/gdbserver/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* linux-xtensa-low.c (regnum::R_THREADPTR): New enum member.
	(xtensa_fill_gregset): Call collect_register_by_name for
	threadptr register.
	(xtensa_store_gregset): Call supply_register_by_name for
	threadptr register.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: xtensa: add call0 support
@ 2017-03-27 21:13 sergiodj+buildbot
  2017-06-26  8:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 21:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a09b50a463ad005946849540da136b5cbe6237b ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: 1a09b50a463ad005946849540da136b5cbe6237b

gdbserver: xtensa: add call0 support

Correctly handle a0- registers on requests from remote gdb. This fixes

  'Register 1 is not available'

and subsequent assertion in the remote gdb connecting to the gdbserver:

  'findvar.c:291: internal-error: value_of_register_lazy:
    Assertion `frame_id_p(get_frame_id (frame))' failed.'

The register structure is the same for windowed and call0 ABIs because
currently linux kernel internally requires windowed registers, so they
are always present.

gdb/gdbserver/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* linux-xtensa-low.c (xtensa_fill_gregset): Call collect_register
	for all registers in a0_regnum..a0_regnum + C0_NREGS range.
	(xtensa_store_gregset): Call supply_register for all registers in
	a0_regnum..a0_regnum + C0_NREGS range.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: xtensa-linux: add call0 support
@ 2017-03-27 20:58 sergiodj+buildbot
  2017-06-25  5:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 20:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0ce4291e3ffd90d2b94e02b4557d716c043bf02e ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: 0ce4291e3ffd90d2b94e02b4557d716c043bf02e

gdb: xtensa-linux: add call0 support

Correctly handle a0- registers. This allows debugging call0 code in
linux natively.
The register structure is the same for windowed and call0 ABIs because
currently linux kernel internally requires windowed registers, so they are
always present.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* xtensa-linux-nat.c (fill_gregset): Call regcache_raw_collect
	for a single specified register or for all registers in
	a0_base..a0_base + C0_NREGS range.
	(supply_gregset_reg): Call regcache_raw_supply for a single
	specified register or for all registers in a0_base..a0_base +
	C0_NREGS range.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: gdbserver: xtensa: make C0_NREGS available
@ 2017-03-27 20:43 sergiodj+buildbot
  2017-06-24  9:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 20:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c56054f9a80e157e3d2d5109821abd191b68f0ea ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: c56054f9a80e157e3d2d5109821abd191b68f0ea

gdb: gdbserver: xtensa: make C0_NREGS available

Both gdb and gdbserver need this definition to properly work with call0
ABI. Make it available to both.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* arch/xtensa.h (C0_NREGS): Add definition.
	* xtensa-tdep.c (C0_NREGS): Remove definition.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: xtensa: clean up xtensa_default_isa initialization
@ 2017-03-27 20:27 sergiodj+buildbot
  2017-06-23 13:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 20:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a43986283d61ffd4d7dc9b20c0ecb73cd345206c ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: a43986283d61ffd4d7dc9b20c0ecb73cd345206c

gdb: xtensa: clean up xtensa_default_isa initialization

This fixes segfault in native gdb because isa is not initialized at the
point of call to xtensa_isa_maxlength.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

	* xtensa-tdep.c (xtensa_scan_prologue, call0_analyze_prologue):
	Drop xtensa_default_isa initialization.
	(xtensa_gdbarch_init): Initialize xtensa_default_isa.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for the WebAssembly backend to the BFD library.
@ 2017-03-27 15:51 sergiodj+buildbot
  2017-06-20  3:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6be053897be3786ceda9a59d17befe11454f6d2 ***

Author: Pip Cet <pipcet@gmail.com>
Branch: master
Commit: a6be053897be3786ceda9a59d17befe11454f6d2

Add support for the WebAssembly backend to the BFD library.

	* wasm-module.c: New file to support WebAssembly modules.
	* wasm-module.h: New file to support WebAssembly modules.
	* doc/webassembly.texi: Start documenting wasm-module.c.
	* config.bfd: Add wasm_vec.
	* targets.c: Likewise.
	* configure.ac: Likewise.
	* Makefile.am: Add entries for wasm-module.c.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] dwarf2read.c: Clean up out of bounds handling
@ 2017-03-27 15:49 sergiodj+buildbot
  2017-06-22 16:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 15:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c43009f48a0d4be497cf7c1285784aa70fc5abd ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8c43009f48a0d4be497cf7c1285784aa70fc5abd

dwarf2read.c: Clean up out of bounds handling

Multiple places in dwarf2read.c open code 1-based to 0-based index
conversion and check for out of bounds accesses to lh->include_dirs
and lh->file_names.  This commit factors those out to a couple methods
and uses them throughout.

gdb/ChangeLog:
2017-03-27  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (file_entry) <dir_index>: Add comment.
	(file_entry::include_dir): New method.
	(line_header::include_dir_at, line_header::file_name_at): New
	methods.
	(setup_type_unit_groups, setup_type_unit_groups)
	(psymtab_include_file_name): Simplify using the new methods.
	(lnp_state_machine) <the_line_header>: New field.
	<file>: Add comment.
	(lnp_state_machine::current_file): New method.
	(dwarf_record_line): Simplify using the new methods.
	(init_lnp_state_machine): Initialize the "the_line_header" field.
	(dwarf_decode_lines_1, dwarf_decode_lines, file_file_name):
	Simplify using the new methods.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/cp-name-parser.y: Eliminate make_empty, use cplus_demangle_fill_component
@ 2017-03-27 15:29 sergiodj+buildbot
  2017-06-21 20:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 15:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7e80b9e21eb907ac5c90de7452588c059db0cec ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: a7e80b9e21eb907ac5c90de7452588c059db0cec

gdb/cp-name-parser.y: Eliminate make_empty, use cplus_demangle_fill_component

The demangler exports the cplus_demangle_fill_component function that
clients should use to initialize demangle_component components that
use the "s_binary" union member.  cp-name-parser.y uses it in some
places, via the fill_comp wrapper, but not all.  Several places
instead use a GDB-specific "make_empty" function.  Because this
function does not call any of the demangler "fill" functions, we had
to patch it recently to clear the allocated demangle_component's
"d_printing" field, which is supposedly a "private" demangler field.
To avoid such problems in the future, this commit switches those
places to use "fill_comp" instead, and eliminates the "make_empty"
function.

gdb/ChangeLog:
2017-03-27  Pedro Alves  <palves@redhat.com>

	* cp-name-parser.y (make_empty): Delete.
	(demangler_special, nested_name, ptr_operator, array_indicator)
	(direct_declarator, declarator_1): Use fill_comp instead of
	make_empty.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE
@ 2017-03-27 15:09 sergiodj+buildbot
  2017-06-21 10:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 15:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1a42fdfa31937d7e05df34afee970ac0ad239e1 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b1a42fdfa31937d7e05df34afee970ac0ad239e1

cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE

This patch almost a decade ago:

...
    2007-08-31  Douglas Gregor  <doug.gregor@gmail.com>

        * cp-demangle.c (d_dump): Handle
        DEMANGLE_COMPONENT_RVALUE_REFERENCE.
        (d_make_comp): Ditto.
...

... missed doing the same change to cplus_demangle_fill_component that
was done to d_make_comp.  I.e., teach it to only validate that we're
not passing in a "right" subtree.  GDB has recently (finally) learned
about rvalue references, and a change to make it use
cplus_demangle_fill_component more ran into an assertion because of
this.

(GDB is the only user of cplus_demangle_fill_component in both the gcc
and binutils-gdb trees.)

libiberty/ChangeLog:
2017-03-27  Pedro Alves  <palves@redhat.com>

	* cp-demint.c (cplus_demangle_fill_component): Handle
	DEMANGLE_COMPONENT_RVALUE_REFERENCE.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix gdb_xml_debug/gdb_xml_error ATTRIBUTE_PRINTF use
@ 2017-03-27 12:36 sergiodj+buildbot
  2017-06-19 11:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 12:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 210477268d4ac5cad937e811888a5c932206794c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 210477268d4ac5cad937e811888a5c932206794c

Fix gdb_xml_debug/gdb_xml_error ATTRIBUTE_PRINTF use

The declarations of gdb_xml_debug and gdb_xml_error are passing "0" as
"first-to-check" argument to ATTRIBUTE_PRINTF, as if they were va_args
functions.  Consequently, the arguments to gdb_xml_debug /
gdb_xml_error aren't being checked against the format strings.

With that fixed, a couple obvious bugs are exposed, both fixed by this
commit.

gdb/ChangeLog:
2017-03-27  Pedro Alves  <palves@redhat.com>

	* xml-support.h (gdb_xml_debug): Pass a "first-to-check" argument
	to ATTRIBUTE_PRINTF.
	* solib-target.c (library_list_start_list): Print "string" not
	"version".
	* xml-tdesc.c (tdesc_start_field): Pass "field_name" to
	gdb_xml_error call.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR21303, objdump doesn't show e200z4 insns
@ 2017-03-27 11:50 sergiodj+buildbot
  2017-06-18  3:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 11:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b7539374617a94c2d646f49e1bbfc954b11891d ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9b7539374617a94c2d646f49e1bbfc954b11891d

PR21303, objdump doesn't show e200z4 insns

	PR 21303
opcodes/
	* ppc-dis.c (struct ppc_mopt): Comment.
	(ppc_opts <e200z4>): Move PPC_OPCODE_VLE from .sticky to .cpu.
gas/
	* testsuite/gas/ppc/pr21303.d,
	* testsuite/gas/ppc/pr21303.s: New test
	* testsuite/gas/ppc/ppc.exp: Run it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add minimal support for WebAssembly backend to the BFD library.
@ 2017-03-27 11:49 sergiodj+buildbot
  2017-06-16 10:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 11:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8fb740dd3032543b833b141011aa2005c035d024 ***

Author: Pip Cet <pipcet@gmail.com>
Branch: master
Commit: 8fb740dd3032543b833b141011aa2005c035d024

Add minimal support for WebAssembly backend to the BFD library.

include * elf/wasm32.h: New file to support wasm32 architecture.

bfd * cpu-wasm32.c: New file to support wasm32 architecture.
    * elf32-wasm32.c: New file to support wasm32 architecture.
    * Makefile.am: Add wasm32 architecture.
    * archures.c: Likewise.
    * config.bfd: Likewise.
    * configure.ac: Likewise.
    * targets.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Make ldirname return a std::string
@ 2017-03-27 11:31 sergiodj+buildbot
  2017-06-17  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 11:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d721ba37d8995b9c11a0b8eef0f4d2dc022f85aa ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d721ba37d8995b9c11a0b8eef0f4d2dc022f85aa

gdb: Make ldirname return a std::string

Eliminates several uses of cleanups.

Tested on x86_64 Fedora 23 with Python 2 and 3.

gdb/ChangeLog
2017-03-27  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (struct file_and_directory): New.
	(dwarf2_get_dwz_file): Adjust to use std::string.
	(dw2_get_file_names_reader): Adjust to use file_and_directory.
	(find_file_and_directory): Adjust to return a file_and_directory
	object.
	(read_file_scope): Adjust to use file_and_directory.  Remove
	make_cleanup/do_cleanups calls.
	(open_and_init_dwp_file): Adjust to use std::string.  Remove
	make_cleanup/do_cleanups calls.
	* python/python.c (do_start_initialization): Adjust to ldirname
	returning a std::string.
	* utils.c (ldirname): Now returns a std::string.
	* utils.h (ldirname): Change return type to std::string.
	* xml-syscall.c (xml_init_syscalls_info): Adjust to ldirname
	returning a std::string.
	* xml-tdesc.c (file_read_description_xml): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement ARC NPS-400 Ultra Ip and Miscellaneous instructions.
@ 2017-03-27 10:32 sergiodj+buildbot
  2017-06-15 14:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-27 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0c31e91adc6aabe7c96f02dd51a0f6200a982da ***

Author: Rinat Zelig <rinat@mellanox.com>
Branch: master
Commit: c0c31e91adc6aabe7c96f02dd51a0f6200a982da

Implement ARC NPS-400 Ultra Ip and Miscellaneous instructions.

opcodes	* arc-nps400-tbl.h: Add Ultra Ip and Miscellaneous instructions format.
	* arc-opc.c: Add defines. e.g. F_NJ, F_NM , F_NO_T, F_NPS_SR, F_NPS_M, F_NPS_CORE, F_NPS_ALL.
	(insert_nps_misc_imm_offset): New function.
	(extract_nps_misc imm_offset): New function.
	(arc_num_flag_operands): Add F_NJ, F_NM, F_NO_T.
	(arc_flag_special_cases): Add F_NJ, F_NM, F_NO_T.

include * opcode/arc.h (insn_class_t): Add ULTRAIP and MISC class.

gas     * testsuite/gas/arc/nps400-12.s: New file.
        * testsuite/gas/arc/nps400-12.d: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bug with cmn/adds where C flag was incorrectly set.
@ 2017-03-26  3:50 sergiodj+buildbot
  2017-06-14  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-26  3:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f124168208a5927e9f1b9843094ec2bf2aad2edf ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: f124168208a5927e9f1b9843094ec2bf2aad2edf

Fix bug with cmn/adds where C flag was incorrectly set.

	sim/aarch64/
	* simulator.c (set_flags_for_add32): Cast result to uint32_t in carry
	flag check.

	sim/testsuite/sim/aarch64/
	* adds.s: Add checks for values -2 and 1, where C is not set.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some unnecessary inferior_ptid setting/restoring when fetching/storing registers
@ 2017-03-25 10:49 sergiodj+buildbot
  2017-06-11 17:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-25 10:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e00d44febb8093d8dc0e6842b975afb194c4fd1 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 3e00d44febb8093d8dc0e6842b975afb194c4fd1

Remove some unnecessary inferior_ptid setting/restoring when fetching/storing registers

Now that the to_fetch_registers, to_store_registers and
to_prepare_to_store target methods don't rely on the value of
inferior_ptid anymore, we can remove a bunch of now unnecessary setting
and restoring of inferior_ptid.

The asserts added recently in target_fetch_registers and
target_store_registers, which validate that inferior_ptid matches the
regcache's ptid, must go away.  It's the whole point of this effort, to
not require inferior_ptid to have a particular value when calling these
functions.

One thing that I noticed is how sol-thread.c's ps_lgetregs and friends
use the current value of inferior_ptid instead of what's passed as
argument (ph->ptid), unlike proc-service.c's versions of the same
functions.  Is it expected?  I left it like this in the current patch,
but unless there's a good reason for it to be that way, I guess we
should make it use the parameter.

gdb/ChangeLog:

	* fbsd-tdep.c (fbsd_corefile_thread): Don't set/restore
	inferior_ptid.
	* proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
	ps_lsetfpregs): Likewise.
	* regcache.c (regcache_raw_update, regcache_raw_write): Likewise.
	* sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
	ps_lsetfpregs): Likewise.
	* target.c (target_fetch_registers, target_store_registers):
	Remove asserts.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial
@ 2017-03-25  4:31 sergiodj+buildbot
  2017-06-05 11:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-25  4:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b67aeab02c05fdd654f132a550dd4f196cb1f6d3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b67aeab02c05fdd654f132a550dd4f196cb1f6d3

Remove lwp -> pid conversion in linux_nat_xfer_partial

The linux_nat_xfer_partial does a conversion of inferior_ptid: if it's
an LWP (ptid::lwp != 0), it builds a new ptid with the lwp as
the pid and assigns that temporarily to inferior_ptid.  For example, if
inferior_ptid is:

  { .pid = 1234, .lwp = 1235 }

it will assign this to inferior_ptid for the duration of the call:

  { .pid = 1235, .lwp = 0 }

Instead of doing this, this patch teaches the inf-ptrace implementation
of xfer_partial to deal with ptids representing lwps by using
get_ptrace_pid.

Also, in linux_proc_xfer_spu and linux_proc_xfer_partial, we use ptid_get_lwp
instead of ptid_get_pid.  While not strictly necessary, since the content of
/proc/<pid> and /proc/<lwp> should be the same, it's a bit safer, because:

- some files under /proc/<pid>/ may not work if the <pid> thread is
  running, just like ptrace requires a stopped thread.  The current
  thread's lwp id is more likely to be in the necessary state (stopped).

- if the leader (<pid>) had exited and is thus now zombie, then several
  files under "/proc/<pid>" won't work, while they will if you use
  "/proc/<lwp>".

The testsuite found no regression on native amd64 linux.

gdb/ChangeLog:

	* inf-ptrace.c (inf_ptrace_xfer_partial): Get pid from ptid
	using get_ptrace_pid.
	* linux-nat.c (linux_nat_xfer_partial): Don't set/restore
	inferior_ptid.
	(linux_proc_xfer_partial, linux_proc_xfer_spu): Use lwp of
	inferior_ptid instead of pid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py
@ 2017-03-25  1:28 sergiodj+buildbot
  2017-06-02 20:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-25  1:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d736fbf01d20bc03804fa0cb49d99fdf6628fab ***

Author: Jonah Graham <jonah@kichwacoders.com>
Branch: master
Commit: 9d736fbf01d20bc03804fa0cb49d99fdf6628fab

Import sys in gdb/python/lib/gdb/printer/bound_registers.py

Pick up missing bits from the patch merged in.

2017-03-22  Jonah Graham  <jonah@kichwacoders.com>

	PR gdb/19637
	* python/lib/gdb/printer/bound_registers.py: Import sys.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc/nps400: Add cp16/cp32 instructions to opcodes library
@ 2017-03-24 21:27 sergiodj+buildbot
  2017-05-30  7:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 645d3342ba2b920722991255513030bb903b794e ***

Author: Rinat Zelig <rinat@mellanox.com>
Branch: master
Commit: 645d3342ba2b920722991255513030bb903b794e

arc/nps400: Add cp16/cp32 instructions to opcodes library

Instructions for loading or storing 16/32B data from one address type to
another.

gas/ChangeLog

	* testsuite/gas/arc/nps400-11.s: New file.
	* testsuite/gas/arc/nps400-11.d: New file.

include/ChangeLog

	* opcode/arc.h (insn_class_t): Add DMA class.

opcodes/ChangeLog

	* arc-nps400-tbl.h: Add cp32/cp16 instructions format.
	* arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET.
	(insert_nps_imm_offset): New function.
	(extract_nps_imm_offset): New function.
	(insert_nps_imm_entry): New function.
	(extract_nps_imm_entry): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid
@ 2017-03-24 18:26 sergiodj+buildbot
  2017-05-27 14:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 639a9038c9f4fc50b6a57c18fe84db4559367a96 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 639a9038c9f4fc50b6a57c18fe84db4559367a96

spu: Use ptid from regcache instead of inferior_ptid

The implementations of to_fetch_registers/to_store_registers in the spu
code use some functions that rely on inferior_ptid.  It's simpler for
now to set/restore inferior_ptid.

gdb/ChangeLog:

	* spu-linux-nat.c (spu_fetch_inferior_registers,
	spu_store_inferior_registers): Use ptid from regcache, set and
	restore inferior_ptid.
	* spu-multiarch.c (spu_fetch_registers, spu_store_registers):
	Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove MAX_REGISTER_SIZE from target.c
@ 2017-03-24 17:14 sergiodj+buildbot
  2017-06-13 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 17:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed771251e16c8c66cbdd03738135e76caef6937e ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: ed771251e16c8c66cbdd03738135e76caef6937e

Remove MAX_REGISTER_SIZE from target.c

gdb/
	* regcache.c (regcache_debug_print_register): New function.
	* regcache.h (regcache_debug_print_register): New declaration.
	* target.c (debug_print_register): Remove.
	(target_fetch_registers): Call regcache_debug_print_register.
	(target_store_registers): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add rvalue reference tests and docs
@ 2017-03-24 16:24 sergiodj+buildbot
  2017-05-25 22:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 16:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0f55cc689a57deb342b988b8f0ecb908f0a76e1 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: c0f55cc689a57deb342b988b8f0ecb908f0a76e1

Add rvalue reference tests and docs

This patch adds tests for the initial rvalue reference support patchset.  All
of the new tests are practically mirrored regular references tests and, except
for the demangler ones, are introduced in new files, which are set to be
compiled with -std=gnu++11.  Tested are printing of rvalue reference types and
values, rvalue reference parameters in function overloading, demangling of
function names containing rvalue reference parameters, casts to rvalue
reference types, application of the sizeof operator to rvalue reference types
and values, and support for rvalue references within the gdb python module.

gdb/ChnageLog

	PR gdb/14441
	* NEWS: Mention support for rvalue references in GDB and python.
	* doc/gdb.texinfo (C Plus Plus Expressions): Mention that GDB
	supports both lvalue and rvalue references.

gdb/testsuite/ChangeLog

	PR gdb/14441
	* gdb.cp/demangle.exp: Add rvalue reference tests.
	* gdb.cp/rvalue-ref-casts.cc: New file.
	* gdb.cp/rvalue-ref-casts.exp: New file.
	* gdb.cp/rvalue-ref-overload.cc: New file.
	* gdb.cp/rvalue-ref-overload.exp: New file.
	* gdb.cp/rvalue-ref-params.cc: New file.
	* gdb.cp/rvalue-ref-params.exp: New file.
	* gdb.cp/rvalue-ref-sizeof.cc: New file.
	* gdb.cp/rvalue-ref-sizeof.exp: New file.
	* gdb.cp/rvalue-ref-types.cc: New file.
	* gdb.cp/rvalue-ref-types.exp: New file.
	* gdb.python/py-rvalue-ref-value-cc.cc: New file.
	* gdb.python/py-rvalue-ref-value-cc.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Avoid segfault on invalid directory table
@ 2017-03-24 15:38 sergiodj+buildbot
  2017-06-12 15:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 15:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 568c1b9f503649d19ed1d17e6970f212e6b6317d ***

Author: Pdraig Brady <pbrady@fb.com>
Branch: master
Commit: 568c1b9f503649d19ed1d17e6970f212e6b6317d

Avoid segfault on invalid directory table

gdb was segfaulting during backtrace on a binary here, where
fe->dir_index parsed from the DWARF info was seen to access beyond the
provided include_dirs array.

This commit bounds the access to entries actually written to the
array, and was verified to output the backtrace correctly.

gdb/ChangeLog:

	* dwarf2read.c (setup_type_unit_groups): Ensure dir_index doesn't
	reference beyond the 'lh->include_dirs' array before accessing to
	it.
	(psymtab_include_file_name): Likewise.
	(dwarf_decode_lines_1): Likewise.
	(dwarf_decode_lines): Likewise.
	(file_file_name): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Convert lvalue reference type check to general reference type check
@ 2017-03-24 14:23 sergiodj+buildbot
  2017-05-24  6:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 14:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa0061181ab00081e9907447561e589d6edee9f2 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: aa0061181ab00081e9907447561e589d6edee9f2

Convert lvalue reference type check to general reference type check

In almost all contexts (except for overload resolution rules and expression
semantics), lvalue and rvalue references are equivalent. That means that in all
but these cases we can replace a TYPE_CODE_REF check to a TYPE_IS_REFERENCE
check and, for switch statements, add a case label for a rvalue reference type
next to a case label for an lvalue reference type. This patch does exactly
that.

gdb/ChangeLog

	PR gdb/14441
	* aarch64-tdep.c (aarch64_type_align)
	(aarch64_extract_return_value, aarch64_store_return_value): Change
	lvalue reference type checks to general reference type checks.
	* amd64-tdep.c (amd64_classify): Likewise.
	* amd64-windows-tdep.c (amd64_windows_passed_by_integer_register):
	Likewise.
	* arm-tdep.c (arm_type_align, arm_extract_return_value)
	(arm_store_return_value): Likewise.
	* ax-gdb.c (gen_fetch, gen_cast): Likewise.
	* c-typeprint.c (c_print_type): Likewise.
	* c-varobj.c (adjust_value_for_child_access, c_value_of_variable)
	(cplus_number_of_children, cplus_describe_child): Likewise.
	* compile/compile-c-symbols.c (generate_vla_size): Likewise.
	* completer.c (expression_completer): Likewise.
	* cp-support.c (make_symbol_overload_list_adl_namespace):
	Likewise.
	* darwin-nat-info.c (info_mach_region_command): Likewise.
	* dwarf2loc.c (entry_data_value_coerce_ref)
	(value_of_dwarf_reg_entry): Likewise.
	* eval.c (ptrmath_type_p, evaluate_subexp_standard)
	(evaluate_subexp_for_address, evaluate_subexp_for_sizeof):
	Likewise.
	* findvar.c (extract_typed_address, store_typed_address):
	Likewise.
	* gdbtypes.c (rank_one_type): Likewise.
	* hppa-tdep.c (hppa64_integral_or_pointer_p): Likewise.
	* infcall.c (value_arg_coerce): Likewise.
	* language.c (pointer_type): Likewise.
	* m32c-tdep.c (m32c_reg_arg_type, m32c_m16c_address_to_pointer):
	Likewise.
	* m88k-tdep.c (m88k_integral_or_pointer_p): Likewise.
	* mn10300-tdep.c (mn10300_type_align): Likewise.
	* msp430-tdep.c (msp430_push_dummy_call): Likewise.
	* ppc-sysv-tdep.c (do_ppc_sysv_return_value)
	(ppc64_sysv_abi_push_param, ppc64_sysv_abi_return_value):
	Likewise.
	* printcmd.c (print_formatted, x_command): Likewise.
	* python/py-type.c (typy_get_composite, typy_template_argument):
	Likewise.
	* python/py-value.c (valpy_referenced_value)
	(valpy_get_dynamic_type, value_has_field): Likewise.
	* s390-linux-tdep.c (s390_function_arg_integer): Likewise.
	* sparc-tdep.c (sparc_integral_or_pointer_p): Likewise.
	* sparc64-tdep.c (sparc64_integral_or_pointer_p): Likewise.
	* spu-tdep.c (spu_scalar_value_p): Likewise.
	* symtab.c (lookup_symbol_aux): Likewise.
	* typeprint.c (whatis_exp, print_type_scalar): Likewise.
	* valarith.c (binop_types_user_defined_p, unop_user_defined_p):
	Likewise.
	* valops.c (value_cast_pointers, value_cast)
	(value_reinterpret_cast, value_dynamic_cast, value_addr, typecmp)
	(value_struct_elt, value_struct_elt_bitpos)
	(value_find_oload_method_list, find_overload_match)
	(value_rtti_indirect_type): Likewise.
	* valprint.c (val_print_scalar_type_p, generic_val_print):
	Likewise.
	* value.c (value_actual_type, value_as_address, unpack_long)
	(pack_long, pack_unsigned_long, coerce_ref_if_computed)
	(coerce_ref): Likewise.
	* varobj.c (varobj_get_value_type): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support rvalue references in the gdb python module (includes doc/)
@ 2017-03-24 13:22 sergiodj+buildbot
  2017-05-23  8:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3fcf899da106890f3948093c2424f9dff67d6fe0 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 3fcf899da106890f3948093c2424f9dff67d6fe0

Support rvalue references in the gdb python module (includes doc/)

This patch adds the ability to inspect rvalue reference types and values using
the gdb python module. This is achieved by creating two wrappers for
valpy_reference_value(), using the ReferenceExplorer class to handle the
objects of rvalue reference types and placing necessary checks for a
TYPE_CODE_RVALUE_REF type code next to the checks for a TYPE_CODE_REF type
code.

gdb/ChangeLog

	PR gdb/14441
	* doc/python.texi (Types in Python): Add TYPE_CODE_RVALUE_REF to
	table of constants.
	* python/lib/gdb/command/explore.py: Support exploring values
	of rvalue reference types.
	* python/lib/gdb/types.py: Implement get_basic_type() for
	rvalue reference types.
	* python/py-type.c (pyty_codes) <TYPE_CODE_RVALUE_REF>: New
	constant.
	* python/py-value.c (valpy_getitem): Add an rvalue reference
	check.
	(valpy_reference_value): Add new parameter "refcode".
	(valpy_lvalue_reference_value, valpy_rvalue_reference_value):
	New wrappers for valpy_reference_value().
	* python/py-xmethods.c (gdbpy_get_xmethod_result_type)
	(gdbpy_invoke_xmethod): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement printing of rvalue reference types and values
@ 2017-03-24 11:12 sergiodj+buildbot
  2017-05-21  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 11:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e1cb3213476485a01aa11ecedfa186e386cb4bdb ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: e1cb3213476485a01aa11ecedfa186e386cb4bdb

Implement printing of rvalue reference types and values

This patch provides the ability to print out names of rvalue reference types
and values of those types. This is done in full similarity to regular
references, and as with them, we don't print out "const" suffix because all
rvalue references are const.

gdb/ChangeLog

	PR gdb/14441
	* c-typeprint.c (c_print_type, c_type_print_varspec_prefix)
	(c_type_print_modifier, c_type_print_varspec_suffix)
	(c_type_print_base): Support printing rvalue reference types.
	* c-valprint.c (c_val_print, c_value_print): Support printing
	rvalue reference values.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support rvalue reference type in parser
@ 2017-03-24  9:10 sergiodj+buildbot
  2017-05-19 13:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  9:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d

Support rvalue reference type in parser

This patch implements correct parsing of C++11 rvalue reference typenames.
This is done in full similarity to the handling of regular references by adding
a '&&' token handling in c-exp.y, defining an rvalue reference type piece, and
implementing a follow type derivation in follow_types().

gdb/ChangeLog

	PR gdb/14441
	* c-exp.y (ptr_operator): Handle the '&&' token in the typename.
	* parse.c (insert_type): Change assert statement.
	(follow_types): Handle rvalue reference types.
	* parser-defs.h (enum type_pieces) <tp_rvalue_reference>: New
	constant.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change {lookup,make}_reference_type API
@ 2017-03-24  7:12 sergiodj+buildbot
  2017-05-17 18:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  7:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b22433085e4cfee83f5c52f3baa8fb9bc67f8dd ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 3b22433085e4cfee83f5c52f3baa8fb9bc67f8dd

Change {lookup,make}_reference_type API

Parameterize lookup_reference_type() and make_reference_type() by the kind of
reference type we want to look up. Create two wrapper functions
lookup_{lvalue,rvalue}_reference_type() for lookup_reference_type() to simplify
the API. Change all callers to use the new API.

gdb/Changelog

	PR gdb/14441
	* dwarf2read.c (read_tag_reference_type): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().
	* eval.c (evaluate_subexp_standard): Likewise.
	* f-exp.y: Likewise.
	* gdbtypes.c (make_reference_type, lookup_reference_type):
	Generalize with rvalue reference types.
	(lookup_lvalue_reference_type, lookup_rvalue_reference_type): New
	convenience wrappers for lookup_reference_type().
	* gdbtypes.h (make_reference_type, lookup_reference_type): Add a
	reference kind parameter.
	(lookup_lvalue_reference_type, lookup_rvalue_reference_type): Add
	wrappers for lookup_reference_type().
	* guile/scm-type.c (gdbscm_type_reference): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().
	* guile/scm-value.c (gdbscm_value_dynamic_type): Likewise.
	* parse.c (follow_types): Likewise.
	* python/py-type.c (typy_reference, typy_lookup_type): Likewise.
	* python/py-value.c (valpy_get_dynamic_type, valpy_getitem):
	Likewise.
	* python/py-xmethods.c (gdbpy_get_xmethod_result_type)
	(gdbpy_invoke_xmethod): Likewise.
	* stabsread.c: Provide extra argument to make_reference_type()
	call.
	* valops.c (value_ref, value_rtti_indirect_type): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unused parameter in solib_add and update_solib_list
@ 2017-03-24  3:12 sergiodj+buildbot
  2017-05-14  6:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  3:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e696b3ad342dde596dcdad4cff6b875c361ed6d0 ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: e696b3ad342dde596dcdad4cff6b875c361ed6d0

Remove unused parameter in solib_add and update_solib_list

The target parameter in both solib_add and update_solib_list
functions is not used anymore and as not been used for a while. This
change removes the parameter to clean up the code a little bit.

gdb/ChangeLog:

	* infcmd.c (post_create_inferior): Remove unused argument in
	call to solib_add.
	* remote.c (remote_start_remote): Likewise.
	* solib-frv.c (frv_fetch_objfile_link_map): Likewise.
	* solib-svr4.c: (svr4_fetch_objfile_link_map): Likewise.
	(enable_break): Likewise.
	* solib.c (update_solib_list): Remove unused target argument
	and its documentation.
	(solib_add): Remove unused target argument.  Remove unused
	argument in call to update_solib_list.
	(info_sharedlibrary_command): Remove unused argument in call
	to update_solib_list.
	(sharedlibrary_command): Remove unused argument in call to
	solib_add.
	(handle_solib_event): Likewise.
	(reload_shared_libraries): Likewise.
	* solib.h (solib_add): Remove unused target argument.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove MAX_REGISTER_SIZE from sol-thread.c
@ 2017-03-23 16:19 sergiodj+buildbot
  2017-06-10 20:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 077ae656a69fcf144f68848a3f6f2cb559b62987 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 077ae656a69fcf144f68848a3f6f2cb559b62987

Remove MAX_REGISTER_SIZE from sol-thread.c

gdb/
	* sol-thread.c (sol_thread_store_registers): Remove regcache calls.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Handle PRFM in AArch64 process record
@ 2017-03-23 15:36 sergiodj+buildbot
  2017-06-09 20:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 15:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e2b521d987a34898ca959a33972be8912511ba0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1e2b521d987a34898ca959a33972be8912511ba0

Handle PRFM in AArch64 process record

This patch fixes the bug of handling PRFM instruction.  PRFM is documented
in a table with other load and store instructions, but it doesn't do any
load or store.  This patch also adds a unit test to PRFM instruction.

gdb:

2017-03-23  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_process_record_test): Declare.
	(_initialize_aarch64_tdep): Register it.
	(aarch64_record_load_store): Handle PRFM instruction.
	(aarch64_process_record_test): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix code indentation
@ 2017-03-23 15:19 sergiodj+buildbot
  2017-06-08 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 338771252e913f82df8a445cb3e748a791b1cba8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 338771252e913f82df8a445cb3e748a791b1cba8

Fix code indentation

gdb:

2017-03-23  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_record_load_store): Fix code
	indentation.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove AARCH64_RECORD_FAILURE
@ 2017-03-23 15:04 sergiodj+buildbot
  2017-06-08  1:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 15:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0eef9404b0fcfc8b0fbe7511d094a419ac631e9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a0eef9404b0fcfc8b0fbe7511d094a419ac631e9

Remove AARCH64_RECORD_FAILURE

It is not used at all.

gdb:

2017-03-23  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c: Remove AARCH64_RECORD_FAILURE.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove constness of libdir in do_start_initialization
@ 2017-03-23 12:14 sergiodj+buildbot
  2017-06-07  4:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 12:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a5e158b68d0fb3b1ba3d038e87c841239572a35 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 1a5e158b68d0fb3b1ba3d038e87c841239572a35

Remove constness of libdir in do_start_initialization

The patch "Fix memory leak in python.c:do_start_initialization"
(https://sourceware.org/ml/gdb-patches/2017-03/msg00407.html) introduced a
compilation error on some platforms:

  ../../binutils-gdb/gdb/python/python.c: In function bool do_start_initialization():
  ../../binutils-gdb/gdb/python/python.c:1556:16: error: invalid conversion from const void* to void* [-fpermissive]
   xfree (libdir);
                ^

This is fixed by removing the constness of libdir's data type.

gdb/ChangeLog:

	* python/python.c (do_start_initialization): Remove 'const' from
	data type of libdir.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix memory leak in python.c:do_start_initialization
@ 2017-03-23 11:28 sergiodj+buildbot
  2017-06-06  7:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 11:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f2a3564b1c3872e4a380f2484d40ce2495a4835 ***

Author: Philipp Rudo <prudo@linux.vnet.ibm.com>
Branch: master
Commit: 3f2a3564b1c3872e4a380f2484d40ce2495a4835

Fix memory leak in python.c:do_start_initialization

When intializing Python the path to the python binary is build the
following way

progname = concat (ldirname (python_libdir), SLASH_STRING, "bin",
		   SLASH_STRING, "python", (char *) NULL);

This is problematic as both concat and ldirname allocate memory for the
string they return.  Thus the memory allocated by ldirname cannot be
accessed afterwards causing a memory leak.  Fix it by temporarily storing
libdir in a variable and xfree it after concat.

gdb/ChangeLog:
	python/python.c (do_start_initialization): Fix memory leak.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_stack_value
@ 2017-03-23  8:41 sergiodj+buildbot
  2017-04-27 17:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  8:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7942e96e435d1cf4d4dbf58c47bb28d9f628c9e6 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7942e96e435d1cf4d4dbf58c47bb28d9f628c9e6

Big-endian targets: Don't ignore offset into DW_OP_stack_value

Recently I fixed a bug that caused a DW_OP_implicit_pointer with non-zero
offset into a DW_OP_implicit_value to be handled incorrectly on big-endian
targets.  GDB ignored the offset and copied the wrong bytes:

  https://sourceware.org/ml/gdb-patches/2017-01/msg00251.html

But there is still a similar issue when a DW_OP_implicit_pointer points
into a DW_OP_stack_value instead; and again, the offset is ignored.  There
is an important difference, though: While implicit values are treated like
blocks of data and anchored at the lowest-addressed byte, stack values
traditionally contain integer numbers and are anchored at the *least
significant* byte.  Also, stack values do not come in varying sizes, but
are cut down appropriately when used.  Thus, on big-endian targets the
scenario looks like this (higher addresses shown right):

  |<- - - - - Stack value - - - - - - ->|
                  |                     |
                  |<- original object ->|
                  |
                  | offset ->|####|
			      ^^^^
                              de-referenced
			      implicit pointer

(Note how the original object's size influences the position of the
de-referenced implicit pointer within the stack value.  This is not the
case for little-endian targets, where the original object starts at offset
zero within the stack value.)

This patch implements the logic indicated in the above diagram and adds an
appropriate test case.  A new function dwarf2_fetch_die_type_sect_off is
added; it is used for retrieving the original object's type, so its size
can be determined.  That type is passed to dwarf2_evaluate_loc_desc_full
via a new parameter.

gdb/ChangeLog:

	* dwarf2loc.c (indirect_synthetic_pointer): Get data type of
	pointed-to DIE and pass it to dwarf2_evaluate_loc_desc_full.
	(dwarf2_evaluate_loc_desc_full): New parameter subobj_type; rename
	byte_offset to subobj_byte_offset.  Fix the handling of
	DWARF_VALUE_STACK on big-endian targets when coming via an
	implicit pointer.
	(dwarf2_evaluate_loc_desc): Adjust call to
	dwarf2_evaluate_loc_desc_full.
	* dwarf2loc.h (dwarf2_fetch_die_type_sect_off): New declaration.
	* dwarf2read.c (dwarf2_fetch_die_type_sect_off): New function.

gdb/testsuite/ChangeLog:

	* lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
	* gdb.dwarf2/nonvar-access.exp: Add test for stack value location
	and implicit pointer into such a location.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef.
@ 2017-03-23  7:41 sergiodj+buildbot
  2017-04-26 20:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  7:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ebac3fbacebaebd9e2c9393da3b612342d953a9 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 6ebac3fbacebaebd9e2c9393da3b612342d953a9

gdb.python/py-lazy-string (pointer): Really add new typedef.

Somehow got dropped in earlier commit.

gdb/testsuite/ChangeLog:

	* gdb.python/py-lazy-string (pointer): Really add new typedef.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync top level config files with master versions in the FSF config project.
@ 2017-03-23  6:29 sergiodj+buildbot
  2017-06-04 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  6:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11997a83a040245406b6e2e9978c6720f17e80c4 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 11997a83a040245406b6e2e9978c6720f17e80c4

Sync top level config files with master versions in the FSF config project.

	* config.sub: Sync with master version in config project.
	* config.guess: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Wrap locally used classes in anonymous namespace
@ 2017-03-23  6:14 sergiodj+buildbot
  2017-06-03 17:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  6:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ffdbe8642e74527795b695988a176f0920d58f96 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ffdbe8642e74527795b695988a176f0920d58f96

Wrap locally used classes in anonymous namespace

Both aarch64-tdep.c and arm-tdep.c defines a class instruction_reader, which
violates ODR, but linker doesn't an emit error.  I fix this issue by wrapping
them by anonymous namespace, but I think it is better to apply this for all
locally used classes.

If it is a good idea to put locally used class into anonymous namespace, we
should document this rule into GDB coding convention, or even GCC coding
convention.  Note that anonymous namespace has been used in GCC but GCC
coding convention doesn't mention the it.

gdb:

2017-03-22  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c: Wrap locally used classes in anonymous
	namespace.
	* arm-tdep.c: Likewise.
	* linespec.c: Likewise.
	* ui-out.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] windows: Use ptid from regcache in register fetch/store
@ 2017-03-23  5:45 sergiodj+buildbot
  2017-06-02  0:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3de88e9afbf0d8d10a8c4ce1415c219120e0a0c1 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 3de88e9afbf0d8d10a8c4ce1415c219120e0a0c1

windows: Use ptid from regcache in register fetch/store

Use the ptid from the regcache so we don't depend on the current value
of the inferior_ptid global.

Also, change how the current thread is passed to sub-functions.  The
windows_fetch_inferior_registers function sets current_thread then calls
do_windows_fetch_inferior_registers, which reads current_thread.  This
very much looks like passing a parameter through a global variable.  I
think it would be more straightforward to pass the thread as a
parameter.

gdb/ChangeLog:

	* windows-nat.c (do_windows_fetch_inferior_registers): Add
	windows_thread_info parameter and use it instead of
	current_thread.
	(windows_fetch_inferior_registers): Don't set current_thread,
	pass the thread to do_windows_fetch_inferior_registers.  Use
	ptid from regcache instead of inferior_ptid.
	(do_windows_store_inferior_registers): Add windows_thread_info
	parameter and use it instead of current_thread.
	(windows_store_inferior_registers): Don't set current_thread,
	pass the thread to do_windows_store_inferior_registers.  Use
	ptid from regcache instead of inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record
@ 2017-03-23  5:40 sergiodj+buildbot
  2017-04-24 21:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ba14f3792fe007bedd88b62e554c79258adc53d9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ba14f3792fe007bedd88b62e554c79258adc53d9

Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record

This patch adds the support for these instructions in arm process
record.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
	and REVSH instructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove remaining reference to struct serial::current_timeout
@ 2017-03-23  5:30 sergiodj+buildbot
  2017-06-01  2:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4

Remove remaining reference to struct serial::current_timeout

I get this when trying to build for --host=x68_64-w64-mingw32:

/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c: In function 'void ser_windows_raw(serial*)':
/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c:166:8: error: 'struct serial' has no member named 'current_timeout'
   scb->current_timeout = 0;
        ^~~~~~~~~~~~~~~

It is just a leftover from

  9bcbdca808b5f9fec6217d20bd4b48a56008c460
  PR remote/21188: Fix remote serial timeout

gdb/ChangeLog:

	* ser-mingw.c (ser_windows_raw): Remove reference to
	struct serial::current_timeout.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S/390: Remove vx2 facility flag
@ 2017-03-23  5:15 sergiodj+buildbot
  2017-05-31  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2253c8f089193b90141e08436417bc8ea1dd6015 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 2253c8f089193b90141e08436417bc8ea1dd6015

S/390: Remove vx2 facility flag

This patch removes the vx2 facility flag.  It will not be used by GCC
and was a misnomer anyway.

Committed to mainline and 2.28 branch.

include/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* opcode/s390.h (S390_INSTR_FLAG_VX2): Remove.
	(S390_INSTR_FLAG_FACILITY_MASK): Adjust value.

gas/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
	from cpu_table.  Remove vx2, and novx2 from cpu_flags.

opcodes/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-mkopc.c (main): Remove vx2 check.
	* s390-opc.txt: Remove vx2 instruction flags.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Decode properly flags of %ccr register on sparc64.
@ 2017-03-23  4:21 sergiodj+buildbot
  2017-05-29  8:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5badf10a18af78c57dd4ce8e6a6ead7f46e1a878 ***

Author: Ivo Raisr <ivo.raisr@oracle.com>
Branch: master
Commit: 5badf10a18af78c57dd4ce8e6a6ead7f46e1a878

Decode properly flags of %ccr register on sparc64.

While at it, decode also properly one-bit flags for %fsr (accrued and
current exception flags were mixed up).

ChangeLog entry:
2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>

    	PR tdep/20928
    	* gdb/sparc-tdep.h (gdbarch_tdep) <sparc64_ccr_type>: New field.
    	* gdb/sparc64-tdep.c (sparc64_ccr_type): New function.
    	(sparc64_fsr_type): Fix %fsr decoding.

ChangeLog entry for testsuite:
2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>

    	PR tdep/20928
    	* gdb.arch/sparc64-regs.exp: New file.
    	* gdb.arch/sparc64-regs.S: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix break on Python 2
@ 2017-03-23  4:06 sergiodj+buildbot
  2017-05-28 10:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  4:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cee59b3feac9a8f6300a5b788e3db4e15af2a894 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: cee59b3feac9a8f6300a5b788e3db4e15af2a894

Fix break on Python 2

This changes the return type of "gdb.BtraceInstruction.data ()" from
"memoryview" to "buffer" on Python 2.7 and below, similar to what
"gdb.Inferior.read_memory ()" does.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ptid from regcache in almost all remaining nat files
@ 2017-03-23  3:08 sergiodj+buildbot
  2017-05-26 18:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bcc0c096d5b0f77482cdb3154acd2515a0ca832f ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: bcc0c096d5b0f77482cdb3154acd2515a0ca832f

Use ptid from regcache in almost all remaining nat files

This patch contains almost all of the remaining changes needed to make
to_fetch_registers/to_store_registers/to_prepare_to_store independent of
inferior_ptid.  It contains only some "trivial" changes, the more
complicated ones are in separate patches.

gdb/ChangeLog:

	* i386-linux-nat.c (fetch_register, store_register,
	i386_linux_fetch_inferior_registers,
	i386_linux_store_inferior_registers): Use ptid from regcache.
	* ia64-linux-nat.c (ia64_linux_fetch_register,
	ia64_linux_store_register): Likewise.
	* inf-ptrace.c (inf_ptrace_fetch_register,
	inf_ptrace_store_register): Likewise.
	* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers,
	m32r_linux_store_inferior_registers): Likewise.
	* m68k-bsd-nat.c (m68kbsd_fetch_inferior_registers,
	m68kbsd_store_inferior_registers): Likewise.
	* m68k-linux-nat.c (fetch_register, store_register,
	m68k_linux_fetch_inferior_registers,
	m68k_linux_store_inferior_registers): Likewise.
	* m88k-bsd-nat.c (m88kbsd_fetch_inferior_registers,
	m88kbsd_store_inferior_registers): Likewise.
	* mips-fbsd-nat.c (mips_fbsd_fetch_inferior_registers,
	mips_fbsd_store_inferior_registers): Likewise.
	* mips-linux-nat.c (mips64_linux_regsets_fetch_registers,
	mips64_linux_regsets_store_registers): Likewise.
	* mips-nbsd-nat.c (mipsnbsd_fetch_inferior_registers,
	mipsnbsd_store_inferior_registers): Likewise.
	* mips-obsd-nat.c (mips64obsd_fetch_inferior_registers,
	mips64obsd_store_inferior_registers): Likewise.
	* nto-procfs.c (procfs_fetch_registers, procfs_store_registers):
	Likewise.
	* ppc-fbsd-nat.c (ppcfbsd_fetch_inferior_registers,
	ppcfbsd_store_inferior_registers): Likewise.
	* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers,
	ppc_linux_store_inferior_registers): Likewise.
	* ppc-nbsd-nat.c (ppcnbsd_fetch_inferior_registers,
	ppcnbsd_store_inferior_registers): Likewise.
	* ppc-obsd-nat.c (ppcobsd_fetch_registers,
	ppcobsd_store_registers): Likewise.
	* procfs.c (procfs_fetch_registers, procfs_store_registers):
	Likewise.
	* ravenscar-thread.c (ravenscar_fetch_registers,
	ravenscar_store_registers, ravenscar_prepare_to_store):
	Likewise.
	* record-btrace.c (record_btrace_fetch_registers,
	record_btrace_store_registers, record_btrace_prepare_to_store):
	Likewise.
	* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
	Lookup inferior using ptid from regcache, instead of
	current_inferior.
	* remote.c (remote_fetch_registers, remote_store_registers): Use
	ptid from regcache.
	* rs6000-nat.c (fetch_register, store_register): Likewise.
	* s390-linux-nat.c (s390_linux_fetch_inferior_registers,
	s390_linux_store_inferior_registers): Likewise.
	* sh-nbsd-nat.c (shnbsd_fetch_inferior_registers,
	shnbsd_store_inferior_registers): Likewise.
	* sol-thread.c (sol_thread_fetch_registers,
	sol_thread_store_registers): Likewise.
	* sparc-nat.c (sparc_fetch_inferior_registers,
	sparc_store_inferior_registers): Likewise.
	* tilegx-linux-nat.c (fetch_inferior_registers,
	store_inferior_registers): Likewise.
	* vax-bsd-nat.c (vaxbsd_fetch_inferior_registers,
	vaxbsd_store_inferior_registers): Likewise.
	* xtensa-linux-nat.c (fetch_gregs, store_gregs, fetch_xtregs,
	store_xtregs): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Copy lazy string handling fixes from Python.
@ 2017-03-23  2:39 sergiodj+buildbot
  2017-04-22  4:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  2:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7c0469f992721b30665ba92f4f2f74d29032a84 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: a7c0469f992721b30665ba92f4f2f74d29032a84

Copy lazy string handling fixes from Python.

This patch keeps the Scheme side of lazy string handling in sync
with the python size, bringing over fixes for
PRs python/17728, python/18439, python/18779.

gdb/ChangeLog:

	* guile/scm-lazy-string.c (lazy_string_smob): Clarify use of LENGTH
	member.  Change type of TYPE member to SCM.  All uses updated.
	(lsscm_make_lazy_string_smob): Add assert.
	(lsscm_make_lazy_string): Flag bad length values.
	(lsscm_elt_type): New function.
	(gdbscm_lazy_string_to_value): Rewrite to use
	lsscm_safe_lazy_string_to_value.
	(lsscm_safe_lazy_string_to_value): Fix handling of TYPE_CODE_PTR.
	* guile/scm-value.c (gdbscm_value_to_lazy_string): Flag bad length
	values.  Fix TYPE_CODE_PTR.  Handle TYPE_CODE_ARRAY.  Handle typedefs
	in incoming type.
	* guile/guile-internal.h (tyscm_scm_to_type): Declare.
	* guile/scm-type.c (tyscm_scm_to_type): New function.

gdb/testsuite/ChangeLog:

	* gdb.guile/scm-value.c (main) Delete locals sptr, sn.
	* gdb.guile/scm-lazy-string.c: New file.
	* gdb.guile/scm-value.exp: Move lazy string tests to ...
	* gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
	for pointer, array, typedef lazy strings.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add rvalue references to overloading resolution
@ 2017-03-23  1:42 sergiodj+buildbot
  2017-05-25  2:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  1:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c0a2a9305648095f5586a02b5a5017e1643e99 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 15c0a2a9305648095f5586a02b5a5017e1643e99

Add rvalue references to overloading resolution

This patch introduces changes to rank_one_type() dealing with ranking an rvalue
reference type when selecting a best viable function from a set of candidate
functions. The 4 new added rules for rvalue references are:

1) An rvalue argument cannot be bound to a non-const lvalue reference parameter
and an lvalue argument cannot be bound to an rvalue reference parameter.
[C++11 13.3.3.1.4p3]

2) If a conversion to one type of reference is an identity conversion, and a
conversion to the second type of reference is a non-identity conversion, choose
the first type. [C++11 13.3.3.2p3]

3) An rvalue should be first tried to bind to an rvalue reference, and then to
an lvalue reference. [C++11 13.3.3.2p3]

4) An lvalue reference to a function gets higher priority than an rvalue
reference to a function. [C++11 13.3.3.2p3]

This patch is not exactly correct.  See c++/15372 for tracking overload
resolution bugs.

gdb/ChangeLog

	PR gdb/14441
	* gdbtypes.c (rank_one_type): Implement overloading
	resolution rules regarding rvalue references.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix various python lazy string bugs.
@ 2017-03-23  1:38 sergiodj+buildbot
  2017-04-21  8:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34b433203b5f56149c27a8dfea21a921392cb158 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 34b433203b5f56149c27a8dfea21a921392cb158

Fix various python lazy string bugs.

gdb/ChangeLog:

	PR python/17728, python/18439, python/18779
	* python/py-lazy-string.c (lazy_string_object): Clarify use of LENGTH
	member.  Change type of TYPE member to PyObject *.  All uses updated.
	(stpy_convert_to_value): Fix handling of TYPE_CODE_PTR.
	(gdbpy_create_lazy_string_object): Flag bad length values.
	Handle TYPE_CODE_ARRAY with possibly different user-provided length.
	Handle typedefs in incoming type.
	(stpy_lazy_string_elt_type): New function.
	(gdbpy_extract_lazy_string): Call it.
	* python/py-value.c (valpy_lazy_string): Flag bad length values.
	Fix handling of TYPE_CODE_PTR.  Handle TYPE_CODE_ARRAY.  Handle
	typedefs in incoming type.

gdb/testsuite/ChangeLog:

	PR python/17728, python/18439, python/18779
	* gdb.python/py-value.c (main) Delete locals sptr, sn.
	* gdb.python/py-lazy-string.c (pointer): New typedef.
	(main): New locals ptr, array, typedef_ptr.
	* gdb.python/py-value.exp: Move lazy string tests to ...
	* gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
	array, typedef lazy strings.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support DW_TAG_rvalue_reference type
@ 2017-03-23  0:29 sergiodj+buildbot
  2017-05-22  7:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  0:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4297a3f0029974c62628d69b6f3f9ef25f01ea7d ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 4297a3f0029974c62628d69b6f3f9ef25f01ea7d

Support DW_TAG_rvalue_reference type

Make gdb DWARF reader understand the DW_TAG_rvalue_reference type tag. Handling
of this tag is done in the existing read_tag_reference_type() function, to
which we add a new parameter representing the kind of reference type
(lvalue vs rvalue).

gdb/ChangeLog

	PR gdb/14441
	* dwarf2read.c (process_die, read_type_die_1): Handle the
	DW_TAG_rvalue_reference_type DIE.
	(read_tag_reference_type): Add new parameter "refcode".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement demangling for rvalue reference type names
@ 2017-03-22 23:58 sergiodj+buildbot
  2017-05-20 12:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 23:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4347c89f3a14b480fc88581d1363835f7b99b68 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: e4347c89f3a14b480fc88581d1363835f7b99b68

Implement demangling for rvalue reference type names

This patch fixes demangling of names containing rvalue reference typenames by
handling DEMANGLE_COMPONENT_RVALUE_REFERENCE demangle component.

gdb/ChangeLog

	PR gdb/14441
	* cp-name-parser.y (ptr_operator): Handle the '&&' token in
	typename.
	* cp-support.c (replace_typedefs): Handle
	DEMANGLE_COMPONENT_RVALUE_REFERENCE.
	* python/py-type.c (typy_lookup_type): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add ability to return rvalue reference values from value_ref
@ 2017-03-22 23:28 sergiodj+buildbot
  2017-05-18 15:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 23:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a65cfae5f8b268158c23a862e7a996d15bbcef0e ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: a65cfae5f8b268158c23a862e7a996d15bbcef0e

Add ability to return rvalue reference values from value_ref

Parameterize value_ref() by the kind of reference type the value of which
is requested. Change all callers to use the new API.

gdb/ChangeLog

	PR gdb/14441
	* ada-lang.c (ada_evaluate_subexp): Adhere to the new
	value_ref() interface.
	* c-valprint.c (c_value_print): Likewise.
	* infcall.c (value_arg_coerce): Likewise.
	* python/py-value.c (valpy_reference_value): Likewise.
	* valops.c (value_cast, value_reinterpret_cast)
	(value_dynamic_cast, typecmp): Likewise.
	(value_ref): Parameterize by kind of return value reference type.
	* value.h (value_ref): Add new parameter "refcode".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add definitions for rvalue reference types
@ 2017-03-22 22:25 sergiodj+buildbot
  2017-05-16 19:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f9aeb8d499fa12610610dc19618230304c698f6c ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: f9aeb8d499fa12610610dc19618230304c698f6c

Add definitions for rvalue reference types

This patch introduces preliminal definitions regarding C++11 rvalue references
to the gdb type system. In addition to an enum type_code entry, a field in
struct type and an accessor macro for that which are created similarly to the
lvalue references counterparts, we also introduce a TYPE_REFERENCE convenience
macro used to check for both kinds of references simultaneously as they are
equivalent in many contexts.

gdb/Changelog

    PR gdb/14441
    * gdbtypes.h (enum type_code) <TYPE_CODE_RVALUE_REF>: New constant.
    (TYPE_IS_REFERENCE): New macro.
    (struct type): Add rvalue_reference_type field.
    (TYPE_RVALUE_REFERENCE_TYPE): New macro.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V: Fix assembler for c.li, c.andi and c.addiw
@ 2017-03-22 22:07 sergiodj+buildbot
  2017-04-17 21:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 22:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b416fe873ef44b2a613c9266c6462a481926d986 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: b416fe873ef44b2a613c9266c6462a481926d986

RISC-V: Fix assembler for c.li, c.andi and c.addiw

 - They can accept 0 in imm field

 2017-03-14  Kito Cheng  <kito.cheng@gmail.com>

       * riscv-opc.c (riscv_opcodes> <c.li>: Use the 'o' immediate encoding.
       <c.andi>: Likewise.
       <c.addiw> Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add -file-list-shared-libraries MI command
@ 2017-03-22 21:43 sergiodj+buildbot
  2017-05-15 23:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51457a05780da82b5321a1574caed95ac0e6923e ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: 51457a05780da82b5321a1574caed95ac0e6923e

Add -file-list-shared-libraries MI command

This change adds the MI equivalent for the "info sharedlibrary"
command. The command was already partially documented but ignored as
it was not implemented. The new MI command works similarly to the CLI
command, taking an optional regular expression as an argument and
outputting the library information.

I included a test for the new command in mi-solib.exp.

gdb/doc/ChangeLog:

	* gdb.texinfo (gdb/mi Symbol Query Commands): Document new MI
	command file-list-shared-libraries
	(GDB/MI Async Records): Update documentation of library-loaded with new
	field.

gdb/ChangeLog:

	* NEWS: Add an entry about new '-file-list-shared-libraries' command.
	* mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries):
	New function definition.
	* mi/mi-cmds.c (mi_cmds): Add -file-list-shared-libraries command.
	* mi/mi-cmds.h (mi_cmd_file_list_shared_libraries):
	New function declaration.
	* mi/mi-interp.c (mi_output_solib_attribs): New Function.
	* mi/mi-interp.h: New file.
	* solib.c (info_sharedlibrary_command): Replace for loop with
	ALL_SO_LIBS macro
	* solib.h (update_solib_list): New function declaration.
	(so_list_head): Move macro.
	* solist.h (ALL_SO_LIBS): New macro.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
	New procedure.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add a better diagnostic message in mi_gdb_test
@ 2017-03-22 21:28 sergiodj+buildbot
  2017-05-15  2:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 21:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b291c049658614196197e4ea4bb42bcc176b876 ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: 5b291c049658614196197e4ea4bb42bcc176b876

Add a better diagnostic message in mi_gdb_test

When using mi_gdb_test, if it fails because of the presence of
unexpected output, the error message is only the message passed as
the argument with no indication that there was an unexpected output.
This change adds an additional text to the failure message to
indicate that there was an unexpected output.

gdb/testsuite/ChangeLog:

	* lib/mi-support.exp (mi_gdb_test): Add additional message
	for unexpected output.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix spurious FAILs with examine-backward.exp
@ 2017-03-22 20:51 sergiodj+buildbot
  2017-05-13 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59a561480d547d041127630b1ba17a284eef8225 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 59a561480d547d041127630b1ba17a284eef8225

Fix spurious FAILs with examine-backward.exp

The test case examine-backward.exp issues the command "x/-s" after the end
of the first string in TestStrings, but without making sure that this
string is preceded by a string terminator.  Thus GDB may spuriously print
some random characters from before that string, and then the test fails.

This patch assures that TestStrings is preceded by a string terminator.

gdb/testsuite/ChangeLog:

	* gdb.base/examine-backward.c (Barrier): New character array
	constant, to ensure that TestStrings is preceded by a string
	terminator.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V: Fix assembler for c.addi, rd can be x0
@ 2017-03-22 20:41 sergiodj+buildbot
  2017-04-17  1:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03b039a518fa0f89a9900a44a8b874cc91061305 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: 03b039a518fa0f89a9900a44a8b874cc91061305

RISC-V: Fix assembler for c.addi, rd can be x0

opcodes/ChangeLog:

2017-03-14  Kito Cheng  <kito.cheng@gmail.com>

	* riscv-opc.c (riscv_opcodes) <c.addi>: Use match_opcode.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns
@ 2017-03-22 20:36 sergiodj+buildbot
  2017-05-12 13:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dcb84eda0c5f25835251a311c4d6704e70cfa498 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: dcb84eda0c5f25835251a311c4d6704e70cfa498

s390: Fix displaced-stepping certain relative branch insns

On s390x targets GDB can not handle displaced stepping correctly for some
relative branch instructions, such as cij (compare immediate and branch
relative).  When setting a breakpoint on such an instruction and
single-stepping over it, the branch is never taken.  This is because the
check in s390_displaced_step_fixup for relative branch instructions is
incomplete.

Instead of completing the list of relative branch instructions to check
against, this patch just treats relative branches and non-branching
instructions in the same way and adjusts the PC with the negated
displacement in both cases.

gdb/ChangeLog:

	* s390-linux-tdep.c (is_rsi, is_rie): Remove functions.
	(s390_displaced_step_fixup): Cover relative branches with the
	default fixup handling.  This fixes lack of support for some
	relative branch instructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add DW_OP_GNU_variable_value
@ 2017-03-22 20:08 sergiodj+buildbot
  2017-04-16  4:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c98763221af696a9e0c6686da7d65881bfd6bdd0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: c98763221af696a9e0c6686da7d65881bfd6bdd0

Add DW_OP_GNU_variable_value

Sync GCC dwarf.def change

2017-03-14  Jakub Jelinek  <jakub@redhat.com>

	PR debug/77589
	* dwarf2.def (DW_OP_GNU_variable_value): New opcode.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR 21266, unstable qsort in bfd/elf64-ppc.c
@ 2017-03-22 19:52 sergiodj+buildbot
  2017-05-11 12:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaed6f5be3a41a88cc13c744e88af78f5a42dd5b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: aaed6f5be3a41a88cc13c744e88af78f5a42dd5b

PR 21266, unstable qsort in bfd/elf64-ppc.c

	PR 21266
	* elf64-ppc.c (compare_symbols): Stabilize sort.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] DT_TEXTREL vs IFUNC
@ 2017-03-22 19:37 sergiodj+buildbot
  2017-05-10 15:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82e66161e649e5e801c40a52cba759292a76a59a ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 82e66161e649e5e801c40a52cba759292a76a59a

DT_TEXTREL vs IFUNC

If you should somehow link non-pic objects into a PIE or shared
library, resulting in an object with DT_TEXTREL (text relocations)
set, and your executable or shared library also contains GNU indirect
functions, then you're in trouble.  To apply dynamic relocations
ld.so will make the text segment writable.  On most systems this will
make the text segment non-executable, which will then result in a
segfault when ld.so tries to run ifunc resolvers when applying
relocations against ifuncs.

This patch teaches PowerPC ld to detect the situation, and warn.

	* elf64-ppc.c (struct ppc_link_hash_table): Add
	local_ifunc_resolver and maybe_local_ifunc_resolver.
	(ppc_build_one_stub): Set flags on emitting dynamic
	relocation to ifunc.
	(ppc64_elf_relocate_section): Likewise.
	(ppc64_elf_finish_dynamic_symbol): Likewise.
	(ppc64_elf_finish_dynamic_sections): Error on DT_TEXTREL with
	local dynamic relocs to ifuncs.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add
	local_ifunc_resolver and maybe_local_ifunc_resolver.
	(ppc_elf_relocate_section): Set flag on emitting dynamic
	relocation to ifuncs.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_finish_dynamic_sections): Error on DT_TEXTREL with local
	dynamic relocs to ifuncs.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386-gnu-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:22 sergiodj+buildbot
  2017-05-09 19:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9cb6cdcfa12368f2f639f8cd06d18b94bd98a39 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: d9cb6cdcfa12368f2f639f8cd06d18b94bd98a39

i386-gnu-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Use
	ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386-darwin-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:06 sergiodj+buildbot
  2017-05-08 22:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1afaf9f42fe201872d758214beceff85325a988a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 1afaf9f42fe201872d758214beceff85325a988a

i386-darwin-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers,
	i386_darwin_store_inferior_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386-bsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 18:49 sergiodj+buildbot
  2017-05-08  1:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aac12e2497a42b47223680ab1b5924137de77c9a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: aac12e2497a42b47223680ab1b5924137de77c9a

i386-bsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-bsd-nat.c (i386bsd_fetch_inferior_registers,
	i386bsd_store_inferior_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 17:59 sergiodj+buildbot
  2017-05-07  6:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbe1eef1e585e19d5493882e55f2b7902df9827a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: bbe1eef1e585e19d5493882e55f2b7902df9827a

hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-obsd-nat.c (hppaobsd_fetch_registers,
	hppaobsd_store_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 17:03 sergiodj+buildbot
  2017-05-06  9:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 17:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10799020a9336b6a88c1ace53c601960b840d580 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 10799020a9336b6a88c1ace53c601960b840d580

hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-nbsd-nat.c (hppanbsd_fetch_registers,
	hppanbsd_store_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make length_of_subexp static
@ 2017-03-22 16:41 sergiodj+buildbot
  2017-04-13 15:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf81cf6081d1a8c15c477f903d15d7b88f31b686 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: cf81cf6081d1a8c15c477f903d15d7b88f31b686

Make length_of_subexp static

It isn't used anywhere else than the file it's defined in.

gdb/ChangeLog:

	* parse.c (length_of_subexp): Make static.
	* parser-defs.h (length_of_subexp): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] hppa-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 16:39 sergiodj+buildbot
  2017-05-05 14:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00204cf7da01d99205aacc994e5c594ed12bba64 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 00204cf7da01d99205aacc994e5c594ed12bba64

hppa-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-linux-nat.c (fetch_register, store_register): Use ptid
	from regcache.  Use get_ptrace_pid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] corelow: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 16:13 sergiodj+buildbot
  2017-05-04 10:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11a3371447f15af26def26646ad2eb7a4386462d ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 11a3371447f15af26def26646ad2eb7a4386462d

corelow: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* corelow.c (get_core_register_section): Use ptid from regcache,
	update doc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add test name argument to get_valueof, get_integer_valueof and get_sizeof
@ 2017-03-22 15:42 sergiodj+buildbot
  2017-04-12 18:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0efcde634d45f4cda03fd18c43ff449103559d7a ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 0efcde634d45f4cda03fd18c43ff449103559d7a

Add test name argument to get_valueof, get_integer_valueof and get_sizeof

An optional parameter TEST has been added to get_hexadecimal_valueof in commit:

  https://sourceware.org/ml/gdb-patches/2016-06/msg00469.html

This patch adds a similar optional parameter to other related methods that
retrieve expression values: get_valueof, get_integer_valueof and get_sizeof.
Thus tests that evaluate same expression multiple times can provide custom
test names, ensuring that test names will be unique.

gdb/testsuite/ChangeLog:
2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>

	* lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
	  Add optional 'test' parameter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bsd-uthread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 15:22 sergiodj+buildbot
  2017-05-03 14:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 15:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 317cd4925a9d6ef6f8752a771cb56e85ddfb30f0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 317cd4925a9d6ef6f8752a771cb56e85ddfb30f0

bsd-uthread: Use ptid from regcache instead of inferior_ptid

This is one of the rare to_fetch/store_registers implementations that will
still rely (for now) on inferior_ptid (because of the memory read/write
operations).  We therefore have to add a save/restore of inferior_ptid.  We'll
be able to remove it when we make the memory operations accept the ptid as a
parameter.

gdb/ChangeLog:

	* bsd-uthread.c (bsd_uthread_fetch_registers,
	bsd_uthread_store_registers): Use ptid from regcache, set and
	restore inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] linux-nat: Exploit /proc/<pid>/mem for writing
@ 2017-03-22 14:42 sergiodj+buildbot
  2017-04-11 21:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a379284af268ed768674e7f452ca78dad2aaaf55 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: a379284af268ed768674e7f452ca78dad2aaaf55

linux-nat: Exploit /proc/<pid>/mem for writing

So far linux_proc_xfer_partial refused to handle write requests.  This is
still based on the assumption that the Linux kernel does not support
writes to /proc/<pid>/mem.  That used to be true, but has changed with
Linux 2.6.39 released in May 2011.

This patch lifts this restriction and now exploits /proc/<pid>/mem for
writing to inferior memory as well, if possible.

gdb/ChangeLog:

	* linux-nat.c (linux_proc_xfer_partial): Handle write operations
	as well.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 14:26 sergiodj+buildbot
  2017-05-02 13:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ac8a7c281aa949cf588cccb9977ea51eaff8130 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 9ac8a7c281aa949cf588cccb9977ea51eaff8130

arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* arm-nbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
	fetch_fp_regs, store_register, store_regs, store_fp_register,
	store_fp_regs): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 14:08 sergiodj+buildbot
  2017-05-01 17:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ac4bb6ad5ead16be5ca6996a3e325c26ddf71da ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 4ac4bb6ad5ead16be5ca6996a3e325c26ddf71da

arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* arm-linux-nat.c (fetch_fpregs, store_fpregs, fetch_regs,
	store_regs, fetch_wmmx_regs, store_wmmx_regs, fetch_vfp_regs,
	store_vfp_regs): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Restore test-cp-name-parser build
@ 2017-03-22 13:41 sergiodj+buildbot
  2017-04-11  0:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a6200ba863f207d93467312431d107f50f0e2ab ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8a6200ba863f207d93467312431d107f50f0e2ab

Restore test-cp-name-parser build

Commit c8b23b3f89fbb0 ("Add constructor and destructor to
demangle_parse_info") a while ago broke the "test-cp-name-parser"
build:

 $ make test-cp-name-parser
 [...]
 src/gdb/cp-name-parser.y: In function int main(int, char**):
 src/gdb/cp-name-parser.y:2190:9: error: cannot convert std::unique_ptr<demangle_parse_info> to demangle_parse_info* in assignment
   result = cp_demangled_name_to_comp (str2, &errmsg);
	  ^
 src/gdb/cp-name-parser.y:2199:38: error: cp_demangled_name_parse_free was not declared in this scope
   cp_demangled_name_parse_free (result);
				       ^
 src/gdb/cp-name-parser.y:2211:14: error: cannot convert std::unique_ptr<demangle_parse_info> to demangle_parse_info* in assignment
	result = cp_demangled_name_to_comp (argv[arg], &errmsg);
	       ^
 src/gdb/cp-name-parser.y:2219:43: error: cp_demangled_name_parse_free was not declared in this scope
	cp_demangled_name_parse_free (result);
					    ^
 Makefile:2107: recipe for target 'test-cp-name-parser.o' failed
 make: *** [test-cp-name-parser.o] Error 1

This commit restores it.

gdb/ChangeLog:
2017-03-14  Pedro Alves  <palves@redhat.com>

	* cp-name-parser.y (cp_demangled_name_to_comp): Update comment.
	(main): Use std::unique_ptr.  Remove calls to
	cp_demangled_name_parse_free.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR remote/21188: Fix remote serial timeout
@ 2017-03-22 13:24 sergiodj+buildbot
  2017-04-30 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bcbdca808b5f9fec6217d20bd4b48a56008c460 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9bcbdca808b5f9fec6217d20bd4b48a56008c460

PR remote/21188: Fix remote serial timeout

As Gareth McMullin <gareth@blacksphere.co.nz> reports at
<https://sourceware.org/ml/gdb-patches/2017-02/msg00560.html>, the
timeout mechanism in ser-unix.c was broken by commit 048094acc
("target remote: Don't rely on immediate_quit (introduce quit
handlers)").

Instead of applying a local fix, and since we now finally always use
interrupt_select [1], let's get rid of hardwire_readchar entirely, and
use ser_base_readchar instead, which has similar timeout handling,
except for the bug.

Smoke tested with:

 $ socat -d -d pty,raw,echo=0 pty,raw,echo=0
 2017/03/14 14:08:13 socat[4994] N PTY is /dev/pts/14
 2017/03/14 14:08:13 socat[4994] N PTY is /dev/pts/15
 2017/03/14 14:08:13 socat[4994] N starting data transfer loop with FDs [3,3] and [5,5]
 $ gdbserver /dev/pts/14 PROG
 $ gdb PROG -ex "tar rem /dev/pts/15"

and then a few continues/ctrl-c's, plus killing gdbserver and socat.

[1] - See FIXME comments being removed.

gdb/ChangeLog:
2017-03-17  Pedro Alves  <palves@redhat.com>

	PR remote/21188
	* ser-base.c (ser_base_wait_for): Add comment.
	(do_ser_base_readchar): Improve comment based on the ser-unix.c's
	version.
	* ser-unix.c (hardwire_raw): Remove reference to
	scb->current_timeout.
	(wait_for, do_hardwire_readchar, hardwire_readchar): Delete.
	(hardwire_ops): Install ser_base_readchar instead of
	hardwire_readchar.
	* serial.h (struct serial) <current_timeout, timeout_remaining>:
	Remove fields.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR gdb/19637: bound_registers.py: Add support for Python 3
@ 2017-03-22 13:04 sergiodj+buildbot
  2017-04-30  0:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7503099f3e29739d34cb1224d54fba96404e6e61 ***

Author: Jonah Graham <jonah@kichwacoders.com>
Branch: master
Commit: 7503099f3e29739d34cb1224d54fba96404e6e61

Fix PR gdb/19637: bound_registers.py: Add support for Python 3

Fix this the same way gdb/python/lib/gdb/printing.py handles it.

gdb/Changelog:
2017-03-17  Jonah Graham  <jonah@kichwacoders.com>

	PR gdb/19637
	* python/lib/gdb/printer/bound_registers.py: Add support for
	Python 3.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] E6500 spr mnemonics
@ 2017-03-22 12:43 sergiodj+buildbot
  2017-04-28 15:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 12:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b94dd2de12dd0389615700b13b63260e162ccf0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4b94dd2de12dd0389615700b13b63260e162ccf0

E6500 spr mnemonics

	PR 21248
	* ppc-opc.c (powerpc_opcodes): Enable mfivor32, mfivor33,
	mtivor32, and mtivor33 for e6500.  Move mfibatl and mfibatu after
	those spr mnemonics they alias.  Similarly for mtibatl, mtibatu.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 12:42 sergiodj+buildbot
  2017-04-10  4:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 12:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f79ec2066662b2c32c9e62ee372c9c230d206b89 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: f79ec2066662b2c32c9e62ee372c9c230d206b89

alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* alpha-bsd-nat.c (alphabsd_fetch_inferior_registers,
	alphabsd_store_inferior_registers): Use regcache->ptid instead
	of inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for a GNU BUILD note type to record the enum size.
@ 2017-03-22 10:54 sergiodj+buildbot
  2017-04-25 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8be5506b626a57f84771c5ddfaefabf2d61c017 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a8be5506b626a57f84771c5ddfaefabf2d61c017

Add support for a GNU BUILD note type to record the enum size.

include	* elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD
	note type.

binutils * readelf.c (print_gnu_build_attribute_name): Add support for
	GNU_BUILD_ATTRIBUTE_SHORT_ENUM.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix arm process record for some instructions
@ 2017-03-22 10:25 sergiodj+buildbot
  2017-04-24  0:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b121eeb9971ebfceffc38e6131fdc15ec4188599 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: b121eeb9971ebfceffc38e6131fdc15ec4188599

Fix arm process record for some instructions

I look at some fails in gdb.reverse/solib-precsave.exp in -mthumb,
they are caused by some bugs on decoding these three instructions,
uxtb, ldr and mrc.  This patch adds unit tests against these three
instructions, and fix these bugs by re-organizing the code to match
the table in ARM ARM.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
	(arm_record_test): Declare.
	(_initialize_arm_tdep) [GDB_SELF_TEST]: call register_self_test.
	(thumb_record_ld_st_reg_offset): Rewrite the opcode matching to
	align with the manual.
	(thumb_record_misc): Adjust the code order to align with the
	manual.
	(thumb2_record_decode_insn_handler): Fix instruction matching.
	(instruction_reader_thumb): New class.
	(arm_record_test): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add instruction_reader to arm process record
@ 2017-03-22 10:10 sergiodj+buildbot
  2017-04-23  1:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 728a79135f51a1c20719ebaf3c98446d9ee248db ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 728a79135f51a1c20719ebaf3c98446d9ee248db

Add instruction_reader to arm process record

This patch adds an abstract class abstract_memory_reader a
and pass it to the code reading instructions in arm process record,
rather than using target_read_memory to read from real target.  This
paves the way for adding more unit tests to arm process record.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (abstract_memory_reader): New class.
	(instruction_reader): New class.
	(extract_arm_insn): Add argument 'reader'.  Callers updated.
	(decode_insn): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] New function tyscm_scm_to_type.
@ 2017-03-22  8:23 sergiodj+buildbot
  2017-04-20 13:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  8:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a3a5feccd26be653efbdf1408874b98962baaa50 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: a3a5feccd26be653efbdf1408874b98962baaa50

New function tyscm_scm_to_type.

gdb/ChangeLog:

	* guile/guile-internal.h (tyscm_scm_to_type): Declare.
	* guile/scm-type.c (tyscm_scm_to_type): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [Patch] Fix variable type glitch in inf-ptrace.c
@ 2017-03-22  8:05 sergiodj+buildbot
  2017-04-19 16:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  8:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28f1c60507ad4ca2252cebada30d2f63ec3b772f ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 28f1c60507ad4ca2252cebada30d2f63ec3b772f

[Patch] Fix variable type glitch in inf-ptrace.c

gdb/
	* inf-ptrace.c (inf_ptrace_peek_poke): Change the type to "ULONGEST"
	for "skip".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix expect for gdb.cp/m-static.exp
@ 2017-03-22  7:47 sergiodj+buildbot
  2017-04-18 18:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec3b243d4308ee56c9e3c62470b10ed2a822eb51 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: ec3b243d4308ee56c9e3c62470b10ed2a822eb51

Fix expect for gdb.cp/m-static.exp

The expectation in gdb.cp/m-static.exp for the ptype of
single_constructor is to get in the result of destructor with the
following prototype: ~single_constructor(int).

Yet, m-static.cc declares the destructor as ~single_constructor(). This
commit fixes the expectation.

2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	gdb/testsuite/
	* gdb.cp/m-static.exp: Fix expectation for prototype of
	test5.single_constructor and single_constructor::single_constructor.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for the remaining %-ipa.o objects
@ 2017-03-22  6:40 sergiodj+buildbot
  2017-04-05  0:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a01e7c6b0eaed1bfe70d48692e1103c6e9ee2d9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 1a01e7c6b0eaed1bfe70d48692e1103c6e9ee2d9

gdbserver: Use pattern rule for the remaining %-ipa.o objects

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: %-ipa.c): New rule.
	(ax-ipa.o: ax.c): Remove.
	(linux-i386-ipa.o: linux-i386-ipa.c): Remove.
	(linux-amd64-ipa.o: linux-amd64-ipa.c): Remove.
	(linux-aarch64-ipa.o: linux-aarch64-ipa.c): Remove.
	(linux-s390-ipa.o: linux-s390-ipa.c): Remove.
	(linux-ppc-ipa.o: linux-ppc-ipa.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] inf-ptrace: Do not stop memory transfers after a single word
@ 2017-03-22  6:21 sergiodj+buildbot
  2017-04-15  8:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87c336f60eccc6506ff19369c29575f43fea02ea ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 87c336f60eccc6506ff19369c29575f43fea02ea

inf-ptrace: Do not stop memory transfers after a single word

When inf_ptrace_xfer_partial performs a memory transfer via ptrace with
PT_READ_I, PT_WRITE_I (aka PTRACE_PEEKTEXT, PTRACE_POKETEXT), etc., then
it currently transfers at most one word.  This behavior yields degraded
performance, particularly if the caller has significant preparation work
for each invocation.  And indeed it has for writing, in
memory_xfer_partial in target.c, where all of the remaining data to be
transferred is copied to a temporary buffer each time, for breakpoint
shadow handling.  Thus large writes have quadratic runtime and can take
hours.

Note: On GNU/Linux targets GDB usually does not use
inf_ptrace_xfer_partial for large memory transfers, but attempts a single
read/write from/to /proc/<pid>/mem instead.  However, the kernel may
reject writes to /proc/<pid>/mem (such as kernels prior to 2.6.39), or
/proc may not be mounted.  In both cases GDB falls back to the ptrace
mechanism.

This patch fixes the performance issue by attempting to fulfill the whole
transfer request in inf_ptrace_xfer_partial, using a loop around the
ptrace call.

gdb/ChangeLog:

	PR gdb/21220
	* inf-ptrace.c (inf_ptrace_xfer_partial): In "case
	TARGET_OBJECT_MEMORY", extract the logic for ptrace peek/poke...
	(inf_ptrace_peek_poke): ...here.  New function.  Now also loop
	over ptrace peek/poke until end of buffer or error.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V: Fix [dis]assembly of srai/srli
@ 2017-03-22  6:11 sergiodj+buildbot
  2017-04-14 12:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2c232b8361a044d689d12161b7a645d238586f5e ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 2c232b8361a044d689d12161b7a645d238586f5e

RISC-V: Fix [dis]assembly of srai/srli

These were simple copy/paste errors from the compressed left shift
pattern, which can't have a 0-register.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:39 sergiodj+buildbot
  2017-04-09  7:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edb5fb00a6865884f99be01a9e97f44243a9deb9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: edb5fb00a6865884f99be01a9e97f44243a9deb9

aix-thread: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* aix-thread.c (aix_thread_fetch_registers,
	aix_thread_store_registers): Use regcache->ptid instead of
	inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from arch/
@ 2017-03-22  3:38 sergiodj+buildbot
  2017-04-02 12:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd

gdbserver: Use pattern rule for objects from arch/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../arch/%.c): New rule.
	(arm.o: ../arch/arm.c): Remove.
	(arm-linux.o: ../arch/arm-linux.c): Remove.
	(arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove.
	(aarch64-insn.o: ../arch/aarch64-insn.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:26 sergiodj+buildbot
  2017-04-08 10:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 551196862e4e9dfda510f59c53b0a3ff3153e4ed ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 551196862e4e9dfda510f59c53b0a3ff3153e4ed

aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* aarch64-linux-nat.c (fetch_gregs_from_thread,
	store_gregs_to_thread, fetch_fpregs_from_thread,
	store_fpregs_to_thread): Use regcache->ptid instead of
	inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] amd64-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  2:36 sergiodj+buildbot
  2017-04-07 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6a06fbb7b73fe55d6b9057f8154652e1ae8f883c ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6a06fbb7b73fe55d6b9057f8154652e1ae8f883c

amd64-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers,
	amd64_linux_fetch_inferior_registers): Use regcache->ptid
	instead of inferior_ptid.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add asserts in target_fetch/store_registers
@ 2017-03-22  2:21 sergiodj+buildbot
  2017-04-06 17:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c6386875ba57a806c896ba097afef525671de4a0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c6386875ba57a806c896ba097afef525671de4a0

Add asserts in target_fetch/store_registers

We are currently assuming that regcache->ptid is equal to inferior_ptid
when we call target_fetch/store_registers.  These asserts just validate
that assumption.  Also, since the following patches will change target
code to use regcache->ptid instead of inferior_ptid, asserting that they
are the same should ensure that our changes don't have any unintended
consequences.

gdb/ChangeLog:

	* target.c (target_fetch_registers, target_store_registers): Add
	assert.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce regcache_get_ptid
@ 2017-03-22  2:06 sergiodj+buildbot
  2017-04-05 20:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddaaf0fb8605fced72e84410fc7ac834e529eb53 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: ddaaf0fb8605fced72e84410fc7ac834e529eb53

Introduce regcache_get_ptid

This patch introduces the regcache_get_ptid function, which can be used
to retrieve the ptid a regcache is connected to.  It is used in
subsequent patches.

gdb/ChangeLog:

	* regcache.h (regcache_get_ptid): New function.
	* regcache.c (regcache_get_ptid): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from common/
@ 2017-03-22  1:38 sergiodj+buildbot
  2017-03-31 15:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6bda016bec556855c6d4e191f360f921faa40ded ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6bda016bec556855c6d4e191f360f921faa40ded

gdbserver: Use pattern rule for objects from common/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../common/%.c): New rule.
	(signals.o: ../common/signals.c): Remove.
	(print-utils.o: ../common/print-utils.c): Remove.
	(rsp-low.o: ../common/rsp-low.c): Remove.
	(common-utils.o: ../common/common-utils.c): Remove.
	(posix-strerror.o: ../common/posix-strerror.c): Remove.
	(mingw-strerror.o: ../common/mingw-strerror.c): Remove.
	(vec.o: ../common/vec.c): Remove.
	(gdb_vecs.o: ../common/gdb_vecs.c): Remove.
	(xml-utils.o: ../common/xml-utils.c): Remove.
	(ptid.o: ../common/ptid.c): Remove.
	(buffer.o: ../common/buffer.c): Remove.
	(format.o: ../common/format.c): Remove.
	(filestuff.o: ../common/filestuff.c): Remove.
	(agent.o: ../common/agent.c): Remove.
	(errors.o: ../common/errors.c): Remove.
	(environ.o: ../common/environ.c): Remove.
	(common-debug.o: ../common/common-debug.c): Remove.
	(cleanups.o: ../common/cleanups.c): Remove.
	(common-exceptions.o: ../common/common-exceptions.c): Remove.
	(fileio.o: ../common/fileio.c): Remove.
	(common-regcache.o: ../common/common-regcache.c): Remove.
	(signals-state-save-restore.o: ../common/signals-state-save-restore.c): Remove.
	(new-op.o: ../common/new-op.c): Remove.
	(btrace-common.o: ../common/btrace-common.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from common/
@ 2017-03-22  1:03 sergiodj+buildbot
  2017-04-04  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  1:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36bc18a810a13f884d826842abbdd6d744ff6481 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 36bc18a810a13f884d826842abbdd6d744ff6481

gdbserver: Use pattern rule for IPA objects from common/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: ../common/%.c): New rule.
	(print-utils-ipa.o: ../common/print-utils.c): Remove.
	(rsp-low-ipa.o: ../common/rsp-low.c): Remove.
	(errors-ipa.o: ../common/errors.c): Remove.
	(format-ipa.o: ../common/format.c): Remove.
	(common-utils-ipa.o: ../common/common-utils.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from gdbserver/
@ 2017-03-22  0:48 sergiodj+buildbot
  2017-04-03  8:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  0:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8ebe3d5f17f12490012a1a3c69d17b6e9362805 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: a8ebe3d5f17f12490012a1a3c69d17b6e9362805

gdbserver: Use pattern rule for IPA objects from gdbserver/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: %.c): New rule.
	(tracepoint-ipa.o: tracepoint.c): Remove.
	(utils-ipa.o: utils.c): Remove.
	(remote-utils-ipa.o: remote-utils.c): Remove.
	(regcache-ipa.o: regcache.c): Remove.
	(i386-linux-ipa.o: i386-linux.c): Remove.
	(i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove.
	(i386-avx-linux-ipa.o: i386-avx-linux.c): Remove.
	(i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove.
	(i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove.
	(i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove.
	(i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove.
	(amd64-linux-ipa.o: amd64-linux.c): Remove.
	(amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove.
	(amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove.
	(amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove.
	(amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove.
	(amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove.
	(aarch64-ipa.o: aarch64.c): Remove.
	(s390-linux32-ipa.o: s390-linux32.c): Remove.
	(s390-linux32v1-ipa.o: s390-linux32v1.c): Remove.
	(s390-linux32v2-ipa.o: s390-linux32v2.c): Remove.
	(s390-linux64-ipa.o: s390-linux64.c): Remove.
	(s390-linux64v1-ipa.o: s390-linux64v1.c): Remove.
	(s390-linux64v2-ipa.o: s390-linux64v2.c): Remove.
	(s390-te-linux64-ipa.o: s390-te-linux64.c): Remove.
	(s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove.
	(s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove.
	(s390x-linux64-ipa.o: s390x-linux64.c): Remove.
	(s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove.
	(s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove.
	(s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove.
	(s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove.
	(s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove.
	(powerpc-32l-ipa.o: powerpc-32l.c): Remove.
	(powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove.
	(powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove.
	(powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove.
	(powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove.
	(powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove.
	(powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove.
	(powerpc-e500l-ipa.o: powerpc-e500l.c): Remove.
	(powerpc-64l-ipa.o: powerpc-64l.c): Remove.
	(powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove.
	(powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove.
	(powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove.
	(powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove.
	(powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove.
	(powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove.
	(tdesc-ipa.o: tdesc.c): Remove.
	(x32-linux-ipa.o: x32-linux.c): Remove.
	(x32-avx-linux-ipa.o: x32-avx-linux.c): Remove.
	(x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from target/
@ 2017-03-22  0:39 sergiodj+buildbot
  2017-03-30 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21122961ecea30b3be7c788e09179d297e3233f0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 21122961ecea30b3be7c788e09179d297e3233f0

gdbserver: Use pattern rule for objects from target/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../target/%.c): New rule.
	(waitstatus.o: ../target/waitstatus.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from nat/
@ 2017-03-21 23:46 sergiodj+buildbot
  2017-04-01 16:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 23:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5a22423d09e3bf670fb0de0a98e6feb6176eb3f ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c5a22423d09e3bf670fb0de0a98e6feb6176eb3f

gdbserver: Use pattern rule for objects from nat/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../nat/%.c): New rule.
	(x86-dregs.o: ../nat/x86-dregs.c): Remove.
	(amd64-linux-siginfo.o: ../nat/amd64-linux-siginfo.c): Remove.
	(linux-btrace.o: ../nat/linux-btrace.c): Remove.
	(linux-osdata.o: ../nat/linux-osdata.c): Remove.
	(linux-procfs.o: ../nat/linux-procfs.c): Remove.
	(linux-ptrace.o: ../nat/linux-ptrace.c): Remove.
	(linux-waitpid.o: ../nat/linux-waitpid.c): Remove.
	(mips-linux-watch.o: ../nat/mips-linux-watch.c): Remove.
	(ppc-linux.o: ../nat/ppc-linux.c): Remove.
	(linux-personality.o: ../nat/linux-personality.c): Remove.
	(aarch64-linux-hw-point.o: ../nat/aarch64-linux-hw-point.c): Remove.
	(aarch64-linux.o: ../nat/aarch64-linux.c): Remove.
	(x86-linux.o: ../nat/x86-linux.c): Remove.
	(x86-linux-dregs.o: ../nat/x86-linux-dregs.c): Remove.
	(linux-namespaces.o: ../nat/linux-namespaces.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for regformats source file generation
@ 2017-03-21 22:27 sergiodj+buildbot
  2017-03-29 23:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 22:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c362e6217b556ce932250c340218f1ca16391070 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c362e6217b556ce932250c340218f1ca16391070

gdbserver: Use pattern rule for regformats source file generation

gdb/gdbserver/ChangeLog:

	* Makefile.in
	(%.c: ../regformats/%.dat,
	(%.c: ../regformats/arm/%.dat,
	(%.c: ../regformats/i386/%.dat,
	(%.c: ../regformats/rs6000/%.dat): New rules.
	(aarch64.c): Remove.
	(reg-arm.c): Remove.
	(arm-with-iwmmxt.c): Remove.
	(arm-with-vfpv2.c): Remove.
	(arm-with-vfpv3.c): Remove.
	(arm-with-neon.c): Remove.
	(reg-bfin.c): Remove.
	(reg-cris.c): Remove.
	(reg-crisv32.c): Remove.
	(i386.c): Remove.
	(i386-linux.c): Remove.
	(i386-avx.c): Remove.
	(i386-avx-linux.c): Remove.
	(i386-avx-avx512.c): Remove.
	(i386-avx-avx512-linux.c): Remove.
	(i386-mpx.c): Remove.
	(i386-mpx-linux.c): Remove.
	(i386-avx-mpx-avx512-pku.c): Remove.
	(i386-avx-mpx-avx512-pku-linux.c): Remove.
	(i386-avx-mpx.c): Remove.
	(i386-avx-mpx-linux.c): Remove.
	(i386-mmx.c): Remove.
	(i386-mmx-linux.c): Remove.
	(reg-ia64.c): Remove.
	(reg-m32r.c): Remove.
	(reg-m68k.c): Remove.
	(reg-cf.c): Remove.
	(mips-linux.c): Remove.
	(mips-dsp-linux.c): Remove.
	(mips64-linux.c): Remove.
	(mips64-dsp-linux.c): Remove.
	(nios2-linux.c): Remove.
	(powerpc-32.c): Remove.
	(powerpc-32l.c): Remove.
	(powerpc-altivec32l.c): Remove.
	(powerpc-cell32l.c): Remove.
	(powerpc-vsx32l.c): Remove.
	(powerpc-isa205-32l.c): Remove.
	(powerpc-isa205-altivec32l.c): Remove.
	(powerpc-isa205-vsx32l.c): Remove.
	(powerpc-e500l.c): Remove.
	(powerpc-64l.c): Remove.
	(powerpc-altivec64l.c): Remove.
	(powerpc-cell64l.c): Remove.
	(powerpc-vsx64l.c): Remove.
	(powerpc-isa205-64l.c): Remove.
	(powerpc-isa205-altivec64l.c): Remove.
	(powerpc-isa205-vsx64l.c): Remove.
	(s390-linux32.c): Remove.
	(s390-linux32v1.c): Remove.
	(s390-linux32v2.c): Remove.
	(s390-linux64.c): Remove.
	(s390-linux64v1.c): Remove.
	(s390-linux64v2.c): Remove.
	(s390-te-linux64.c): Remove.
	(s390-vx-linux64.c): Remove.
	(s390-tevx-linux64.c): Remove.
	(s390x-linux64.c): Remove.
	(s390x-linux64v1.c): Remove.
	(s390x-linux64v2.c): Remove.
	(s390x-te-linux64.c): Remove.
	(s390x-vx-linux64.c): Remove.
	(s390x-tevx-linux64.c): Remove.
	(tic6x-c64xp-linux.c): Remove.
	(tic6x-c64x-linux.c): Remove.
	(tic6x-c62x-linux.c): Remove.
	(reg-sh.c): Remove.
	(reg-sparc64.c): Remove.
	(reg-spu.c): Remove.
	(amd64.c): Remove.
	(amd64-linux.c): Remove.
	(amd64-avx.c): Remove.
	(amd64-avx-linux.c): Remove.
	(amd64-avx-avx512.c): Remove.
	(amd64-avx-avx512-linux.c): Remove.
	(amd64-mpx.c): Remove.
	(amd64-mpx-linux.c): Remove.
	(amd64-avx-mpx-avx512-pku.c): Remove.
	(amd64-avx-mpx-avx512-pku-linux.c): Remove.
	(amd64-avx-mpx.c): Remove.
	(amd64-avx-mpx-linux.c): Remove.
	(x32.c): Remove.
	(x32-linux.c): Remove.
	(x32-avx.c): Remove.
	(x32-avx-linux.c): Remove.
	(x32-avx-avx512.c): Remove.
	(x32-avx-avx512-linux.c): Remove.
	(reg-xtensa.c): Remove.
	(reg-tilegx.c): Remove.
	(reg-tilegx32.c): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus
@ 2017-03-21 21:41 sergiodj+buildbot
  2017-03-29  3:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 21:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7978d7c385b072a344d969f71cdc68e1a1171ec2 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 7978d7c385b072a344d969f71cdc68e1a1171ec2

testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus

I noticed that backslash_in_multi_line_command_test in
gdb.base/commands.exp failed on our RHEL6 servers.  I traced it to the
old version of DejaGnu (1.4.4).  I have found that instead of receiving
the expected:

  "print \\\nargc\n"

gdb received:

  "print  argc\n"

thus breaking the test and its purpose.  Versionof DejaGnu < 1.5 mess
up sending "\\\n", it somehow gets replaced with a space.  I found that
the following commit in DejaGnu fixed the issue:

http://git.savannah.gnu.org/cgit/dejagnu.git/commit/lib/remote.exp?id=3f39294f5cd6802858838d3bcc0ccce847ae17f2

Even though the commit is almost 10 years old, the following release of
DejaGnu was only in 2013, which is why we still have systems with the
old code.

If the DejaGnu version is < 1.5, we just skip the test.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (backslash_in_multi_line_command_test):
	Skip for versions of DejaGnu < 1.5.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: Introduce dejagnu_version
@ 2017-03-21 21:25 sergiodj+buildbot
  2017-03-28  6:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 21:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 896c0c1edee117ea333c66b1adac8c6f4def3f2b ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 896c0c1edee117ea333c66b1adac8c6f4def3f2b

testsuite: Introduce dejagnu_version

The next patch will require checking the DejaGnu version.  There is
already a test that does this,
gdb.threads/attach-many-short-lived-threads.exp.  This patch introduces
a new procedure, dejagnu_version, and makes that test use it.

The version number is "right-padded" with zeroes, to make sure that we
always return a triplet (major, minor, patch).

The procedure does not consider the DejaGnu versions from git.  For
example, if you used DejaGnu from its current master branch, the version
would be "1.6.1-git", meaning that 1.6.1 will be the next release.  I
figured we'll cross that bridge when (and if) we get there.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (dejagnu_version): New proc.
	* gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
	Use dejagnu_version.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Merge libiberty: Initialize d_printing in all cplus_demangle_fill_* functions.
@ 2017-03-13 20:46 sergiodj+buildbot
  2017-03-26 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-13 20:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9da89d161e3903faa335f444af2bf05e40f926e ***

Author: mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Branch: master
Commit: b9da89d161e3903faa335f444af2bf05e40f926e

Merge libiberty: Initialize d_printing in all cplus_demangle_fill_* functions.

While integrating the d_printing recursion guard change into gdb I
noticed we forgot to initialize the demangle_component d_printing
field in cplus_demangle_fill_{name,extended_operator,ctor,dtor}.
As is done in cplus_demangle_fill_{component,builtin_type,operator}.
It happened to work because in gcc all demangle_components were
allocated through d_make_empty. But gdb has its own allocation
mechanism (as might other users).

libiberty/ChangeLog:

       * cp-demangle.c (cplus_demangle_fill_name): Initialize
       demangle_component d_printing.
       (cplus_demangle_fill_extended_operator): Likewise.
       (cplus_demangle_fill_ctor): Likewise.
       (cplus_demangle_fill_dtor): Likewise.

gdb/ChangeLog:

       * cp-name-parser.y (make_empty): Initialize d_printing to zero.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync libiberty sources with GCC.
@ 2017-03-13 18:10 sergiodj+buildbot
  2017-03-25 13:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-13 18:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c793cac124dd2eb34042f2e43abb099a26e34cb0 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: c793cac124dd2eb34042f2e43abb099a26e34cb0

Sync libiberty sources with GCC.

	PR demangler/70909
	PR demangler/67264
	* cp-demangle.c: Fix endless recursion. Pass
	struct demangle_component as non const.
	(d_make_empty): Initialize variable.
	(d_print_comp_inner): Limit recursion.
	(d_print_comp): Decrement variable.
	* cp-demint.c (cplus_demangle_fill_component): Initialize
	variable.
	(cplus_demangle_fill_builtin_type): Likewise.
	(cplus_demangle_fill_operator): Likewise.
	* testsuite/demangle-expected: Add tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename R_AARCH64_TLSDESC_LD64_LO12_NC to R_AARCH64_TLSDESC_LD64_LO12 and R_AARCH64_TLSDESC_ADD_LO12_NC to R_AARCH64_TLSDESC_ADD_LO12.
@ 2017-03-13 10:26 sergiodj+buildbot
  2017-03-24 17:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-13 10:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f955cccff399ccc4e16b8e90f140f2e9a785a07b ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: f955cccff399ccc4e16b8e90f140f2e9a785a07b

Rename R_AARCH64_TLSDESC_LD64_LO12_NC to R_AARCH64_TLSDESC_LD64_LO12 and R_AARCH64_TLSDESC_ADD_LO12_NC to R_AARCH64_TLSDESC_ADD_LO12.

	PR binutils/21202
include	* elf/aarch64.h (R_AARCH64_TLSDESC_LD64_LO12_NC): Rename to
	R_AARCH64_TLSDESC_LD64_LO12.
	(R_AARCH64_TLSDESC_ADD_LO12_NC): Rename to
	R_AARCH64_TLSDESC_ADD_LO12_NC.

bfd	* reloc.c (BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC): Rename to
	BFD_RELOC_AARCH64_TLSDESC_LD64_LO12.
	(BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC): Rename to
	BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Update reloc
	names.
	(IS_AARCH64_TLSDESC_RELOC): Likewise.
	(elfNN_aarch64_howto_table): Likewise.
	(aarch64_tls_transition_without_check): Likewise.
	(aarch64_reloc_got_type): Likewise.
	(elfNN_aarch64_final_link_relocate): Likewise.
	(elfNN_aarch64_tls_relax): Likewise.
	(elfNN_aarch64_relocate_section): Likewise.
	(elfNN_aarch64_gc_sweep_hook): Likewise.
	(elfNN_aarch64_check_relocs): Likewise.
	* elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
	(_bfd_aarch64_elf_resolve_relocation): Likewise.

gas	* config/tc-aarch64.c (reloc_table): Rename
	BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC to
	BFD_RELOC_AARCH64_TLSDESC_LD64_LO12.  Rname
	BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC to
	BFD_RELOC_AARCH64_TLSDESC_ADD_LO12.
	(md_apply_fix): Likewise.
	(aarch64_force_relocation): Likewise.
	* testsuite/gas/aarch64/tls.d: Update regexp.

ld	* testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove bogus ATTRIBUTE_UNUSED
@ 2017-03-11 13:40 sergiodj+buildbot
  2017-03-22 21:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-11 13:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4aef764338ed40a7fa9573b0e6e2ade817acd688 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4aef764338ed40a7fa9573b0e6e2ade817acd688

Remove bogus ATTRIBUTE_UNUSED

	* elf32-ppc.c: Remove ATTRIBUTE_UNUSED throughout when function
	parameter is in fact used.  Whitespace fixes.
	* elf64-ppc.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] c++/8218: Destructors w/arguments.
@ 2017-03-10 18:58 sergiodj+buildbot
  2017-03-22  1:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-10 18:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f4d10850850cd95af5e95a16848c8c07a273d88 ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 5f4d10850850cd95af5e95a16848c8c07a273d88

c++/8218: Destructors w/arguments.

For a long time now, c++/8218 has noted that GDB is printing argument types
for destructors:

(gdb) ptype A
type = class A {
  public:
    ~A(int);
}

This happens because cp_type_print_method_args doesn't ignore artificial
arguments.  [It ignores the first `this' pointer because it simply skips
the first argument for any non-static function.]

This patch fixes this:

(gdb) ptype  A
type = class A {
  public:
    ~A();
}

I've adjusted gdb.cp/templates.exp to account for this and added a new
passing regexp.

gdb/ChangeLog

	PR c++/8218
	* c-typeprint.c (cp_type_print_method_args): Skip artificial arguments.

gdb/testsuite/ChangeLog

	PR c++/8128
	* gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
	type from destructor regexps.
	Add a branch which actually passes the test.
	Adjust "ptype t5i" test names.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add basic recognition of new EM_ ELF machine numbers.
@ 2017-03-10 11:14 sergiodj+buildbot
  2017-03-17 17:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-10 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55e22ca83ae50d6fe422cd0542f2a1a5934b2dd2 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 55e22ca83ae50d6fe422cd0542f2a1a5934b2dd2

Add basic recognition of new EM_ ELF machine numbers.

include	* elf/common.h (EM_LANAI): New machine number.
	(EM_BPF): Likewise.
	(EM_WEBASSEMBLY): Likewise.
	Move low value, deprecated, numbers to their numerical
	equivalents.

binutils * readelf.c (get_machine_name): Rearrange switch table in order of
	increasing machine number.  Add missing entries.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Add pseudo prefixes to control encoding
@ 2017-03-09 18:26 sergiodj+buildbot
  2017-03-16 20:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 86fa6981e7487e2c2df4337aa75ed2d93c32eaf2 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 86fa6981e7487e2c2df4337aa75ed2d93c32eaf2

X86: Add pseudo prefixes to control encoding

Many x86 instructions have more than one encodings.  Assembler picks
the default one, usually the shortest one.  Although the ".s", ".d8"
and ".d32" suffixes can be used to swap register operands or specify
displacement size, they aren't very flexible.  This patch adds pseudo
prefixes, {xxx}, to control instruction encoding.  The available
pseudo prefixes are {disp8}, {disp32}, {load}, {store}, {vex2}, {vex3}
and {evex}.  Pseudo prefixes are preferred over the ".s", ".d8" and
".d32" suffixes, which are deprecated.

gas/

	* config/tc-i386.c (_i386_insn): Add dir_encoding and
	vec_encoding.  Remove swap_operand and need_vrex.
	(extra_symbol_chars): Add '}'.
	(md_begin): Mark '}' with LEX_BEGIN_NAME.  Allow '}' in
	mnemonic.
	(build_vex_prefix): Don't use 2-byte VEX encoding with
	{vex3}.  Check dir_encoding and load.
	(parse_insn): Check pseudo prefixes.  Set dir_encoding.
	(VEX_check_operands): Likewise.
	(match_template): Check dir_encoding and load.
	(parse_real_register): Set vec_encoding instead of need_vrex.
	(parse_register): Likewise.
	* doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
	{vex2}, {vex3} and {evex}.  Remove ".s", ".d8" and ".d32"
	* testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
	* testsuite/gas/i386/pseudos.d: New file.
	* testsuite/gas/i386/pseudos.s: Likewise.
	* testsuite/gas/i386/x86-64-pseudos.d: Likewise.
	* testsuite/gas/i386/x86-64-pseudos.s: Likewise.

opcodes/

	* i386-gen.c (opcode_modifiers): Replace S with Load.
	* i386-opc.h (S): Removed.
	(Load): New.
	(i386_opcode_modifier): Replace s with load.
	* i386-opc.tbl: Add {disp8}, {disp32}, {swap}, {vex2}, {vex3}
	and {evex}.  Replace S with Load.
	* i386-tbl.h: Regenerated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c.
@ 2017-03-09 16:53 sergiodj+buildbot
  2017-03-16  1:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 16:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f03265d9cda1f5f8df238efa9b7a20330e5711f1 ***

Author: Sam Thursfield <sam.thursfield@codethink.co.uk>
Branch: master
Commit: f03265d9cda1f5f8df238efa9b7a20330e5711f1

Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c.

	* rs6000-core.c (CORE_NEW): Simplify macro when
	AIX_CORE_DUMPX_CORE and BFD64 are true to avoid compile warning.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use CpuCET on rdsspq
@ 2017-03-09 16:05 sergiodj+buildbot
  2017-03-14 10:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1fe188b154a4e81372629316be3d3a7820efdac ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: c1fe188b154a4e81372629316be3d3a7820efdac

Use CpuCET on rdsspq

	* i386-opc.tbl: Use CpuCET on rdsspq.
	* i386-tbl.h: Regenerated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update -maltivec and -mvsx options to only enable their oldest instructions.
@ 2017-03-09  3:06 sergiodj+buildbot
  2017-03-13 14:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-09  3:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b8b687e885287ed85dafffcebbb8d03d7ea2c38 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 4b8b687e885287ed85dafffcebbb8d03d7ea2c38

Update -maltivec and -mvsx options to only enable their oldest instructions.

Currently, the -maltivec and -mvsx GAS options enable *all* of the altivec
and vsx instructions respecitively that have ever been added.  This is in
constract to GCC's -maltivec and -mvsx options, which only enable the oldest
(ie, first) set of altivec and vsx instructions.  This patch changes GAS to
mimic GCC's behaviour with respect to -maltivec and -mvsx and it solves a
problem with trying to assemble the lxvx instruction which is different
between POWER8 and POWER9.

opcodes/
	* ppc-dis.c (ppc_opts) <altivec>: Do not use PPC_OPCODE_ALTIVEC2;
	<vsx>: Do not use PPC_OPCODE_VSX3;

gas/
	* testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
	(objdump): Use the -Mpower8 option.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Avoid unstable test message in gdb.base/step-over-exit.exp
@ 2017-03-08 22:52 sergiodj+buildbot
  2017-03-12 18:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 22:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1de05205afe1ecd1f1fa2befc6843d0dc70adefc ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1de05205afe1ecd1f1fa2befc6843d0dc70adefc

Avoid unstable test message in gdb.base/step-over-exit.exp

Currently diffing testrun results shows:

 -PASS: gdb.base/step-over-exit.exp: break *0x7ffff77e18c6 if main == 0
 +PASS: gdb.base/step-over-exit.exp: break *0x2aaaab0988c6 if main == 0

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/step-over-exit.exp: Add explicit test message.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for the new 'lnia' extended mnemonic.
@ 2017-03-08 20:33 sergiodj+buildbot
  2017-03-11 22:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 20:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1437d0631b209500db8371c425e896deb66ec9f9 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 1437d0631b209500db8371c425e896deb66ec9f9

Add support for the new 'lnia' extended mnemonic.

opcodes/
	* ppc-opc.c (powerpc_opcodes) <lnia>: New extended mnemonic.

gas/
	* testsuite/gas/ppc/power9.d <lnia> New test.
	* testsuite/gas/ppc/power9.s: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR18360 - internal error when using "interrupt -a"
@ 2017-03-08 20:16 sergiodj+buildbot
  2017-03-11  1:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 20:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c65d6b55b3a592906c470c566f57ad8ceacc1605 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c65d6b55b3a592906c470c566f57ad8ceacc1605

Fix PR18360 - internal error when using "interrupt -a"

If you do "interrupt -a" just while some thread is stepping over a
breakpoint, gdb trips on an internal error.

The test added by this patch manages to trigger this consistently by
spawning a few threads that are constantly tripping on a conditional
breakpoint whose condition always evaluates to false.  With current
gdb, you get:

~~~
 interrupt -a
 .../src/gdb/inline-frame.c:343: internal-error: void skip_inline_frames(ptid_t): Assertion `find_inline_frame_state (ptid) == NULL' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n) FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=on: iter=0: interrupt -a (GDB internal error)
[...]
 .../src/gdb/inline-frame.c:343: internal-error: void skip_inline_frames(ptid_t): Assertion `find_inline_frame_state (ptid) == NULL' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n) FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=0: wait for stops (GDB internal error)
~~~

The assertion triggers because we're processing a stop for a thread
that had already stopped before and thus had already its inline-frame
state filled in.

Calling handle_inferior_event_1 directly within a
"thread_stop_requested" observer is something that I've wanted to get
rid of before, for being fragile.  Nowadays, infrun is aware of
threads with pending events, so we can use that instead, and let the
normal fetch_inferior_event -> handle_inferior_event code path handle
the forced stop.

The change to finish_step_over is necessary because sometimes a thread
that was told to PTRACE_SINGLESTEP reports back a SIGSTOP instead of a
SIGTRAP (i.e., we tell it to single-step, and then interrupt it quick
enough that on the kernel side the thread dequeues the SIGTOP before
ever having had a chance of executing the instruction to be stepped).
SIGSTOP gets translated to a GDB_SIGNAL_0.  And then finish_step_over
would miss calling clear_step_over_info, and thus miss restarting the
other threads (which in this case of threads with pending events,
means setting their "resumed" flag, so their pending events can be
consumed).

And now that we always restart threads in finish_step_over, we no
longer need to do that in handle_signal_stop.

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR gdb/18360
	* infrun.c (start_step_over, do_target_resume, resume)
	(restart_threads): Assert we're not resuming a thread that is
	meant to be stopped.
	(infrun_thread_stop_requested_callback): Delete.
	(infrun_thread_stop_requested): If the thread is internally
	stopped, queue a pending stop event and clear the thread's
	inline-frame state.
	(handle_stop_requested): New function.
	(handle_syscall_event, handle_inferior_event_1): Use
	handle_stop_requested.
	(handle_stop_requested): New function.
	(handle_signal_stop): Set the thread's stop_signal here instead of
	at caller.
	(finish_step_over): Clear step over info unconditionally.
	(handle_signal_stop): If the user had interrupted the event
	thread, consider the stop a random signal.
	(handle_signal_stop) <signal arrived while stepping over
	breakpoint>: Don't restart threads here.
	(stop_waiting): Don't clear step-over info here.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR gdb/18360
	* gdb.threads/interrupt-while-step-over.c: New file.
	* gdb.threads/interrupt-while-step-over.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage
@ 2017-03-08 17:58 sergiodj+buildbot
  2017-03-10  5:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 17:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c22686d0e33d87262bc9075296eeddd7d955f7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 15c22686d0e33d87262bc9075296eeddd7d955f7

gdb: Fix ATTRIBUTE_NONNULL usage

Should fix the build failure with Clang mentioned at
	<https://sourceware.org/bugzilla/show_bug.cgi?id=21206#c2>:

 In file included from ../../binutils-gdb/gdb/dwarf2read.c:72:
 ../../binutils-gdb/gdb/common/gdb_unlinker.h:35:35: error: '__nonnull__' attribute is invalid for the implicit this argument
   unlinker (const char *filename) ATTRIBUTE_NONNULL (1)
				   ^                  ~
 ../../binutils-gdb/gdb/../include/ansidecl.h:169:48: note: expanded from macro 'ATTRIBUTE_NONNULL'
 #  define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR 21206
	* common/gdb_unlinker.h (unlinker::unlinker): Attribute nonnull
	goes to argument 2, not 1.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique
@ 2017-03-08 15:51 sergiodj+buildbot
  2017-03-09 21:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e86a2830cfef688a27e17353b84f59f8147ab23 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2e86a2830cfef688a27e17353b84f59f8147ab23

gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
	* gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix a few unstable test names
@ 2017-03-08 14:07 sergiodj+buildbot
  2017-03-09 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dc9366eb0592157e2125967690f0aed61b17bcf7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: dc9366eb0592157e2125967690f0aed61b17bcf7

gdb: Fix a few unstable test names

Avoid putting unstable path names in test messages, in order to avoid
spurious testrun result diffs like:

 [....]
 -PASS: gdb.base/break-fun-addr.exp: /home/pedro/gdb/test-build1/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: break *main
 +PASS: gdb.base/break-fun-addr.exp: /home/pedro/gdb/test-build2/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: break *main
 [....]

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
	prefix instead of $binfile1/$binfile2.
	* gdb.btrace/gcore.exp: Use "core" instead of unstable path name
	in test message.
	* gdb.python/py-completion.exp: Use "load python file" as test
	messages instead of unstable path names.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command
@ 2017-03-08 13:00 sergiodj+buildbot
  2017-03-09  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 13:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e5d74e74756fafe59e8198c4cc462cf7c57e12c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6e5d74e74756fafe59e8198c4cc462cf7c57e12c

Fix PR 21218: GDB dumps core when escaping newline in multi-line command

With commit 3b12939dfc2399 ("Replace the sync_execution global with a
new enum prompt_state tristate"), GDB started aborting if you try
splitting an input line with a continuation char (backslash) while in
a multi-line command:

 (gdb) commands
 Type commands for breakpoint(s) 1, one per line.
 End with a line saying just "end".
 >print \

 (gdb) 1      # note "(gdb)" incorrectly printed here.
 >end

 readline: readline_callback_read_char() called with no handler!
 $

That abort is actually a symptom of an old problem introduced when
gdb_readline_wrapper was rewritten to use asynchronous readline, back
in 2007.  Note how the "(gdb)" prompt is printed above in the "(gdb)
1" line.  Clearly it shouldn't be there, but it already was before the
commit mentioned above.  Fixing that also fixes the readline abort
shown above.

The problem starts when command_line_input passes a NULL prompt to
gdb_readline_wrapper when it finds previous incomplete input due to a
backslash, trying to fetch more input without printing another ">"
secondary prompt.  That itself should not be a problem, because
passing NULL to gdb_readline_wrapper has the same meaning as passing a
pointer to empty string, since gdb_readline_wrapper exposes the same
interface as 'readline(char *)'.  However, gdb_readline_wrapper passes
the prompt argument directly to display_gdb_prompt, and for the
latter, a NULL prompt argument has a different meaning - it requests
printing the primary prompt.

Before commit 782a7b8ef9c096 (which rewrote gdb_readline_wrapper to
use asynchronous readline), GDB behaved like this:

 (gdb) commands
 [....]
 >print \
 1
 >end
 (gdb)

The above is what this commit restores GDB back to.

New test included.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR cli/21218
	* top.c (gdb_readline_wrapper): Avoid passing NULL to
	display_gdb_prompt.
	(command_line_input): Add comment.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>
	    Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR cli/21218
	* gdb.base/commands.exp (backslash_in_multi_line_command_test):
	New proc.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR tui/21216: TUI line breaks regression
@ 2017-03-08  2:52 sergiodj+buildbot
  2017-03-09  5:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  2:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9753a2f6d74dc92d2ad94993a5479ee0edbc6887 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9753a2f6d74dc92d2ad94993a5479ee0edbc6887

Fix PR tui/21216: TUI line breaks regression

Commit d7e747318f4d04 ("Eliminate make_cleanup_ui_file_delete / make
ui_file a class hierarchy") regressed the TUI's command window.
Newlines miss doing a "carriage return", resulting in output like:

~~~~~~~~~~~~~~~~~~
(gdb) helpList of classes of commands:

                                      aliases -- Aliases of other commands
                                                                          breakpoints -- Making program stop at certain points
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Before the commit mentioned above, the default ui_file->to_write
implementation had a hack that would defer into the ui_file->to_fputs
method.  The TUI's ui_file did not implement the to_write method, so
all writes would end up going to the ncurses window via tui_file_fputs
-> tui_puts.

After the commit above, the hack is gone, but the TUI's ui_file still
does not implement the ui_file::write method.  Since tui_file inherits
from stdio_file, writing to a tui_file ends up doing fwrite on the
FILE stream the TUI is "associated" with, via stdio_file::write,
instead of writing to the ncurses window.

The fix is to have tui_file override the "write" method.

New test included.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR tui/21216
	* tui/tui-file.c (tui_file::write): New.
	* tui/tui-file.h (tui_file): Override "write".
	* tui/tui-io.c (do_tui_putc, update_start_line): New functions,
	factored out from ...
	(tui_puts): ... here.
	(tui_putc): Use them.
	(tui_write): New function.
	* tui/tui-io.h (tui_write): Declare.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR tui/21216
	* gdb.tui/tui-nl-filtered-output.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move TUI completion tests to gdb.tui/completion.exp
@ 2017-03-08  1:27 sergiodj+buildbot
  2017-03-09  1:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a4dd9ddae4ce51724b4e08c6304e7c64f8f916f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1a4dd9ddae4ce51724b4e08c6304e7c64f8f916f

Move TUI completion tests to gdb.tui/completion.exp

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/completion.exp: Move TUI completion tests to ...
	* gdb.tui/completion.exp: ... this new file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move TUI testcases to new gdb/testsuite/gdb.tui/ directory
@ 2017-03-08  0:56 sergiodj+buildbot
  2017-03-08 21:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7cbbff33a502dcba0264a1935840345274b8aee2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7cbbff33a502dcba0264a1935840345274b8aee2

Move TUI testcases to new gdb/testsuite/gdb.tui/ directory

Let's start putting TUI tests in their own dir.

gdb/testsuite/
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/tui-disasm-long-lines.c,
	gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
	gdb.base/tui-layout.exp: Move to ...
	* gdb.tui/: ... this new directory.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Share gdb/environ.[ch] with gdbserver
@ 2017-03-07 21:08 sergiodj+buildbot
  2017-03-08 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 21:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1672e0d98d88d11b5c7d5793bd2cf29cbb56696f ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 1672e0d98d88d11b5c7d5793bd2cf29cbb56696f

Share gdb/environ.[ch] with gdbserver

We will need access to the environment functions when we share
fork_inferior between GDB and gdbserver, therefore we simply make the
API on gdb/environ.[ch] available on common/.  No extra adjustments
are needed to make it compile on gdbserver.

gdb/ChangeLog:
2017-03-07  Sergio Durigan Junior  <sergiodj@redhat.com>

	* Makefile.in (SFILES): Replace "environ.c" with
	"common/environ.c".
	(HFILES_NO_SRCDIR): Likewise, for "environ.h".
	* environ.c: Include "common-defs.h" instead of "defs.h.  Moved
	to...
	* common/environ.c: ... here.
	* environ.h: Moved to...
	* common/environ.h: ... here.

gdb/gdbserver/ChangeLog:
2017-03-07  Sergio Durigan Junior  <sergiodj@redhat.com>

	* Makefile.in (SFILES): Add "common/environ.c".
	(OBJS): Add "common/environ.h".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] GDB: Fix some null pointer dereferences due to disassembler-options patch.
@ 2017-03-07 18:49 sergiodj+buildbot
  2017-03-08 12:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7bb4e3a0d3738e8cce3dcded6ef12c9949cb85f ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: f7bb4e3a0d3738e8cce3dcded6ef12c9949cb85f

GDB: Fix some null pointer dereferences due to disassembler-options patch.

gdb/
	* gdbarch.sh (pstring_ptr): New static function.
	(gdbarch_disassembler_options): Use it.
	(gdbarch_verify_disassembler_options): Print valid_disassembler_options,
	not valid_disassembler_option->name.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove use of the no longer needed -mminimal-toc option.
@ 2017-03-07 17:42 sergiodj+buildbot
  2017-03-08  8:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e45ced6c5e06b0092ac9f5497aa580cfad0c953c ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: e45ced6c5e06b0092ac9f5497aa580cfad0c953c

Remove use of the no longer needed -mminimal-toc option.

	* config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename gdb.base/tui-layout.exp -> gdb.base/tui-disasm-long-lines.exp
@ 2017-03-07 15:07 sergiodj+buildbot
  2017-03-07 23:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 15:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44959fa81858df7d06fd83b0595b66709e344074 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 44959fa81858df7d06fd83b0595b66709e344074

Rename gdb.base/tui-layout.exp -> gdb.base/tui-disasm-long-lines.exp

To better reflect what the testcase is about, and to make room for a
different testcase.

gdb/testsuite/ChangeLog:
2017-03-07  Pedro Alves  <palves@redhat.com>

	* gdb.base/tui-layout.c: Rename to ...
	* gdb.base/tui-disasm-long-lines.c: ... this.
	* gdb.base/tui-layout.exp: Rename to ...
	* gdb.base/tui-disasm-long-lines.exp: ... this.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] amd64-mpx: initialize BND register before performing inferior calls.
@ 2017-03-07 13:27 sergiodj+buildbot
  2017-03-07 15:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 13:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a612d6f67d605f480ce7eec7fd9ca1cd1087b35 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 4a612d6f67d605f480ce7eec7fd9ca1cd1087b35

amd64-mpx: initialize BND register before performing inferior calls.

This patch initializes the BND registers before executing the inferior
call.  BND registers can be in arbitrary values at the moment of the
inferior call.  In case the function being called uses as part of the
parameters BND register, e.g. when passing a pointer as parameter, the
current value of the register will be used.  This can cause boundary
violations that are not due to a real bug or even desired by the user.
In this sense the best to be done is set the BND registers to allow
access to the whole memory, i.e. initialized state, before pushing the
inferior call.

2017-03-07  Walfred Tedeschi <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* i387-tdep.h (i387_reset_bnd_regs): Add function definition.
	* i387-tdep.c (i387_reset_bnd_regs): Add function implementation.
	* i386-tdep.c (i386_push_dummy_call): Call i387_reset_bnd_regs.
	* amd64-tdep (amd64_push_dummy_call): Call i387_reset_bnd_regs.

gdb/testsuite/ChangeLog:

	* i386-mpx-call.c: New file.
	* i386-mpx-call.exp: New file.

gdb/doc/ChangeLog:

	* Memory Protection Extensions: Add information about inferior
	calls.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC64 abort due to dynamic relocs on hidden undefweak
@ 2017-03-07  2:46 sergiodj+buildbot
  2017-03-07  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-07  2:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1b07054c08eea65ba8d1a9f771796d686f337e5 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b1b07054c08eea65ba8d1a9f771796d686f337e5

PowerPC64 abort due to dynamic relocs on hidden undefweak

ppc64_elf_relocate_section lacked a check which meant that it emitted
dynamic relocs against a hidden undefweak symbol for which no dynamic
relocs had been allocated.

	PR 21224
	PR 20519
	* elf64-ppc.c (ppc64_elf_relocate_section): Add missing
	dyn_relocs check.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for Intel CET instructions
@ 2017-03-06 23:51 sergiodj+buildbot
  2017-03-07  4:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-06 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 603555e563725616246912711419637add54c961 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 603555e563725616246912711419637add54c961

Add support for Intel CET instructions

Support Intel Control-flow Enforcement Technology (CET) instructions:

https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf

gas/

	* config/tc-i386.c (cpu_arch): Add .cet.
	* doc/c-i386.texi: Document cet.
	* testsuite/gas/i386/cet-intel.d: New file.
	* testsuite/gas/i386/cet.d: Likewise.
	* testsuite/gas/i386/cet.s: Likewise.
	* testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
	* testsuite/gas/i386/x86-64-cet.d: Likewise.
	* testsuite/gas/i386/x86-64-cet.s: Likewise.
	* testsuite/gas/i386/i386.exp: Run Intel CET tests.

opcodes/

	* i386-dis.c (REG_0F1E_MOD_3): New enum.
	(MOD_0F1E_PREFIX_1): Likewise.
	(MOD_0F38F5_PREFIX_2): Likewise.
	(MOD_0F38F6_PREFIX_0): Likewise.
	(RM_0F1E_MOD_3_REG_7): Likewise.
	(PREFIX_MOD_0_0F01_REG_5): Likewise.
	(PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise.
	(PREFIX_MOD_3_0F01_REG_5_RM_2): Likewise.
	(PREFIX_0F1E): Likewise.
	(PREFIX_MOD_0_0FAE_REG_5): Likewise.
	(PREFIX_0F38F5): Likewise.
	(dis386_twobyte): Use PREFIX_0F1E.
	(reg_table): Add REG_0F1E_MOD_3.
	(prefix_table): Add PREFIX_MOD_0_0F01_REG_5,
	PREFIX_MOD_3_0F01_REG_5_RM_1, PREFIX_MOD_3_0F01_REG_5_RM_2,
	PREFIX_0F1E, PREFIX_MOD_0_0FAE_REG_5 and PREFIX_0F38F5.  Update
	PREFIX_0FAE_REG_6 and PREFIX_0F38F6.
	(three_byte_table): Use PREFIX_0F38F5.
	(mod_table): Use PREFIX_MOD_0_0F01_REG_5, PREFIX_MOD_0_0FAE_REG_5.
	Add MOD_0F1E_PREFIX_1, MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0.
	(rm_table): Add MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0,
	RM_0F1E_MOD_3_REG_7.  Use PREFIX_MOD_3_0F01_REG_5_RM_1 and
	PREFIX_MOD_3_0F01_REG_5_RM_2.
	* i386-gen.c (cpu_flag_init): Add CPU_CET_FLAGS.
	(cpu_flags): Add CpuCET.
	* i386-opc.h (CpuCET): New enum.
	(CpuUnused): Commented out.
	(i386_cpu_flags): Add cpucet.
	* i386-opc.tbl: Add Intel CET instructions.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove const in xtensa-linux-nat.c:fetch_gregs
@ 2017-03-06 21:27 sergiodj+buildbot
  2017-03-07  0:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-06 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d274ecf4ddf76768af57e27f654b9ce6784b391c ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d274ecf4ddf76768af57e27f654b9ce6784b391c

Remove const in xtensa-linux-nat.c:fetch_gregs

Fixes:

/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c: In function 'void fetch_gregs(regcache*, ptid_t, int)':
/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c:178:23: error: uninitialized const 'regs' [-fpermissive]
   const gdb_gregset_t regs;
                       ^

gdb/ChangeLog:

	* xtensa-linux-nat.c (fetch_gregs): Remove const.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't decode powerpc insns with invalid fields
@ 2017-03-06 11:56 sergiodj+buildbot
  2017-03-06 14:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-06 11:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73f07bffaf8d423295a38dde51dfe6ec7b273280 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 73f07bffaf8d423295a38dde51dfe6ec7b273280

Don't decode powerpc insns with invalid fields

Certain insns have restrictions on fields.  For example, the insn
mentioned in the PR, lqarx, must specify an even general purpose
register as its destination and that register cannot appear in
either of the base or index reg fields.  This holds even when the RA0
field is 0 (meaning a zero rather than r0).

	PR 21124
	* ppc-opc.c (extract_esync, extract_ls, extract_ral, extract_ram)
	(extract_raq, extract_ras, extract_rbx): New functions.
	(powerpc_operands): Use opposite corresponding insert function.
	(Q_MASK): Define.
	(powerpc_opcodes): Apply Q_MASK to all quad insns with even
	register restriction.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Align eh_frame FDEs according to their encoding
@ 2017-03-05  4:44 sergiodj+buildbot
  2017-03-05  7:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-05  4:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e0ce1c84d328bde4dca24b7cfc8b9c033ed271c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2e0ce1c84d328bde4dca24b7cfc8b9c033ed271c

Align eh_frame FDEs according to their encoding

bfd/
	* elf-bfd.h (struct eh_cie_fde): Add u.cie.per_encoding_aligned8.
	* elf-eh-frame.c (size_of_output_cie_fde): Don't align here.
	(next_cie_fde_offset): New function.
	(_bfd_elf_parse_eh_frame): Set u.cie.per_encoding_aligned8.
	(_bfd_elf_discard_section_eh_frame): Align zero terminator to
	four bytes.  Align CIEs to four or eight bytes depending on
	per_encoding_aligned8.  Align FDEs according to their encoding.
	Pad last FDE to output section alignment.
	(_bfd_elf_write_section_eh_frame): Adjust to suit.  Remove
	assertion.
	* elf64-ppc.c (glink_eh_frame_cie): Delete padding.
	(ppc64_elf_size_stubs): Pad glink eh_frame as per elf-eh-frame.c.
	(ppc64_elf_finish_dynamic_sections): Adjust to suit.
ld/
	* testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
	* testsuite/ld-elf/eh6.d: Likewise.
	* testsuite/ld-alpha/tlsbin.dd: Likewise.
	* testsuite/ld-alpha/tlsbin.td: Likewise.
	* testsuite/ld-alpha/tlsbinr.dd: Likewise.
	* testsuite/ld-alpha/tlspic.dd: Likewise.
	* testsuite/ld-alpha/tlspic.rd: Likewise.
	* testsuite/ld-alpha/tlspic.sd: Likewise.
	* testsuite/ld-alpha/tlspic.td: Likewise.
	* testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame3.d: Likewise.
	* testsuite/ld-x86-64/pr20830a.d: Likewise.
	* testsuite/ld-x86-64/pr21038a.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038c.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix umulh and smulh bugs. Fix bugs in last week's sumov.s testsuite.
@ 2017-03-03 21:27 sergiodj+buildbot
  2017-03-04  4:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ecbe595e69a84a0e3053884832d63af37113680 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 8ecbe595e69a84a0e3053884832d63af37113680

Fix umulh and smulh bugs.  Fix bugs in last week's sumov.s testsuite.

	sim/aarch64/
	* simulator.c (mul64hi): Shift carry left by 32.
	(smulh): Change signum to negate.  If negate, invert result, and add
	carry bit if low part of multiply result is zero.

	sim/testsuite/sim/aarch64/
	* sumov.s: Correct compare test values.
	* sumulh.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use range-based for loop in remote_add_target_side_commands
@ 2017-03-03 18:22 sergiodj+buildbot
  2017-03-04  0:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 18:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df97be551faa262732128493c8ac159ae4b7f6d3 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: df97be551faa262732128493c8ac159ae4b7f6d3

Use range-based for loop in remote_add_target_side_commands

gdb/ChangeLog:

	* remote.c (remote_add_target_side_commands): Use range-based
	for loop.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fetch lazy value before calling val_print
@ 2017-03-03 17:35 sergiodj+buildbot
  2017-03-03 20:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d45f3df96ca108f6d7d0c5e4279e22b820145fa ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7d45f3df96ca108f6d7d0c5e4279e22b820145fa

Fetch lazy value before calling val_print

As reported in PR 21165,

(gdb) info locals^M
gv = /home/yao/SourceCode/gnu/gdb/git/gdb/value.c:372: internal-error: int value_bits_any_optimized_out(const value*, int, int): Assertion `!value->lazy' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
Quit this debugging session? (y or n) FAIL: gdb.ada/info_locals_renaming.exp: info locals (GDB internal error)
Resyncing due to internal error.

This internal error is caused by e8b24d9 (Remove parameter valaddr from
la_val_print).  Commit e8b24d9 removes some calls to
value_contents_for_printing, but value_fetch_lazy is not called, so the
internal error above is triggered.  This patch adds value_fetch_lazy
call before val_print.

gdb:

2017-03-03  Yao Qi  <yao.qi@linaro.org>

	PR gdb/21165
	* ada-valprint.c (ada_val_print_ref): Call value_fetch_lazy if
	value is lazy.
	* valprint.c (common_val_print): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Disable warning message about a program header with no associated sections when that header's file size is non-zero.
@ 2017-03-02 15:11 sergiodj+buildbot
  2017-03-02 22:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-02 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f98450c6eee6878ebf5b052d231758026d250427 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: f98450c6eee6878ebf5b052d231758026d250427

Disable warning message about a program header with no associated sections when that header's file size is non-zero.

	PR ld/21212
	* elf.c (rewrite_elf_program_header): Do not issue a warning for
	empty segments which have a non-zero filesz.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC VLE typo fix
@ 2017-03-02  0:24 sergiodj+buildbot
  2017-03-02 18:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-02  0:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 673cff9b8b3105f74ce97c202a0727f9e83e56e6 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 673cff9b8b3105f74ce97c202a0727f9e83e56e6

PowerPC VLE typo fix

	* elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs.
@ 2017-03-01 11:25 sergiodj+buildbot
  2017-03-02 10:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-03-01 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ef920e933bf2ea228c909cf81636e6d9577e51e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 9ef920e933bf2ea228c909cf81636e6d9577e51e

Add support for displaying and merging GNU_BUILD_NOTEs.

include	* elf/common.h (SHF_GNU_BUILD_NOTE): Define.
	(NT_GNU_PROPERTY_TYPE_0): Define.
	(NT_GNU_BUILD_ATTRIBUTE_OPEN): Define.
	(NT_GNU_BUILD_ATTRIBUTE_FUN): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_NUMERIC): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_STRING): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_TRUE): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_FALSE): Define.
	(GNU_BUILD_ATTRIBUTE_VERSION): Define.
	(GNU_BUILD_ATTRIBUTE_STACK_PROT): Define.
	(GNU_BUILD_ATTRIBUTE_RELRO): Define.
	(GNU_BUILD_ATTRIBUTE_STACK_SIZE): Define.
	(GNU_BUILD_ATTRIBUTE_TOOL): Define.
	(GNU_BUILD_ATTRIBUTE_ABI): Define.
	(GNU_BUILD_ATTRIBUTE_PIC): Define.
	(NOTE_GNU_PROPERTY_SECTION_NAME): Define.
	(GNU_BUILD_ATTRS_SECTION_NAME): Define.
	(GNU_PROPERTY_STACK_SIZE): Define.
	(GNU_PROPERTY_NO_COPY_ON_PROTECTED): Define.
	(GNU_PROPERTY_X86_ISA_1_USED): Define.
	(GNU_PROPERTY_X86_ISA_1_NEEDED): Define.
	(GNU_PROPERTY_X86_ISA_1_486): Define.
	(GNU_PROPERTY_X86_ISA_1_586): Define.
	(GNU_PROPERTY_X86_ISA_1_686): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE2): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE3): Define.
	(GNU_PROPERTY_X86_ISA_1_SSSE3): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE4_1): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE4_2): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX2): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512F): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512CD): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512ER): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512PF): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512VL): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512DQ): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512BW): Define.

binutils* readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
	(get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
	(decode_x86_isa): New function.
	(print_gnu_property_note): New function.
	(print_gnu_note): Handle GNU_PROPERTY_NOTEs.
	(print_gnu_build_attribute_description): New function.
	(print_gnu_build_attribute_name): New function.
	(process_note): Add support for GNU_BUILD_NOTEs.
	* objcopy.c (--merge-notes): New command line option.
	(copy_options): Add merge-notes.
	(copy_usage): Likewise.
	(is_merge_note_section): New function.
	(merge_gnu_build_notes): New function.
	(copy_object): Merge note sections if asked to do so.
	(skip_section): Add skip_copy parameter.  Add support for skipping
	merged note sections.
	(copy_relocations_in_section): Update call to skip_section.
	(copy_section): Likewise.
	(copy_main): Add support for merge-notes option.
	* doc/binutils.texi: Document the new option to objcopy.
	* NEWS: Mention the new feature.
	* testsuite/binutils-all/note-2-32.d: New test.  Checks note
	merging on 32-bit targets.
	* testsuite/binutils-all/note-2-32.s: New test source file.
	* testsuite/binutils-all/note-2-64.d: New test.  Like note-2-32.d
	but for 64-bit targets.
	* testsuite/binutils-all/note-2-64.s: New test source file.
	* testsuite/binutils-all/objcopy.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] GDB: Add support for the new set/show disassembler-options commands.
@ 2017-02-28 18:48 sergiodj+buildbot
  2017-03-02  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65b48a81404cb058c75c562f7dfdeb74f07eba72 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 65b48a81404cb058c75c562f7dfdeb74f07eba72

GDB: Add support for the new set/show disassembler-options commands.

This commit adds support to GDB so that it can modify the disassembler-options
value that is passed to the disassembler, similar to objdump's -M option.
Currently, the only supported targets are ARM, PowerPC and S/390, but
adding support for a new target(s) is not difficult.

include/
	* dis-asm.h (disasm_options_t): New typedef.
	(parse_arm_disassembler_option): Remove prototype.
	(set_arm_regname_option): Likewise.
	(get_arm_regnames): Likewise.
	(get_arm_regname_num_options): Likewise.
	(disassemble_init_s390): New prototype.
	(disassembler_options_powerpc): Likewise.
	(disassembler_options_arm): Likewise.
	(disassembler_options_s390): Likewise.
	(remove_whitespace_and_extra_commas): Likewise.
	(disassembler_options_cmp): Likewise.
	(next_disassembler_option): New inline function.
	(FOR_EACH_DISASSEMBLER_OPTION): New macro.

opcodes/
	* disassemble.c Include "safe-ctype.h".
	(disassemble_init_for_target): Handle s390 init.
	(remove_whitespace_and_extra_commas): New function.
	(disassembler_options_cmp): Likewise.
	* arm-dis.c: Include "libiberty.h".
	(NUM_ELEM): Delete.
	(regnames): Use long disassembler style names.
	Add force-thumb and no-force-thumb options.
	(NUM_ARM_REGNAMES): Rename from this...
	(NUM_ARM_OPTIONS): ...to this.  Use ARRAY_SIZE.
	(get_arm_regname_num_options): Delete.
	(set_arm_regname_option): Likewise.
	(get_arm_regnames): Likewise.
	(parse_disassembler_options): Likewise.
	(parse_arm_disassembler_option): Rename from this...
	(parse_arm_disassembler_options): ...to this.  Make static.
	Use new FOR_EACH_DISASSEMBLER_OPTION macro to scan over options.
	(print_insn): Use parse_arm_disassembler_options.
	(disassembler_options_arm): New function.
	(print_arm_disassembler_options): Handle updated regnames.
	* ppc-dis.c: Include "libiberty.h".
	(ppc_opts): Add "32" and "64" entries.
	(ppc_parse_cpu): Use ARRAY_SIZE and disassembler_options_cmp.
	(powerpc_init_dialect): Add break to switch statement.
	Use new FOR_EACH_DISASSEMBLER_OPTION macro.
	(disassembler_options_powerpc): New function.
	(print_ppc_disassembler_options): Use ARRAY_SIZE.
	Remove printing of "32" and "64".
	* s390-dis.c: Include "libiberty.h".
	(init_flag): Remove unneeded variable.
	(struct s390_options_t): New structure type.
	(options): New structure.
	(init_disasm): Rename from this...
	(disassemble_init_s390): ...to this.  Add initializations for
	current_arch_mask and option_use_insn_len_bits_p.  Remove init_flag.
	(print_insn_s390): Delete call to init_disasm.
	(disassembler_options_s390): New function.
	(print_s390_disassembler_options): Print using information from
	struct 'options'.
	* po/opcodes.pot: Regenerate.

binutils/
	* objdump.c (main): Use remove_whitespace_and_extra_commas.

gdb/
	* NEWS: Mention new set/show disassembler-options commands.
	* doc/gdb.texinfo: Document new set/show disassembler-options commands.
	* disasm.c: Include "arch-utils.h", "gdbcmd.h" and "safe-ctype.h".
	(prospective_options): New static variable.
	(gdb_disassembler::gdb_disassembler): Initialize
	m_di.disassembler_options.
	(gdb_buffered_insn_length_init_dis): Initilize di->disassembler_options.
	(get_disassembler_options): New function.
	(set_disassembler_options): Likewise.
	(set_disassembler_options_sfunc): Likewise.
	(show_disassembler_options_sfunc): Likewise.
	(disassembler_options_completer): Likewise.
	(_initialize_disasm): Likewise.
	* disasm.h (get_disassembler_options): New prototype.
	(set_disassembler_options): Likewise.
	* gdbarch.sh (gdbarch_disassembler_options): New variable.
	(gdbarch_verify_disassembler_options): Likewise.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Likewise.
	* arm-tdep.c (num_disassembly_options): Delete.
	(set_disassembly_style): Likewise.
	(arm_disassembler_options): New static variable.
	(set_disassembly_style_sfunc): Convert short style name into long
	option name.  Call set_disassembler_options.
	(show_disassembly_style_sfunc): New function.
	(arm_gdbarch_init): Call set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.
	(_initialize_arm_tdep): Delete regnames variable and update callers.
	(arm_disassembler_options): Initialize.
	(disasm_options): New variable.
	(num_disassembly_options): Rename from this...
	(num_disassembly_styles): ...to this.  Compute by scanning through
	disasm_options.
	(valid_disassembly_styles): Initialize using disasm_options.
	Remove calls to parse_arm_disassembler_option, get_arm_regnames and
	set_arm_regname_option.
	Pass show_disassembly_style_sfunc to the "disassembler" setshow command.
	* rs6000-tdep.c (powerpc_disassembler_options): New static variable.
	(rs6000_gdbarch_init): Call set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.
	* s390-tdep.c (s390_disassembler_options): New static variable.
	(s390_gdbarch_init):all set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.

gdb/testsuite/
	* gdb.arch/powerpc-power.exp: Delete test.
	* gdb.arch/powerpc-power.s: Likewise.
	* gdb.disasm/disassembler-options.exp: New test.
	* gdb.arch/powerpc-altivec.exp: Likewise.
	* gdb.arch/powerpc-altivec.s: Likewise.
	* gdb.arch/powerpc-altivec2.exp: Likewise.
	* gdb.arch/powerpc-altivec2.s: Likewise.
	* gdb.arch/powerpc-altivec3.exp: Likewise.
	* gdb.arch/powerpc-altivec3.s: Likewise.
	* gdb.arch/powerpc-power7.exp: Likewise.
	* gdb.arch/powerpc-power7.s: Likewise.
	* gdb.arch/powerpc-power8.exp: Likewise.
	* gdb.arch/powerpc-power8.s: Likewise.
	* gdb.arch/powerpc-power9.exp: Likewise.
	* gdb.arch/powerpc-power9.s: Likewise.
	* gdb.arch/powerpc-vsx.exp: Likewise.
	* gdb.arch/powerpc-vsx.s: Likewise.
	* gdb.arch/powerpc-vsx2.exp: Likewise.
	* gdb.arch/powerpc-vsx2.s: Likewise.
	* gdb.arch/powerpc-vsx3.exp: Likewise.
	* gdb.arch/powerpc-vsx3.s: Likewise.
	* gdb.arch/arm-disassembler-options.exp: Likewise.
	* gdb.arch/powerpc-disassembler-options.exp: Likewise.
	* gdb.arch/s390-disassembler-options.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC addpcis fix again
@ 2017-02-28 14:32 sergiodj+buildbot
  2017-03-02  3:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28 14:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3de43e7beb9839fa268a73be77de73a7b7cd97db ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 3de43e7beb9839fa268a73be77de73a7b7cd97db

PowerPC addpcis fix again

In the last patch I said "The patch also fixes overflow checking".
In fact, there wasn't anything wrong with the previous code.  So,
revert that change.  The new checks are OK too, so this is just a
tidy.

	* elf64-ppc.c (ppc64_elf_ha_reloc): Revert last change.
	(ppc64_elf_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: fix handling of 64-bit operand size VPCMPESTR{I, M}
@ 2017-02-28 10:17 sergiodj+buildbot
  2017-03-01 23:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28 10:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c7c1d8a535000e94ed36f4259d0ede32001408 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 15c7c1d8a535000e94ed36f4259d0ede32001408

x86: fix handling of 64-bit operand size VPCMPESTR{I,M}

Just like REX.W affects operand size of the implicit rAX/rDX inputs to
PCMPESTR{I,M}, VEX.W does for VPCMPESTR{I,M}. Allow Q or L suffixes on
the instructions.

Similarly the disassembler needs to be adjusted to no longer require
VEX.W to be zero for the instructions to be valid, and to emit proper
suffixes.

Note, however, that this doesn't address the problem of there being no
way to control (at least) {,E}VEX.W for 32- or 16-bit code. Nor does it
address the problem of the many WIG instructions not getting properly
disassembled when VEX.W=1.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Nios2 dynobj handling fixes
@ 2017-02-28  5:23 sergiodj+buildbot
  2017-03-01 19:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  5:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ef97a1b459849ad190244c36b36d45bdd078030 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4ef97a1b459849ad190244c36b36d45bdd078030

Nios2 dynobj handling fixes

A number of places in elf32-nios.c created dynamic sections but didn't
set the hash table dynobj.  That meant we could have duplicate dynamic
sections connected to a number of bfds, so size_dynamic_sections
didn't properly discard or allocate contents.

Also, the entire set of dynamic sections was created in check_relocs
on seeing GOT relocs, when only .got related sections are needed,
probably done to hide segfaults later in finish_dynamic_sections.

The patch fixes these issues and makes the assembler emit errors when
nios2 lacks the necessary pc-relative relocs for subtraction
expressions, rather than silently generating bad code.
eg. ld-elf/merge.  I've also tidied uses of elf32_nios2_hash_table and
elf_hash_table.

bfd/
	PR 20995
	* elf32-nios2.c (nios2_elf32_relocate_section): Use htab
	rather than elf32_nios2_hash_table or elf_hash_table.
	(create_got_section): Likewise.
	(nios2_elf32_finish_dynamic_symbol): Likewise.
	(nios2_elf32_adjust_dynamic_symbol): Likewise.
	(nios2_elf32_size_dynamic_sections): Likewise.
	(nios2_elf32_check_relocs): Delete dynobj, sgot, and srelgot
	vars.  Use htab equivalents directly instead.  Don't create
	all dynamic sections on needing just the GOT.  Use a goto
	rather than a fall-through with reloc test.  Ensure
	htab->dynobj is set when making dynamic sreloc section.
	(nios2_elf32_finish_dynamic_sections): Delete dynobj, use htab
	equivalent directly instead.  Don't segfault on looking for
	.dynamic when dynamic sections have not been created.  Don't
	segfault on .got.plt being discarded.
	(nios2_elf32_size_dynamic_sections): Delete plt and got vars.
	Don't set "relocs" on .rela.plt.  Do handle .sbss.  Delete
	fixme and another not so relevant comment.
	(nios2_elf_add_symbol_hook): Delete dynobj var.  If not
	already set, set hash table dynobj on creating .sbss.
gas/
	* config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
ld/
	* testsuite/ld-elf/merge.d: xfail for nios.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC addpcis fix
@ 2017-02-28  4:22 sergiodj+buildbot
  2017-03-01 15:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  4:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ba71655a425ac44721f97cc0ad7922ca15bce43 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7ba71655a425ac44721f97cc0ad7922ca15bce43

PowerPC addpcis fix

This came up because I was looking at ld/tmpdir/addpcis.o and noticed
the odd addends on REL16DX_HA.  They ought to both be -4.  The error
crept in due REL16DX_HA howto being pc-relative (as indeed it should
be), and code at gas/write.c:1001 after this comment
	      /* Make it pc-relative.  If the back-end code has not
		 selected a pc-relative reloc, cancel the adjustment
		 we do later on all pc-relative relocs.  */
*not* cancelling the pc-relative adjustment.  So I've made a dummy
non-relative split reloc so that the generic code handles this, rather
than attempting to add hacks later in md_apply_fix which would not be
very robust.  Having the new internal reloc also makes it easy to
support

 addpcis rx,sym@ha

as an equivalent to

 addpcis rx,(sym-0f)@ha
0:

The patch also fixes overflow checking, which must test whether the
addi will overflow too since @l relocs don't have any overflow check.

Lastly, since I was poking at md_apply_fix, I arranged to have the
generic gas/write.c code emit errors for subtraction expressions where
we lack reloc support.

include/
	* elf/ppc64.h (R_PPC64_16DX_HA): New.  Expand fake reloc comment.
	* elf/ppc.h (R_PPC_16DX_HA): Likewise.
bfd/
	* reloc.c (BFD_RELOC_PPC_16DX_HA): New.
	* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_16DX_HA>): New howto.
	(ppc64_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc64_elf_ha_reloc): Correct overflow test on REL16DX_HA.
	(ppc64_elf_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_16DX_HA>): New howto.
	(ppc_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc_elf_check_relocs): Handle R_PPC_16DX_HA to pacify gcc.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
gas/
	* config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
	(md_apply_fix): Remove fx_subsy check.  Move code converting to
	pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA.  Remove code
	emiiting errors on seeing fx_pcrel set on unexpected relocs, as
	that is done now by the generic code via..
	* config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
	(TC_VALIDATE_FIX_SUB): Define.
ld/
	* testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
	limits of addpcis range.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't make dynamic .data.rel.ro SEC_READONLY
@ 2017-02-28  3:19 sergiodj+buildbot
  2017-03-01 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  3:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT afbf7e8e3aa24152ad58e430c8d37d82e5751f1c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: afbf7e8e3aa24152ad58e430c8d37d82e5751f1c

Don't make dynamic .data.rel.ro SEC_READONLY

I'd made this dynamic section read-only so a flag test distinguished
it from .dynbss, but like any other .data.rel.ro section it really
should be marked read-write.  (It is read-only after relocation, not
before.)  When using the standard linker scripts this usually doesn't
matter since the output section is among other read-write sections and
not page aligned.  However, it might matter in the extraordinary case
of the dynamic section being the only .data.rel.ro section with the
output section just happening to be page aligned and a multiple of a
page in size.  In that case the output section would be read-only, and
live it its own read-only PT_LOAD segment, which is incorrect.

	* elflink.c (_bfd_elf_create_dynamic_sections): Don't make
	dynamic .data.rel.ro read-only.
	* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Compare section
	rather than section flags when deciding where copy reloc goes.
	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
	* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
	* elf32-metag.c (elf_metag_finish_dynamic_symbol): Likewise.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Likewise.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_symbol): Likewise.
	* elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Likewise.
	* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Likewise.
	* elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
	* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
	* elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise.
	* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Likewise.
	* elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): Likewise.
	* elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Likewise.
	* elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
	* elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR
@ 2017-02-28  0:57 sergiodj+buildbot
  2017-03-01  7:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  0:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e39210161e7c547ab53afb86997303e24a42c0c ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0e39210161e7c547ab53afb86997303e24a42c0c

MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR

Interpret the `jalr $0, $25' instruction encoding with an R_MIPS_JALR
relocation attached as an alias to `jr $25' and convert the jump to an
equivalent branch where possible, consequently covering the MIPSr6
architecture for the purpose of this optimization too.

	bfd/
	* elfxx-mips.c (mips_elf_perform_relocation): Also handle the
	`jalr $0, $25' instruction encoding.

	gas/
	* testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
	* testsuite/gas/mips/jalr4.d: Adjust accordingly.  Remove MIPSr6
	encoding patterns.
	* testsuite/gas/mips/jalr4-n64.d: Likewise.
	* testsuite/gas/mips/mipsr6@jalr4.d: New test.
	* testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
	* testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.

	ld/
	* testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
	instructions.
	* testsuite/ld-mips-elf/jalr4-r6.dd: New test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove struct keyword from range-based for loop
@ 2017-02-27 19:30 sergiodj+buildbot
  2017-03-01  2:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d538e36decd5628c084dbd5a7de13719b8b92121 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d538e36decd5628c084dbd5a7de13719b8b92121

Remove struct keyword from range-based for loop

The previous patch introduced this error with recent-ish GCCs:

../../binutils-gdb/gdb/remote.c: In function int remote_add_target_side_condition(gdbarch*, bp_target_info*, char*, char*):
../../binutils-gdb/gdb/remote.c:9668:8: error: types may not be defined in a for-range-declaration [-Werror]
   for (struct agent_expr *aexpr : bp_tgt->conditions)
        ^~~~~~

Removing the struct keyword fixes the error.

gdb/ChangeLog:

	* remote.c (remote_add_target_side_condition): Remove "struct"
	keyword from range-based for loop.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use range-based for loop in remote_add_target_side_condition
@ 2017-02-27 18:58 sergiodj+buildbot
  2017-02-28 22:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 18:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8362122330c97c8c4a15da4e7ba8aa29f0c11157 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 8362122330c97c8c4a15da4e7ba8aa29f0c11157

Use range-based for loop in remote_add_target_side_condition

Using a range based for loop makes this code a bit more clean and
readable.

The comment above is clearly erroneous, so I've updated it.

gdb/ChangeLog:

	* remote.c (remote_add_target_side_condition): Use range-based
	for loop.  Update comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix array out of bound access
@ 2017-02-27 17:42 sergiodj+buildbot
  2017-02-28 18:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2123df0ebfc7ade46784ef412226490d59f8ce05 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2123df0ebfc7ade46784ef412226490d59f8ce05

Fix array out of bound access

ASAN reports the following error,

(gdb) PASS: gdb.fortran/vla-ptr-info.exp: continue to breakpoint: pvla-associated
print &pvla^M
=================================================================^M
^[[1m^[[31m==14331==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000ea569f at pc 0x0000008eb546 bp 0x7ffde0c1dc70 sp 0x7ffde0c1dc60^M
^[[1m^[[0m^[[1m^[[34mREAD of size 1 at 0x000000ea569f thread T0^[[1m^[[0m^M
    #0 0x8eb545 in f_print_type(type*, char const*, ui_file*, int, int, type_print_options const*) ../../binutils-gdb/gdb/f-typeprint.c:89^M
    #1 0xb611e2 in type_print(type*, char const*, ui_file*, int) ../../binutils-gdb/gdb/typeprint.c:365^M
    #2 0x7b3471 in c_value_print(value*, ui_file*, value_print_options const*) ../../binutils-gdb/gdb/c-valprint.c:650^M
    #3 0xb99517 in value_print(value*, ui_file*, value_print_options const*) ../../binutils-gdb/gdb/valprint.c:1233^M
    #4 0xa42be8 in print_formatted ../../binutils-gdb/gdb/printcmd.c:321^M
    #5 0xa46ac9 in print_value(value*, format_data const*) ../../binutils-gdb/gdb/printcmd.c:1233^M
    #6 0xa46d82 in print_command_1 ../../binutils-gdb/gdb/printcmd.c:1261^M
    #7 0xa46e3e in print_command ../../binutils-gdb/gdb/printcmd.c:1267

on this line of code

      demangled_args = varstring[strlen (varstring) - 1] == ')';

because varstring is an empty string and strlen () is 0, so "strlen () - 1"
is definitely out of the bound of "varstring",

(gdb) bt 10
    at /home/yao/SourceCode/gnu/gdb/git/gdb/f-typeprint.c:56
    at /home/yao/SourceCode/gnu/gdb/git/gdb/typeprint.c:365
    at /home/yao/SourceCode/gnu/gdb/git/gdb/c-valprint.c:650
    at /home/yao/SourceCode/gnu/gdb/git/gdb/valprint.c:1236

This patch adds a pre-check that varstring is empty or not.

gdb:

2017-02-27  Yao Qi  <yao.qi@linaro.org>

	* f-typeprint.c (f_print_type): Check "varstring" is empty first.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT.
@ 2017-02-27 11:51 sergiodj+buildbot
  2017-02-28 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd757ca7bf5886a4025ca02093fca1b8c5ce11a2 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: bd757ca7bf5886a4025ca02093fca1b8c5ce11a2

Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT.

	PR ld/21180
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Avoid
	generating a seg-fault when encountering a symbol that has been
	deleted by garbage collection.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] DWARF-5: Initialization due to a false compiler warning
@ 2017-02-26 16:22 sergiodj+buildbot
  2017-02-28  7:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-26 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a49dd8dd482da6a8131752f8312a06aa6599063c ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: a49dd8dd482da6a8131752f8312a06aa6599063c

DWARF-5: Initialization due to a false compiler warning

gcc-6.3.1-1.fc25.x86_64

dwarf2read.c: In function void create_debug_type_hash_table(dwo_file*, dwarf2_section_info*, htab*&, rcuh_kind):
dwarf2read.c:4776:32: error: header.comp_unit_head::type_offset_in_tu.cu_offset::cu_off may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:4816:21: error: header.comp_unit_head::signature may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors

gdb/ChangeLog
2017-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (create_debug_type_hash_table): Initialize
	header.signature and header.type_offset_in_tu.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add missing smov support, and clean up existing umov support.
@ 2017-02-26  5:34 sergiodj+buildbot
  2017-02-27 18:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-26  5:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 152e1e1bc90030cec9ce8318ab982675b1e90a00 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 152e1e1bc90030cec9ce8318ab982675b1e90a00

Add missing smov support, and clean up existing umov support.

	sim/aarch64/
	* simulator.c (do_vec_SMOV_into_scalar): New.
	(do_vec_UMOV_into_scalar): Renamed from do_vec_MOV_into_scalar.
	Rewritten.
	(do_vec_UMOV): Merged into do_vec_UMOV_into_scalar and deleted.
	(do_vec_op1): Move do_vec_TRN call and do_vec_UZP call.  Add
	do_vec_SMOV_into_scalar call.  Delete do_vec_MOV_into_scalar and
	do_vec_UMOV calls.  Add do_vec_UMOV_into_scalar call.

	sim/testsuite/sim/aarch64/
	* sumov.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add missing cnt (popcount) instruction support.
@ 2017-02-26  4:21 sergiodj+buildbot
  2017-02-27 14:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-26  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac189e7bf8865d61b4f5e89a530476f9e4c5c70b ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: ac189e7bf8865d61b4f5e89a530476f9e4c5c70b

Add missing cnt (popcount) instruction support.

	sim/aarch64/
	* simulator.c (popcount): New.
	(do_vec_CNT): New.
	(do_vec_op1): Add do_vec_CNT call.

	sim/testsuite/sim/aarch64/
	* cnt.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ARC naughtiness causing assertion fail at elf-strtab.c:302
@ 2017-02-25  9:00 sergiodj+buildbot
  2017-02-27 10:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-25  9:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 034fed0bbc3541d2a11a839faf4be521843ad954 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 034fed0bbc3541d2a11a839faf4be521843ad954

ARC naughtiness causing assertion fail at elf-strtab.c:302

This patch fixes a number of issues in the ARC backend.

- The ARC size_dynamic_sections was trashing dynamic section contents,
  in particular the .gnu.version_d contents.  Those versions
  definitions are therefore lost so they do not drain from the strtab,
  resulting in assertion failures.
- The code attempting to set DT_TEXTREL was completely bogus.
- The ARC finish_dynamic_sections would segfault on trying to set
  sh_entsize for .rela.plt if that section had been discarded.
- arc_create_dynamic_sections wouldn't have ever created dynamics
  sections, which was just as well since the places it was called were
  way too late to create dynamic sections.  Its usefulness then
  devolved down to finding just one dynamic section.  All the others
  packaged into a struct were unused.
- .interp wasn't set for PIEs.

	* elf32-arc.c (struct dynamic_sections): Delete.
	(enum dyn_section_types): Delete.
	(dyn_section_names): Delete.
	(arc_create_dynamic_sections): Delete.
	(elf_arc_finish_dynamic_sections): Don't call the above.  Don't
	segfault on discarded .rela.plt section.
	(elf_arc_size_dynamic_sections): Formatting.  Don't call
	arc_create_dynamic_sections.  Don't allocate memory for sections
	handled by the generic linker.  Correct code finding relocs in
	read-only sections.  Set SEC_EXCLUDE on zero size .got,
	.got.plt, and .dynbss sections.  Do set .interp for pies.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add a "compnum" feature
@ 2017-02-24 23:37 sergiodj+buildbot
  2017-02-27  2:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f482d3044722558c3b16f54b33b0855bfbae36b1 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: f482d3044722558c3b16f54b33b0855bfbae36b1

[AArch64] Add a "compnum" feature

This patch adds a named "compnum" feature for the ARMv8.3-A FCADD
and FCMLA extensions.

include/
	* opcode/aarch64.h (AARCH64_FEATURE_COMPNUM): New macro.
	(AARCH64_ARCH_V8_3): Include AARCH64_FEATURE_COMPNUM.

opcodes/
	* aarch64-tbl.h (aarch64_feature_simd_v8_3): Replace with...
	(aarch64_feature_compnum): ...this.
	(SIMD_V8_3): Replace with...
	(COMPNUM): ...this.
	(CNUM_INSN): New macro.
	(aarch64_opcode_table): Use it for the complex number instructions.

gas/
	* doc/c-aarch64.texi: Add a "compnum" entry.
	* config/tc-aarch64.c (aarch64_features): Likewise,
	* testsuite/gas/aarch64/advsimd-compnum.s: New test.
	* testsuite/gas/aarch64/advsimd-compnum.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] symtab.c: Small refactor
@ 2017-02-24 21:09 sergiodj+buildbot
  2017-02-26 22:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 21:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34e4bae972e66c0bcbd382478bbcaffc9b45ac05 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 34e4bae972e66c0bcbd382478bbcaffc9b45ac05

symtab.c: Small refactor

add_symtab_completions does the exact same as the code that it is
replacing.

gdb/ChangeLog:
2017-02-24  Pedro Alves  <palves@redhat.com>

	* symtab.c (make_file_symbol_completion_list_1): Use
	add_symtab_completions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Additional SVE instructions
@ 2017-02-24 19:30 sergiodj+buildbot
  2017-02-27  6:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 582e12bf7602bb62ecc234402eb54044e83065e2 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 582e12bf7602bb62ecc234402eb54044e83065e2

[AArch64] Additional SVE instructions

This patch supports some additions to the SVE architecture prior to
its public release.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4x16)
	(AARCH64_OPND_SVE_IMM_ROT1, AARCH64_OPND_SVE_IMM_ROT2)
	(AARCH64_OPND_SVE_Zm3_INDEX, AARCH64_OPND_SVE_Zm3_22_INDEX)
	(AARCH64_OPND_SVE_Zm4_INDEX): New aarch64_opnds.

opcodes/
	* aarch64-tbl.h (OP_SVE_HMH, OP_SVE_VMU_HSD, OP_SVE_VMVU_HSD)
	(OP_SVE_VMVV_HSD, OP_SVE_VMVVU_HSD, OP_SVE_VM_HSD, OP_SVE_VUVV_HSD)
	(OP_SVE_VUV_HSD, OP_SVE_VU_HSD, OP_SVE_VVVU_H, OP_SVE_VVVU_S)
	(OP_SVE_VVVU_HSD, OP_SVE_VVV_D, OP_SVE_VVV_D_H, OP_SVE_VVV_H)
	(OP_SVE_VVV_HSD, OP_SVE_VVV_S, OP_SVE_VVV_S_B, OP_SVE_VVV_SD_BH)
	(OP_SVE_VV_BHSDQ, OP_SVE_VV_HSD, OP_SVE_VZVV_HSD, OP_SVE_VZV_HSD)
	(OP_SVE_V_HSD): New macros.
	(OP_SVE_VMU_SD, OP_SVE_VMVU_SD, OP_SVE_VM_SD, OP_SVE_VUVV_SD)
	(OP_SVE_VU_SD, OP_SVE_VVVU_SD, OP_SVE_VVV_SD, OP_SVE_VZVV_SD)
	(OP_SVE_VZV_SD, OP_SVE_V_SD): Delete.
	(aarch64_opcode_table): Add new SVE instructions.
	(aarch64_opcode_table): Use imm_rotate{1,2} instead of imm_rotate
	for rotation operands.  Add new SVE operands.
	* aarch64-asm.h (ins_sve_addr_ri_s4): New inserter.
	(ins_sve_quad_index): Likewise.
	(ins_imm_rotate): Split into...
	(ins_imm_rotate1, ins_imm_rotate2): ...these two inserters.
	* aarch64-asm.c (aarch64_ins_imm_rotate): Split into...
	(aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2): ...these two
	functions.
	(aarch64_ins_sve_addr_ri_s4): New function.
	(aarch64_ins_sve_quad_index): Likewise.
	(do_misc_encoding): Handle "MOV Zn.Q, Qm".
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_s4): New extractor.
	(ext_sve_quad_index): Likewise.
	(ext_imm_rotate): Split into...
	(ext_imm_rotate1, ext_imm_rotate2): ...these two extractors.
	* aarch64-dis.c (aarch64_ext_imm_rotate): Split into...
	(aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2): ...these two
	functions.
	(aarch64_ext_sve_addr_ri_s4): New function.
	(aarch64_ext_sve_quad_index): Likewise.
	(aarch64_ext_sve_index): Allow quad indices.
	(do_misc_decoding): Likewise.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc.h (FLD_SVE_i3h, FLD_SVE_rot1, FLD_SVE_rot2): New
	aarch64_field_kinds.
	(OPD_F_OD_MASK): Widen by one bit.
	(OPD_F_NO_ZR): Bump accordingly.
	(get_operand_field_width): New function.
	* aarch64-opc.c (fields): Add new SVE fields.
	(operand_general_constraint_met_p): Handle new SVE operands.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.

gas/
	* doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
	* config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
	to be used with SVE registers.
	(parse_operands): Handle new SVE operands.
	(aarch64_features): Make "sve" require F16 rather than FP.  Also
	require COMPNUM.
	* testsuite/gas/aarch64/sve.s: Add tests for new instructions.
	Include compnum tests.
	* testsuite/gas/aarch64/sve.d: Update accordingly.
	* testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
	* testsuite/gas/aarch64/sve-invalid.l: Update accordingly.  Also
	update expected output for new FMOV and MOV alternatives.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add new counter-enable CSRs
@ 2017-02-24 19:18 sergiodj+buildbot
  2017-02-26 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 19:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 742d14b39b384e822fd2218cf1803aef68a95d99 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 742d14b39b384e822fd2218cf1803aef68a95d99

Add new counter-enable CSRs

include/ChangeLog:

2017-02-22  Andrew Waterman  <andrew@sifive.com>

       * opcode/riscv-opc.h (CSR_SCOUNTEREN): New define.
       (CSR_MCOUNTEREN): Likewise.
       (scounteren): Declare register.
       (mcounteren): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove use of MAX_REGISTER_SIZE
@ 2017-02-24 16:45 sergiodj+buildbot
  2017-02-26  9:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0e4b369d519f9c604bddd6305e64dbb9f794256 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: b0e4b369d519f9c604bddd6305e64dbb9f794256

Remove use of MAX_REGISTER_SIZE

gdb/
	* stack.c (frame_info): Use frame_unwind_register_value to avoid buf.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE
@ 2017-02-24 16:32 sergiodj+buildbot
  2017-02-26  5:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 16:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 975c21ab6d2f6e94fcd4723bcaada4015ce7b0cf ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 975c21ab6d2f6e94fcd4723bcaada4015ce7b0cf

Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE

gdb/
	* i386-tdep.c (i386_pseudo_register_read_into_value): Use
	I386_MAX_REGISTER_SIZE.
	(i386_pseudo_register_write): Likewise.
	(i386_process_record): Likewise.
	* i387-tdep.c (i387_supply_xsave): Likewise.
	* m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
	(store_register): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: also correctly support TEST opcode aliases
@ 2017-02-24  9:18 sergiodj+buildbot
  2017-02-26  1:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7db2c58848ca683f3b09e687a9b012dbb49316af ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 7db2c58848ca683f3b09e687a9b012dbb49316af

x86: also correctly support TEST opcode aliases

Opcodes F6/1 and F7/1 are aliases of F6/0 and F7/0 in all modes. This
complements commit 8b89fe14b5 ("X86: Decode opcode 0x82 as opcode 0x80
in 32-bit mode"), just that here 64-bit mode is also covered.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling
@ 2017-02-24  1:21 sergiodj+buildbot
  2017-02-25 21:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d58c7337972bb24caea7598d0ae4d461b0fc22b ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 5d58c7337972bb24caea7598d0ae4d461b0fc22b

MIPS/BFD: Remove duplicate NewABI JALR relocation handling

Remove separate original NewABI JALR relocation handling, introduced
with commit d06471104a83 ("relax jalr $t9 [R_MIPS_JALR symbol] to bal
symbol"), <https://sourceware.org/ml/binutils/2003-03/msg00394.html>,
and only used by LD with the `--relax' option specified, and rely solely
on `mips_elf_perform_relocation' code, which has been introduced with
commit 1367d393bb74 ("On the RM9000 convert jal to bal if in range"),
<https://www.sourceware.org/ml/binutils/2004-12/msg00088.html> and since
made more complete, across all the three ABIs.

Also remove the `--relax' option, now irrelevant, from the tests added
with the former commit.

	bfd/
	* elfxx-mips.h (_bfd_mips_relax_section): Remove prototype.
	* elfxx-mips.c (_bfd_mips_relax_section): Remove function.
	* elf64-mips.c (bfd_elf64_bfd_relax_section): Remove macro.
	* elfn32-mips.c (bfd_elf32_bfd_relax_section): Likewise.

	ld/
	* testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
	option.
	* testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Discard ineligible JALR relocations right away
@ 2017-02-24  0:15 sergiodj+buildbot
  2017-02-25 17:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  0:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1556ecd7843912269aba283a0fd307729fa0c3a ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c1556ecd7843912269aba283a0fd307729fa0c3a

MIPS/BFD: Discard ineligible JALR relocations right away

Discard R_MIPS_JALR and R_MICROMIPS_JALR relocations associated with
jumps that cannot be converted to an equivalent branch right away in
`mips_elf_calculate_relocation' rather than letting them through to
`mips_elf_perform_relocation'.  This includes cross-mode jumps which
need to flip the ISA bit or jumps to a misaligned location that cannot
be encoded with a branch, in addition to preemptible symbol references
already handled.

Cross-mode jumps are actually already rejected as the conversion is made
in `mips_elf_perform_relocation', so in this case this change only saves
some processing.  Jumps to a misaligned location are however converted,
with bits causing misalignment lost, making resulting code functionally
different even if the lone effect is avoiding an address error exception
with an instruction fetch at the jump destination requested.

Add test cases suitable, also including GAS verification to confirm that
the JALR relocations explicitly requested have indeed been output in the
intermediate objects used.

	bfd/
	* elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_JALR>
	<R_MICROMIPS_JALR>: Discard relocation if `cross_mode_jump_p'
	or misaligned.

	gas/
	* testsuite/gas/mips/jalr4.d: New test.
	* testsuite/gas/mips/jalr4-n32.d: New test.
	* testsuite/gas/mips/jalr4-n64.d: New test.
	* testsuite/gas/mips/jalr4.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	ld/
	* testsuite/ld-mips-elf/jalr4.dd: New test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c
@ 2017-02-23 21:46 sergiodj+buildbot
  2017-02-25 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 21:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17cd494709a60750234c7dbe4f1db2932f8a71c4 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 17cd494709a60750234c7dbe4f1db2932f8a71c4

PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c

As reported in PR21166, there are Intel processors out there that support
rdrand but not rdseed. The fix is to verify both features separately and only
run rdrand/rdseed tests if supported.

gdb/testsuite/ChangeLog:
2017-02-23  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
	(check_supported_features): ... this. Changed return type to void.
	(supports_rdseed): New static global.
	(rdseed): Check supports_rdseed.
	(initialize): Call check_supported_features.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S/390: Add support for new cpu architecture - arch12.
@ 2017-02-23 20:15 sergiodj+buildbot
  2017-02-25  9:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64025b4ec97fe8e932c367c6cb719e5fcf2448e8 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 64025b4ec97fe8e932c367c6cb719e5fcf2448e8

S/390: Add support for new cpu architecture - arch12.

This adds support of new instructions to the S/390 specific parts.

The important feature of the new instruction set is the support of
single and extended precision floating point vector operations.

Note: arch12 is NOT the official name of the new CPU.  It just
continues the series of archXX options supported as alternate names.
The archXX terminology refers to the edition number of the Principle
of Operations manual.  The official CPU name will be added later while
keeping support of the arch12 for backwards compatibility.

No testsuite regressions.

Committed to mainline.

Bye,

-Andreas-

opcodes/ChangeLog:

2017-02-23  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-mkopc.c (main): Accept arch12 as cpu string and vx2 as
	facility.
	* s390-opc.c: Add new operand description macros, new instruction
	types, instruction masks, and new .insn instruction types.
	* s390-opc.txt: Add new arch12 instructions.

include/ChangeLog:

2017-02-23  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* opcode/s390.h (enum s390_opcode_cpu_val): New value
	S390_OPCODE_ARCH12.
	(S390_INSTR_FLAG_VX2): New macro definition.

gas/ChangeLog:

2017-02-23  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/tc-s390.c (s390_parse_cpu): New entry for arch12.
	* doc/as.texinfo: Document arch12 as cpu type.
	* doc/c-s390.texi: Likewise.
	* testsuite/gas/s390/s390.exp: Run arch12 specific tests.
	* testsuite/gas/s390/zarch-arch12.d: New test.
	* testsuite/gas/s390/zarch-arch12.s: New test.
	* testsuite/gas/s390/zarch-z13.d: Rename some mnemonics in the
	output patterns.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdb::function_view in iterate_over_symtabs & co
@ 2017-02-23 19:28 sergiodj+buildbot
  2017-02-25  5:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 19:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14bc53a81471e0b550de1c24d4d5266f676aacc3 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 14bc53a81471e0b550de1c24d4d5266f676aacc3

Use gdb::function_view in iterate_over_symtabs & co

I wanted to pass a lambda to iterate_over_symtabs (see following
patch), so I converted it to function_view, and then the rest is
cascaded from that.

This gets rid of a bunch of single-use callback functions and
corresponding manually managed callback capture types
(add_partial_datum, search_symbols_data, etc.) in favor of letting the
compiler generate them for us by using lambdas with a capture.  In a
couple cases, it was more natural to convert the existing function
callbacks to function objects (i.e., operator(), e.g.,
decode_compound_collector).

gdb/ChangeLog:
2017-02-23  Pedro Alves  <palves@redhat.com>

	* ada-lang.c: Include "common/function-view.h".
	(ada_iterate_over_symbols): Adjust to use function_view as
	callback type.
	(struct add_partial_datum, ada_complete_symbol_matcher): Delete.
	(ada_make_symbol_completion_list): Use a lambda.
	(ada_exc_search_name_matches): Delete.
	(name_matches_regex): New.
	(ada_add_global_exceptions): Use a lambda and name_matches_regex.
	* compile/compile-c-support.c: Include "common/function-view.h".
	(print_one_macro): Change prototype to accept a ui_file pointer.
	(write_macro_definitions): Use a lambda.
	* dwarf2read.c: Include "common/function-view.h".
	(dw2_map_expand_apply, dw2_map_symtabs_matching_filename)
	(dw2_expand_symtabs_matching): Adjust to use function_view as
	callback type.
	* language.h: Include "common/function-view.h".
	(struct language_defn) <la_iterate_over_symbols>: Adjust to use
	function_view as callback type.
	(LA_ITERATE_OVER_SYMBOLS): Remove DATA parameter.
	* linespec.c: Include "common/function-view.h".
	(collect_info::add_symbol): New method.
	(struct symbol_and_data_callback, iterate_inline_only, struct
	symbol_matcher_data, iterate_name_matcher): Delete.
	(iterate_over_all_matching_symtabs): Adjust to use function_view
	as callback type and lambdas.
	(iterate_over_file_blocks): Adjust to use function_view as
	callback type.
	(decode_compound_collector): Now a class with private fields.
	(decode_compound_collector::release_symbols): New method.
	(collect_one_symbol): Rename to...
	(decode_compound_collector::operator()): ... this and adjust.
	(lookup_prefix_sym): decode_compound_collector construction bits
	move to decode_compound_collector ctor.  Pass the
	decode_compound_collector object directly as callback.  Remove
	cleanups and use decode_compound_collector::release_symbols
	instead.
	(symtab_collector): Now a class with private fields.
	(symtab_collector::release_symtabs): New method.
	(add_symtabs_to_list): Rename to...
	(symtab_collector::operator()): ... this and adjust.
	(collect_symtabs_from_filename): symtab_collector construction
	bits move to symtab_collector ctor.  Pass the symtab_collector
	object directly as callback.  Remove cleanups and use
	symtab_collector::release_symtabs instead.
	(collect_symbols): Delete.
	(add_matching_symbols_to_info): Use lambdas.
	* macrocmd.c (print_macro_callback): Delete.
	(info_macro_command): Use a lambda.
	(info_macros_command): Pass print_macro_definition as callable
	directly.
	(print_one_macro): Remove 'ignore' parameter.
	(macro_list_command): Adjust.
	* macrotab.c (macro_for_each_data::fn): Now a function_view.
	(macro_for_each_data::user_data): Delete field.
	(foreach_macro): Adjust to call the function_view.
	(macro_for_each): Adjust to use function_view as callback type.
	(foreach_macro_in_scope): Adjust to call the function_view.
	(macro_for_each_in_scope): Adjust to use function_view as callback
	type.
	* macrotab.h: Include "common/function-view.h".
	(macro_callback_fn): Declare a prototype instead of a pointer.
	Remove "user_data" parameter.
	(macro_for_each, macro_for_each_in_scope): Adjust to use
	function_view as callback type.
	* psymtab.c (partial_map_expand_apply)
	(psym_map_symtabs_matching_filename, recursively_search_psymtabs):
	Adjust to use function_view as callback type and to return bool.
	(psym_expand_symtabs_matching): Adjust to use function_view as
	callback types.
	* symfile-debug.c (debug_qf_map_symtabs_matching_filename): Adjust
	to use function_view as callback type and to return bool.
	(debug_qf_expand_symtabs_matching): Adjust to use function_view as
	callback types.
	* symfile.c (expand_symtabs_matching): Adjust to use function_view
	as callback types.
	* symfile.h: Include "common/function-view.h".
	(expand_symtabs_file_matcher_ftype)
	(expand_symtabs_symbol_matcher_ftype)
	(expand_symtabs_exp_notify_ftype): Remove "data" parameter and
	return bool.
	(quick_symbol_functions::map_symtabs_matching_filename)
	(quick_symbol_functions::expand_symtabs_matching): Adjust to use
	function_view as callback type and return bool.
	(expand_symtabs_matching): Adjust to use function_view as callback
	type.
	(maintenance_expand_name_matcher)
	(maintenance_expand_file_matcher): Delete.
	(maintenance_expand_symtabs): Use lambdas.
	* symtab.c (iterate_over_some_symtabs): Adjust to use
	function_view as callback types and return bool.
	(iterate_over_symtabs): Likewise.  Use unique_xmalloc_ptr instead
	of a cleanup.
	(lookup_symtab_callback): Delete.
	(lookup_symtab): Use a lambda.
	(iterate_over_symbols): Adjust to use function_view as callback
	type.
	(struct search_symbols_data, search_symbols_file_matches)
	(search_symbols_name_matches): Delete.
	(search_symbols): Use a pair of lambdas.
	(struct add_name_data, add_macro_name, symbol_completion_matcher)
	(symtab_expansion_callback): Delete.
	(default_make_symbol_completion_list_break_on_1): Use lambdas.
	* symtab.h: Include "common/function-view.h".
	(iterate_over_some_symtabs): Adjust to use function_view as
	callback type and return bool.
	(iterate_over_symtabs): Adjust to use function_view as callback
	type.
	(symbol_found_callback_ftype): Remove 'data' parameter and return
	bool.
	(iterate_over_symbols): Adjust to use function_view as callback
	type.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce gdb::function_view
@ 2017-02-23 19:06 sergiodj+buildbot
  2017-02-25  2:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 19:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07e253aa3b7a530f22b84053e661842ccd9da2ea ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 07e253aa3b7a530f22b84053e661842ccd9da2ea

Introduce gdb::function_view

This commit adds a new function_view type.  This type holds a
non-owning reference to a callable.  It is meant to be used as
callback type of functions, instead of using the C-style pair of
function pointer and 'void *data' arguments.  function_view allows
passing references to stateful function objects / lambdas with
captures as callbacks efficiently, while function pointer + 'void *'
does not.

See the intro in the new function-view.h header for more.

Unit tests included, put into a new gdb/unittests/ subdir.

gdb/ChangeLog:
2017-02-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SUBDIR_UNITTESTS_SRCS, SUBDIR_UNITTESTS_OBS): New.
	(%.o) <unittests/%.c>: New pattern.
	* configure.ac ($development): Add $(SUBDIR_UNITTESTS_OBS) to
	CONFIG_OBS, and $(SUBDIR_UNITTESTS_SRCS) to CONFIG_SRCS.
	* common/function-view.h: New file.
	* unittests/function-view-selftests.c: New file.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] opcodes, gas: associate SPARC ASIs with an architecture level.
@ 2017-02-23 17:16 sergiodj+buildbot
  2017-02-24 22:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 17:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e9d41d49f7f0b9e7381e8bf8ce848f8a33b8fde ***

Author: Sheldon Lobo <sheldon.lobo@oracle.com>
Branch: master
Commit: 1e9d41d49f7f0b9e7381e8bf8ce848f8a33b8fde

opcodes,gas: associate SPARC ASIs with an architecture level.

With this change an architecture level bump due to assembly ASIs will show
up as a warning/error depending on options passed to gas.

Tested with sparc64-linux-gnu, and it does not introduce any regressions.

gas/ChangeLog:

	Add support for associating SPARC ASIs with an architecture level.
	* config/tc-sparc.c (parse_sparc_asi): New encode SPARC ASIs.

opcodes/ChangeLog:

	Add support for associating SPARC ASIs with an architecture level.
	* include/opcode/sparc.h (sparc_asi): New sparc_asi struct.
	* opcodes/sparc-opc.c (asi_table): Updated asi_table and encoding/
	decoding of SPARC ASIs.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix usage of inferior_ptid in two thread_alive implementations
@ 2017-02-23 15:54 sergiodj+buildbot
  2017-02-24 18:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 15:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8eaf53202ea60191162d5f1069cd08ebd9f38f6c ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 8eaf53202ea60191162d5f1069cd08ebd9f38f6c

Fix usage of inferior_ptid in two thread_alive implementations

While inspecting some target code, I noticed that in these two
implementations of thread_alive, inferior_ptid is referenced directly
instead of using the ptid passed as parameters.  I guess that it is
wrong, although I can't really test it in both cases.

gdb/ChangeLog:

	* bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of
	inferior_ptid.
	* go32-nat.c (go32_thread_alive): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use xfree rather than delete for varobj_iter
@ 2017-02-23 12:12 sergiodj+buildbot
  2017-02-24 13:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 12:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 387687511347d5e978bb47d193fe67c25e0e10a6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 387687511347d5e978bb47d193fe67c25e0e10a6

Use xfree rather than delete for varobj_iter

ASAN reports an error,

-var-create container @ c^M
=================================================================^M
^[[1m^[[31m==21639==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x6030000805c0^M
^[[1m^[[0m    #0 0x7f2449b01b2a in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99b2a)^M
    #1 0xbb601d in update_dynamic_varobj_children ../../binutils-gdb/gdb/varobj.c:794^M
    #2 0xbb6556 in varobj_get_num_children(varobj*) ../../binutils-gdb/gdb/varobj.c:854^M
    #3 0x580cb4 in print_varobj ../../binutils-gdb/gdb/mi/mi-cmd-var.c:61^M
    #4 0x58138b in mi_cmd_var_create(char*, char**, int) ../../binutils-gdb/gdb/mi/mi-cmd-var.c:145^M
    #5 0x5967ce in mi_cmd_execute ../../binutils-gdb/gdb/mi/mi-main.c:2301^M
    #6 0x594b05 in captured_mi_execute_command ../../binutils-gdb/gdb/mi/mi-main.c:2001
....
^M
^[[1m^[[32m0x6030000805c0 is located 0 bytes inside of 32-byte region [0x6030000805c0,0x6030000805e0)^M
^[[1m^[[0m^[[1m^[[35mallocated by thread T0 here:^[[1m^[[0m^M
    #0 0x7f2449b00602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)^M
    #1 0x7d1596 in xmalloc ../../binutils-gdb/gdb/common/common-utils.c:43^M
    #2 0x604176 in py_varobj_iter_new ../../binutils-gdb/gdb/python/py-varobj.c:159^M
    #3 0x6042da in py_varobj_get_iterator(varobj*, _object*) ../../binutils-gdb/gdb/python/py-varobj.c:198^M
    #4 0xbb5806 in varobj_get_iterator ../../binutils-gdb/gdb/varobj.c:720^M
    #5 0xbb5b9b in update_dynamic_varobj_children ../../binutils-gdb/gdb/varobj.c:758^M

gdb:

2017-02-23  Yao Qi  <yao.qi@linaro.org>

	* varobj-iter.h (varobj_iter_delete): Call xfree instead of
	delete.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use delete instead of xfree for varobj_item
@ 2017-02-23 11:39 sergiodj+buildbot
  2017-02-24  9:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 11:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a8beaba19a991bbfcf03756c4a150bf9512a164 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a8beaba19a991bbfcf03756c4a150bf9512a164

Use delete instead of xfree for varobj_item

In commit 2f408ec (Use ui_file_as_string throughout more), we start to
new varobj_item,

> -  vitem = XNEW (struct varobj_item);
> +  vitem = new varobj_item ();

but we still use xfree.  This causes some ASAN errors,

-var-update container^M
=================================================================^M
^[[1m^[[31m==20660==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free) on 0x602000090c10^M
^[[1m^[[0m    #0 0x2baa77d03631 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54631)^M
    #1 0x80e0c8 in xfree(void*) /home/yao/SourceCode/gnu/gdb/git/gdb/common/common-utils.c:100^M
    #2 0xc13670 in varobj_clear_saved_item /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:727^M
    #3 0xc13957 in update_dynamic_varobj_children /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:752^M
    #4 0xc1841c in varobj_update(varobj**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:1699^M
    #5 0x5a2bf7 in varobj_update_one /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:712^M
    #6 0x5a2a41 in mi_cmd_var_update(char*, char**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:695^
........
^M
^[[1m^[[32m0x602000090c10 is located 0 bytes inside of 16-byte region [0x602000090c10,0x602000090c20)^M
^[[1m^[[0m^[[1m^[[35mallocated by thread T0 here:^[[1m^[[0m^M
    #0 0x2baa77d0415f in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5515f)^M
    #1 0x63613e in py_varobj_iter_next /home/yao/SourceCode/gnu/gdb/git/gdb/python/py-varobj.c:112^M
    #2 0xc13b89 in update_dynamic_varobj_children /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:776^M
    #3 0xc1841c in varobj_update(varobj**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:1699^M
    #4 0x5a2bf7 in varobj_update_one /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:712^M
    #5 0x5a2a41 in mi_cmd_var_update(char*, char**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:695^M

gdb:

2017-02-23  Yao Qi  <yao.qi@linaro.org>

	* varobj.c (varobj_clear_saved_item): Use delete instead of
	xfree.
	(update_dynamic_varobj_children): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] x86: drop stray VEX opcode 82 references
@ 2017-02-23 10:18 sergiodj+buildbot
  2017-02-24  5:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 10:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53c4d625d70138fb5b75f0e2ebae8ff363ed3d46 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 53c4d625d70138fb5b75f0e2ebae8ff363ed3d46

x86: drop stray VEX opcode 82 references

No such ModR/M-less opcode has ever existed in public documentation
afaict, so I can't see why it had been added in the first place.
Furthermore opcode 77 is special only with implied prefix 0F.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Correct VLE 16D and SDAREL relocations
@ 2017-02-23  4:16 sergiodj+buildbot
  2017-02-24  0:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-23  4:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5499c7c71cc403a1deff90b79ab41d17efc5c4cc ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 5499c7c71cc403a1deff90b79ab41d17efc5c4cc

Correct VLE 16D and SDAREL relocations

	PR 20744
bfd/
	* elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask on all VLE
	16D relocations.
	(ppc_elf_vle_split16): Correct field mask and shift for 16D relocs.
	(ppc_elf_relocate_section): Correct calculation for VLE SDAREL
	relocs.
ld/
	* testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
	each group.
	* testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
	and sdarel reloc fix.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
@ 2017-02-22 19:04 sergiodj+buildbot
  2017-02-23 20:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-22 19:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 902e9fc76a0ec9f642cefa71ef88cca1c675ad54 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 902e9fc76a0ec9f642cefa71ef88cca1c675ad54

PR ld/20828: Move symbol version processing ahead of GC symbol sweep

Complement commit b531344c34b0 ("PR ld/20828: Reorder the symbol sweep
stage of section GC") and commit 81ff47b3a546 ("PR ld/20828: Fix linker
script symbols wrongly forced local with section GC") and move symbol
version processing ahead of the symbol sweep stage of section GC, all in
`bfd_elf_size_dynamic_sections', so that version symbols created stay in
the global scope and are not output as local symbols to the dynamic
symbol table in the presence of corresponding symbol definitions pulled
from a DSO involved in a link.

Consolidate the whole of symbol version processing into a single block
from all parts scattered across the function and rearranging the local
variables used as necessary, however leaving the setting of dynamic
entries associated with the DT_VERDEF, DT_VERDEFNUM, DT_VERNEED and
DT_VERNEEDNUM tags and the SEC_EXCLUDE flag for unused `.gnu.version'
section in the original places.

With the rearrangement of code blocks `Elf_Internal_Verneed *t' would
shadow the previous definition of `struct bfd_elf_version_tree *t', so
rename the former variable to `vn'.

	bfd/
	PR ld/20828
	* elflink.c (bfd_elf_size_dynamic_sections): Move symbol version
	processing ahead of the call to `elf_gc_sweep_symbol'.

	ld/
	PR ld/20828
	* testsuite/ld-elf/pr20828-d.sd: New test.
	* testsuite/ld-elf/pr20828-e.sd: New test.
	* testsuite/ld-elf/pr20828-v.od: New test.
	* testsuite/ld-elf/pr20828-v.ver: New test version script.
	* testsuite/ld-elf/pr20828-v.ld: New test linker script.
	* testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
	`.gnu.version_d'.
	* testsuite/ld-elf/shared.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Align .gnu_debuglink sections on a 4-byte boundary.
@ 2017-02-22 17:45 sergiodj+buildbot
  2017-02-23 17:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-22 17:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 758d96d834ba725461abf4be36df9f13e0815054 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 758d96d834ba725461abf4be36df9f13e0815054

Align .gnu_debuglink sections on a 4-byte boundary.

	PR binutils/21193
	* opncls.c (bfd_create_gnu_debuglink_section): Give the newly
	created section 4-byte alignment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] aarch64: actually copy first operand in convert_bfc_to_bfm()
@ 2017-02-22  9:55 sergiodj+buildbot
  2017-02-23 13:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-22  9:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11648de5a91658326748dea1e4965559e9bd7a0f ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 11648de5a91658326748dea1e4965559e9bd7a0f

aarch64: actually copy first operand in convert_bfc_to_bfm()

Commit 93562a343c ("[AArch64] PR target/20666, fix wrong encoding of
new introduced BFC pseudo") changed the destination operand to 0,
making the whole function invocation a no-op. We really want to copy
operand 0 (a register) to operand 1 (an immediate before coming here),
even if right now this likely is only a latent bug.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback
@ 2017-02-22  0:26 sergiodj+buildbot
  2017-02-23  9:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-22  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58fdfd2c4a0d2a68c3c3cbe3a83a0386526a2b72 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 58fdfd2c4a0d2a68c3c3cbe3a83a0386526a2b72

Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback

On some Fedora 23 systems an internal error has been printed.

gdb/ChangeLog
2017-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (dwarf2_record_block_ranges): Add forgotten BASEADDR.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC ld segfault on script discarding dynamic sections
@ 2017-02-21 23:12 sergiodj+buildbot
  2017-02-23  5:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 23:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6528b6eba85f044667876a2ad77d4612a9e5fc65 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 6528b6eba85f044667876a2ad77d4612a9e5fc65

PowerPC ld segfault on script discarding dynamic sections

bfd/
	* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Don't segfault
	on .got or .plt output section being discarded by script.
	* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Likewise.  Move
	vxworks splt temp.
gold/
	* powerpc.cc (Target_powerpc::make_iplt_section): Check that
	output_section exists before attempting add_output_section_data.
	(Target_powerpc::make_brlt_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Default initialize enum flags to 0
@ 2017-02-21 17:22 sergiodj+buildbot
  2017-02-23  1:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 17:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b90b1390679473dd84416e462afa1587769ceec ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 1b90b1390679473dd84416e462afa1587769ceec

Default initialize enum flags to 0

... so that we don't need to do it manually, and potentially forget.
For example, this allows to do:

  my_flags flags;

  ...

  flags |= some_flag;

gdb/ChangeLog:

	* common/enum-flags.h (enum_flags::enum_flags): Initialize
	m_enum_value to 0 in default constructor.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ppc64] Add POWER8/ISA 2.07 atomic sequences single-stepping support
@ 2017-02-21 15:39 sergiodj+buildbot
  2017-02-22 21:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 15:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2039d74e780db6659c87cd3c426d526615cfe703 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 2039d74e780db6659c87cd3c426d526615cfe703

[ppc64] Add POWER8/ISA 2.07 atomic sequences single-stepping support

gdb/
2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (LOAD_AND_RESERVE_MASK): Rename from LWARX_MASK.
	(STORE_CONDITIONAL_MASK): Rename from STWCX_MASK.
	(LBARX_INSTRUCTION, LHARX_INSTRUCTION, LQARX_INSTRUCTION,
	STBCX_INSTRUCTION, STHCX_INSTRUCTION, STQCX_INSTRUCTION): New defines.
	(IS_LOAD_AND_RESERVE_INSN, IS_STORE_CONDITIONAL_INSN): New macros.
	(ppc_displaced_step_copy_insn): Use IS_LOAD_AND_RESERVE_INSN.
	(ppc_deal_with_atomic_sequence): Use IS_LOAD_AND_RESERVE_INSN and
	IS_STORE_CONDITIONAL_INSN.

gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
	gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
	and lqarx/stqcx.
	* gdb.arch/ppc64-isa207-atomic-inst.S: New file.
	* gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp
@ 2017-02-21 14:17 sergiodj+buildbot
  2017-02-22 17:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 14:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a51d7ecf3ddd64e0aec68e3c30913faba680b2cb ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: a51d7ecf3ddd64e0aec68e3c30913faba680b2cb

Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp

gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
	uppercase.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix recent compiler warnings.
@ 2017-02-21  8:59 sergiodj+buildbot
  2017-02-22 12:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-21  8:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7814882a6534c100d8eba1a41588611a8b38c429 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 7814882a6534c100d8eba1a41588611a8b38c429

Fix recent compiler warnings.

gcc-4.8.5-11.el7.x86_64

dwarf2read.c: In function pc_bounds_kind dwarf2_get_pc_bounds(die_info*, CORE_ADDR*, CORE_ADDR*, dwarf2_cu*, partial_symtab*):
dwarf2read.c:12134:7: error: range_end may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:12133:7: error: range_beginning may be used uninitialized in this function [-Werror=maybe-uninitialized]

gdb/ChangeLog
2017-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2_rnglists_process: Initialize range_beginning and range_end.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Code cleanup: Refactor abbrev_table_read_table cycle
@ 2017-02-20 22:02 sergiodj+buildbot
  2017-02-22  6:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 22:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22d2f3ab926890490deed2888f6f013031fa6a6e ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 22d2f3ab926890490deed2888f6f013031fa6a6e

Code cleanup: Refactor abbrev_table_read_table cycle

I find it as an improvement on its own, it prevents more code duplication in
a future patch.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (abbrev_table_read_table): Read the data only once.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Code cleanup: Split dwarf2_ranges_read to a callback
@ 2017-02-20 20:58 sergiodj+buildbot
  2017-02-22  2:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 20:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f46c5a54825aabb3f30095c84ac30aff7400ac5 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 5f46c5a54825aabb3f30095c84ac30aff7400ac5

Code cleanup: Split dwarf2_ranges_read to a callback

DWARF-5 has .debug_rnglists which is somehow similar to .debug_ranges.

This patch converts dwarf2_ranges_read to dwarf2_ranges_process which can work
with both DWARF kinds of range lists through a callback.

It also simplifies dwarf2_record_block_ranges which can benefit from it.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (dwarf2_ranges_process): New function from
	dwarf2_ranges_read.
	(dwarf2_ranges_read, dwarf2_record_block_ranges): Use
	dwarf2_ranges_process.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Code cleanup: Split create_debug_types_hash_table
@ 2017-02-20 20:29 sergiodj+buildbot
  2017-02-21 22:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 20:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78d4d2c538dd7975f0f130b2df842c4858c01fd3 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 78d4d2c538dd7975f0f130b2df842c4858c01fd3

Code cleanup: Split create_debug_types_hash_table

DWARF-5 moved .debug_types into .debug_info and so the types reading code needs
to be reused more (in a future patch).

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (create_debug_type_hash_table): New function from
	create_debug_types_hash_table.
	(create_debug_types_hash_table): Call create_debug_type_hash_table.
	(create_all_type_units, open_and_init_dwo_file): Update
	create_debug_types_hash_table callers.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix thinko on last commit
@ 2017-02-20 13:23 sergiodj+buildbot
  2017-02-21 17:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 13:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b076f2540e51055a7c6a4ee8fdfc604b54fb70a ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 1b076f2540e51055a7c6a4ee8fdfc604b54fb70a

Fix thinko on last commit

On fork-child.c:trace_start_error, va_end should refer to 'ap', not
'args.  This fixes it.

Sorry about the breakage.

gdb/ChangeLog:
2017-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/16188
	* fork-child.c (trace_start_error): Fix thinko.  va_end should
	refer to 'ap', not 'args'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Alpha executables segfault when linked with -z,now
@ 2017-02-20 10:47 sergiodj+buildbot
  2017-02-21 12:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 10:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 644877806ec0024d1df1dc29249b8e610202147b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 644877806ec0024d1df1dc29249b8e610202147b

Alpha executables segfault when linked with -z,now

	PR 21181
	* elflink.c (bfd_elf_final_link): Make DT_REL/DT_RELA zero
	if DT_RELSZ/DT_RELASZ is zero.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv.
@ 2017-02-19 21:43 sergiodj+buildbot
  2017-02-21  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-19 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e7e5e28909bcffe2267b417f9cff0441b576fba ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 2e7e5e28909bcffe2267b417f9cff0441b576fba

Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv.

	sim/aarch64/
	* simulator.c (do_vec_ADDV): Mov val declaration inside each case,
	with type set to input type size.
	(do_vec_xtl): Change bias from 3 to 4 for byte case.

	sim/testsuite/sim/aarch64/
	* bit.s: Change cmp immediates to account for addv bug fix.
	* cmtst.s, ldn_single.s, stn_single.s: Likewise.
	* xtl.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer.
@ 2017-02-17 15:09 sergiodj+buildbot
  2017-02-21  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 15:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6438d1be9e9b6802a465c70c76b9cec7e23270f3 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6438d1be9e9b6802a465c70c76b9cec7e23270f3

Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer.

	* compress.c (bfd_get_full_section_contents): Remember to reduce
	compressed size by the sizeof the compression header when
	decompressing the contents.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add target description for avx-avx512.
@ 2017-02-17 13:45 sergiodj+buildbot
  2017-02-20 21:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 13:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1fa17ee1556b0175afb081a7b8a13710246307a ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: a1fa17ee1556b0175afb081a7b8a13710246307a

Add target description for avx-avx512.

Add a dedicated target description for the feature combination
avx-avx512 as implemented by certain IA CPU models.

The corresponding X86_XSTATE_AVX_AVX512_MASK already exists, but shared
the tdesc with X86_XSTATE_AVX_MPX_AVX512_MASK. This caused MPX registers
displayed as undefined on CPUs that only implemented
X86_XSTATE_AVX_AVX512_MASK, which is undesired. This patch solves this issue.

This patch also corrects the wrong usage of x32-avx-mpx-avx512, which is
replaced by x32-avx-avx512. The MPX feature is not implemented in x32 mode.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * amd64-linux-tdep.c (features/i386/amd64-avx-avx512-linux.c):
     New include.
     (features/i386/x32-avx-mpx-avx512-linux.c): Rename to...
     (features/i386/x32-avx-avx512-linux.c): ...this.
     (amd64_linux_core_read_description): Add dedicated cases for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_amd64_linux_tdep): Add calls to
     initialize_tdesc_amd64_avx_avx512_linux and
     initialize_tdesc_x32_avx_avx512_linux.
     * amd64-linux.tdep.h (tdesc_amd64_avx_avx512_linux): New prototype.
     (tdesc_x32_avx_mpx_avx512_linux): Rename to...
     (tdesc_x32_avx_avx512_linu): ...this.
     * amd64-tdep.c (features/i386/amd64-avx-avx512.c): New include.
     (features/i386/x32-avx-mpx-avx512.c): Rename to...
     (features/i386/x32-avx-avx512.c): ...this.
     (amd64_target_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_amd64_tdep): Add call to
     initialize_tdesc_amd64_avx_avx512.
     (initialize_tdesc_x32_avx_mpx_avx512): Rename to...
     (initialize_tdesc_x32_avx_avx512): ...this.
     * features/Makefile (WHICH): New tdescs i386/i386-avx-avx512,
     i386/i386-avx-avx512-linux, i386/amd64-avx-avx512,
     i386/amd64-avx-avx512-linux.
     (i386/x32-avx-mpx-avx512): Rename to...
     (i386/x32-avx-avx512): ...this.
     (i386/x32-avx-mpx-avx512-linux): Rename to...
     (i386/x32-avx-avx512-linux): ...this.
     (i386/i386-avx-avx512-expedite, i386/i386-avx-avx512-linux-expedite,
     i386/amd64-avx-avx512-expedite, i386/amd64-avx-avx512-linux-expedite):
     New expedites.
     (i386/x32-avx-mpx-avx512-expedite): Rename to...
     (i386/x32-avx-avx512-expedite): ...this.
     (i386/x32-avx-mpx-avx512-linux-expedite): Rename to...
     (i386/x32-avx-avx512-linux-expedite): ...this.
     (XMLTOC): New XML files i386/amd64-avx-avx512-linux.xml,
     i386/amd64-avx-avx512.xml, i386/i386-avx-avx512-linux.xml,
     i386/i386-avx-avx512.xml.
     (i386/x32-avx-mpx-avx512-linux.xml): Rename to...
     (i386/x32-avx-avx512-linux.xml): ...this.
     (i386/x32-avx-mpx-avx512.xml): Rename to...
     (i386/x32-avx-avx512.xml): ...this.
     ($(outdir)/i386/i386-avx-avx512.dat): New rule.
     ($(outdir)/i386/i386-avx-avx512-linux.dat): Likewise.
     ($(outdir)/i386/amd64-avx-avx512.dat): Likewise.
     ($(outdir)/i386/amd64-avx-avx512-linux.dat): Likewise.
     ($(outdir)/i386/x32-avx-mpx-avx512.dat):  Rename to...
     ($(outdir)/i386/x32-avx-avx512.dat): ...this.
     ($(outdir)/i386/x32-avx-mpx-avx512-linux.dat): Rename to...
     ($(outdir)/i386/x32-avx-avx512-linux.dat): ...this.
     * features/i386/amd64-avx-avx512-linux.c: New file.
     * features/i386/amd64-avx-avx512-linux.xml: Likewise.
     * features/i386/amd64-avx-avx512.c: Likewise.
     * features/i386/amd64-avx-avx512.xml: Likewise.
     * features/i386/i386-avx-avx512-linux.c: Likewise.
     * features/i386/i386-avx-avx512-linux.xml: Likewise.
     * features/i386/i386-avx-avx512.c: Likewise.
     * features/i386/i386-avx-avx512.xml: Likewise.
     * features/i386/x32-avx-mpx-avx512-linux.c: Deleted.
     * features/i386/x32-avx-avx512-linux.c: New file.
     * features/i386/x32-avx-mpx-avx512-linux.xml: Deleted.
     * features/i386/x32-avx-avx512-linux.xml: New file.
     * features/i386/x32-avx-mpx-avx512.c: Deleted.
     * features/i386/x32-avx-avx512.c: New file.
     * features/i386/x32-avx-mpx-avx512.xml: Deleted.
     * features/i386/x32-avx-avx512.xml: New file.
     * i386-linux-tdep.c (features/i386/i386-avx-avx512-linux.c): New include.
     (i386_linux_core_read_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_i386_linux_tdep): Add call to
     initialize_tdesc_i386_avx_avx512_linux.
     * i386-linux-tdep.h (tdesc_i386_avx_avx512_linux): New prototype.
     * i386-tdep.c (features/i386/i386-avx-avx512.c): New include.
     (i386_validate_tdesc_p): Correct XSTATE mask used for feature_avx512.
     (i386_target_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_i386_tdep): Add call to initialize_tdesc_i386_avx_avx512.
     * regformats/i386/amd64-avx-avx512-linux.dat: New file
     * regformats/i386/amd64-avx-avx512.dat: Likewise.
     * regformats/i386/i386-avx-avx512-linux.dat: Likewise.
     * regformats/i386/i386-avx-avx512.dat: Likewise.
     * regformats/i386/x32-avx-mpx-avx512-linux.dat: Deleted.
     * regformats/i386/x32-avx-avx512-linux.dat: New file.
     * regformats/i386/x32-avx-mpx-avx512.dat: Deleted.
     * regformats/i386/x32-avx-avx512.dat: New file.
     * x86-linux-nat.c (x86_linux_read_description): Add dedidated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate description.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in  (clean): Add handling of new source files
     i386-avx-avx512.c, i386-avx-avx512-linux.c, amd64-avx-avx512.c,
     amd64-avx-avx512-linux.c.
     (x32-avx-mpx-avx512.c): Rename to...
     (x32-avx-avx512.c): ...this.
     (x32-avx-mpx-avx512-linux.c): Rename to...
     (x32-avx-avx512-linux.c): ...this.
     (i386-avx-avx512-linux-ipa.o): New rule.
     (amd64-avx-avx512-linux-ipa.o): Likewise.
     (i386-avx-avx512.c): Likewise.
     (i386-avx-avx512-linux.c): Likewise.
     (amd64-avx-avx512.c): Likewise.
     (amd64-avx-avx512-linux.c): Likewise.
     (x32-avx-avx512.c): Rename rule, source files, dat files from
     x32-avx-mpx-avx512.*) to this.
     (x32-avx-avx512-linux.c): Rename rule, source files, dat files from
     x32-avx-mpx-avx512-linux.*) to this.
     * configure.srv (srv_i386_regobj): Add i386-avx-avx512.o.
     (srv_i386_linux_regobj): Add i386-avx-avx512-linux.o.
     (srv_amd64_regobj): Add amd64-avx-avx512.o, rename
     x32-avx-mpx-avx512.o to x32-avx-avx512.o.
     (srv_amd64_linux_regobj): Add amd64-avx-avx512-linux.o, rename
     x32-avx-mpx-avx512-linux.o to x32-avx-avx512-linux.o.
     (ipa_i386_linux_regobj): Add i386-avx-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Add amd64-avx-avx512-linux-ipa.o.
     (srv_i386_xmlfiles): Add i386/i386-avx-avx512.xml.
     (srv_amd64_xmlfiles): Add i386/amd64-avx-avx512.xml, rename
     x32-avx-mpx-avx512.xml to x32-avx-avx512.xml.
     (srv_i386_linux_xmlfiles): Add i386/i386-avx-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-avx512-linux.xml,
     rename x32-avx-mpx-avx512-linux.xml to x32-avx-avx512-linux.xml.
     * linux-amd64-ipa.c (get_ipa_tdesc): Add dedicated case for
     X86_TDESC_AVX_AVX512 and return appropriate tdesc.
     (initialize_low_tracepoint): Add init_registers_amd64_avx_avx512_linux.
     * linux-i386-ipa.c (get_ipa_tdesc): Add dedicated case for
     X86_TDESC_AVX_AVX512 and return appropriate tdesc.
     (initialize_low_tracepoint): Add init_registers_i386_avx_avx512_linux.
     * linux-x86-low.c (x86_linux_read_description): Add dedicated cases for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (x86_get_ipa_tdesc_idx): Rename tdesc_x32_avx_mpx_avx512_linux to
     tdesc_x32_avx_avx512_linux, add dedicated if-clause for
     tdesc_amd64_avx_avx512_linux and return appropriate mask.
     Add dedicated clause for tdesc_i386_avx_avx512_linux
     and return appropriate mask.
     (initialize_low_arch): Add init_registers_amd64_avx_avx512_linux,
     rename init_registers_x32_avx_mpx_avx512_linux, add
     init_registers_i386_avx_avx512_linux.
     * linux-x86-tdesc.h (enum x86_linux_tdesc): Add new value for
     X86_TDESC_AVX_AVX512.
     (init_registers_amd64_avx_avx512_linux): New prototype.
     (tdesc_amd64_avx_avx512_linux): Likewise.
     (init_registers_x32_avx_mpx_avx512_linux): Rename to...
     (init_registers_x32_avx_avx512_linux): ...this.
     (tdesc_x32_avx_mpx_avx512_linux): Rename to...
     (tdesc_x32_avx_avx512_linux): ...this.
     (init_registers_i386_avx_avx512_linux): New prototype.
     (tdesc_i386_avx_avx512_linux): Likewise.

Change-Id: I01359fab56c961a39568df50af39714ec7b31706
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename target descriptions to reflect actual content of description.
@ 2017-02-17 12:37 sergiodj+buildbot
  2017-02-20 17:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 12:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22049425ce40324139be82d9a6ec518c46b65815 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 22049425ce40324139be82d9a6ec518c46b65815

Rename target descriptions to reflect actual content of description.

To better reflect the actual feature set covered by the IA target
descriptions, the existing descriptions are renamed. Each feature of
the extended state is added to the name of a description or xstate mask
starting from AVX.
For example, amd64-mpx-avx512-linux becomes amd64-avx-mpx-avx512-linux,
while amd64-avx-linux remains unchanged.
Likewise, the corresponding xstate masks are changed, e.g. from
X86_XSTATE_MPX_AVX512_MASK to X86_XSTATE_AVX_MPX_AVX512_MASK.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * amd64-linux-tdep.c (features/i386/amd64-avx512-linux.c): Rename
     include to...
     (features/i386/amd64-avx-mpx-avx512-linux.c): ...this.
     (features/i386/x32-avx512-linux.c): Rename include to...
     (features/i386/x32-avx-mpx-avx512-linux.c): ...this.
     (amd64_linux_core_read_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, desc_x32_avx512_linux, tdesc_amd64_avx512_linux.
     (_initialize_amd64_linux_tdep): Rename
     initialize_tdesc_amd64_avx512_linux, initialize_tdesc_x32_avx512_linux.
     * amd64-linux-tdep.h (tdesc_amd64_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_linux): ...this.
     (tdesc_x32_avx512_linux): Rename to...
     (tdesc_x32_avx_mpx_avx512_linux): ...this.
     * amd64-tdep.c (features/i386/amd64-avx512.c): Rename include to...
     (features/i386/amd64-avx-mpx-avx512.c): ...this.
     (features/i386/x32-avx512.c): Rename include to...
     (features/i386/x32-avx-mpx-avx512.c): ...this.
     (amd64_target_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, tdesc_amd64_avx512.
     (_initialize_amd64_tdep): Rename initialize_tdesc_amd64_avx512. Rename
     initialize_tdesc_x32_avx512.
     * common/x86-xstate.h (X86_XSTATE_AVX512_MASK): Rename to...
     (X86_XSTATE_AVX_AVX512_MASK): ...this.
     (86_XSTATE_MPX_AVX512_MASK): Rename to...
     (X86_XSTATE_AVX_MPX_AVX512_MASK): ...this.
     (X86_XSTATE_ALL_MASK): Rename X86_XSTATE_MPX_AVX512_MASK to
     X86_XSTATE_AVX_MPX_AVX512_MASK.
     * features/Makefile (WHICH): Rename i386/i386-avx512,
     i386/i386-avx512-linux, i386/amd64-avx512, i386/amd64-avx512-linux,
     i386/x32-avx512, i386/x32-avx512-linux.
     (i386/i386-avx512-expedite, i386/i386-avx512-linux-expedite,
     i386/amd64-avx512-expedite, i386/amd64-avx512-linux-expedite,
     i386/x32-avx512-expedite, i386/x32-avx512-linux-expedite): Rename
     expedites.
     (XMLTOC): Rename i386/amd64-avx512-linux.xml, i386/amd64-avx512.xml,
     i386/i386-avx512-linux.xml, i386/i386-avx512.xml,
     i386/x32-avx512-linux.xml, i386/x32-avx512.xml.
     ($(outdir)/i386/i386-avx512.dat): Rename dat file in rule.
     ($(outdir)/i386/i386-avx512-linux.dat): Likewise.
     ($(outdir)/i386/amd64-avx512.dat): Likewise.
     ($(outdir)/i386/amd64-avx512-linux.dat): Likewise.
     ($(outdir)/i386/x32-avx512.dat): Likewise.
     ($(outdir)/i386/x32-avx512-linux.dat): Likewise.
     * features/i386/amd64-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/amd64-avx512-linux.xml: Rename XML file.
     * features/i386/amd64-avx512.c: Regenerate from renamed XML file.
     * features/i386/amd64-avx512.xml: Rename XML file.
     * features/i386/i386-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/i386-avx512-linux.xml: Rename XML file.
     * features/i386/i386-avx512.c: Regenerate from renamed XML file.
     * features/i386/i386-avx512.xml: Rename XML file.
     * features/i386/x32-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/x32-avx512-linux.xml: Rename XML file.
     * features/i386/x32-avx512.c: Regenerate from renamed XML file.
     * features/i386/x32-avx512.xml: Rename XML file.
     * i386-linux-tdep.c (features/i386/i386-avx512-linux.c): Rename to...
     (features/i386/i386-avx-mpx-avx512-linux.c): ...this.
     (i386_linux_core_read_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, tdesc_i386_avx512_linux.
     (_initialize_i386_linux_tdep): Rename initialize_tdesc_i386_avx512_linux.
     * i386-linux-tdep.h (tdesc_i386_avx512_linux): Rename to...
     (tdesc_i386_avx_mpx_avx512_linux): ...this.
     * i386-tdep.c (features/i386/i386-avx512.c): Rename to...
     (features/i386/i386-avx-mpx-avx512.c): ...this.
     (i386_register_reggroup_p): Rename X86_XSTATE_AVX512_MASK.
     (i386_validate_tdesc_p): Likewise.
     (i386_target_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     tdesc_i386_avx512.
     (_initialize_i386_tdep): Rename initialize_tdesc_i386_avx512.
     * regformats/i386/amd64-avx512-linux.dat: Regenerate from renamed XML
     file.
     * regformats/i386/amd64-avx512.dat: Likewise.
     * regformats/i386/i386-avx512-linux.dat: Likewise.
     * regformats/i386/i386-avx512.dat: Likewise.
     * regformats/i386/x32-avx512-linux.dat: Likewise.
     * regformats/i386/x32-avx512.dat: Likewise.
     * x86-Linux-nat.c (x86_linux_read_description): Rename
     X86_XSTATE_MPX_AVX512_MASK, X86_XSTATE_AVX512_MASK,
     tdesc_x32_avx512_linux, tdesc_amd64_avx512_linux, tdesc_i386_avx512_linux.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in (clean): Rename i386-avx512.c, i386-avx512-linux.c,
     amd64-avx512.c, amd64-avx512-linux.c, x32-avx512.c, x32-avx512-linux.c.
     (i386-avx512-linux-ipa.o): Rename rule and source files.
     (amd64-avx512-linux-ipa.o): Likewise.
     (i386-avx512.c): Rename rule, source fils and dat files.
     (i386-avx512-linux.c): Likewise.
     (amd64-avx512.c): Likewise.
     (amd64-avx512-linux.c): Likewise.
     (x32-avx512.c): Likewise.
     (x32-avx512-linux.c): Likewise.
     * configfure.srv (srv_i386_regobj): Rename i386-avx512.o.
     (i386_linux_regobj): Rename i386-avx512-linux.o.
     (srv_amd64_regobj): Rename amd64-avx512.o, x32-avx512.o.
     (srv_amd64_linux_regobj): Rename amd64-avx512-linux.o,
     x32-avx512-linux.o.
     (ipa_i386_linux_regobj): Rename i386-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Rename amd64-avx512-linux-ipa.o.
     (srv_i386_xmlfiles): Rename i386/i386-avx512.xml.
     (srv_amd64_xmlfiles): Rename i386/amd64-avx512.xml, i386/x32-avx512.xml.
     (srv_i386_linux_xmlfiles): Rename i386/i386-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Rename i386/amd64-avx512-linux.xml,
     i386/x32-avx512-linux.xml).
     * linux-amd64-ipa.c (get_ipa_tdesc): Rename X86_TDESC_AVX512 and returned
     tdesc for that case.
     (initialize_low_tracepoint): Rename init_registers_amd64_avx512_linux.
     * linux-i386-ipa.c (get_ipa_tdesc): Rename X86_TDESC_AVX512 and tdesc
     returned for that case.
     (initialize_low_tracepoint): Rename init_registers_i386_avx512_linux.
     * linux-x86-low.c (x86_linux_read_description): Rename
     X86_XSTATE_AVX512_MASK and tdesc returned for that case.
     (x86_get_ipa_tdesc_idx): Rename tdesc_amd64_avx512_linux,
     tdesc_x32_avx512_linux and mask returned for these descriptions.
     Rename tdesc_i386_avx512_linux and mask returned for that description.
     (initialize_low_arch): Rename init_registers_amd64_avx512_linux,
     init_registers_x32_avx512_linux, init_registers_i386_avx512_linux.
     * linux-x86-tdesc.h (enum x86_linux_tdesc): Rename X86_TDESC_AVX512.
     (init_registers_amd64_avx512_linux): Rename to...
     (init_registers_amd64_avx_mpx_avx512_linux): ...this.
     (tdesc_amd64_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_linux): ...this.
     (init_registers_x32_avx512_linux): Rename to...
     (init_registers_x32_avx_mpx_avx512_linux): ...this.
     (tdesc_x32_avx512_linux): Rename to...
     (tdesc_x32_avx_mpx_avx512_linux): ...this.
     (init_registers_i386_avx512_linux): Rename to...
     (init_registers_i386_avx_mpx_avx512_linux): ...this.
     (tdesc_i386_avx512_linux): Rename to...
     (tdesc_i386_avx_mpx_avx512_linux): ...this.

Change-Id: Idb83be3b3b72d5487542d4b568193df2777a3d9d
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for Intel PKRU register to GDB and GDBserver.
@ 2017-02-17 11:43 sergiodj+buildbot
  2017-02-21  1:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 11:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51547df62c155231530ca502c485659f3d2b66cb ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 51547df62c155231530ca502c485659f3d2b66cb

Add support for Intel PKRU register to GDB and GDBserver.

This patch adds support for the registers added by the
Memory Protection Keys for Userspace (PKU aka PKEYs) feature.
Native and remote debugging are covered by this patch.

The XSAVE area is extended with a new state containing
the 32-bit wide PKRU register. The new register is added to
amd64-avx-mpx_avx512-* tdesc, thus it is renamed accordingly. Also,
respective xstate mask X86_XSTATE_AVX_MPX_AVX512_MASK is renamed to
X86_XSTATE_AVX_MPX_AVX512_PKU_MASK to reflect the new feature set
it supports.

For more information, please refer to the
Intel(R) 64 and IA-32 Architectures Software Developer's
Manual - Septemper 2015
http://www.intel.com/content/dam/www/public/us/en/documents/
manuals/64-ia-32-architectures-software-developer-manual-325462.pdf

gdb/Changelog:
2015-12-08  Michael Sturm  <michael.sturm@intel.com>

     * NEWS: Mention addition of PKU feature.
     * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add PKRU register.
     * amd64-linux-tdep.c (features/i386/amd64-avx-mpx-avx512-linux.c): Rename
       to...
     (features/i386/amd64-avx-mpx-avx512-pku-linux.c): ...this.
     (amd64_linux_gregset_reg_offset): Add PKRU register.
     (amd64_linux_core_read_description): Rename
     X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512_pku_linux.
     (_initialize_amd64_linux_tdep): Rename
     initialize_tdesc_amd64_avx_mpx_avx512_linux.
     * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
     calculation.
     (tdesc_amd64_avx_mpx_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_pku_linux): ...this.
     * amd64-tdep.c (features/i386/amd64-avx-mpx-avx512-pku.c): Rename to...
     (features/i386/amd64-avx-mpx-avx512-pku.c): ...this.
     (amd64_pkeys_names): New register name for raw register PKRU.
     (amd64_init_abi): Add code to initialize PKRU tdep variables if feature
     is present.
     (amd64_target_description): Rename X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512.
     (_initialize_amd64_tdep): Rename initialize_tdesc_amd64_avx_mpx_avx512.
     * amd64-tdep.h (enum amd64_regnum): Add PKRU register.
     (AMD64_NUM_REGS): Adjust regnum calculation.
     * i386-linux.nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
     registers supplied via XSTATE by PKRU register.
     * common/x86-xstate.h (X86_XSTATE_PKRU): New macro.
     (X86_XSTATE_AVX_MPX_AVX512_MASK): Add PKRU and renamed mask.
     (X86_XSTATE_ALL_MASK): Rename X86_XSTATE_AVX_MPX_AVX512_MASK.
     (X86_XSTATE_PKRU_SIZE): New macro.
     (X86_XSTATE_MAX_SIZE): Adjust size.
     (HAS_PKRU(XCR0)): New macro.
     (X86_XSTATE_SIZE): Add checkfor PKRU.
     * features/Makefile (WHICH): Rename i386/i386-avx-mpx-avx512,
     i386/i386-avx-mpx-avx512-linux, i386/amd64-avx-mpx-avx512,
     i386/amd64-avx-mpx-avx512-linux.
     (i386/i386-avx-mpx-avx512-expedite): Rename expedite.
     (i386/i386-avx-mpx-avx512-linux-expedite): Likewise.
     (i386/amd64-avx-mpx-avx512-expedite): Likewise.
     (i386/amd64-avx-mpx-avx512-linux-expedite): Likewise.
     (XMLTOC): Rename i386/amd64-avx-mpx-avx512-linux.xml,
     i386/amd64-avx-mpx-avx512.xml, i386/i386-avx-mpx-avx512-linux.xml,
     i386/i386-avx-mpx-avx512.xml.
     ((outdir)/i386/i386-avx-mpx-avx512.dat): Rename rule, add
     i386/32bit-pkeys.xml.
     ((outdir)/i386/i386-avx-mpx-avx512-pku-linux.dat): Likewise.
     ((outdir)/i386/amd64-avx-mpx-avx512.dat): Rename rule, add
     i386/64bit-pkeys.xml.
     ((outdir)/i386/amd64-avx-mpx-avx512-linux.dat): Likewise.
     * features/i386/32bit-pkeys.xml: New file.
     * features/i386/64bit-pkeys.xml: Likewise.
     * features/i386/amd64-avx-mpx-avx512-linux-pku.c: Regenerate from
     renamed XML file.
     * features/i386/amd64-avx-mpx-avx512-linux.xml: Rename to
     amd64-avx-mpx-avx512-pku-linux.xml, add 64bit-pkeys.xml
     * features/i386/amd64-avx-mpx-avx512.c: Regenerate from
     renamed XML file.
     * features/i386/amd64-avx-mpx-avx512.xml: Rename to
     amd64-avx-mpx-avx512-pku.xml, add 64bit-pkeys.xml.
     * features/i386/i386-avx-mpx-avx512-linux.c: Regenerate from
     renamed XML file.
     * features/i386/i386-avx-mpx-avx512-linux.xml: Rename to
     i386-avx-mpx-avx512-pku-linux.xml, add 32bit-pkeys.xml.
     * features/i386/i386-avx-mpx-avx512.c: Regenerate from
     renamed XML file.
     * features/i386/i386-avx-mpx-avx512.xml: Rename to
     i386-avx-mpx-avx512-pku.xml, add 32bit-pkeys.xml.
     * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Change to use
     I386_PKEYS_NUM_REGS.
     * i386-linux-tdep.c (features/i386/i386-avx-mpx-avx512-linux.c): Rename
     include.
     (i386_linux_gregset_reg_offset): Add PKRU register.
     (i386_linux_core_read_description): Rename xstate mask and returned
     tdesc for X86_XSTATE_AVX_MPX_AVX512_PKU_MASK.
     (_initialize_i386_linux_tdep): Rename
     initialize_tdesc_i386_avx_mpx_avx512_linux.
     * i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Adjuste regnum
     calculation.
     (tdesc_i386_avx_mpx_avx512_linux): Rename prototype.
     (/* Format of XSAVE...): Add pkru register.
     * i386-tdep.c (i386-avx-mpx-avx512.c): Rename include.
     (i386_pkeys_names): New register name for raw register PKRU.
     (i386_pkru_regnum_p): Add function to look up register number of
     PKRU raw register.
     (i386_register_reggroup_p): Add code to exclude PKRU from general
     register group.
     (i386_validate_tdesc_p): Add code to handle PKRU feature, add PKRU
     registers if feature is present in xcr0.
     (i386_gdbarch_init): Adjust number of registers in architecture. Add code
     to initialize PKRU feature variables in tdep structure.
     (i386_target_description): Rename xstate mask and returned
     tdesc for X86_XSTATE_AVX_MPX_AVX512_PKU_MASK.
     (_initialize_i386_tdep): Rename initialize_tdesc_i386_avx_mpx_avx512.
     * i386-tdep.h (struct gdbarch_tdep): Add feature variables to tdep
     structure.
     (enum i386_regnum): Add PKRU register.
     (I386_PKEYS_NUM_REGS): New define for number of registers in PKRU feature.
     (i386_pkru_regnum_p): New prototype.
     * i387-tdep.c (xsave_pkeys_offset): New table for PKRU offsets in
     XSAVE buffer.
     (XSAVE_PKEYS_ADDR): New macro.
     (i387_supply_xsave): Add code to handle PKRU register.
     (i387_collect_xsave): Likewise.
     * i387-tdep.h (I387_NUM_PKEYS_REGS): New define for number of registers
     in PKRU feature.
     (I387_PKRU_REGNUM): New macro.
     (I387_PKEYSEND_REGNUM): Likewise.
     * regformats/i386/amd64_avx_mpx_avx512_pku_linux.dat: Regenerate from
     renamed XML file.
     * regformats/i386/amd64_avx_mpx_avx512_pku.dat: Likewise.
     * regformats/i386/i386/amd64-avx-mpx-avx512-pku.dat: Likewise.
     * regformats/i386/i386_avx_mpx_avx512_pku_linux.dat: Likewise.

testsuite/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * gdb.arch/i386-pkru.c: New file.
     * gdb.arch/i386-pkru.exp: Likewise.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in (clean): Rename i386-avx-mpx-avx512.c,
     i386-avx-mpx-avx512-linux.c, amd64-avx-mpx-avx512.c,
     amd64-avx-mpx-avx512-linux.c.
     (i386-avx-mpx-avx512-linux-ipa.o:): Rename rule and source file.
     (amd64-avx-mpx-avx512-linux-ipa.o:): Likewise.
     (i386-avx-mpx-avx512.c :): Rename rule, source files and dat files.
     (i386-avx-mpx-avx512-linux.c :): Likewise.
     (amd64-avx-mpx-avx512.c :): Likewise.
     (amd64-avx-mpx-avx512-linux.c :): Likewise.
     * configure.srv (srv_i386_regobj): Rename i386-avx-mpx-avx512.o.
     (srv_i386_linux_regobj): Rename i386-avx-mpx-avx512-linux.o.
     (srv_amd64_regobj): Rename amd64-avx-mpx-avx512.o.
     (srv_amd64_linux_regobj): Rename amd64-avx-mpx-avx512-linux.o.
     (ipa_i386_linux_regobj): Rename i386-avx-mpx-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Rename amd64-avx-mpx-avx512-pku-linux-ipa.o.
     (srv_i386_32bit_xmlfiles): Add 32bit-pkeys.xml.
     (srv_i386_64bit_xmlfiles): Add 64bit-pkeys.xml.
     (srv_i386_xmlfiles): Rename i386/i386-avx-mpx-avx512.xml.
     (srv_amd64_xmlfiles): Rename i386/amd64-avx-mpx-avx512.xml.
     (srv_i386_linux_xmlfiles): Rename i386/i386-avx-mpx-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Rename di386/amd64-avx-mpx-avx512-linux.xml.
     * i387-fp.c (num_pkeys_registers): New variable.
     (struct i387_xsave): Add space for pkru values.
     (i387_cache_to_fsave): Add code to handle PKRU register.
     (i387_xsave_to_cache): Likewise.
     * linux-amd64-ipa.c (get_ipa_tdesc): Rename
     tdesc_amd64_avx_mpx_avx512_linux.
     (initialize_low_tracepoint): Rename
     init_registers_amd64_avx_mpx_avx512_linux.
     * linux-i386-ipa.c (get_ipa_desc): Rename
     tdesc_i386_avx_mpx_avx512_linux.
     (initialize_low_tracepoint): Rename
     init_registers_i386_avx_mpx_avx512_linux.
     * linux-x86-low.c (x86_64_regmap[]): Add PKRU register.
     (x86_linux_read_description): Rename X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512_linux, rename
     tdesc_i386_avx_mpx_avx512_linux.
     (x86_get_ipa_tdesc_idx): Rename tdesc_amd64_avx_mpx_avx512_linux,
     rename tdesc_i386_avx_mpx_avx512_linux.
     (initialize_low_arch): Rename init_registers_amd64_avx_mpx_avx512_linux,
     rename init_registers_i386_avx_mpx_avx512_linux.
     * linux-x86-tdesc.h (init_registers_amd64_avx_mpx_avx512_linux): Renamed
     prototype.
     (tdesc_amd64_avx_mpx_avx512_linux): Likewise.
     (init_registers_i386_avx_mpx_avx512_linux): Likewise.
     (tdesc_i386_avx_mpx_avx512_linux): Likewise.

doc/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * gdb.texinfo (i386 Features): Add description of PKRU register.

Change-Id: If75ce5aba7dfd33fdbe3d8b47f04ef3f550c52be
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change xstate_bv handling to use 8 bytes of data.
@ 2017-02-17 11:06 sergiodj+buildbot
  2017-02-20 14:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff6527bb52e2938b53687a42d1bcda09300e9390 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: ff6527bb52e2938b53687a42d1bcda09300e9390

Change xstate_bv handling to use 8 bytes of data.

The size of the state-component bitmap as specified in
Intel(R) 64 and IA-32 Architectures Software Developer's Manual,
Chapter 13.4.2 is 8 bytes.
So far, the data types used for xstate_bv_p (gdb_byte*),
clear_bv (unsigned int) and tdep->xcr0 (uint64_t) were
inconsistent. But, since the xstate components were still
fitting into a single byte, the code still worked
as expected.
However, with the addition of the PKU feature (bit 9),
using one byte for the bitmap will no longer be sufficient.

This patch changes related code to use 64 bit data types
consistently and changes read/write acces of the XSAVE
header in the xsave buffer to use the endianess-aware
functions extract_unsigned_integer and store_unsigned_integer.
This is required to make sure that eventual differences
in endianess between host and target are taken care off.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * i387-tdep.c (i387_supply_xsave): Change type
     of clear_bv to ULONGEST. Replace gdb_byte *xstate_bv_p
     with ULONGEST xstate_bv and use extract_unsigned_integer
     and store_unsigned_integer to read/write its value from
     the xsave buffer.
     (i387_collect_xsave): Replace gdb_byte *xstate_bv_p
     with ULONGEST initial_xstate_bv and use
     extract_unsigned_integer/store_unsigned_integer to
     read/write its value from the xsave buffer.
     Change type of clear_bv to ULONGEST.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * i387-fp.c (i387_cache_to_xsave): Change type of clear_bv to
     unsigned long long.
     (i387_fxsave_to_cache): Likewise.

Change-Id: I0de254158960b4f7bcbc9fe2fb857034fa1f7ca5
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch.
@ 2017-02-17 10:39 sergiodj+buildbot
  2017-02-20 10:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f85ef5042f0e021fb56b1364dddd92177073bf4 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 1f85ef5042f0e021fb56b1364dddd92177073bf4

Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch.

Pedro suggested a separate patch synching with GCCs cpuid.h
instead of just adding new bits for PKU feature.

 gdb/Changelog:
     2016-11-14  Michael Sturm  <michael.sturm@intel.com>

          * nat/x86-gcc-cpuid.h: Replace with copy of cpuid.h
            from gcc-6 branch.

Change-Id: I16f8f7f2d0aa7c2e815701d15ed831a6c6b33d21
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Rename Chunk and S3Forced
@ 2017-02-17  5:50 sergiodj+buildbot
  2017-02-20  6:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  5:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bc26c69597fea658dc9ce020b27e8d2ecdbe1a3 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4bc26c69597fea658dc9ce020b27e8d2ecdbe1a3

bfd: Rename Chunk and S3Forced

The direct references in objcopy kind of look like a hack to me, so
I'm calling these symbols internal too.  Certainly they aren't named
and documented as a public BFD symbol today anyway.

So ... give these bfd-internal symbols with external linkage a _bfd_
prefix to avoid collisions in the global symbol namespace.

While at it, give them names that more closely match the corresponding
option name that toggles them.

Also while at it, fix a few related comment typos.

gdb/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* srec.c (Chunk): Rename to ...
	(_bfd_srec_len): ... this.
	(S3Forced): Rename to ...
	(_bfd_srec_forceS3): ... this.
	* objcopy.c: Adjust all references.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Rename bsd_write_armap and coff_write_armap
@ 2017-02-17  4:25 sergiodj+buildbot
  2017-02-20  2:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  4:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ec22e0f1e08e96718ac27ea57a1dca0707a8b02 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7ec22e0f1e08e96718ac27ea57a1dca0707a8b02

bfd: Rename bsd_write_armap and coff_write_armap

Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* archive.c (bsd_write_armap): Rename to ...
	(_bfd_bsd_write_armap): ... this.
	(coff_write_armap): Rename to ...
	(_bfd_coff_write_armap): ... this.
	* libbfd-in.h (bsd_write_armap): Rename to ...
	(_bfd_bsd_write_armap): ... this.
	(coff_write_armap): Rename to ...
	(_bfd_coff_write_armap): ... this.
	* aout-target.h, aout-tic30.c: Adjust all users.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Rename warn_deprecated
@ 2017-02-17  3:05 sergiodj+buildbot
  2017-02-19 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  3:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c8402ccf1e69a4b8971994deb19f9d88e665925 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8c8402ccf1e69a4b8971994deb19f9d88e665925

bfd: Rename warn_deprecated

Give this bfd-internal symbol with external linkage a _bfd_ prefix to
avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* bfd-in.h (bfd_read, bfd_write): Adjust to rename.
	(warn_deprecated): Rename to ...
	(_bfd_warn_deprecated): ... this.
	* libbfd.c (warn_deprecated): Rename to ...
	(_bfd_warn_deprecated): ... this.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen}
@ 2017-02-17  1:56 sergiodj+buildbot
  2017-02-19 18:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  1:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c7c3d11bead272b718bade379e3441ff239bbd16 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c7c3d11bead272b718bade379e3441ff239bbd16

bfd: Rename real_{ftell, fseek, fopen}

Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* bfdio.c (real_ftell): Rename to ...
	(_bfd_real_ftell): ... this.
	(real_fseek): Rename to ...
	(_bfd_real_fseek): ... this.
	(real_fopen): Rename to ...
	(_bfd_real_fopen): ... this.
	* libbfd-in.h (real_ftell): Rename to ...
	(_bfd_real_ftell): ... this.
	(real_fseek): Rename to ...
	(_bfd_real_fseek): ... this.
	(real_fopen): Rename to ...
	(_bfd_real_fopen): ... this.
	* cache.c, dwarf2.c, opncls.c: Adjust all callers.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Improve lookup of file / line information for errors
@ 2017-02-16 16:18 sergiodj+buildbot
  2017-02-19 14:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 16:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3239a4231ff79bf8b67b8faaf414b1667486167c ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 3239a4231ff79bf8b67b8faaf414b1667486167c

bfd: Improve lookup of file / line information for errors

When looking up file and line information (used from the linker to
report error messages) if no symbol is passed in, then use the symbol
list to look for a matching symbol.

If a matching symbol is found then use this to look up the file / line
information.

This should improve errors when looking up file / line information for
data sections.  Hopefully we should find a matching data symbol, which
should, in turn (we hope) match a DW_TAG_variable in the DWARF, this
should allow us to give accurate file / line errors for data symbols.

As the hope is to find a matching DW_TAG_variable in the DWARF then we
ignore section symbols, and prefer global symbols to locals.

bfd/ChangeLog:

	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Perform symbol lookup
	before trying to fine matching file and line information.

ld/ChangeLog:

	* testsuite/ld-elf/shared.exp: Update expected results.
	* testsuite/ld-elf/dwarf2.err: Likewise


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd/dwarf: Improve use of previously loaded dwarf information
@ 2017-02-16 15:13 sergiodj+buildbot
  2017-02-19 11:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 15:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90ed9b8bc136c80116273d1aae5a31fbd415af27 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 90ed9b8bc136c80116273d1aae5a31fbd415af27

bfd/dwarf: Improve use of previously loaded dwarf information

When parsing DWARF data in order to report file/line type error messages
we perform section placement to make section addresses unique within
relocatable object files.

Currently, if we reuse previously loaded (and cached) dwarf data then we
neglect to perform section placement, the result is that the section
addresses will not be unique, and we might, incorrectly associate an
address with the wrong debug information, and so report an incorrect
file and line number.

Further we neglect to check that that bfd for which we are looking up
debug information is actually the bfd for which the previous debug
information was loaded, it is possible that we will reuse previously
loaded debug information for a different bfd.

And finally, due to following of gnu_debuglink links in one bfd to
another, the process of checking that the cached debug information is
valid requires us to track the original bfd in the cached debug
information.  The original debug information here is either the bfd that
we're interested in, not the bfd we finally load the debug information
from.

bfd/ChangeLog:

	* dwarf2.c (struct dwarf2_debug): Add orig_bfd member.
	(_bfd_dwarf2_slurp_debug_info): If stashed debug information does
	not match current bfd, then reload debug information.  Record bfd
	we're loading debug info for in the stash.  If we have debug
	informatin in the cache then perform section placement before
	returning.

ld/ChangeLog:

	* testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
	* testsuite/ld-elf/dwarf2.err: New file.
	* testsuite/ld-elf/dwarf2a.c: New file.
	* testsuite/ld-elf/dwarf2b.c: New file.
	* testsuite/ld-elf/dwarf3.c: New file.
	* testsuite/ld-elf/dwarf3.err: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR21132, hppa-linux pie support doesn't work
@ 2017-02-16 13:04 sergiodj+buildbot
  2017-02-19  3:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 13:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 247d6c4c14769b7576d810a381a68e35388ee874 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 247d6c4c14769b7576d810a381a68e35388ee874

PR21132, hppa-linux pie support doesn't work

This fixes a long-standing hppa bug seen when generating PIEs, and I
think possible to trigger with forced local symbols in shared
libraries.  Not allocating enough space for PLT relocs results in ld
writing outside of the buffer.

	PR 21132
	* elf32-hppa.c (allocate_plt_static): Allocate space for relocs
	if pic.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED
@ 2017-02-16 10:47 sergiodj+buildbot
  2017-02-18 23:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 10:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905712060597d0c7a13ffccbca40330c7ad3e3a8 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 905712060597d0c7a13ffccbca40330c7ad3e3a8

[Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED

bfd/
	* bfd.c (BFD_FLAGS_SAVED): Add BFD_LINKER_CREATED.
	* bfd-in2.h: Regenerated.

Bug exposed by https://sourceware.org/ml/binutils/2017-02/msg00128.html


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/21164: maint print {symbols, msymbols, psymbols} without args crash
@ 2017-02-16  1:11 sergiodj+buildbot
  2017-02-18 20:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-16  1:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99e8a4f9f8832da0f37c6f35b11629b01897800d ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 99e8a4f9f8832da0f37c6f35b11629b01897800d

PR gdb/21164: maint print {symbols,msymbols,psymbols} without args crash

This is a fix for PR gdb/21164.  The problem started to happen after:

 commit 34c41c681f4a0a0dfe0405c7d2aecf458520557a
 Author:     Doug Evans <xdje42@gmail.com>
 AuthorDate: Mon Dec 19 08:33:46 2016 -0800

    New syntax for mt print symbols,msymbols,psymbols.

This change introduced new syntax for the mentioned commands, and
improved the parsing of arguments by using 'gdb_buildargv'.  However,
it is necessary to check if the argv being built is not NULL, which
can happen if the user doesn't provide any arguments to these
commands.

gdb/ChangeLog:
2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21164
	* psymtab.c (maintenance_print_psymbols): Verify if 'argv' is not
	NULL before using it.
	* symmisc.c (maintenance_print_symbols): Likewise.
	(maintenance_print_msymbols): Likewise.

gdb/testsuite/ChangeLog:

gdb/ChangeLog:
2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21164
	* gdb.base/maint.exp: Add testcases for when the commands do
	not have arguments.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386: Allow "lea foo@GOT, %reg" in PIC
@ 2017-02-15 21:34 sergiodj+buildbot
  2017-02-18 15:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2a5684011edabf5804abb9e11253a9747587b284 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 2a5684011edabf5804abb9e11253a9747587b284

i386: Allow "lea foo@GOT, %reg" in PIC

"lea foo@GOT, %reg" is OK in PIC since it only loads the GOT offset
into register, which can be used later with a GOT base register to
get the value in the GOT entry.

bfd/

	PR ld/21168
	* elf32-i386.c (elf_i386_relocate_section): Allow
	"lea foo@GOT, %reg" in PIC.

ld/

	PR ld/21168
	* testsuite/ld-i386/i386.exp: Run pr21168.
	* testsuite/ld-i386/pr21168a.c: New file.
	* testsuite/ld-i386/pr21168b.S: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error
@ 2017-02-15 20:09 sergiodj+buildbot
  2017-02-18 11:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 20:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5def14f1ca70e14d9433cb229c9369fa3051598 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a5def14f1ca70e14d9433cb229c9369fa3051598

Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error

bfd/

	PR ld/20244
	* elf32-i386.c (elf_i386_relocate_section): Properly get IFUNC
	symbol name when reporting R_386_GOT32/R_386_GOT32X relocation
	error against local IFUNC symbol without a base register for
	PIC.

ld/

	PR ld/20244
	* testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
	pr20244-4c.
	* testsuite/ld-i386/pr20244-4.s: New file.
	* testsuite/ld-i386/pr20244-4a.d: Likewise.
	* testsuite/ld-i386/pr20244-4b.d: Likewise.
	* testsuite/ld-i386/pr20244-4c.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add SFENCE.VMA instruction
@ 2017-02-15 18:56 sergiodj+buildbot
  2017-02-18  7:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f98d33be3af3a8d788aaef37e8fef167b59c81b2 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: f98d33be3af3a8d788aaef37e8fef167b59c81b2

Add SFENCE.VMA instruction

include/ChangeLog:

2017-02-14  Andrew Waterman  <andrew@sifive.com>

        * opcode/riscv-opc.h (MATCH_SFENCE_VMA): New define.
        (MASK_SFENCE_VMA): Likewise.
        (sfence_vma): Declare instruction.

opcodes/ChangeLog:

2017-02-14  Andrew Waterman  <andrew@sifive.com>

        * riscv-opc.c (riscv_opcodes): Add sfence.vma instruction and
        pseudoinstructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add SVE system registers
@ 2017-02-15 17:26 sergiodj+buildbot
  2017-02-18  3:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 773fb663445646ebe45298e255d263f9520b2e2e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 773fb663445646ebe45298e255d263f9520b2e2e

[AArch64] Add SVE system registers

This patch adds the SVE-specific system registers.

opcodes/
	* aarch64-opc.c (aarch64_sys_regs): Add SVE registers.
	(aarch64_sys_reg_supported_p): Handle them.

gas/
	* testsuite/gas/aarch64/sve-sysreg.s,
	testsuite/gas/aarch64/sve-sysreg.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages
@ 2017-02-15 14:09 sergiodj+buildbot
  2017-02-17 23:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 14:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 174d0a74a2e631d7303fe00b517bcee75003a4a6 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 174d0a74a2e631d7303fe00b517bcee75003a4a6

PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages

Remove an inconsistency in BFD linker error messages across the PowerPC
backends, where in the presence of line information the `%P: %H:' format
sequence makes the first error message produced for any given function
different from subsequent ones.

Taking the `ld/testsuite/ld-powerpc/tocopt7.s' test case source as an
example and the `powerpc-linux' target we have:

$ as -gdwarf2 -o tocopt.o -a64 tocopt.s
$ ld -o tocopt -melf64ppc tocopt.o
ld: tocopt.o: In function `_start':
tocopt.s:35:(.text+0x14): toc optimization is not supported for 0x3fa00000 instruction.
ld: tocopt.s:49:(.text+0x34): toc optimization is not supported for 0x3fa00000 instruction.
$

where the first error message does not have the source file name
prefixed with the linker program executable's name, i.e. `ld:', whereas
the second error message does, as would any subsequent.

This is because with a multiple-line error message such as `%H' produces
`%P' only prints the program executable's name on the first line and not
any later ones.  Also the PowerPC backend is the only part of BFD which
uses `%P' along with one of the clever `%C', `%D', `%G', `%H' format
specifiers.  And last but not least this breaks a GNU Coding Standard's
requirement that error messages from compilers should look like this:

source-file-name:lineno: message

also quoted in `vfinfo' code handling these specifiers.

Convert `%P: %H:' to `%H:' in error messages across the PowerPC backends
then, yielding:

$ as -gdwarf2 -o tocopt.o -a64 tocopt.s
$ ld -o tocopt -melf64ppc tocopt.o
tocopt.o: In function `_start':
tocopt.s:35:(.text+0x14): toc optimization is not supported for 0x3fa00000 instruction.
tocopt.s:49:(.text+0x34): toc optimization is not supported for 0x3fa00000 instruction.
$

instead, making it consistent and matching the GNU Coding Standard's
requirement.

	bfd/
	* elf32-ppc.c (ppc_elf_check_relocs): Use `%H:' rather than
	`%P: %H:' with `info->callbacks->einfo'.
	(ppc_elf_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
	(ppc64_elf_edit_toc): Likewise.
	(ppc64_elf_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Fix assembler relaxation.
@ 2017-02-15 11:36 sergiodj+buildbot
  2017-02-17 15:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 11:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc07cda69e26ef28895086e1f214ddd1d3cb939d ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: cc07cda69e26ef28895086e1f214ddd1d3cb939d

[ARC] Fix assembler relaxation.

Fix assembler relaxation step for add, ld, mov, mpy and sub
instructions. Add tests to it.

gas/
2017-02-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (md_convert_frag): Remove @pcl relocation
	information from input expression.
	(assemble_insn): Make sure pcrel is correctly set.
	(arc_pcrel_adjust): Compensate for PCL rounding.
	* testsuite/gas/arc/relax-add01.d: New file.
	* testsuite/gas/arc/relax-add01.s: Likewise.
	* testsuite/gas/arc/relax-add02.d: Likewise.
	* testsuite/gas/arc/relax-add02.s: Likewise.
	* testsuite/gas/arc/relax-add03.d: Likewise.
	* testsuite/gas/arc/relax-add03.s: Likewise.
	* testsuite/gas/arc/relax-add04.d: Likewise.
	* testsuite/gas/arc/relax-add04.s: Likewise.
	* testsuite/gas/arc/relax-ld01.d: Likewise.
	* testsuite/gas/arc/relax-ld01.s: Likewise.
	* testsuite/gas/arc/relax-ld02.d: Likewise.
	* testsuite/gas/arc/relax-ld02.s: Likewise.
	* testsuite/gas/arc/relax-mov01.d: Likewise.
	* testsuite/gas/arc/relax-mov01.s: Likewise.
	* testsuite/gas/arc/relax-mov02.d: Likewise.
	* testsuite/gas/arc/relax-mov02.s: Likewise.
	* testsuite/gas/arc/relax-mpy01.d: Likewise.
	* testsuite/gas/arc/relax-mpy01.s: Likewise.
	* testsuite/gas/arc/relax-sub01.d: Likewise.
	* testsuite/gas/arc/relax-sub01.s: Likewise.
	* testsuite/gas/arc/relax-sub02.d: Likewise.
	* testsuite/gas/arc/relax-sub02.s: Likewise.
	* testsuite/gas/arc/relax-sub03.d: Likewise.
	* testsuite/gas/arc/relax-sub03.s: Likewise.
	* testsuite/gas/arc/relax-sub04.d: Likewise.
	* testsuite/gas/arc/relax-sub04.s: Likewise.

opcodes/
2017-02-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (UIMM6_20R): Define.
	(SIMM12_20): Use above.
	(SIMM12_20R): Define.
	(SIMM3_5_S): Use above.
	(UIMM7_A32_11R_S): Define.
	(UIMM7_9_S): Use above.
	(UIMM3_13R_S): Define.
	(SIMM11_A32_7_S): Use above.
	(SIMM9_8R): Define.
	(UIMM10_A32_8_S): Use above.
	(UIMM8_8R_S): Define.
	(W6): Use above.
	(arc_relax_opcodes): Use all above defines.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Distinguish some of the registers different on ARC700 and HS38 cpus
@ 2017-02-15  9:17 sergiodj+buildbot
  2017-02-17 11:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  9:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66a5a74065ac79b90618b02f4c550904b50a59f5 ***

Author: Vineet Gupta <vgupta@synopsys.com>
Branch: master
Commit: 66a5a74065ac79b90618b02f4c550904b50a59f5

Distinguish some of the registers different on ARC700 and HS38 cpus

opcodes	* arc-regs.h: Distinguish some of the registers different on
	ARC700 and HS38 cpus.

gas	* testsuite/gas/arc/st.d: Update for 0xe having a name now


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add self to aarch64 maintainers. Fix mla instruction.
@ 2017-02-15  3:18 sergiodj+buildbot
  2017-02-17  7:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  3:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 742e3a7781c7f29136ccc36673ef2c887ba2860d ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 742e3a7781c7f29136ccc36673ef2c887ba2860d

Add self to aarch64 maintainers.  Fix mla instruction.

	sim/
	* MAINTAINTERS (aarch64): Add myself.

	sim/aarch64/
	* simulator.c (do_vec_MLA): Rewrite switch body.

	sim/testsuite/sim/aarch64/
	* mla.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bit/bif instructions.
@ 2017-02-15  2:56 sergiodj+buildbot
  2017-02-17  4:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  2:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf25e9a0f1315829defcb6ef36d8fef9d370e822 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: bf25e9a0f1315829defcb6ef36d8fef9d370e822

Fix bit/bif instructions.

	sim/aarch64/
	* simulator.c (do_vec_bit): Change loop limits from 16 and 8 to 4 and
	2.  Move test_false if inside loop.  Fix logic for computing result
	stored to vd.

	sim/testsuite/sim/aarch64
	* bit.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add ldn/stn single support, fix ldnr support.
@ 2017-02-15  1:30 sergiodj+buildbot
  2017-02-17  0:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  1:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e8f42b5e36b2083e36855007442aff110291b6aa ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: e8f42b5e36b2083e36855007442aff110291b6aa

Add ldn/stn single support, fix ldnr support.

	sim/aarch64/
	* simulator.c: (LDn_STn_SINGLE_LANE_AND_SIZE): New.
	(do_vec_LDn_single, do_vec_STn_single): New.
	(do_vec_LDnR): Add and set new nregs var.  Replace switch on nregs with
	loop over nregs using new var n.  Add n times size to address in loop.
	Add n to vd in loop.
	(do_vec_load_store): Add comment for instruction bit 24.  New var
	single to hold instruction bit 24.  Add new code to use single.  Move
	ldnr support inside single if statements.  Fix ldnr register counts
	inside post if statement.  Change HALT_NYI calls to HALT_UNALLOC.

	sim/testsuite/sim/aarch64/
	* ldn_single.s: New.
	* ldnr.s: New.
	* stn_single.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR python/13598 - add before_prompt event
@ 2017-02-14 23:42 sergiodj+buildbot
  2017-02-16 19:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 23:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f77c7691fc5ff92eef90f39bb972f25c7422fb0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3f77c7691fc5ff92eef90f39bb972f25c7422fb0

PR python/13598 - add before_prompt event

This adds an event that is emitted just before GDB presents a prompt
to the user.  This provides Python code a way to react to whatever
changes might have been made by the previous command.  For example, in
my GUI I use this to track changes to the selected frame and reflect
them in the UI.

Built and regtested on x86-64 Fedora 23.

gdb/ChangeLog
2017-02-14  Tom Tromey  <tom@tromey.com>

	PR python/13598:
	* python/python.c (gdbpy_before_prompt_hook): Emit before_prompt
	event.
	* python/py-evts.c (gdbpy_initialize_py_events): Add
	before_prompt registry.
	* python/py-events.h (events_object) <before_prompt>: New field.

gdb/doc/ChangeLog
2017-02-14  Tom Tromey  <tom@tromey.com>

	PR python/13598:
	* python.texi (Events In Python): Document events.before_prompt.

gdb/testsuite/ChangeLog
2017-02-14  Tom Tromey  <tom@tromey.com>

	PR python/13598:
	* gdb.python/py-events.exp: Add before_prompt event tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Big-endian targets: Fix implptrpiece.exp
@ 2017-02-14 23:03 sergiodj+buildbot
  2017-02-16 15:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 23:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 075beec08ae857d918890c30d290863abb3f7f57 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 075beec08ae857d918890c30d290863abb3f7f57

Big-endian targets: Fix implptrpiece.exp

The test case implptrpiece.exp accesses the second byte of the short
integer number 1 and expects it to be zero.  This is valid for
little-endian targets, but fails on big-endian targets.

This is fixed by distinguishing the expected value by endianness.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC register expression checks
@ 2017-02-14 20:47 sergiodj+buildbot
  2017-02-16 12:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7e0de605cbacbbbb2531bb70506c0843aea13111 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7e0de605cbacbbbb2531bb70506c0843aea13111

PowerPC register expression checks

This stops powerpc gas blithely accepting such nonsense as
"addi %f4,%cr3,%r31".

	PR 21118
gas/
	* NEWS: Mention powerpc register checks.
	* config/tc-ppc.c (struct pd_reg): Make value a short.  Add flags.
	(pre_defined_registers): Delete fpscr and pmr entries.  Set
	register type in flags.
	(cr_names): Set type in flags.
	(reg_name_search): Return pointer to struct pd_reg rather than value.
	(register_name): Adjust to suit.  Set X_md from flags.
	(ppc_parse_name): Likewise.
	(ppc_optimize_expr): New function.
	(md_assemble): Verify expresion reg flags match operand.
	* config/tc-ppc.h (md_optimize_expr): Define.
	(ppc_optimize_expr): Declare.
include/
	* opcode/ppc.h (PPC_OPERAND_*): Reassign values, regs first.
	(PPC_OPERAND_SPR, PPC_OPERAND_GQR): Define.
opcodes/
	* ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries
	with PPC_OPERAND_SPR.  Flag PSQ and PSQM with PPC_OPERAND_GQR.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update ppc64_elf_gc_mark_dynamic_ref
@ 2017-02-14 19:24 sergiodj+buildbot
  2017-02-16  8:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 19:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e278ae05839ccffa234e0bfb4286b9f9a9dfbd28 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e278ae05839ccffa234e0bfb4286b9f9a9dfbd28

Update ppc64_elf_gc_mark_dynamic_ref

	* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
	--gc-keep-exported, and test versioned field of sym rather than
	looking for @ in name.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add documentation for new record Python bindings.
@ 2017-02-14 19:15 sergiodj+buildbot
  2017-02-16  4:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 19:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0faf9fc652903d6467fc2bc8609891be730bdb ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 0a0faf9fc652903d6467fc2bc8609891be730bdb

Add documentation for new record Python bindings.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* NEWS: Add record Python bindings entry.

gdb/doc/ChangeLog:

	* python.texi (Recordings In Python): New section.

Change-Id: Ibacb5930085bff36b0003fde30db9a8178cb280b


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] python: Add tests for record Python bindings
@ 2017-02-14 17:55 sergiodj+buildbot
  2017-02-16  0:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 714aa61c16ec17d75931ae2566acef61981b93ca ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 714aa61c16ec17d75931ae2566acef61981b93ca

python: Add tests for record Python bindings

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/testsuite/ChangeLog:

        * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
	gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.

Change-Id: Icd919b4e1d5642f5cbc097a6aede1416eba402e5


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] python: Implement btrace Python bindings for record history.
@ 2017-02-14 17:02 sergiodj+buildbot
  2017-02-15 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 17:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 75c0bdf484b7a949a53b04edd95edca5f4662184 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 75c0bdf484b7a949a53b04edd95edca5f4662184

python: Implement btrace Python bindings for record history.

This patch implements the gdb.Record Python object methods and fields for
record target btrace.  Also, implement a stub for record target full.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o,
	py-record-full.o.
	(SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c.
	* python/py-record-btrace.c, python/py-record-btrace.h,
	python/py-record-full.c, python/py-record-full.h: New file.
	* python/py-record.c: Add include for py-record-btrace.h and
	py-record-full.h.
	(recpy_method, recpy_format, recpy_goto, recpy_replay_position,
	recpy_instruction_history, recpy_function_call_history, recpy_begin,
	recpy_end): Use functions from py-record-btrace.c and py-record-full.c.
	* python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t):
	New definition.
	(gdbpy_initialize_btrace): New export.
	* python/python.c (_initialize_python): Add gdbpy_initialize_btrace.

Change-Id: I8bd893672ffc7e619cc1386767897249e125973a


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] python: Create Python bindings for record history.
@ 2017-02-14 15:41 sergiodj+buildbot
  2017-02-15 15:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 15:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4726b2d82c89fe6f8e769d1ae9f9e5e528f91156 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 4726b2d82c89fe6f8e769d1ae9f9e5e528f91156

python: Create Python bindings for record history.

This patch adds three new functions to the gdb module in Python:
	- start_recording
	- stop_recording
	- current_recording
start_recording and current_recording return an object of the new type
gdb.Record, which can be used to access the recorded data.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* Makefile.in (SUBDIR_PYTHON_OBS): Add python/py-record.o.
	(SUBDIR_PYTHON_SRCS): Add python/py-record.c.
	* python/py-record.c: New file.
	* python/python-internal.h (gdbpy_start_recording,
	gdbpy_current_recording, gdpy_stop_recording,
	gdbpy_initialize_record): New export.
	* python/python.c (_initialize_python): Add gdbpy_initialize_record.
	(python_GdbMethods): Add gdbpy_start_recording,
	gdbpy_current_recording and gdbpy_stop_recording.

Change-Id: I772aa9aa068621443f10a330b11dc7dc9a63face


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add method to query current recording method to target_ops.
@ 2017-02-14 14:37 sergiodj+buildbot
  2017-02-15 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b158a20f26f1d226088122e8c4fa5a23bb893a48 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: b158a20f26f1d226088122e8c4fa5a23bb893a48

Add method to query current recording method to target_ops.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* record-btrace.c (record_btrace_record_method): New function.
	(init_record_btrace_ops): Initialize to_record_method.
	* record-full.c (record_full_record_method): New function.
	(init_record_full_ops, init_record_full_core_ops): Add
	record_full_record_method.
	* record.h (enum record_method): New enum.
	* target-debug.h (target_debug_print_enum_record_method: New define.
	* target-delegates.c: Regenerate.
	* target.c (target_record_method): New function.
	* target.h: Include record.h.
	(struct target_ops) <to_record_method>: New field.
	(target_record_method): New export.

Change-Id: I05daa70e4e08a19901e848c731bb7d60cd87cc5a


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add record_start and record_stop functions.
@ 2017-02-14 13:41 sergiodj+buildbot
  2017-02-15  6:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 45b196c59065cd2c5b750b78a0329d42f6e924b1 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 45b196c59065cd2c5b750b78a0329d42f6e924b1

Add record_start and record_stop functions.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* record.h (record_start, record_stop): New export.
	* record.c (record_start, record_stop): New function.

Change-Id: If235d4bde8ec61dab6dbd23e087430e66d2e91a7


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: Use binary search to find instruction.
@ 2017-02-14 12:24 sergiodj+buildbot
  2017-02-15  2:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 12:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdd2bd920bd67e6a1e877baf52b9c138c00da13f ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: fdd2bd920bd67e6a1e877baf52b9c138c00da13f

btrace: Use binary search to find instruction.

Currently, btrace_find_insn_by_number will iterate over all function call
segments to find the one that contains the needed instruction.  This linear
search is too slow for the upcoming Python bindings that will use this
function to access instructions.  This patch introduces a vector in struct
btrace_thread_info that holds pointers to all recorded function segments and
allows to use binary search.

The proper solution is to turn the underlying tree into a vector of objects
and use indices for access.  This requires more work.  A patch set is
currently being worked on and will be published later.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:
	* btrace.c (btrace_fetch): Copy function call segments pointer
	into a vector.
	(btrace_clear): Clear the vector.
	(btrace_find_insn_by_number): Use binary search to find the correct
	function call segment.
	* btrace.h (brace_fun_p): New typedef.
	(struct btrace_thread_info) <functions>: New field.

Change-Id: I8a7f67e80bfe4ff62c4192f74a2153a70bf2a035


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: Export btrace_decode_error function.
@ 2017-02-14 10:44 sergiodj+buildbot
  2017-02-14 22:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 10:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 508352a9bf3f84f2d731397bb0d9382c84f27f25 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 508352a9bf3f84f2d731397bb0d9382c84f27f25

btrace: Export btrace_decode_error function.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* record-btrace.c (btrace_ui_out_decode_error): Move most of it ...
	* btrace.c (btrace_decode_error): ... here.  New function.
	* btrace.h (btrace_decode_error): New export.

Change-Id: I2b4b43a55dbfd9f526a540d2ad52a6708f31feba


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: Count gaps as one instruction explicitly.
@ 2017-02-14 10:42 sergiodj+buildbot
  2017-02-14 17:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 10:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 69090ceead6fa841669eea0c81b3e8e9695def5f ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 69090ceead6fa841669eea0c81b3e8e9695def5f

btrace: Count gaps as one instruction explicitly.

This gives all instructions, including gaps, a unique number.  Add a function
to retrieve the error code if a btrace instruction iterator points to an
invalid instruction.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* btrace.c (ftrace_call_num_insn, btrace_insn_get_error): New function.
	(ftrace_new_function, btrace_insn_number, btrace_insn_cmp,
	btrace_find_insn_by_number): Remove special case for gaps.
	* btrace.h (btrace_insn_get_error): New export.
	(btrace_insn_number, btrace_find_insn_by_number): Adjust comment.
	* record-btrace.c (btrace_insn_history): Print number for gaps.
	(record_btrace_info, record_btrace_goto): Handle gaps.

Change-Id: I8eb0e48a95f4278522fea74ea13526bfe6898ecc


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: preserve call stack on function switch
@ 2017-02-14  9:47 sergiodj+buildbot
  2017-02-14 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-14  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c2c7ac69d7318d61a5c0e4f5ddcee1c1597f4e0 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 4c2c7ac69d7318d61a5c0e4f5ddcee1c1597f4e0

btrace: preserve call stack on function switch

On 64-bit FC25, the _dl_runtime_resolve function uses a conditional branch to
'call' a particular variant optimized for that system:

    (gdb) disas _dl_runtime_resolve_avx_opt
    Dump of assembler code for function _dl_runtime_resolve_avx_opt:
       0x00007ffff7deeb60 <+0>: push   %rax
       0x00007ffff7deeb61 <+1>: push   %rcx
       0x00007ffff7deeb62 <+2>: push   %rdx
       0x00007ffff7deeb63 <+3>: mov    $0x1,%ecx
       0x00007ffff7deeb68 <+8>: xgetbv
       0x00007ffff7deeb6b <+11>: mov    %eax,%r11d
       0x00007ffff7deeb6e <+14>: pop    %rdx
       0x00007ffff7deeb6f <+15>: pop    %rcx
       0x00007ffff7deeb70 <+16>: pop    %rax
       0x00007ffff7deeb71 <+17>: and    $0x4,%r11d
       0x00007ffff7deeb75 <+21>: bnd je 0x7ffff7def4a0 <_dl_runtime_resolve_sse_vex>
    End of assembler dump.

When computing the function-level trace, btrace treats this as a switch from
_dl_runtime_resolve_avx_opt to _dl_runtime_resolve_sse_vex.  We know that we
switched functions but we can't really say in which caller/callee relationship
those two functions are.

In addition to preserving the indentaion level, also preserve the caller
information.  This is a heuristic since we don't really know.  But at least in
this case, this seems to be the right thing to do.

This fixes a fail in gdb.btrace/rn-dl-bind.exp on 64-bit FC25.

gdb/
	* btrace.c (ftrace_new_switch): Preserve up link and flags.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix invalid memory access in the BFD library's DWARF parser.
@ 2017-02-13 18:49 sergiodj+buildbot
  2017-02-14  5:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d11135f55294d75099ad03f81bacbe8ae93a6b28 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: d11135f55294d75099ad03f81bacbe8ae93a6b28

Fix invalid memory access in the BFD library's DWARF parser.

	PR binutils/21151
	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Check for an invalid
	unit length field.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Improve load command's help text
@ 2017-02-13 15:27 sergiodj+buildbot
  2017-02-14  0:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 15:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cf30ebf64d3c6da961094c615a94d2f1682a478 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 5cf30ebf64d3c6da961094c615a94d2f1682a478

Improve load command's help text

This fairly obvious patch adds usage text to the load command's help text.

Originally it did not have usage and mentioned things like FILE and OFFSET
without explaining how those should be passed in the command.

gdb/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* symfile (_initialize_symfile): Add usage text to the load command's
	help text.

gdb/doc/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.texinfo (Target Commands): Document the optional offset
	argument for the load command.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix gdb.linespec/explicit.exp
@ 2017-02-13 14:23 sergiodj+buildbot
  2017-02-13 20:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 14:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf5f525c8908b03f4892433baa707310b0b9959d ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bf5f525c8908b03f4892433baa707310b0b9959d

Fix gdb.linespec/explicit.exp

This patch addresses timeout failures i noticed while testing aarch64-elf.

FAIL: gdb.linespec/explicit.exp: complete unique function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-unique function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-existant function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete unique file name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-unique file name (timeout)

The timeouts were caused by an attempt to match a bell character (x07) that
doesn't show up on my particular test setup.

The bell character is output whenever one tries to complete a pattern and there
are multiple possible matches. When there is only one possible match, GDB will
complete the input pattern without outputting the bell character.

The reason for the discrepancy in this test's behavior is due to the use of
"main" for a unique name test.

On glibc-based systems, GDB may notice the "main_arena" symbol, which is
a data global part of glibc's malloc implementation. Therefore a bell character
will be output because we have a couple possible completion matches.

GDB should not be outputting such a data symbol as a possible match, but this
problem may/will be addressed in a future change and is besides the point of
this particular change.

On systems that are not based on glibc, GDB will not see any other possible
matches for completing "main", so there will be no bell characters.

The use of main is a bit fragile though, so the patch adds a new local function
with a name that has a greater chance of being unique and adjusts the test to
iuse it.

I've also added the regular expression switch (-re) to all the
gdb_test_multiple calls that were missing it. Hopefully this will reduce the
chances of someone wasting time trying to match a regular expression (a much
more common use case) when, in reality, the pattern is supposed to be matched
literally.

gdb/testsuite/ChangeLog

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.linespec/explicit.c (my_unique_function_name): New function.
	(main): Call my_unique_function_name.
	* gdb.linespec/explicit.exp: Use my_unique_function_name to test
	completion of patterns with a single match.
	Add missing -re switches to gdb_test_multiple calls.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make gdb.arch/i386-biarch-core.exp more robust
@ 2017-02-13 13:29 sergiodj+buildbot
  2017-02-13 16:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13a66184d0cb485907bfcad15aac0622fd86d25f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 13a66184d0cb485907bfcad15aac0622fd86d25f

Make gdb.arch/i386-biarch-core.exp more robust

This test attempts to load a x86 core file no matter what target
architectures the tested GDB supports. If GDB doesn't know how to handle
a i386 target, it is very likely the core file will not be recognized.

In this case we should still attempt to load a core file to make sure GDB
doesn't crash or throws an internal error.  But we should not proceed to
try to read memory unconditionally.

This patch makes the test check for proper i386 arch support in GDB and bails
out if i386 is not supported and the core file format is not recognized.

This addresses the spurious aarch64-elf failures i'm seeing for this test.

gdb/testsuite/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
	return if core file is not recognized.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations
@ 2017-02-13  6:43 sergiodj+buildbot
  2017-02-13 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-13  6:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13a590ca65f744c8fa55d6e0748cb12f443493f0 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 13a590ca65f744c8fa55d6e0748cb12f443493f0

sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix use after free in cgen instruction lookup
@ 2017-02-11  7:43 sergiodj+buildbot
  2017-02-12 22:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  7:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 54064fdb792313355c92d9880680fad825d71ebd ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 54064fdb792313355c92d9880680fad825d71ebd

Fix use after free in cgen instruction lookup

	* cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
	Use insn_bytes_value and insn_int_value directly instead.  Don't
	free allocated memory until function exit.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unused variable in rust-lang.c
@ 2017-02-11  5:11 sergiodj+buildbot
  2017-02-12 10:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  5:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0b145e37a29cd96e567293dc69c0fd4f8af243b9 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0b145e37a29cd96e567293dc69c0fd4f8af243b9

Remove unused variable in rust-lang.c

I found another unused "cleanup" local variable, this time in
rust-lang.c.  This patch removes it.  Committing as obvious.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_get_disr_info): Remove unused variable.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix Python test to use lowercase command
@ 2017-02-11  2:51 sergiodj+buildbot
  2017-02-12  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  2:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b964bee0f058b8e63c9206a8862b2fc1253f1bbd ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b964bee0f058b8e63c9206a8862b2fc1253f1bbd

Fix Python test to use lowercase command

While testing this series I saw some errors from the Python test
suite.  There were a couple of tests using "P" as a command; this
changes them to "p".

gdb/testsuite/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-xmethods.exp: Use "p" command, not "P".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unnecessary local variables
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-12  2:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  0:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d8365c48f797c7b947623eed8b1285d98323b68 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2d8365c48f797c7b947623eed8b1285d98323b68

Remove unnecessary local variables

I found an unused local variables in a couple of places in the Python
code; this removes them.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (valpy_richcompare_throw): Remove unnecessary
	"cleanup" local.
	* python/py-type.c (typy_legacy_template_argument): Remove
	unnecessary "cleanup" local.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some gotos from Python
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-11 21:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  0:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2bb8f231957e2beecfb689a896252b8d9fb67e23 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2bb8f231957e2beecfb689a896252b8d9fb67e23

Remove some gotos from Python

This patch slightly refactors a couple of spots in the Python code to
avoid some gotos.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (do_start_initialization): New function, from
	_initialize_python.
	(_initialize_python): Call do_start_initialization.
	* python/py-linetable.c (ltpy_iternext): Use explicit returns, not
	goto.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Do not send queries on secondary UIs
@ 2017-02-10 23:51 sergiodj+buildbot
  2017-02-12 18:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26a06916b684ceda25c2edb43141e1101bf337c6 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 26a06916b684ceda25c2edb43141e1101bf337c6

Do not send queries on secondary UIs

This is a follow-up to

  https://sourceware.org/ml/gdb-patches/2017-02/msg00261.html

This patch restricts queries to the main UI, which allows to avoid two
different problems.

The first one is that GDB is issuing queries on secondary MI channels
for which a TTY is allocated.  The second one is that GDB is not able to
handle queries on two (CLI) UIs simultaneously.  Restricting queries to
the main UI allows to bypass these two problems.

More details on how/why these two problems happen:

1. Queries on secondary MI UI

  The current criterion to decide if we should query the user is whether
  the input stream is a TTY.  The original way to start GDB in MI mode
  from a front-end was to create a subprocess with pipes to its
  stdin/stdout.  In this case, the input was considered non-interactive
  and queries were auto-answered.  Now that front-ends can create the MI
  channel as a separate UI connected to a dedicated TTY, GDB now
  considers this input stream as interactive and sends queries to it.
  By restricting queries to the main UI, we make sure we never query on
  the secondary MI UI.

2. Simultaneous queries

  As Pedro stated it, when you have two queries on two different CLI UIs
  at the same time, you end up with the following pseudo stack:

  #0 gdb_readline_wrapper
  #1 defaulted_query                 // for UI #2
  #2 handle_command
  #3 execute_command ("handle SIGTRAP" ....
  #4 stdin_event_handler             // input on UI #2
  #5 gdb_do_one_event
  #7 gdb_readline_wrapper
  #8 defaulted_query                 // for UI #1
  #9 handle_command
  #10 execute_command ("handle SIGINT" ....
  #11 stdin_event_handler            // input on UI #1
  #12 gdb_do_one_event
  #13 gdb_readline_wrapper

  trying to answer the query on UI #1 will therefore answer for UI #2.

  By restricting the queries to the main UI, we ensure that there will
  never be more than one pending query, since you can't have two queries
  on a UI at the same time.

I added a snippet to gdb.base/new-ui.exp to verify that we get a query
on the main UI, but that we don't on the secondary one (or, more
precisely, that it gets auto-answered).

gdb/ChangeLog:

	* utils.c (defaulted_query): Don't query on secondary UIs.

gdb/testsuite/ChangeLog:

	* gdb.base/new-ui.exp (do_test): Test queries behavior on main
	and extra UIs.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change one more spot to use gdbpy_ref
@ 2017-02-10 23:27 sergiodj+buildbot
  2017-02-11 17:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 23:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1bdfaf42ac152bb30e2b3ae3ab67b241835bba44 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1bdfaf42ac152bb30e2b3ae3ab67b241835bba44

Change one more spot to use gdbpy_ref

This patch changes one more spot in the Python layer to use gdbpy_ref.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (pretty_print_one_value): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref to simplify some logic
@ 2017-02-10 22:25 sergiodj+buildbot
  2017-02-11 14:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88b6faea9953505e9e8a7a77995c7db5dfb6ac19 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 88b6faea9953505e9e8a7a77995c7db5dfb6ac19

Use gdbpy_ref to simplify some logic

This uses the new gdbpy_ref template to simplify logic in various
parts of the Python layer; for example removing repeated error code or
removing gotos.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_destroyer): Use gdbpy_ref.
	* python/py-breakpoint.c (gdbpy_breakpoint_deleted): Use
	gdbpy_ref.
	* python/py-type.c (field_new): Use gdbpy_ref.
	* python/py-symtab.c (symtab_and_line_to_sal_object): Use
	gdbpy_ref.
	* python/py-progspace.c (pspy_new): Use gdbpy_ref.
	(py_free_pspace): Likewise.
	(pspace_to_pspace_object): Likewise.
	* python/py-objfile.c (objfpy_new): Use gdbpy_ref.
	(py_free_objfile): Likewise.
	(objfile_to_objfile_object): Likewise.
	* python/py-inferior.c (delete_thread_object): Use
	gdbpy_ref.
	(infpy_read_memory): Likewise.
	(py_free_inferior): Likewise.
	* python/py-evtregistry.c (create_eventregistry_object): Use
	gdbpy_ref.
	* python/py-event.c (create_event_object): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Turn gdbpy_ref into a template
@ 2017-02-10 21:03 sergiodj+buildbot
  2017-02-11  9:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 21:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7780f18678aeb553778633aeb50f41694f55bf27 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7780f18678aeb553778633aeb50f41694f55bf27

Turn gdbpy_ref into a template

This turns gdbpy_ref into a template class, so that it can be used to
wrap subclasses of PyObject.  The default argument remains PyObject;
and this necessitated renaming uses of "gdbpy_ref" to "gdbpy_ref<>".

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-ref.h (gdbpy_ref_policy): Now a template.
	(gdbpy_ref): Now a template; allow subclasses of PyObject to be
	used.
	* python/py-arch.c, python/py-bpevent.c, python/py-breakpoint.c,
	python/py-cmd.c, python/py-continueevent.c, python/py-event.c,
	python/py-exitedevent.c, python/py-finishbreakpoint.c,
	python/py-framefilter.c, python/py-function.c,
	python/py-inferior.c, python/py-infevents.c,
	python/py-linetable.c, python/py-newobjfileevent.c,
	python/py-param.c, python/py-prettyprint.c, python/py-ref.h,
	python/py-signalevent.c, python/py-stopevent.c,
	python/py-symbol.c, python/py-threadevent.c, python/py-type.c,
	python/py-unwind.c, python/py-utils.c, python/py-value.c,
	python/py-varobj.c, python/py-xmethods.c, python/python.c,
	varobj.c: Change gdbpy_ref to gdbpy_ref<>.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some ui_out-related cleanups from Python
@ 2017-02-10 20:08 sergiodj+buildbot
  2017-02-11  5:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d4b0bb186e204f77ed70bc719d16c6ca302094fd ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d4b0bb186e204f77ed70bc719d16c6ca302094fd

Remove some ui_out-related cleanups from Python

This patch introduces a bit of infrastructure -- namely, a minimal
std::optional analogue called gdb::optional, and an RAII template
class that works like make_cleanup_ui_out_tuple_begin_end or
make_cleanup_ui_out_list_begin_end -- and then uses these in the
Python code.  This removes a number of cleanups and generally
simplifies this code.

std::optional is only available in C++17.  Normally I would have had
this code check __cplusplus, but my gcc apparently isn't new enough to
find <optional>, even with -std=c++1z; so, because I could not test
it, the patch does not do this.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* ui-out.h (ui_out_emit_type): New class.
	(ui_out_emit_tuple, ui_out_emit_list): New typedefs.
	* python/py-framefilter.c (py_print_single_arg): Use gdb::optional
	and ui_out_emit_tuple.
	(enumerate_locals): Likewise.
	(py_mi_print_variables, py_print_locals, py_print_args): Use
	ui_out_emit_list.
	(py_print_frame): Use gdb::optional, ui_out_emit_tuple,
	ui_out_emit_list.
	* common/gdb_optional.h: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address
@ 2017-02-10 18:09 sergiodj+buildbot
  2017-02-11  0:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 18:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f67f945cf2f6361d4c4997c487b174e396d23cd9 ***

Author: Martin Galvan <martingalvan@sourceware.org>
Branch: master
Commit: f67f945cf2f6361d4c4997c487b174e396d23cd9

gdb/MAINTAINERS: Update my e-mail address

gdb/ChangeLog:

2017-02-10  Martin Galvan  <martingalvan@sourceware.org>

        * MAINTAINERS (Write After Approval): Update my e-mail address.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/21122: Fix documentation mistakes for breakpoint commands
@ 2017-02-10 16:54 sergiodj+buildbot
  2017-02-10 19:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 16:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 18da0c51da58527152e019924cc5105cd89765d6 ***

Author: Martin Galvan <omgalvan.86@gmail.com>
Branch: master
Commit: 18da0c51da58527152e019924cc5105cd89765d6

PR gdb/21122: Fix documentation mistakes for breakpoint commands

Currently, the breakpoint documentation refers to some commands taking breakpoint
"ranges" as arguments. We discussed this with Pedro and concluded that it would
be more accurate to speak in terms of breakpoint "lists", whose elements can optionally
be ranges. I also fixed a couple of minor mistakes in the docs.

gdb/ChangeLog:

	* breakpoint.c (_initialize_breakpoint): Update the help description
	of the 'commands' command to indicate that it takes a list argument.

gdb/doc/ChangeLog:

	* gdb.texinfo (Breakpoints): Reword documentation to speak in terms of
	space-separated breakpoint lists.  Also add a missing @table command
	and @cindex for breakpoint lists.

gdb/testsuite/ChangeLog:

	* gdb.base/help.exp: Update match pattern for testing 'help commands'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] POWER9 add scv/rfscv instruction support
@ 2017-02-10  8:52 sergiodj+buildbot
  2017-02-10 12:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-10  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dce75bf9848c88583377c608e9734a2f8616d12b ***

Author: Nicholas Piggin <npiggin@gmail.com>
Branch: master
Commit: dce75bf9848c88583377c608e9734a2f8616d12b

POWER9 add scv/rfscv instruction support

opcodes/
	* ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.

gas/
	* testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove return in function returning void
@ 2017-02-09 22:32 sergiodj+buildbot
  2017-02-10  1:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-09 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 62c14536e4df4c84d3ab72e5516c0189c32eb62f ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 62c14536e4df4c84d3ab72e5516c0189c32eb62f

Remove return in function returning void

gdb/ChangeLog:

	* interps.c (current_interp_set_logging): Remove "return".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix NULL pointer dereference
@ 2017-02-09 15:56 sergiodj+buildbot
  2017-02-09 19:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-09 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893

Fix NULL pointer dereference

This commit fixes a segmentation fault on tab completion when
certain debuginfo is installed:

  https://bugzilla.redhat.com/show_bug.cgi?id=1398387

gdb/ChangeLog:

	* symtab.c (add_symtab_completions): Prevent NULL pointer
	dereference.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Eliminate interp::quiet_p
@ 2017-02-08 20:52 sergiodj+buildbot
  2017-02-09  5:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-08 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a474bd8eeea16b2b6aa7089dedb142d86c22a4d7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: a474bd8eeea16b2b6aa7089dedb142d86c22a4d7

Eliminate interp::quiet_p

This commit removes interp::quiet_p / interp_quiet_p /
interp_set_quiet, because AFAICS, it doesn't really do anything.

interp_quiet is only ever checked inside interp_set nowadays:

  if (!first_time && !interp_quiet_p (interp))
    {
      xsnprintf (buffer, sizeof (buffer),
		 "Switching to interpreter \"%.24s\".\n", interp->name);
      current_uiout->text (buffer);
    }

I did a bit of archaelogy, and found that back in 4a8f6654 (2003), it
was also called in another place, to decide whether to print the CLI
prompt.

AFAICS, that condition is always false today, making that if/then
block always dead code.  If we remove that code, then there are no
interp_quiet_p uses left in the tree, so we can remove it all.

There are two paths that lead to interp_set calls:

#1 - When installing the top level interpreter.  In this case,
FIRST_TIME is true.

#2 - In interpreter_exec_cmd.  In this case, the interpreter is always
set quiet before interp_set is called.

Grepping a gdb.log of an x86_64 GNU/Linux run for "Switching to
interpreter" (before this patch) doesn't find any hits.

I suspect the intention of this message was to support something like
a "set interpreter ..." command that would change the interpreter
permanently.  But there's no such command.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2017-02-08  Pedro Alves  <palves@redhat.com>

	* interps.c (interp::interp): Remove reference to quiet_p.
	(interp_set): Make static.  Remove dead "Switching to" output
	code.
	(interp_quiet_p, interp_set_quiet): Delete.
	(interpreter_exec_cmd): Don't set the interpreter quiet.
	* interps.h (interp_quiet_p): Make static.
	(class interp) <quiet_p>: Remove field


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Command abbreviation in define
@ 2017-02-08 19:25 sergiodj+buildbot
  2017-02-09  1:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-08 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 604c4576fdcfc4e7c28f569b3748a1b6b4e0dbd4 ***

Author: Jerome Guitton <guitton@adacore.com>
Branch: master
Commit: 604c4576fdcfc4e7c28f569b3748a1b6b4e0dbd4

Command abbreviation in define

When defining a new macro, "command" is not recognized as an alias for
"commands":

 (gdb) define breakmain
 Type commands for definition of "breakmain".
 End with a line saying just "end".
 >break main
 >command
 >echo "IN MAIN\n"
 >end
 (gdb)

There is a special case for while-stepping, where 'ws' and 'stepping' are
recognized explicitely. Instead of adding more special cases, this change
uses cli-decode.

gdb/ChangeLog:
	* cli/cli-decode.c (find_command_name_length): Make it extern.
	* cli/cli-decode.h (find_command_name_length): Declare.
	* cli/cli-script.c (command_name_equals, line_first_arg):
	New functions.
	(process_next_line): Use cli-decode to parse command names.
	(build_command_line): Make args a constant pointer.

gdb/testsuite/ChangeLog:

	* gdb.base/define.exp: Add test for command abbreviations
	in define.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix segfault when .plt section does not exist
@ 2017-02-08  2:16 sergiodj+buildbot
  2017-02-08  4:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-08  2:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc16242794b13a5f942badcfffb03be5d81f14f7 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: cc16242794b13a5f942badcfffb03be5d81f14f7

Fix segfault when .plt section does not exist

bfd/ChangeLog

2017-02-07  Andrew Waterman  <andrew@sifive.com>

	* elfnn-riscv.c (riscv_elf_finish_dynamic_sections): Only write PLT
	entry size if PLT header is written.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: fix ARI warning in sparc-tdep.c
@ 2017-02-07 21:40 sergiodj+buildbot
  2017-02-08  0:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-07 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1291063deab60b735429411b29eea9d7fd68d50e ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 1291063deab60b735429411b29eea9d7fd68d50e

gdb: fix ARI warning in sparc-tdep.c

gdb/ChangeLog:

2017-02-07  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator
	at the end of the line.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names.
@ 2017-02-07 14:25 sergiodj+buildbot
  2017-02-07 17:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-07 14:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d044c0c78c11968b4fe3c5c019523e3177b1710 ***

Author: Sheldon Lobo <sheldon.lobo@oracle.com>
Branch: master
Commit: 3d044c0c78c11968b4fe3c5c019523e3177b1710

bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names.

Fixes ld/testsuite/ld-elf/shared.exp "Build libpr16496b.so".

The root cause is in bfd/elf64-sparc.c, elf64_sparc_slurp_one_reloc_table(),
bfd_get_symcount() was used for dynamic mode as well. The fix is to use
bfd_get_dynamic_symcount().

This has been tested with sparc64-linux-gnu, and it does not introduce any
regressions.

bfd/ChangeLog:

2017-02-06  Sheldon Lobo  <sheldon.lobo@oracle.com>

	Fix sparc64 dynamic relocation processing to use the dynamic
        symbol count.
	* elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Use 'dynamic'
	to determine if bfd_get_symcount() or bfd_get_dynamic_symcount()
	should be used.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Provide an interface to decode ARC instructions.
@ 2017-02-06 10:53 sergiodj+buildbot
  2017-02-07  4:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-06 10:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec7c1ae19e9e1bf2edad5125941a2fd5fdfde0b ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 6ec7c1ae19e9e1bf2edad5125941a2fd5fdfde0b

[ARC] Provide an interface to decode ARC instructions.

gas/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (parse_opcode_flags): Ignore implicit flags.

include/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>
	    Anton Kolesov  <anton.kolesov@synopsys.com>

	* opcode/arc.h (insn_class_t): Add ENTER, LEAVE, POP, PUSH, BBIT0,
	BBIT1, BI, BIH, BRCC, EI, JLI, and SUB instruction classes.
	(flag_class_t): Add F_CLASS_WB, F_CLASS_ZZ, and F_CLASS_IMPLICIT
	flag classes.

opcode/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>
	    Anton Kolesov  <anton.kolesov@synopsys.com>

	* arc-dis.c (arc_disassemble_info): New structure.
	(init_arc_disasm_info): New function.
	(find_format_from_table): Ignore implicit flags.
	(find_format): Update dissassembler private data.
	(print_flags): Likewise.
	(print_insn_arc): Likewise.
	(arc_opcode_to_insn_type): Consider the new added instruction
	classes.
	(arcAnalyzeInstr): Remove.
	(arc_insn_decode): New function.
	* arc-dis.h (arc_ldst_writeback_mode): New enum.
	(arc_ldst_data_size): Likewise.
	(arc_condition_code): Likewise.
	(arc_operand_kind): Likewise.
	(arc_insn_kind): New struct.
	(arc_instruction): Likewise.
	(arc_insn_decode): Declare function.
	(ARC_Debugger_OperandType): Deleted.
	(Flow): Likewise.
	(NullifyMode): Likewise.
	(allOperandsSize): Likewise.
	(arcDisState): Likewise.
	(arcAnalyzeInstr): Likewise.
	* arc-dis.c (arc_opcode_to_insn_type): Handle newly introduced
	insn_class_t enums.
	* arc-opc.c (F_SIZED): New define.
	(C_CC_EQ, C_CC_GE, C_CC_GT, C_CC_HI, C_CC_HS): Likewise.
	(C_CC_LE, C_CC_LO, C_CC_LS, C_CC_LT, C_CC_NE): Likewise.
	(C_CC_NE, C_AA_AB, C_AA_AW, C_ZZ_D, C_ZZ_H, C_ZZ_B): Likewise.
	(arc_flag_classes): Add F_CLASS_COND/F_CLASS_IMPLICIT flags.
	* opcodes/arc-tbl.h: Update instructions to include new
	F_CLASS_IMPLICIT flags.
	(bbit0, lp): Change class.
	(bbit1, bi, bih, br*, ei_s, jli_s): Likewsie


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay
@ 2017-02-06  9:31 sergiodj+buildbot
  2017-02-07  0:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-06  9:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20b477a75c00de06a92b9577fd74416699d2c37f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 20b477a75c00de06a92b9577fd74416699d2c37f

[BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay

This patch addresses BZ 21005, which is gdb failing to recognize an rdrand
instruction.

It enables support for both rdrand and rdseed and handles extended register
addressing (R8~R15) for 16-bit, 32-bit and 64-bit.

gdb/ChangeLog
2017-02-06  Luis Machado  <lgustavo@codesourcery.com>

	* NEWS: Mention support for record/replay of Intel 64 rdrand and
	rdseed instructions.
	i386-tdep.c (i386_process_record): Handle Intel 64 rdrand and rseed.

gdb/testsuite/ChangeLog:
2017-02-06  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
	* gdb.reverse/insn-reverse-x86.c: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: provide and use sparc{32, 64} target description XML files.
@ 2017-02-06  8:01 sergiodj+buildbot
  2017-02-06 20:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-06  8:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f7b46f2daa6c396564d786bda9c81e66d4b9278 ***

Author: Ivo Raisr <ivo.raisr@oracle.com>
Branch: master
Commit: 3f7b46f2daa6c396564d786bda9c81e66d4b9278

gdb: provide and use sparc{32,64} target description XML files.

gdb/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	Provide and use sparc32 and sparc64 target description XML files.
	* features/sparc/sparc32-cp0.xml, features/sparc/sparc32-cpu.xml,
	features/sparc/sparc32-fpu.xml: New files for sparc 32-bit.
	* features/sparc/sparc64-cp0.xml, features/sparc/sparc64-cpu.xml,
	features/sparc/sparc64-fpu.xml: New files for sparc 64-bit.
	* features/sparc/sparc32-solaris.xml: New file.
	* features/sparc/sparc64-solaris.xml: New file.
	* features/sparc/sparc32-solaris.c: Generated.
	* features/sparc/sparc64-solaris.c: Generated.
	* sparc-tdep.h: Account for differences in target descriptions.
	* sparc-tdep.c (sparc32_register_name): Use target provided registers.
	(sparc32_register_type): Use target provided registers.
	(validate_tdesc_registers): New function.
	(sparc32_gdbarch_init): Use tdesc_has_registers.
	Set pseudoregister functions.
	* sparc64-tdep.c (sparc64_register_name): Use target provided registers.
	(sparc64_register_type): Use target provided registers.
	(sparc64_init_abi): Set pseudoregister functions.

gdb/doc/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	* gdb.texinfo: (Standard Target Features): Document SPARC features.
	(Sparc Features): New node.

gdb/testsuite/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	* gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix ptype of single-member Rust enums
@ 2017-02-04  6:28 sergiodj+buildbot
  2017-02-06  7:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-04  6:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0fd41c1926984fd1a524ff551286cba694539a0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f0fd41c1926984fd1a524ff551286cba694539a0

Fix ptype of single-member Rust enums

While looking into PR rust/21097, I found that ptype of a
single-element enum in Rust did not always format the result properly.
In particular, it would leave out the members of a tuple struct.
Further testing showed that it also did the wrong thing for ordinary
struct members as well.

This patch fixes these problems.  I'm marking it as being associated
with the PR, since that is where the discovery was made; but this
doesn't actually fix that PR (which I think ultimately is due to a
Rust compiler bug).

Built and regtested on x86-64 Fedora 25, using the system Rust
compiler.  I'm checking this in.

2017-02-03  Tom Tromey  <tom@tromey.com>

	PR rust/21097:
	* rust-lang.c (rust_print_type) <TYPE_CODE_UNION>: Handle enums
	with a single member.

2017-02-03  Tom Tromey  <tom@tromey.com>

	PR rust/21097:
	* gdb.rust/simple.exp: Add new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] C++-fy struct interp/cli_interp/tui_interp/mi_interp
@ 2017-02-03 16:50 sergiodj+buildbot
  2017-02-06  3:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d6f9b0fbc7998909712cbc1b194f1cbd4ae8b6fa ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d6f9b0fbc7998909712cbc1b194f1cbd4ae8b6fa

C++-fy struct interp/cli_interp/tui_interp/mi_interp

- The interp->data field disappears, since we can put data in the
  interpreter directly now.  The "init" method remains in place, but
  it now returns void.

- A few places check if the interpreter method is NULL before calling
  it, and also check whether the method returns true/false.  For some
  of those methods, all current implementations always return true.
  In those cases, this commit makes the C++-fied method return void
  instead and cleans up the callers.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2017-02-03  Pedro Alves  <palves@redhat.com>

	* cli/cli-interp.c (cli_interp_base::cli_interp_base)
	(cli_interp_base::~cli_interp_base): New.
	(cli_interp): New struct.
	(as_cli_interp): Cast the interp itself to cli_interp.
	(cli_interpreter_pre_command_loop): Rename to ...
	(cli_interp_base::pre_command_loop): ... this.  Remove 'self'
	parameter.
	(cli_interpreter_init): Rename to ...
	(cli_interp::init): ... this.  Remove 'self' parameter.  Use
	boolean.  Make extern.
	(cli_interpreter_resume): Rename to ...
	(cli_interp::resume): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_suspend): Rename to ...
	(cli_interp::suspend): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_exec): Rename to ...
	(cli_interp::exec): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_supports_command_editing): Rename to ...
	(cli_interp_base::supports_command_editing): ... this.  Remove
	'interp' parameter.  Make extern.
	(cli_ui_out): Rename to ...
	(cli_interp::interp_ui_out): ... this.  Remove 'interp' parameter.
	Make extern.
	(cli_set_logging): Rename to ...
	(cli_interp_base::set_logging): ... this.  Remove 'interp'
	parameter.  Make extern.
	(cli_interp_procs): Delete.
	(cli_interp_factory): Adjust to use "new".
	* cli/cli-interp.h: Include "interps.h".
	(struct cli_interp_base): New struct.
	* interps.c (struct interp): Delete.  Fields moved to interps.h.
	(interp_new): Delete.
	(interp::interp, interp::~interp): New.
	(interp_set): Use bool, and return void.  Assume the interpreter
	has suspend, init and resume methods, and that the all return
	void.
	(set_top_level_interpreter): interp_set returns void.
	(interp_ui_out): Adapt.
	(current_interp_set_logging): Adapt.
	(interp_data): Delete.
	(interp_pre_command_loop, interp_supports_command_editing): Adapt.
	(interp_exec): Adapt.
	(top_level_interpreter_data): Delete.
	* interps.h (interp_init_ftype, interp_resume_ftype)
	(interp_suspend_ftype, interp_exec_ftype)
	(interp_pre_command_loop_ftype, interp_ui_out_ftype): Delete.
	(class interp): New.
	(interp_new): Delete.
	(interp_set): Now returns void.  Use bool.
	(interp_data, top_level_interpreter_data): Delete.
	* mi/mi-common.h: Include interps.h.
	(class mi_interp): Inherit from interp.  Define a ctor.  Declare
	init, resume, suspect, exec, interp_ui_out, set_logging and
	pre_command_loop methods.
	* mi/mi-interp.c (as_mi_interp): Cast the interp itself.
	(mi_interpreter_init): Rename to ...
	(mi_interp::init): ... this.  Remove the 'interp' parameter, use
	bool, return void and make extern.  Adjust.
	(mi_interpreter_resume): ... Rename to ...
	(mi_interp::resume): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(mi_interpreter_suspend): ... Rename to ...
	(mi_interp::suspend): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(mi_interpreter_exec): ... Rename to ...
	(mi_interp::exec): ... this.  Remove the 'data' parameter and make
	extern.  Adjust.
	(mi_interpreter_pre_command_loop): ... Rename to ...
	(mi_interp::pre_command_loop): ... this.  Remove the 'self'
	parameter and make extern.
	(mi_on_normal_stop_1): Adjust.
	(mi_ui_out): Rename to ...
	(mi_interp::interp_ui_out): ... this.  Remove the 'interp'
	parameter and make extern.  Adjust.
	(mi_set_logging): Rename to ...
	(mi_interp::set_logging): ... this.  Remove the 'interp'
	parameter and make extern.  Adjust.
	(mi_interp_procs): Delete.
	(mi_interp_factory): Adjust to use 'new'.
	* mi/mi-main.c (mi_cmd_gdb_exit, captured_mi_execute_command)
	(mi_print_exception, mi_execute_command, mi_load_progress):
	Adjust.
	* tui/tui-interp.c (tui_interp): New class.
	(as_tui_interp): Return a tui_interp pointer.
	(tui_on_normal_stop, tui_on_signal_received)
	(tui_on_end_stepping_range, tui_on_signal_exited, tui_on_exited)
	(tui_on_no_history, tui_on_user_selected_context_changed): Adjust
	to use interp::interp_ui_out.
	(tui_init): Rename to ...
	(tui_interp::init): ... this.  Remove the 'self' parameter, use
	bool, return void and make extern.  Adjust.
	(tui_resume): Rename to ...
	(tui_interp::resume): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(tui_suspend): Rename to ...
	(tui_interp::suspend): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(tui_ui_out): Rename to ...
	(tui_interp::interp_ui_out): ... this.  Remove the 'self'
	parameter, and make extern.  Adjust.
	(tui_exec): Rename to ...
	(tui_interp::exec): ... this.  Remove the 'data' parameter and
	make extern.
	(tui_interp_procs): Delete.
	(tui_interp_factory): Use "new".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix compile time warning messages when compiling binutils with gcc 7.0.1.
@ 2017-02-03  9:19 sergiodj+buildbot
  2017-02-05 23:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6

Fix compile time warning messages when compiling binutils with gcc 7.0.1.

	PR 21096
bfd	* coffcode.h (coff_write_object_contents): Enlarge size of
	s_name_buf in order to avoid compile time warning about possible
	integer truncation.
	* elf32-nds32.c (nds32_elf_ex9_import_table): Mask off lower
	32-bits of insn value before printing into buffer.

opcodes	* aarch64-opc.c (print_register_list): Ensure that the register
	list index will fir into the tb buffer.
	(print_register_offset_address): Likewise.
	* tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in Rust code
@ 2017-02-03  6:34 sergiodj+buildbot
  2017-02-05 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  6:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03c85b11b07452f2d7341b405a7fe70c74226505 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 03c85b11b07452f2d7341b405a7fe70c74226505

Use std::string in Rust code

This changes a couple of spots in the Rust support to use std::string.
In one spot this removes some manual memory management; in the other
spot this allows the removal of a call to xstrdup.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-lang.h (rust_crate_for_block): Update.
	* rust-lang.c (rust_crate_for_block): Return std::string.
	(rust_get_disr_info): Use std:;string, not
	gdb::unique_xmalloc_ptr.
	* rust-exp.y (crate_name): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use bool in Rust code
@ 2017-02-03  5:37 sergiodj+buildbot
  2017-02-05 19:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  5:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65c40c956fcd9443a5390d6cc36f84bd1bf77df4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 65c40c956fcd9443a5390d6cc36f84bd1bf77df4

Use bool in Rust code

This changes various functions in the Rust code to use a bool rather
than an int when a boolean is intended.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-exp.y (ends_raw_string, space_then_number)
	(rust_identifier_start_p): Return bool.
	* rust-lang.c (rust_tuple_type_p, rust_underscore_fields)
	(rust_tuple_struct_type_p, rust_tuple_variant_type_p)
	(rust_slice_type_p, rust_range_type_p, rust_u8_type_p)
	(rust_chartype_p): Return bool.
	(val_print_struct, rust_print_struct_def, rust_print_type):
	Update.
	* rust-lang.h (rust_tuple_type_p, rust_tuple_struct_type_p):
	Return bool.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Reindent rust-lang.c
@ 2017-02-03  4:54 sergiodj+buildbot
  2017-02-05 15:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  4:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b50f188dfa065c9edfe82c874e2f8c179eb6d697 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b50f188dfa065c9edfe82c874e2f8c179eb6d697

Reindent rust-lang.c

I noticed a few spots in rust-lang.c had incorrect indentation.  This
patch fixes this.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-lang.c: Reindent.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] struct mi_interp: Remove unused fields
@ 2017-02-03  4:25 sergiodj+buildbot
  2017-02-05  2:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  4:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec4cb20ba971232450f3420d3c7c0c8bbecc1ace ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ec4cb20ba971232450f3420d3c7c0c8bbecc1ace

struct mi_interp: Remove unused fields

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* mi/mi-common.h (struct mi_interp): Delete the mi2_interp,
	mi1_interp and mi_interp fields.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices
@ 2017-02-03  2:37 sergiodj+buildbot
  2017-02-04 18:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  2:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55f8b9d243dbd879ffa585f7e0c7d8b6b819302d ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 55f8b9d243dbd879ffa585f7e0c7d8b6b819302d

MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices

Use the `bfd_size_type' data type for dynamic symbol table indices in
the MIPS backend, in line with generic code and removing the need to use
a cast.

	bfd/
	* elfxx-mips.c (mips_elf_hash_sort_data): Convert the
	`min_got_dynindx', `max_unref_got_dynindx' and
	`max_non_got_dynindx' members to the `bfd_size_type' data type.
	(mips_elf_sort_hash_table): Adjust accordingly.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix "maintenance selftest" printing stray instructions
@ 2017-02-03  0:38 sergiodj+buildbot
  2017-02-05  7:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  0:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1ace6bdc2063f3dcf46172db98bb3474b6e1121 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b1ace6bdc2063f3dcf46172db98bb3474b6e1121

Fix "maintenance selftest" printing stray instructions

The "maintenance selftest" command is printing odd bits of stray
instructions like:

~~~
brkwarning: A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB.  Attempting to continue with the default HS settings.


brkmov  r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov   r0, #0mov       r0, #0mov       r0, #0mov       r0, #0breakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakM3.L = 0xffff;/* ( -1) M3=0x0xffff(65535) */break 8break 8warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB.  Attempting to continue with the default cris:common_v10_v32 settings.
~~~

etc.  Those appear because here:

  class gdb_disassembler_test : public gdb_disassembler
  {
  public:

    const bool verbose = false;

    explicit gdb_disassembler_test (struct gdbarch *gdbarch,
				    const gdb_byte *insn,
				    size_t len)
      : gdb_disassembler (gdbarch,
			  (verbose ? gdb_stdout : &null_stream),
			  gdb_disassembler_test::read_memory),


specifically in this line:

			  (verbose ? gdb_stdout : &null_stream),

"verbose" has not been initialized yet, because the order of
initialization is base classes first, then members.  I.e. "verbose" is
only initialized after the base constructor is called.  Since the
gdb_disassembler_test object is created on the stack, "verbose" has
garbage at that point.  If the gargage is non-zero, then we end up
with the gdb_disassembler_test's stream incorrectly pointing to
gdb_stdout.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* disasm-selftests.c (print_one_insn_test): Move the "verbose"
	field out of gdb_disassembler_test and make it static.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement
@ 2017-02-03  0:13 sergiodj+buildbot
  2017-02-04 23:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  0:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e17b0c351f0b22fb42edf34e5a6e486d72e9ee05 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: e17b0c351f0b22fb42edf34e5a6e486d72e9ee05

MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement

Ensure all local symbols precede external symbols in the dynamic symbol
table.

No local symbols are expected to make it to the dynamic symbol table
except for section symbols already taken care of, so this is really a
safeguard only against a potential BFD bug otherwise not so harmful,
which may become a grave one due to a symbol table sorting requirement
violation (see PR ld/20828 for an example).  This means however that no
test suite coverage is possible for this change as code introduced here
is not normally expected to trigger.

Logically split then the part of the dynamic symbol table which is not
global offset table mapped, into a local area at the beginning and an
external area following.  By the time `mips_elf_sort_hash_table' is
called we have the number of local dynamic symbol table entries (section
and non-section) already counted in `local_dynsymcount', so use it to
offset the external area from the beginning.

	bfd/
	* elfxx-mips.c (mips_elf_hash_sort_data): Add
	`max_local_dynindx'.
	(mips_elf_sort_hash_table): Handle it.
	(mips_elf_sort_hash_table_f) <GGA_NONE>: For forced local
	symbols bump up `max_local_dynindx' rather than
	`max_non_got_dynindx'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'
@ 2017-02-02 23:37 sergiodj+buildbot
  2017-02-04 10:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17a80fa80adbe79df39ba1fc70e611dff92df197 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 17a80fa80adbe79df39ba1fc70e611dff92df197

MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'

Move the assertion on non-NULL `htab' in `mips_elf_sort_hash_table' to
the beginning, before the pointer is dereferenced (`mips_elf_hash_table
(info)' and `elf_hash_table (info)' both point to the same memory
location, differently typed).

	bfd/
	* elfxx-mips.c (mips_elf_sort_hash_table): Move assertion on
	non-NULL `htab' to the beginning.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] BFD: Wrap overlong error handler call line in `elf_gc_sweep'
@ 2017-02-02 23:22 sergiodj+buildbot
  2017-02-04  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 23:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f56d4fd28b887cc709524b1993c9da4c64b0696 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8f56d4fd28b887cc709524b1993c9da4c64b0696

BFD: Wrap overlong error handler call line in `elf_gc_sweep'

	bfd/
	* elflink.c (elf_gc_sweep): Wrap overlong line.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move "tee" building down to interpreter::set_logging_proc
@ 2017-02-02 22:23 sergiodj+buildbot
  2017-02-04  3:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 22:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 616268b639780e0819b51053c794037bcde3de16 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 616268b639780e0819b51053c794037bcde3de16

Move "tee" building down to interpreter::set_logging_proc

This patch gets rid of this hack in mi_set_logging:

      /* The tee created already is based on gdb_stdout, which for MI
	 is a console and so we end up in an infinite loop of console
	 writing to ui_file writing to console etc.  So discard the
	 existing tee (it hasn't been used yet, and MI won't ever use
	 it), and create one based on raw_stdout instead.  */

By pushing down responsibility for the tee creation to the
interpreter.  I.e., pushing the CLI bits out of handle_redirections
down to the CLI interpreter's set_logging_proc method.

This fixes a few leaks that I spotted, and then confirmed with
"valgrind --leak-check=full":

[...]
  ==21429== 56 (32 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 30,243 of 34,980
  ==21429==    at 0x4C29216: operator new(unsigned long) (vg_replace_malloc.c:334)
  ==21429==    by 0x62D9A9: mi_set_logging(interp*, int, ui_file*, ui_file*) (mi-interp.c:1395)
  ==21429==    by 0x810B8A: current_interp_set_logging(int, ui_file*, ui_file*) (interps.c:360)
  ==21429==    by 0x61C537: handle_redirections(int) (cli-logging.c:162)
  ==21429==    by 0x61C6EC: set_logging_on(char*, int) (cli-logging.c:190)
  ==21429==    by 0x6163BE: do_cfunc(cmd_list_element*, char*, int) (cli-decode.c:105)
  ==21429==    by 0x6193C1: cmd_func(cmd_list_element*, char*, int) (cli-decode.c:1913)
  ==21429==    by 0x8DB790: execute_command(char*, int) (top.c:674)
  ==21429==    by 0x632AE6: mi_execute_cli_command(char const*, int, char const*) (mi-main.c:2343)
  ==21429==    by 0x6329BA: mi_cmd_execute(mi_parse*) (mi-main.c:2306)
  ==21429==    by 0x631E19: captured_mi_execute_command(ui_out*, mi_parse*) (mi-main.c:1998)
  ==21429==    by 0x632389: mi_execute_command(char const*, int) (mi-main.c:2163)
  ==21429==
[...]
  ==26635== 24 bytes in 1 blocks are definitely lost in loss record 20,740 of 34,995
  ==26635==    at 0x4C29216: operator new(unsigned long) (vg_replace_malloc.c:334)
  ==26635==    by 0x61C355: handle_redirections(int) (cli-logging.c:131)
  ==26635==    by 0x61C6EC: set_logging_on(char*, int) (cli-logging.c:190)
  ==26635==    by 0x6163BE: do_cfunc(cmd_list_element*, char*, int) (cli-decode.c:105)
  ==26635==    by 0x6193C1: cmd_func(cmd_list_element*, char*, int) (cli-decode.c:1913)
  ==26635==    by 0x8DB7BC: execute_command(char*, int) (top.c:674)
  ==26635==    by 0x7B9132: command_handler(char*) (event-top.c:590)
  ==26635==    by 0x7B94F7: command_line_handler(char*) (event-top.c:780)
  ==26635==    by 0x7B8ABB: gdb_rl_callback_handler(char*) (event-top.c:213)
  ==26635==    by 0x933CE9: rl_callback_read_char (callback.c:220)
  ==26635==    by 0x7B89ED: gdb_rl_callback_read_char_wrapper_noexcept() (event-top.c:175)
  ==26635==    by 0x7B8A49: gdb_rl_callback_read_char_wrapper(void*) (event-top.c:192)

One is fixed by transfering ownership of the log file to the tee.  In
pseudo-patch, since the code was moved at the same time:

 -     out = new tee_file (curr_output, false, logfile.get (), false);
 +     out = new tee_file (curr_output, false, logfile.get (), true);

The other is this bit in mi_set_logging:

    else
      {
 +      delete mi->raw_stdout;

I tried to split the leak fixes to a smaller preparatory patch, but
that was difficult exactly because of the tee hack in
handle_redirections -> mi_set_logging.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* cli/cli-interp.c (struct saved_output_files, saved_output):
	Moved from cli/cli-logging.c.
	(cli_set_logging): New function.
	(cli_interp_procs): Install cli_set_logging.
	* cli/cli-interp.h (make_logging_output, cli_set_logging):
	Declare.
	* cli/cli-logging.c (struct saved_output_files, saved_output):
	Moved to cli/cli-interp.c.
	(pop_output_files): Don't save outputs here.
	(make_logging_output): New function.
	(handle_redirections): Don't build tee nor save previous outputs
	here.
	* interps.c (current_interp_set_logging): Change prototype.
	Assume there's always a set_logging_proc method installed.
	* interps.h (interp_set_logging_ftype): Change prototype.
	(current_interp_set_logging): Change prototype and adjust comment.
	* mi/mi-interp.c (mi_set_logging): Change protototype.  Adjust to
	use make_logging_output.
	* tui/tui-interp.c (tui_interp_procs): Install cli_set_logging.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix "-gdb-set logging redirect on" crash
@ 2017-02-02 14:53 sergiodj+buildbot
  2017-02-03 22:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 14:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5be5dbf0ce3d2eb20003fea3691eaa6bfa5710d2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5be5dbf0ce3d2eb20003fea3691eaa6bfa5710d2

Fix "-gdb-set logging redirect on" crash

This commit fixes a "-gdb-set logging redirect on" crash by not
handling "logging redirect on" on the fly.

Previous discussion here:
 https://sourceware.org/ml/gdb-patches/2017-01/msg00467.html

Code for handling "logging redirect on" on the fly was added here:
 https://sourceware.org/ml/gdb-patches/2010-08/msg00202.html

Meanwhile, MI gained support for logging, but flipping redirect "on"
on the fly was not considered.  The result is that this sequence of
commands crashes GDB:

 -gdb-set logging on
 -gdb-set logging redirect on

 Program received signal SIGSEGV, Segmentation fault.
 0x00000000008dd7bc in gdb_flush (file=0x2a097f0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/ui-file.c:95
 194       file->to_flush (file);
 (top-gdb) bt
 #0  0x00000000008dd7bc in gdb_flush(ui_file*) (file=0x2a097f0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/ui-file.c:95
 #1  0x00000000007b5f34 in gdb_wait_for_event(int) (block=0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:752
 #2  0x00000000007b52b6 in gdb_do_one_event() () at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:322
 #3  0x00000000007b5362 in start_event_loop() () at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:371
 #4  0x000000000082704a in captured_command_loop(void*) (data=0x0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:325
 #5  0x00000000007b8d7c in catch_errors(int (*)(void*), void*, char*, return_mask) (func=0x827008 <captured_command_loop(void*)>, func_args=0x0, errstring=0x11dee51 "", mask=RETURN_MASK_ALL) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/exceptions.c:236
 #6  0x000000000082839b in captured_main(void*) (data=0x7fffffffd820) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:1148
 During symbol reading, cannot get low and high bounds for subprogram DIE at 24065.
 #7  0x00000000008283c4 in gdb_main(captured_main_args*) (args=0x7fffffffd820) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:1158
 #8  0x0000000000412d4d in main(int, char**) (argc=4, argv=0x7fffffffd928) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/gdb.c:32

The handling of redirect on the fly is not really a use case we need
to handle, IMO.  Its inconsistent (other "set logging foo" commands
aren't handled on the fly), and complicates the code significantly.
Instead of complicating it further for MI, go back to the original
idea of warning, only:

  https://sourceware.org/ml/gdb-patches/2010-08/msg00083.html

New test included.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* cli/cli-logging.c (maybe_warn_already_logging): New factored out
	from ...
	(set_logging_overwrite): ... here.
	(logging_no_redirect_file): Delete.
	(set_logging_redirect): Don't handle redirection on the fly.
	Instead warn that "logging off" / "logging on" is necessary.
	(pop_output_files): Delete references to logging_no_redirect_file.
	(show_logging_command): Always speak in terms of what will happen
	once logging is reenabled.

gdb/testsuite/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* gdb.mi/mi-logging.exp: Add "redirect while already logging"
	tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Tweak pretty_print_disassembler's intro comment
@ 2017-02-02 13:57 sergiodj+buildbot
  2017-02-03 19:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 13:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c99cc448c805b6bd481603155078881a503cd64a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c99cc448c805b6bd481603155078881a503cd64a

Tweak pretty_print_disassembler's intro comment

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* disasm.h (gdb_pretty_print_disassembler): Tweak intro comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Reuse buffers across gdb_pretty_print_insn calls
@ 2017-02-02 13:22 sergiodj+buildbot
  2017-02-03 14:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b172ce7c9435095d14e0bd98cd431bb9584e95e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8b172ce7c9435095d14e0bd98cd431bb9584e95e

Reuse buffers across gdb_pretty_print_insn calls

gdb_pretty_print_insn allocates and destroys a couple local buffers
each time it is called, which can be many times when disassembling a
region of memory.  Avoid that overhead by adding a new class that
holds the buffers and making gdb_pretty_print_insn a method of that
class, so that the buffers can be reused across calls.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* disasm.c (gdb_pretty_print_insn): Rename to ...
	(gdb_pretty_print_disassembler::pretty_print_insn): ... this.
	Remove gdbarch parameter.  Adapt to clear the object's buffers
	instead of allocating new buffers, and to print using the object's
	gdb_disassembler instead of calling gdb_print_insn.
	(dump_insns): Use gdb_pretty_print_disassembler.
	* disasm.h (gdb_pretty_print_insn): Delete declaration.
	(gdb_pretty_print_disassembler): New class.
	* record-btrace.c (btrace_insn_history): Use
	gdb_pretty_print_disassembler.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy
@ 2017-02-02 12:25 sergiodj+buildbot
  2017-02-03 11:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 12:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7e747318f4d04af033f16325f9b6d74f67079ec ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d7e747318f4d04af033f16325f9b6d74f67079ec

Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy

This patch starts from the desire to eliminate
make_cleanup_ui_file_delete, but then goes beyond.  It makes ui_file &
friends a real C++ class hierarchy, and switches temporary
ui_file-like objects to stack-based allocation.

- mem_fileopen -> string_file

mem_fileopen is replaced with a new string_file class that is treated
as a value class created on the stack.  This alone eliminates most
make_cleanup_ui_file_delete calls, and, simplifies code a whole lot
(diffstat shows around 1k loc dropped.)

string_file's internal buffer is a std::string, thus the "string" in
the name.  This simplifies the implementation much, compared to
mem_fileopen, which managed growing its internal buffer manually.

- ui_file_as_string, ui_file_strdup, ui_file_obsavestring all gone

The new string_file class has a string() method that provides direct
writable access to the internal std::string buffer.  This replaced
ui_file_as_string, which forced a copy of the same data the stream had
inside.  With direct access via a writable reference, we can instead
move the string out of the string_stream, avoiding deep string
copying.

Related, ui_file_xstrdup calls are replaced with xstrdup'ping the
stream's string, and ui_file_obsavestring is replaced by
obstack_copy0.

With all those out of the way, getting rid of the weird ui_file_put
mechanism was possible.

- New ui_file::printf, ui_file::puts, etc. methods

These simplify / clarify client code.  I considered splitting
client-code changes, like these, e.g.:

  -  stb = mem_fileopen ();
  -  fprintf_unfiltered (stb, "%s%s%s",
  -		      _("The valid values are:\n"),
  -		      regdesc,
  -		      _("The default is \"std\"."));
  +  string_file stb;
  +  stb.printf ("%s%s%s",
  +	      _("The valid values are:\n"),
  +	      regdesc,
  +	      _("The default is \"std\"."));

In two steps, with the first step leaving fprintf_unfiltered (etc.)
calls in place, and only afterwards do a pass to change all those to
call stb.printf etc..  I didn't do that split, because (when I tried),
it turned out to be pointless make-work: the first pass would have to
touch the fprintf_unfiltered line anyway, to replace "stb" with
"&stb".

- gdb_fopen replaced with stack-based objects

This avoids the need for cleanups or unique_ptr's.  I.e., this:

      struct ui_file *file = gdb_fopen (filename, "w");
      if (filename == NULL)
 	perror_with_name (filename);
      cleanups = make_cleanup_ui_file_delete (file);
      // use file.
      do_cleanups (cleanups);

is replaced with this:

      stdio_file file;
      if (!file.open (filename, "w"))
 	perror_with_name (filename);
      // use file.

- odd contorsions in null_file_write / null_file_fputs around when to
  call to_fputs / to_write eliminated.

- Global null_stream object

A few places that were allocating a ui_file in order to print to
"nowhere" are adjusted to instead refer to a new 'null_stream' global
stream.

- TUI's tui_sfileopen eliminated.  TUI's ui_file much simplified

The TUI's ui_file was serving a dual purpose.  It supported being used
as string buffer, and supported being backed by a stdio FILE.  The
string buffer part is gone, replaced by using of string_file.  The
'FILE *' support is now much simplified, by making the TUI's ui_file
inherit from stdio_file.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (type_as_string): Use string_file.
	* ada-valprint.c (ada_print_floating): Use string_file.
	* ada-varobj.c (ada_varobj_scalar_image)
	(ada_varobj_get_value_image): Use string_file.
	* aix-thread.c (aix_thread_extra_thread_info): Use string_file.
	* arm-tdep.c (_initialize_arm_tdep): Use string_printf.
	* breakpoint.c (update_inserted_breakpoint_locations)
	(insert_breakpoint_locations, reattach_breakpoints)
	(print_breakpoint_location, print_one_detail_ranged_breakpoint)
	(print_it_watchpoint): Use string_file.
	(save_breakpoints): Use stdio_file.
	* c-exp.y (oper): Use string_file.
	* cli/cli-logging.c (set_logging_redirect): Use ui_file_up and
	tee_file.
	(pop_output_files): Use delete.
	(handle_redirections): Use stdio_file and tee_file.
	* cli/cli-setshow.c (do_show_command): Use string_file.
	* compile/compile-c-support.c (c_compute_program): Use
	string_file.
	* compile/compile-c-symbols.c (generate_vla_size): Take a
	'string_file &' instead of a 'ui_file *'.
	(generate_c_for_for_one_variable): Take a 'string_file &' instead
	of a 'ui_file *'.  Use string_file.
	(generate_c_for_variable_locations): Take a 'string_file &'
	instead of a 'ui_file *'.
	* compile/compile-internal.h (generate_c_for_for_one_variable):
	Take a 'string_file &' instead of a 'ui_file *'.
	* compile/compile-loc2c.c (push, pushf, unary, binary)
	(print_label, pushf_register_address, pushf_register)
	(do_compile_dwarf_expr_to_c): Take a 'string_file &' instead of a
	'ui_file *'.  Adjust.
	* compile/compile.c (compile_to_object): Use string_file.
	* compile/compile.h (compile_dwarf_expr_to_c)
	(compile_dwarf_bounds_to_c): Take a 'string_file &' instead of a
	'ui_file *'.
	* cp-support.c (inspect_type): Use string_file and obstack_copy0.
	(replace_typedefs_qualified_name): Use string_file and
	obstack_copy0.
	* disasm.c (gdb_pretty_print_insn): Use string_file.
	(gdb_disassembly): Adjust reference the null_stream global.
	(do_ui_file_delete): Delete.
	(gdb_insn_length): Use null_stream.
	* dummy-frame.c (maintenance_print_dummy_frames): Use stdio_file.
	* dwarf2loc.c (dwarf2_compile_property_to_c)
	(locexpr_generate_c_location, loclist_generate_c_location): Take a
	'string_file &' instead of a 'ui_file *'.
	* dwarf2loc.h (dwarf2_compile_property_to_c): Likewise.
	* dwarf2read.c (do_ui_file_peek_last): Delete.
	(dwarf2_compute_name): Use string_file.
	* event-top.c (gdb_setup_readline): Use stdio_file.
	* gdbarch.sh (verify_gdbarch): Use string_file.
	* gdbtypes.c (safe_parse_type): Use null_stream.
	* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
	string_file.
	* guile/scm-disasm.c (gdbscm_print_insn_from_port): Take a
	'string_file *' instead of a 'ui_file *'.
	(gdbscm_arch_disassemble): Use string_file.
	* guile/scm-frame.c (frscm_print_frame_smob): Use string_file.
	* guile/scm-ports.c (class ioscm_file_port): Now a class that
	inherits from ui_file.
	(ioscm_file_port_delete, ioscm_file_port_rewind)
	(ioscm_file_port_put): Delete.
	(ioscm_file_port_write): Rename to ...
	(ioscm_file_port::write): ... this.  Remove file_port_magic
	checks.
	(ioscm_file_port_new): Delete.
	(ioscm_with_output_to_port_worker): Use ioscm_file_port and
	ui_file_up.
	* guile/scm-type.c (tyscm_type_name): Use string_file.
	* guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
	Use string_file.
	* infcmd.c (print_return_value_1): Use string_file.
	* infrun.c (print_target_wait_results): Use string_file.
	* language.c (add_language): Use string_file.
	* location.c (explicit_to_string_internal): Use string_file.
	* main.c (captured_main_1): Use null_file.
	* maint.c (maintenance_print_architecture): Use stdio_file.
	* mi/mi-cmd-stack.c (list_arg_or_local): Use string_file.
	* mi/mi-common.h (struct mi_interp) <out, err, log, targ,
	event_channel>: Change type to mi_console_file pointer.
	* mi/mi-console.c (mi_console_file_fputs, mi_console_file_flush)
	(mi_console_file_delete): Delete.
	(struct mi_console_file): Delete.
	(mi_console_file_magic): Delete.
	(mi_console_file_new): Delete.
	(mi_console_file::mi_console_file): New.
	(mi_console_file_delete): Delete.
	(mi_console_file_fputs): Delete.
	(mi_console_file::write): New.
	(mi_console_raw_packet): Delete.
	(mi_console_file::flush): New.
	(mi_console_file_flush): Delete.
	(mi_console_set_raw): Rename to ...
	(mi_console_file::set_raw): ... this.
	* mi/mi-console.h (class mi_console_file): New class.
	(mi_console_file_new, mi_console_set_raw): Delete.
	* mi/mi-interp.c (mi_interpreter_init): Use mi_console_file.
	(mi_set_logging): Use delete and tee_file.  Adjust.
	* mi/mi-main.c (output_register): Use string_file.
	(mi_cmd_data_evaluate_expression): Use string_file.
	(mi_cmd_data_read_memory): Use string_file.
	(mi_cmd_execute, print_variable_or_computed): Use string_file.
	* mi/mi-out.c (mi_ui_out::main_stream): New.
	(mi_ui_out::rewind): Use main_stream and
	string_file.
	(mi_ui_out::put): Use main_stream and string_file.
	(mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	Allocate a 'string_file' instead.
	(mi_out_new): Don't allocate a mem_fileopen stream here.
	* mi/mi-out.h (mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	(mi_ui_out::main_stream): Declare method.
	* printcmd.c (eval_command): Use string_file.
	* psymtab.c (maintenance_print_psymbols): Use stdio_file.
	* python/py-arch.c (archpy_disassemble): Use string_file.
	* python/py-breakpoint.c (bppy_get_commands): Use string_file.
	* python/py-frame.c (frapy_str): Use string_file.
	* python/py-framefilter.c (py_print_type, py_print_single_arg):
	Use string_file.
	* python/py-type.c (typy_str): Use string_file.
	* python/py-unwind.c (unwind_infopy_str): Use string_file.
	* python/py-value.c (valpy_str): Use string_file.
	* record-btrace.c (btrace_insn_history): Use string_file.
	* regcache.c (regcache_print): Use stdio_file.
	* reggroups.c (maintenance_print_reggroups): Use stdio_file.
	* remote.c (escape_buffer): Use string_file.
	* rust-lang.c (rust_get_disr_info): Use string_file.
	* serial.c (serial_open_ops_1): Use stdio_file.
	(do_serial_close): Use delete.
	* stack.c (print_frame_arg): Use string_file.
	(print_frame_args): Remove local mem_fileopen stream, not used.
	(print_frame): Use string_file.
	* symmisc.c (maintenance_print_symbols): Use stdio_file.
	* symtab.h (struct symbol_computed_ops) <generate_c_location>:
	Take a 'string_file *' instead of a 'ui_file *'.
	* top.c (new_ui): Use stdio_file and stderr_file.
	(free_ui): Use delete.
	(execute_command_to_string): Use string_file.
	(quit_confirm): Use string_file.
	* tracepoint.c (collection_list::append_exp): Use string_file.
	* tui/tui-disasm.c (tui_disassemble): Use string_file.
	* tui/tui-file.c: Don't include "ui-file.h".
	(enum streamtype, struct tui_stream): Delete.
	(tui_file_new, tui_file_delete, tui_fileopen, tui_sfileopen)
	(tui_file_isatty, tui_file_rewind, tui_file_put): Delete.
	(tui_file::tui_file): New method.
	(tui_file_fputs): Delete.
	(tui_file_get_strbuf): Delete.
	(tui_file::puts): New method.
	(tui_file_adjust_strbuf): Delete.
	(tui_file_flush): Delete.
	(tui_file::flush): New method.
	* tui/tui-file.h: Tweak intro comment.
	Include ui-file.h.
	(tui_fileopen, tui_sfileopen, tui_file_get_strbuf)
	(tui_file_adjust_strbuf): Delete declarations.
	(class tui_file): New class.
	* tui/tui-io.c (tui_initialize_io): Use tui_file.
	* tui/tui-regs.c (tui_restore_gdbout): Use delete.
	(tui_register_format): Use string_stream.
	* tui/tui-stack.c (tui_make_status_line): Use string_file.
	(tui_get_function_from_frame): Use string_file.
	* typeprint.c (type_to_string): Use string_file.
	* ui-file.c (struct ui_file, ui_file_magic, ui_file_new): Delete.
	(null_stream): New global.
	(ui_file_delete): Delete.
	(ui_file::ui_file): New.
	(null_file_isatty): Delete.
	(ui_file::~ui_file): New.
	(null_file_rewind): Delete.
	(ui_file::printf): New.
	(null_file_put): Delete.
	(null_file_flush): Delete.
	(ui_file::putstr): New.
	(null_file_write): Delete.
	(ui_file::putstrn): New.
	(null_file_read): Delete.
	(ui_file::putc): New.
	(null_file_fputs): Delete.
	(null_file_write_async_safe): Delete.
	(ui_file::vprintf): New.
	(null_file_delete): Delete.
	(null_file::write): New.
	(null_file_fseek): Delete.
	(null_file::puts): New.
	(ui_file_data): Delete.
	(null_file::write_async_safe): New.
	(gdb_flush, ui_file_isatty): Adjust.
	(ui_file_put, ui_file_rewind): Delete.
	(ui_file_write): Adjust.
	(ui_file_write_for_put): Delete.
	(ui_file_write_async_safe, ui_file_read): Adjust.
	(ui_file_fseek): Delete.
	(fputs_unfiltered): Adjust.
	(set_ui_file_flush, set_ui_file_isatty, set_ui_file_rewind)
	(set_ui_file_put, set_ui_file_write, set_ui_file_write_async_safe)
	(set_ui_file_read, set_ui_file_fputs, set_ui_file_fseek)
	(set_ui_file_data): Delete.
	(string_file::~string_file, string_file::write)
	(struct accumulated_ui_file, do_ui_file_xstrdup, ui_file_xstrdup)
	(do_ui_file_as_string, ui_file_as_string): Delete.
	(do_ui_file_obsavestring, ui_file_obsavestring): Delete.
	(struct mem_file): Delete.
	(mem_file_new): Delete.
	(stdio_file::stdio_file): New.
	(mem_file_delete): Delete.
	(stdio_file::stdio_file): New.
	(mem_fileopen): Delete.
	(stdio_file::~stdio_file): New.
	(mem_file_rewind): Delete.
	(stdio_file::set_stream): New.
	(mem_file_put): Delete.
	(stdio_file::open): New.
	(mem_file_write): Delete.
	(stdio_file_magic, struct stdio_file): Delete.
	(stdio_file_new, stdio_file_delete, stdio_file_flush): Delete.
	(stdio_file::flush): New.
	(stdio_file_read): Rename to ...
	(stdio_file::read): ... this.  Adjust.
	(stdio_file_write): Rename to ...
	(stdio_file::write): ... this.  Adjust.
	(stdio_file_write_async_safe): Rename to ...
	(stdio_file::write_async_safe) ... this.  Adjust.
	(stdio_file_fputs): Rename to ...
	(stdio_file::puts) ... this.  Adjust.
	(stdio_file_isatty): Delete.
	(stdio_file_fseek): Delete.
	(stdio_file::isatty): New.
	(stderr_file_write): Rename to ...
	(stderr_file::write) ... this.  Adjust.
	(stderr_file_fputs): Rename to ...
	(stderr_file::puts) ... this.  Adjust.
	(stderr_fileopen, stdio_fileopen, gdb_fopen): Delete.
	(stderr_file::stderr_file): New.
	(tee_file_magic): Delete.
	(struct tee_file): Delete.
	(tee_file::tee_file): New.
	(tee_file_new): Delete.
	(tee_file::~tee_file): New.
	(tee_file_delete): Delete.
	(tee_file_flush): Rename to ...
	(tee_file::flush): ... this.  Adjust.
	(tee_file_write): Rename to ...
	(tee_file::write): ... this.  Adjust.
	(tee_file::write_async_safe): New.
	(tee_file_fputs): Rename to ...
	(tee_file::puts): ... this.  Adjust.
	(tee_file_isatty): Rename to ...
	(tee_file::isatty): ... this.  Adjust.
	* ui-file.h (struct obstack, struct ui_file): Don't
	forward-declare.
	(ui_file_new, ui_file_flush_ftype, set_ui_file_flush)
	(ui_file_write_ftype)
	(set_ui_file_write, ui_file_fputs_ftype, set_ui_file_fputs)
	(ui_file_write_async_safe_ftype, set_ui_file_write_async_safe)
	(ui_file_read_ftype, set_ui_file_read, ui_file_isatty_ftype)
	(set_ui_file_isatty, ui_file_rewind_ftype, set_ui_file_rewind)
	(ui_file_put_method_ftype, ui_file_put_ftype, set_ui_file_put)
	(ui_file_delete_ftype, set_ui_file_data, ui_file_fseek_ftype)
	(set_ui_file_fseek): Delete.
	(ui_file_data, ui_file_delete, ui_file_rewind)
	(struct ui_file): New.
	(ui_file_up): New.
	(class null_file): New.
	(null_stream): Declare.
	(ui_file_write_for_put, ui_file_put): Delete.
	(ui_file_xstrdup, ui_file_as_string, ui_file_obsavestring):
	Delete.
	(ui_file_fseek, mem_fileopen, stdio_fileopen, stderr_fileopen)
	(gdb_fopen, tee_file_new): Delete.
	(struct string_file): New.
	(struct stdio_file): New.
	(stdio_file_up): New.
	(struct stderr_file): New.
	(class tee_file): New.
	* ui-out.c (ui_out::field_stream): Take a 'string_file &' instead
	of a 'ui_file *'.  Adjust.
	* ui-out.h (class ui_out) <field_stream>: Likewise.
	* utils.c (do_ui_file_delete, make_cleanup_ui_file_delete)
	(null_stream): Delete.
	(error_stream): Take a 'string_file &' instead of a 'ui_file *'.
	Adjust.
	* utils.h (struct ui_file): Delete forward declaration..
	(make_cleanup_ui_file_delete, null_stream): Delete declarations.
	(error_stream): Take a 'string_file &' instead of a
	'ui_file *'.
	* varobj.c (varobj_value_get_print_value): Use string_file.
	* xtensa-tdep.c (xtensa_verify_config): Use string_file.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add back gdb_pretty_print_insn
@ 2017-02-02 11:42 sergiodj+buildbot
  2017-02-03  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 11:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 187808b04f61df1c38fda0921e2d9eeb53e332ee ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 187808b04f61df1c38fda0921e2d9eeb53e332ee

Add back gdb_pretty_print_insn

ui_file_rewind is a ui_file method that only really works with mem
buffer files, and is a nop on other ui_file types.  It'd be desirable
to eliminate it from the base ui_file interface, and move it to the
"mem_fileopen" subclass of ui_file instead.  A following patch does
just that.

Unfortunately, there are a couple references to ui_file_rewind inside
gdb_disassembler::pretty_print_insn that were made harder to eliminate
with the recent addition of the gdb_disassembler wrapper.

Before the gdb_disassembler wrapper was added, in commit
e47ad6c0bd7aa3 ("Refactor disassembly code"), gdb_pretty_print_insn
used to be passed a ui_file pointer as argument, and it was simple to
adjust that pointer be a "mem_fileopen" ui_file pointer instead, since
there's only one gdb_pretty_print_insn caller.

That commit made gdb_pretty_print_insn be a method of
gdb_disassembler, and removed the method's ui_file parameter at the
same time, replaced by referencing the gdb_disassembler's stream
instead.  The trouble is that a gdb_disassembler can be instantiated
with a pointer any kind of ui_file.  Casting the gdb_disassembler's
stream to a mem_fileopen ui_file inside
gdb_disassembler::pretty_print_insn in order to call the reset method
would be gross hack.

The fix here is to:

 - make gdb_disassembler::pretty_print_insn a be free function again
   instead of a method of gdb_disassembler.  I.e., bring back
   gdb_pretty_print_insn.

 - but, don't add back the ui_file * parameter.  Instead, move the
   mem_fileopen allocation inside.  That is a better interface, given
   that the ui_file is only ever used as temporary scratch buffer as
   an implementation detail of gdb_pretty_print_insn.  The function's
   real "where to send output" parameter is the ui_out pointer.  (A
   following patch will add back buffer reuse across invocations
   differently).

 - don't add back a disassemble_info pointer either.  That used to be
   necessary for this bit:

	  err = m_di.read_memory_func (pc, &data, 1, &m_di);
	  if (err != 0)
	    m_di.memory_error_func (err, pc, &m_di);

   ... but AFAIK, it's not really necessary.  We can replace those
   three lines with a call to read_code.  This seems to fix a
   regression even, because before commit d8b49cf0c891d0 ("Don't throw
   exception in dis_asm_memory_error"), that memory_error_func call
   would throw an error/exception, but now it only records the error
   in the gdb_disassembler's m_err_memaddr field.  (read_code throws
   on error.)

With all these, gdb_pretty_print_insn is completely layered on top of
gdb_disassembler only using the latter's public API.

gdb/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* disasm.c (gdb_disassembler::pretty_print_insn): Rename to...
	(gdb_pretty_print_insn): ... this.  Now a free function.  Add back
	a 'gdbarch' parameter.  Allocate a mem_fileopen stream here.
	Adjust to call gdb_print_insn instead of
	gdb_disassembler::print_insn.
	(dump_insns, do_mixed_source_and_assembly_deprecated)
	(do_mixed_source_and_assembly, do_assembly_only): Add back a
	'gdbarch' parameter.  Remove gdb_disassembler parameter.
	(gdb_disassembly): Don't allocate a gdb_disassembler here.
	* disasm.h (gdb_disassembler::pretty_print_insn): Delete
	declaration.
	(gdb_pretty_print_insn): Re-add declaration.
	* record-btrace.c (btrace_insn_history): Don't allocate a
	gdb_disassembler here.  Adjust to call gdb_pretty_print_insn.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unused file_string parameter in gdb_disassembly
@ 2017-02-02  4:29 sergiodj+buildbot
  2017-02-03  3:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-02  4:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a8eb317c5bce0f1ff290a9343777db74adec663 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7a8eb317c5bce0f1ff290a9343777db74adec663

Remove unused file_string parameter in gdb_disassembly

The file_string parameter was added in 8f0eea0 (sorry, no title back
then) and has never actually been used.

gdb/ChangeLog:

	* disasm.h (gdb_disassembly): Remove file_string parameter.
	* disasm.c (gdb_disassembly): Likewise.
	* cli/cli-cmds.c (print_disassembly): Adapt.
	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
	* stack.c (do_gdb_disassembly): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote fail
@ 2017-02-01 16:37 sergiodj+buildbot
  2017-02-02 15:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68777c298919d6dbdb9537c92a64ed9440ef6f3c ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 68777c298919d6dbdb9537c92a64ed9440ef6f3c

btrace, testsuite: fix extended-remote fail

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_implicit_value
@ 2017-02-01 16:25 sergiodj+buildbot
  2017-02-02 23:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7346ef59bb33e28161d78ab478c3476b3dab2e8e ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7346ef59bb33e28161d78ab478c3476b3dab2e8e

Big-endian targets: Don't ignore offset into DW_OP_implicit_value

When a variable's location is expressed as DW_OP_implicit_value, but the
given value is longer than needed, which bytes should be used?  GDB's
current logic was introduced with a patch from 2011 and uses the "least
significant" bytes:

  https://sourceware.org/ml/gdb-patches/2011-08/msg00123.html

Now consider a sub-value from such a location at a given offset, accessed
through DW_OP_implicit_pointer.  Which bytes should be used for that?  The
patch above *always* uses the last bytes on big-endian targets, ignoring
the offset.

E.g., given the code snippet

  const char foo[] = "Hello, world!";
  const char *a = &foo[0];
  const char *b = &foo[7];

assume that `foo' is described as DW_OP_implicit_value and `a' and `b'
each as DW_OP_implicit_pointer into that value.  Then with current GDB
`*a' and `*b' yield the same result -- the string's zero terminator.

This patch basically reverts the portion of the patch above that deals
with DW_OP_implicit_value.  This fixes the offset handling and also goes
back to dropping the last instead of the first bytes on big-endian targets
if the implicit value is longer than needed.  The latter aspect of the
change probably doesn't matter for actual programs, but simplifies the
logic.

The patch also cleans up the original code a bit and adds appropriate test
cases.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
	taking a 2-byte value out of a 4-byte DWARF implicit value on
	big-endian targets.
	* gdb.dwarf2/nonvar-access.exp: Add more comments to existing
	logic.  Add test cases for DW_OP_implicit.

gdb/ChangeLog:

	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): For
	DWARF_VALUE_LITERAL, no longer ignore the offset on big-endian
	targets.  And if the implicit value is longer than needed, extract
	the first bytes instead of the "least significant" ones.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote non-stop test
@ 2017-02-01 15:42 sergiodj+buildbot
  2017-02-02 11:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a1c7e2881226bb9734d7c31c9415c636f35921d ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 0a1c7e2881226bb9734d7c31c9415c636f35921d

btrace, testsuite: fix extended-remote non-stop test

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: add unsupported/untested messages when skipping tests
@ 2017-02-01 15:06 sergiodj+buildbot
  2017-02-02  7:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 15:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b5ac99b0828d4e1dfa33540b428c0fc6c32eda67 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: b5ac99b0828d4e1dfa33540b428c0fc6c32eda67

btrace: add unsupported/untested messages when skipping tests

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests
@ 2017-02-01 14:54 sergiodj+buildbot
  2017-02-02 19:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 14:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 787f00256b3eabe34b8599fca4df0243df80d5ca ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 787f00256b3eabe34b8599fca4df0243df80d5ca

testsuite: diagnose a running GDB in gdb_skip_xml_tests

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads
@ 2017-02-01 14:07 sergiodj+buildbot
  2017-02-02  3:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd4007e43421a2f974f51574b6e2b52b9b1a7a50 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: cd4007e43421a2f974f51574b6e2b52b9b1a7a50

btrace: allow recording to be started (and stopped) for running threads

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] thread: add can_access_registers_ptid
@ 2017-02-01 13:56 sergiodj+buildbot
  2017-02-01 23:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf77c34ea71c27c3cb6dd31c9448249276e8a8a6 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: cf77c34ea71c27c3cb6dd31c9448249276e8a8a6

thread: add can_access_registers_ptid

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/mi/mi-interp.c: Fix typos
@ 2017-02-01  1:15 sergiodj+buildbot
  2017-02-01 15:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  1:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 29b0b2512ff436c46a77db39317ff50c4bc93601 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 29b0b2512ff436c46a77db39317ff50c4bc93601

gdb/mi/mi-interp.c: Fix typos

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified):
	Fix typos.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/stack.c: Remove unused mem_fileopen
@ 2017-02-01  0:56 sergiodj+buildbot
  2017-02-01 11:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 289b5b2421ca79324b7374492ea652aceb869a1d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 289b5b2421ca79324b7374492ea652aceb869a1d

gdb/stack.c: Remove unused mem_fileopen

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* stack.c (print_frame_args): Remove local mem_fileopen stream,
	not used.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/varobj.c: Fix leak
@ 2017-02-01  0:40 sergiodj+buildbot
  2017-02-01  7:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  0:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b47413b47e103677fedb7cd1301c62fee01ac4ba ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b47413b47e103677fedb7cd1301c62fee01ac4ba

gdb/varobj.c: Fix leak

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: make_scoped_restore and types convertible to T
@ 2017-01-31 23:53 sergiodj+buildbot
  2017-02-01  3:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-31 23:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60adb36c08942fd4a2f8bf598864254c043668a1 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 60adb36c08942fd4a2f8bf598864254c043668a1

gdb: make_scoped_restore and types convertible to T

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS: Add options to control branch ISA checks
@ 2017-01-30 17:32 sergiodj+buildbot
  2017-01-30 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-30 17:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b10b0b3e100c25322a083248c7a18bf5a1f3527 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8b10b0b3e100c25322a083248c7a18bf5a1f3527

MIPS: Add options to control branch ISA checks

Complement commit 9d862524f6ae ("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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] amd64-linux: expose system register FS_BASE and GS_BASE for Linux.
@ 2017-01-27 16:49 sergiodj+buildbot
  2017-01-28 17:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2735833d5fb220983d09770087b573fed5bf93cd ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 2735833d5fb220983d09770087b573fed5bf93cd

amd64-linux: expose system register FS_BASE and GS_BASE for Linux.

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: Walfred Tedeschi <walfred.tedeschi@intel.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] amd64: simplify addition of new general registers.
@ 2017-01-27 16:10 sergiodj+buildbot
  2017-01-28 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 16:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8884e97e78f337bccb50df7682333db4e7ee1542 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 8884e97e78f337bccb50df7682333db4e7ee1542

amd64: simplify addition of new general registers.

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver.
@ 2017-01-27 14:35 sergiodj+buildbot
  2017-01-28  5:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 14:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 239b6d10954b18ce089e9c3a667e7f2df3655476 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 239b6d10954b18ce089e9c3a667e7f2df3655476

gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver.

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix disassembling of TIC6X parallel instructions where the previous fetch packet ended with a 32-bit insn.
@ 2017-01-27 12:25 sergiodj+buildbot
  2017-01-28  1:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 12:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ec5cf65a8213988a9f861e6a94d12311e9b04c3 ***

Author: Alexis Deruell <alexis.deruelle@gmail.com>
Branch: master
Commit: 8ec5cf65a8213988a9f861e6a94d12311e9b04c3

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PTRACE_GETREGSET failure for compat inferiors on arm64
@ 2017-01-27 11:41 sergiodj+buildbot
  2017-01-27 21:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 11:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bd2e1b2aee122b46e335d932f7833f9c86610d0 ***

Author: Kees Cook <keescook@chromium.org>
Branch: master
Commit: 4bd2e1b2aee122b46e335d932f7833f9c86610d0

Fix PTRACE_GETREGSET failure for compat inferiors on arm64

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.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol
@ 2017-01-27  8:31 sergiodj+buildbot
  2017-01-27 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-27  8:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22d9a0dee3a69973858000b326cf8eaa14ce7180 ***

Author: Hans-Peter Nilsson <hp@bitrange.com>
Branch: master
Commit: 22d9a0dee3a69973858000b326cf8eaa14ce7180

Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol

	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Remove now unused
	local variable dynobj.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in invoke_match_method
@ 2017-01-12  5:21 sergiodj+buildbot
  2017-01-16 16:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  5:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf1ca3b9476185fb6e301d85e646f5d2af95e257 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf1ca3b9476185fb6e301d85e646f5d2af95e257

Use gdbpy_ref in invoke_match_method

Change invoke_match_method to use gdbpy_ref.
I neglected to convert this function in my earlier series.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (invoke_match_method): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-progspace.c
@ 2017-01-11 21:38 sergiodj+buildbot
  2017-01-15  1:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf7da5b06ffbbaa40c8a2900727a791265f897ea ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf7da5b06ffbbaa40c8a2900727a791265f897ea

Use gdbpy_enter in py-progspace.c

Change py-progspace.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-progspace.c (py_free_pspace): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter_varobj and use it
@ 2017-01-11 19:18 sergiodj+buildbot
  2017-01-16 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6cd67beaae58c9e870b79feea3cf74ffdf7a9b33 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6cd67beaae58c9e870b79feea3cf74ffdf7a9b33

Introduce gdbpy_enter_varobj and use it

This introduces gdbpy_enter_varobj, a subclass of gdbpy_enter; then
changes one function in py-varobj.c to use it.  gdbpy_enter_varobj
takes a varobj as an argument, similar to varobj_ensure_python_env.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* varobj.c (gdbpy_enter_varobj): New constructor.
	* python/python-internal.h (gdbpy_enter_varobj): New class.
	* python/py-varobj.c (py_varobj_get_iterator): Use
	gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c
@ 2017-01-11 19:07 sergiodj+buildbot
  2017-01-14 12:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e7c365ee0ea2551f9f840b71081fdf759088b5e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6e7c365ee0ea2551f9f840b71081fdf759088b5e

Use gdbpy_enter in py-finishbreakpoint.c

Change py-finishbreakpoint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
	(bpfinishpy_handle_exit): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethod.c
@ 2017-01-11 19:03 sergiodj+buildbot
  2017-01-16 20:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14b122bf1ce59f5f1b82f6e2a347f4ad89801f45 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 14b122bf1ce59f5f1b82f6e2a347f4ad89801f45

Use gdbpy_enter in py-xmethod.c

This changes the remaining functions in py-xmethod.c to use
gdbpy_enter; using gdbpy_ref and unique_xmalloc_ptr as
appropriate.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
	gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
	(gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
	(gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
	unique_xmalloc_ptr.
	(gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers
@ 2017-01-11 18:31 sergiodj+buildbot
  2017-01-16 12:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 572a5524c1eb50d8064a44108fd0ef22a0e63bf8 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 572a5524c1eb50d8064a44108fd0ef22a0e63bf8

Use gdbpy_enter in gdbpy_get_matching_xmethod_workers

Change gdbpy_get_matching_xmethod_workers to use gdbpy_enter and
gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
	gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python_interactive_command
@ 2017-01-11 18:16 sergiodj+buildbot
  2017-01-16  8:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 18:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 396a78b6271c45410fc22c4bc7f8cff75da3d153 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 396a78b6271c45410fc22c4bc7f8cff75da3d153

Use gdbpy_enter in python_interactive_command

This changes python_interactive_command to use gdbpy_enter.
Previously this function was leaving a dangling cleanup -- this is
sort of ok in a command function, but IMO it's still better to clean
up.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (python_interactive_command): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook
@ 2017-01-11 17:26 sergiodj+buildbot
  2017-01-16  4:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a88b13c7e36e8eb0a3bf772d508380682536c0da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a88b13c7e36e8eb0a3bf772d508380682536c0da

Use gdbpy_enter in gdbpy_before_prompt_hook

Change gdbpy_before_prompt_hook to use gdbpy_enter and gdbpy_ref.
This also rearranges the function a tiny bit to make it more clear.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-prettyprint.c
@ 2017-01-11 17:11 sergiodj+buildbot
  2017-01-16  0:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 17:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9f0c3639f33dc76fcab1b9299209c29ef2ee26e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: e9f0c3639f33dc76fcab1b9299209c29ef2ee26e

Use gdbpy_enter in py-prettyprint.c

Change py-prettyprint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
	gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce htab_up and use gdbpy_enter in py-framefilter.c
@ 2017-01-11 16:56 sergiodj+buildbot
  2017-01-15 20:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6349f452e01ddb7a1e64b8a63c93a9c9abc95725 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6349f452e01ddb7a1e64b8a63c93a9c9abc95725

Introduce htab_up and use gdbpy_enter in py-framefilter.c

This introduces a new "htab_up" typedef, which is a std::unique_ptr
that can call htab_delete.  Then it changes some code in
py-framefilter.c to use both gdbpy_enter and the new htab_up.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* utils.h (htab_deleter): New struct.
	(htab_up): New typedef.
	* python/py-framefilter.c (gdbpy_apply_frame_filter): Use
	gdbpy_enter, gdbpy_ref, htab_up.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-unwind.c
@ 2017-01-11 16:05 sergiodj+buildbot
  2017-01-15 16:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0171de646ddd85bac9d4bb1ebdf601f7ba7eeab ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c0171de646ddd85bac9d4bb1ebdf601f7ba7eeab

Use gdbpy_enter in py-unwind.c

Change py-unwind.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-unwind.c (pending_frame_invalidate): Remove.
	(pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethods.c
@ 2017-01-11 15:49 sergiodj+buildbot
  2017-01-15 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 15:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f18e226ff84f7fba9ce7197ed7a2969eba231b4d ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f18e226ff84f7fba9ce7197ed7a2969eba231b4d

Use gdbpy_enter in py-xmethods.c

Change the simple parts of py-xmethods.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
	(gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-type.c
@ 2017-01-11 14:59 sergiodj+buildbot
  2017-01-15  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c57af3f12b91ca49adc2e06056f794cb09514897 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c57af3f12b91ca49adc2e06056f794cb09514897

Use gdbpy_enter in py-type.c

Change py-type.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (save_objfile_types): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-prettyprint.c
@ 2017-01-11 14:45 sergiodj+buildbot
  2017-01-13  8:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0700aea50c7a77d7908868373d0f9644b0ece29c ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0700aea50c7a77d7908868373d0f9644b0ece29c

Use gdbpy_ref in py-prettyprint.c

This changes several functions in py-prettyprint.c to use
gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (search_pp_list)
	(find_pretty_printer_from_objfiles)
	(find_pretty_printer_from_progspace)
	(find_pretty_printer_from_gdb, find_pretty_printer)
	(gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python.c
@ 2017-01-11 14:43 sergiodj+buildbot
  2017-01-15  5:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60e600ec691255536ae53e365d0410ecf79bdea2 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 60e600ec691255536ae53e365d0410ecf79bdea2

Use gdbpy_enter in python.c

Change the simple parts of python.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_eval_from_control_command)
	(gdbpy_source_script, gdbpy_run_events)
	(gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
	(gdbpy_free_type_printers, gdbpy_finish_initialization): Use
	gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-objfile.c
@ 2017-01-11 14:12 sergiodj+buildbot
  2017-01-14 21:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d38bcedc2f91692857d257e106dafc9269d8f1a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2d38bcedc2f91692857d257e106dafc9269d8f1a

Use gdbpy_enter in py-objfile.c

Change py-objfile.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-objfile.c (py_free_objfile): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-linetable.c
@ 2017-01-11 13:26 sergiodj+buildbot
  2017-01-12 23:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 13:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87ce03fdc5a94f48fe62580410a099c0a0f68ee0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 87ce03fdc5a94f48fe62580410a099c0a0f68ee0

Use gdbpy_ref in py-linetable.c

This changes some code in py-linetable.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-linetable.c (build_line_table_tuple_from_pcs)
	(ltpy_get_all_source_lines): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-inferior.c
@ 2017-01-11 13:22 sergiodj+buildbot
  2017-01-14 16:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07bc7329128028e6d3e2733c6d2ebd874367bcee ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 07bc7329128028e6d3e2733c6d2ebd874367bcee

Use gdbpy_enter in py-inferior.c

Change py-inferior.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-inferior.c (python_on_normal_stop, python_on_resume)
	(python_on_inferior_call_pre, python_on_inferior_call_post)
	(python_on_memory_change, python_on_register_change)
	(python_inferior_exit, python_new_objfile, add_thread_object)
	(delete_thread_object, py_free_inferior): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-cmd.c
@ 2017-01-11 12:51 sergiodj+buildbot
  2017-01-14  8:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ba0cd406511d3edbe643f5e599d79538febedc5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6ba0cd406511d3edbe643f5e599d79538febedc5

Use gdbpy_enter in py-cmd.c

Change py-cmd.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_destroyer)
	(cmdpy_completer_handle_brkchars, cmdpy_completer): Use
	gdbpy_enter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-breakpoint.c
@ 2017-01-11 12:35 sergiodj+buildbot
  2017-01-14  4:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 12:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de2dc875c2ddb731741f3c326545ff91fd587dd5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: de2dc875c2ddb731741f3c326545ff91fd587dd5

Use gdbpy_enter in py-breakpoint.c

Change py-breakpoint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
	gdbpy_enter.
	(gdbpy_breakpoint_has_cond): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter
@ 2017-01-11 11:46 sergiodj+buildbot
  2017-01-14  0:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ecee2c47da3e91c0571683acb5cfb8400402663 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 4ecee2c47da3e91c0571683acb5cfb8400402663

Introduce gdbpy_enter

This introduces gdbpy_enter, a class that can be used to acquire and
release the Python GIL, and also set other Python-related globals used
by gdb.  ensure_python_env is rewritten in terms of this new class.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_enter): New constructor.
	(~gdbpy_enter): New destructor.
	(restore_python_env, ensure_python_env): Rewrite.
	* python/python-internal.h (gdbpy_enter): New class.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_lookup_symbol
@ 2017-01-11 11:29 sergiodj+buildbot
  2017-01-13 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37fce74fb42f45ec340962170a4b297beede733a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 37fce74fb42f45ec340962170a4b297beede733a

Use gdbpy_ref in gdbpy_lookup_symbol

This changes gdbpy_lookup_symbol to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors
@ 2017-01-11 11:23 sergiodj+buildbot
  2017-01-12 12:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f59fe7f8e3e55472e6fcfb06677ff4925dad1f64 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f59fe7f8e3e55472e6fcfb06677ff4925dad1f64

Use gdbpy_ref in gdbpy_inferiors

This changes gdbpy_inferiors to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-value.c
@ 2017-01-11 11:14 sergiodj+buildbot
  2017-01-13 16:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53a0cca3bd0f6ae80b2d6fc34b2873046965c7f0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 53a0cca3bd0f6ae80b2d6fc34b2873046965c7f0

Use gdbpy_ref in py-value.c

This changes a few functions in py-value.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (value_has_field, get_field_flag)
	(get_field_type, valpy_getitem, convert_value_from_python): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-function.c
@ 2017-01-11 10:38 sergiodj+buildbot
  2017-01-12  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 10:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 80bd970a4b1388fc4373b3e087006e6c93d71f60 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 80bd970a4b1388fc4373b3e087006e6c93d71f60

Use gdbpy_ref in py-function.c

This changes some code in py-function.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-function.c (convert_values_to_python, fnpy_init): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-11 10:24 sergiodj+buildbot
  2017-01-13 12:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 10:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff3724f5123b9d9c52a07f7c1a5d85852e666c48 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ff3724f5123b9d9c52a07f7c1a5d85852e666c48

Use gdbpy_ref in python.c

This changes a couple of functions in python.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in call_doc_function
@ 2017-01-11  9:54 sergiodj+buildbot
  2017-01-13  4:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  9:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1bb44c9f567c75355c1b4417d88cda959e82a3a3 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1bb44c9f567c75355c1b4417d88cda959e82a3a3

Use gdbpy_ref in call_doc_function

This changes call_doc_function to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-param.c (call_doc_function): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_string_to_argv
@ 2017-01-11  8:42 sergiodj+buildbot
  2017-01-12  4:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  8:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1b3de2e43380a0c51772a40315cd2268573d985 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d1b3de2e43380a0c51772a40315cd2268573d985

Use gdbpy_ref in gdbpy_string_to_argv

This chanes gdbpy_string_to_argv to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-framefilter.c
@ 2017-01-11  7:59 sergiodj+buildbot
  2017-01-12 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  7:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee0a3fb85b33b172f704796612c4487ea368d675 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ee0a3fb85b33b172f704796612c4487ea368d675

Use gdbpy_ref in py-framefilter.c

This changes some code in py-framefilter.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (extract_sym, extract_value)
	(get_py_iter_from_func, bootstrap_python_frame_filters): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change event code to use gdbpy_ref
@ 2017-01-11  7:18 sergiodj+buildbot
  2017-01-11 19:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  7:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abf5651e47c0396df58a37951bc03a349169c5f2 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: abf5651e47c0396df58a37951bc03a349169c5f2

Change event code to use gdbpy_ref

This changes the event code in the Python layer to use
gdbpy_ref, simplifying the logic in many places.

It also changes evpy_emit_event not to steal a reference to its
argument.  This is simpler to do now that gdbpy_ref is in use;
it's also a reasonable cleanup in its own right.  While doing this I
realized that evpy_emit_event should not be calling gdbpy_print_stack
(all the outermost callers do this if needed), so I removed this as
well.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-threadevent.c (create_thread_event_object): Use
	gdbpy_ref.
	* python/py-stopevent.c (create_stop_event_object): Simplify.
	(emit_stop_event): Use gdbpy_ref.
	* python/py-signalevent.c (create_signal_event_object): Use
	gdbpy_ref.
	* python/py-newobjfileevent.c (create_new_objfile_event_object)
	(emit_new_objfile_event, create_clear_objfiles_event_object)
	(emit_clear_objfiles_event): Use gdbpy_ref.
	* python/py-infevents.c (create_inferior_call_event_object)
	(create_register_changed_event_object)
	(create_memory_changed_event_object, emit_inferior_call_event)
	(emit_memory_changed_event, emit_register_changed_event): Use
	gdbpy_ref.
	* python/py-exitedevent.c (create_exited_event_object)
	(emit_exited_event): Use gdbpy_ref.
	* python/py-event.h (evpy_emit_event): Remove
	CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
	* python/py-event.c (evpy_emit_event): Use gdbpy_ref.
	* python/py-continueevent.c (emit_continue_event): Use
	gdbpy_ref.
	* python/py-breakpoint.c (gdbpy_breakpoint_created)
	(gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
	gdbpy_ref.
	* python/py-bpevent.c (create_breakpoint_event_object): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints
@ 2017-01-11  7:09 sergiodj+buildbot
  2017-01-12 15:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  7:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf2a52fa2ac2c4486653993a765fd922b3cd64a6 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf2a52fa2ac2c4486653993a765fd922b3cd64a6

Use gdbpy_ref in gdbpy_breakpoints

This changes gdbpy_breakpoints to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-type.c
@ 2017-01-11  6:08 sergiodj+buildbot
  2017-01-11 23:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  6:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3bb4338431288002c2225ff660e1500818684c16 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3bb4338431288002c2225ff660e1500818684c16

Use gdbpy_ref in py-type.c

This changes py-type.c to use gdbpy_ref.
This results in simpler logic and the removal of "goto"s.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (convert_field, make_fielditem, typy_fields)
	(typy_range): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce py-ref.h
@ 2017-01-11  5:41 sergiodj+buildbot
  2017-01-11 15:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  5:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a68ff33e0dcb4733584265088030d12a31e740e4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a68ff33e0dcb4733584265088030d12a31e740e4

Introduce py-ref.h

This patch introduces class gdbpy_ref, which is a sort of smart
pointer that owns a single Python reference to a PyObject.  This class
acts a bit like unique_ptr, but also a bit like shared_ptr (in that
copies do what you might expect); I considered going solely with
unique_ptr but it seemed quite strange to have a unique_ptr that
actually manages a shared resource.

Subsequent patches use this new class to simplify logic in the Python
layer.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-ref.h: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386/x32: Align .eh_frame section to 4 bytes
@ 2017-01-10 22:48 sergiodj+buildbot
  2017-01-11 11:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 22:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52b232b366355b1d0a9d2721e55a6b2b96789b00 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 52b232b366355b1d0a9d2721e55a6b2b96789b00

i386/x32: Align .eh_frame section to 4 bytes

.eh_frame section covering PLT sections should be aligned to 4 bytes
for i386 and x32.

bfd/

	* elf32-i386.c (elf_i386_check_relocs): Align .eh_frame section
	to 4 bytes.
	* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Align
	.eh_frame section to 4 bytes for x32.
	(elf_x86_64_check_relocs): Likewise.

ld/

	* testsuite/ld-x86-64/pr20830b.d: Updated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386/x86-64: Add unwind info for .plt.got section
@ 2017-01-10 21:52 sergiodj+buildbot
  2017-01-11  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 21:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fff53daefb7838b5718422c87946330e4a8288ce ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: fff53daefb7838b5718422c87946330e4a8288ce

i386/x86-64: Add unwind info for .plt.got section

When there are both PLT and GOT references to the same function symbol,
linker combines GOTPLT and GOT slots into a single GOT slot and create
an entry in .plt.got section for PLT access via the GOT slot.  This
patch adds unwind info for .plt.got section.

bfd/

	PR ld/20830
	* elf32-i386.c (elf_i386_eh_frame_plt_got): New.
	(PLT_GOT_FDE_LENGTH): Likewise.
	(elf_i386_plt_layout): Add eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_i386_plt): Updated.
	(elf_i386_link_hash_table): Add plt_got_eh_frame.
	(elf_i386_check_relocs): Create .eh_frame section for .plt.got.
	(elf_i386_size_dynamic_sections): Allocate and initialize
	.eh_frame section for .plt.got.
	(elf_i386_finish_dynamic_sections): Adjust .eh_frame section for
	.plt.got.
	(elf_i386_nacl_plt): Add FIXME for eh_frame_plt_got and
	eh_frame_plt_got_size.
	* elf64-x86-64.c (elf_x86_64_eh_frame_plt_got): New.
	(PLT_GOT_FDE_LENGTH): Likewise.
	(elf_x86_64_backend_data): Add eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_x86_64_arch_bed): Updated.
	(elf_x86_64_bnd_arch_bed): Add FIXME for eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_x86_64_nacl_arch_bed): Likewise.
	(elf_x86_64_link_hash_table): Add plt_got_eh_frame.
	(elf_x86_64_check_relocs): Create .eh_frame section for .plt.got.
	(elf_x86_64_size_dynamic_sections): Allocate and initialize
	.eh_frame section for .plt.got.
	(elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
	for .plt.got.

ld/

	PR ld/20830
	* testsuite/ld-i386/i386.exp: Run pr20830.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr20830.d: New file.
	* testsuite/ld-i386/pr20830.s: Likewise.
	* testsuite/ld-x86-64/pr20830.d: Likewise.
	* testsuite/ld-x86-64/pr20830.s: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't use elf_i386_eh_frame_plt directly
@ 2017-01-10 19:51 sergiodj+buildbot
  2017-01-11  3:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 19:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f129e49f4d07f4d36319ac757fdcf3a8ce7d605b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f129e49f4d07f4d36319ac757fdcf3a8ce7d605b

Don't use elf_i386_eh_frame_plt directly

Use eh_frame_plt_size and eh_frame_plt from elf_i386_plt_layout for
.eh_frame covering the .plt section.

	* elf32-i386.c (elf_i386_size_dynamic_sections): Set
	plt_eh_frame->size to eh_frame_plt_size and use eh_frame_plt.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change return type of ui_out redirect to void
@ 2017-01-10 16:47 sergiodj+buildbot
  2017-01-10 22:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 16:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7becfd03bad526c02216eeb5ec2bebae694b1af1 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 7becfd03bad526c02216eeb5ec2bebae694b1af1

Change return type of ui_out redirect to void

All implementations of redirect/do_redirect in the ui_out subsystem
always return 0 (success).  We can therefore clean it up and make them
return void.

gdb/ChangeLog:

	* cli-out.c (cli_ui_out::do_redirect): Change return type to
	void.
	* cli-out.h (cli_ui_out::do_redirect): Likewise.
	* mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
	* mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
	* ui-out.c (ui_out::redirect): Likewise.
	* ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
	* cli/cli-logging.c (set_logging_redirect): Update call site of
	ui_out::redirect.
	(handle_redirections): Likewise.
	* scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
	* top.c (execute_command_to_string): Likewise.
	* utils.c (do_ui_out_redirect_pop): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update help of the "frame" command
@ 2017-01-10 15:35 sergiodj+buildbot
  2017-01-10 18:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df2946549f60624503663cc6c28cd5a6ef0ab434 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: df2946549f60624503663cc6c28cd5a6ef0ab434

Update help of the "frame" command

The help message of the "frame" command states that nothing is printed
if the command is executed from the command file or user-defined
command.  My testing leads me to think that this is not true (at least
today).

  (gdb) bt
  #0  bar (n=17) at test.c:9
  #1  0x00000000004006e0 in foo (v=17) at test.c:13
  #2  0x00000000004006f0 in main () at test.c:21
  (gdb) frame
  #0  bar (n=17) at test.c:9
  9	    baz(n);
  (gdb) define foo
  Type commands for definition of "foo".
  End with a line saying just "end".
  >frame 1
  >end
  (gdb) foo
  #1  0x00000000004006e0 in foo (v=17) at test.c:13
  13	    bar(v);

This patch simply removes that bit from the help message.  I didn't find
anything corresponding to this in the documentation that needs to be
fixed.

The behavior change corresponding to this documentation change was done
in commit b00771232fab861fb31e42dfd5f6643ba1b43cc9.

gdb/ChangeLog:

	* stack.c (_initialize_stack): Update "frame" command help message.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix problems with the implementation of the uzp1 and uzp2 instructions.
@ 2017-01-10  0:02 sergiodj+buildbot
  2017-01-10  9:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-10  0:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4fb5981b7ec3d4006e93141afb1d0da566bb97b ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: a4fb5981b7ec3d4006e93141afb1d0da566bb97b

Fix problems with the implementation of the uzp1 and uzp2 instructions.

	sim/aarch64/
	* simulator.c (do_vec_UZP): Rewrite.
	sim/testsuite/sim/aarch64/
	* uzp.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix inferior memory reading in GDBServer for arm/aarch32
@ 2017-01-09 17:56 sergiodj+buildbot
  2017-01-10  5:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-09 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 694b382c67a4fc656f30acbc74776c5e9cb53622 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 694b382c67a4fc656f30acbc74776c5e9cb53622

Fix inferior memory reading in GDBServer for arm/aarch32

Before this patch, some functions would read the inferior memory with
(*the_target)->read_memory, which returns the raw memory, rather than the
shadowed memory.

This is wrong since these functions do not expect to read a breakpoint
instruction and can lead to invalid behavior.

Use of raw memory in get_next_pcs_read_memory_unsigned_integer for example
could lead to get_next_pc returning an invalid pc.

Here's how this would happen:

In non-stop:

the user issues:

thread 1
step&
thread 2
step&
thread 3
step&

In a similar way as non-stop-fair-events.exp (threads are looping).

GDBServer:

 linux_resume is called
 GDBServer has pending events,
 threads are not resumed and single-step breakpoint for thread 1 not installed.

 linux_wait_1 is called with a pending event on thread 2 at pc A
 GDBServer handles the event and calls proceed_all_lwps
 This calls proceed_one_lwp and installs single-step breakpoints on all
 the threads that need one.

 Now since thread 1 needs to install a single-step breakpoint and is at pc B
 (different than thread 2), a step-over is not initiated and get_next_pc
 is called to figure out the next instruction from pc B.

 However it may just be that thread 3 as a single step breakpoint at pc
 B. And thus get_next_pc fails.

This situation is tested with non-stop-fair-events.exp.

In other words, single-step breakpoints are installed in proceed_one_lwp
for each thread.  GDBserver proceeds two threads for resume_step, as
requested by GDB, and the thread proceeded later may see the single-step
breakpoints installed for the thread proceeded just now.

Tested on gdbserver-native/-m{thumb,arm} no regressions.

gdb/gdbserver/ChangeLog:

	* linux-aarch32-low.c (arm_breakpoint_kind_from_pc): Use
	target_read_memory.
	* linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): Likewise.
	(get_next_pcs_syscall_next_pc): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.
@ 2017-01-09  9:47 sergiodj+buildbot
  2017-01-09 22:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-09  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98f02962fefbacf1b805e93fb7bddeb58ec6ff70 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 98f02962fefbacf1b805e93fb7bddeb58ec6ff70

Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.

	PR binutils/21013
	* coffgen.c (_bfd_coff_get_external_symbols): Generate an error
	message if there are too many symbols to load.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [D] Fix crash when debug expression enabled.
@ 2017-01-08 10:52 sergiodj+buildbot
  2017-01-09 18:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-08 10:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5e6296e2194add209b546ad49039753a10242f5 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: f5e6296e2194add209b546ad49039753a10242f5

[D] Fix crash when debug expression enabled.

While casting works as expected with expression debugging turned off,
this seems to be an indication that the D language parser function is
doing something wrong in the building of the expression.

Without changing the grammar, using UNOP_CAST_TYPE is the right thing to
do here, as the TypeExp handler has already wrapped the type around a
pair of OP_TYPE opcodes.

gdb/ChangeLog:

	* d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.

gdb/testsuite/ChangeLog:

	* gdb.dlang/debug-expr.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S/390: Issue error for overflowing relocs.
@ 2017-01-07 21:17 sergiodj+buildbot
  2017-01-09  7:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-07 21:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 431e5de3f224e94fb0d061edb3a56d8e3c3f4403 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 431e5de3f224e94fb0d061edb3a56d8e3c3f4403

S/390: Issue error for overflowing relocs.

Building PIE executable from non-PIC code results in broken binaries.
With this patch the problem is detected at link-time.

bfd/ChangeLog:

2017-01-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* elf64-s390.c (elf_s390_relocate_section): Issue error for
	non-PLT relocs of shared libary symbol in exectuable.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include serial.h in ser-base.h.
@ 2017-01-06 19:51 sergiodj+buildbot
  2017-01-08 23:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 19:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44d6d3f93341387bd2c95ea4c941bf99127e7389 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 44d6d3f93341387bd2c95ea4c941bf99127e7389

Include serial.h in ser-base.h.

$ make check-headers CHECK_HEADERS="ser-base.h"
...
../../binutils-gdb/gdb/ser-base.h:33:8: error: 'serial_ttystate' does not name a type
 extern serial_ttystate ser_base_get_tty_state (struct serial *scb);
        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ser-base.h: Include serial.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include ppc-tdep.h in ppc-linux-tdep.h
@ 2017-01-06 19:22 sergiodj+buildbot
  2017-01-08 19:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 19:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 656731fe0f5bae5bb788b0688cc36900128fcc2f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 656731fe0f5bae5bb788b0688cc36900128fcc2f

Include ppc-tdep.h in ppc-linux-tdep.h

$ make check-headers CHECK_HEADERS="ppc-linux-tdep.h"
...
../../binutils-gdb/gdb/ppc-linux-tdep.h:34:24: error: 'PPC_NUM_REGS' was not declared in this scope
   PPC_ORIG_R3_REGNUM = PPC_NUM_REGS,
                        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ppc-linux-tdep.h: Include ppc-tdep.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h
@ 2017-01-06 18:31 sergiodj+buildbot
  2017-01-08 15:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb

Include signal.h in nat/amd64-linux-siginfo.h

$ make check-headers CHECK_HEADERS="nat/amd64-linux-siginfo.h"
....
../../binutils-gdb/gdb/nat/amd64-linux-siginfo.h:52:39: error: 'siginfo_t' was not declared in this scope
 int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
                                       ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* nat/amd64-linux-siginfo.h: Include signal.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include break-common.h in nat/aarch64-linux-hw-point.h
@ 2017-01-06 17:58 sergiodj+buildbot
  2017-01-08 12:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 17:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc3008c48f17aa67d39e539737a999737cd697a7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: bc3008c48f17aa67d39e539737a999737cd697a7

Include break-common.h in nat/aarch64-linux-hw-point.h

$ make check-headers CHECK_HEADERS="nat/aarch64-linux-hw-point.h"
...
../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.h:169:37: error: use of enum 'target_hw_bp_type' without previous declaration
 int aarch64_handle_breakpoint (enum target_hw_bp_type type, CORE_ADDR addr,
                                     ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* nat/aarch64-linux-hw-point.h: Include break-common.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include mi-cmds.h in mi-parse.h
@ 2017-01-06 17:08 sergiodj+buildbot
  2017-01-08  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66c80d03078b71470c66b8f00cab82d89daeea08 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 66c80d03078b71470c66b8f00cab82d89daeea08

Include mi-cmds.h in mi-parse.h

$ make check-headers CHECK_HEADERS="mi/mi-parse.h"
...
../../binutils-gdb/gdb/mi/mi-parse.h:77:6: error: use of enum 'print_values' without previous declaration
 enum print_values mi_parse_print_values (const char *name);
      ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* mi/mi-parse.h: Include mi-cmds.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include doublest.h and expression.h in dfp.h
@ 2017-01-06 15:35 sergiodj+buildbot
  2017-01-08  0:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8018d34f1e5d94ffe1f12ac2455429c6f713c518 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 8018d34f1e5d94ffe1f12ac2455429c6f713c518

Include doublest.h and expression.h in dfp.h

$ make check-headers CHECK_HEADERS="dfp.h"
...
../../binutils-gdb/gdb/dfp.h:39:8: error: 'DOUBLEST' does not name a type
 extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len,
        ^
../../binutils-gdb/gdb/dfp.h:41:33: error: use of enum 'exp_opcode' without previous declaration
 extern void decimal_binop (enum exp_opcode,
                                 ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* dfp.h: Include "dboulest.h" and "expression.h".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include ax.h in ax-gdb.h
@ 2017-01-06 15:00 sergiodj+buildbot
  2017-01-07 20:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16

Include ax.h in ax-gdb.h

$ make check-headers CHECK_HEADERS="ax-gdb.h"
...

../../binutils-gdb/gdb/ax-gdb.h:104:8: error: 'agent_expr_up' does not name a type
 extern agent_expr_up gen_trace_for_expr (CORE_ADDR, struct expression *,
        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ax-gdb.h: Include "ax.h"


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update gdb_ptrace.h in HFILES_NO_SRCDIR
@ 2017-01-06 14:17 sergiodj+buildbot
  2017-01-07 17:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 14:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad5cba2adbdb8ec216d44515468bde8d96892c3d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ad5cba2adbdb8ec216d44515468bde8d96892c3d

Update gdb_ptrace.h in HFILES_NO_SRCDIR

Commit e379037 (Move gdb_ptrace.h to nat/), so we should update
file name in HFILES_NO_SRCDIR too.  Otherwise, 'make tags' complains,

$ make tags
make: *** No rule to make target `gdb_ptrace.h', needed by `TAGS'.  Stop.

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
	with nat/gdb_ptrace.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix ARI warning
@ 2017-01-05 15:02 sergiodj+buildbot
  2017-01-07 12:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-05 15:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c33cd7f00c7b2d195cdb004559332c397663bae ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1c33cd7f00c7b2d195cdb004559332c397663bae

Fix ARI warning

This patch splits the expression before the && operator instead of
after it.

gdb:

2017-01-05  Yao Qi  <yao.qi@linaro.org>

	* mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
	new line.
	(mips64_fbsd_sigframe_init): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Prevent an abort in the FRV disassembler if the target bfd name is unknown.
@ 2017-01-05  9:19 sergiodj+buildbot
  2017-01-07  8:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-05  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0ae60c3ef45d41b34d40ed5c7b4fdfea289530de ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 0ae60c3ef45d41b34d40ed5c7b4fdfea289530de

Prevent an abort in the FRV disassembler if the target bfd name is unknown.

	PR 20946
	* frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
	could not be matched.
	(frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
	NULL.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul.
@ 2017-01-05  0:23 sergiodj+buildbot
  2017-01-07  4:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-05  0:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0386d4d54d2cc33d6efc0b998fe6396bf92be15 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: c0386d4d54d2cc33d6efc0b998fe6396bf92be15

Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul.

	sim/aarch64/
	* cpustate.c: Include math.h.
	(aarch64_set_FP_float): Use signbit to check for signed zero.
	(aarch64_set_FP_double): Likewise.
	* simulator.c (do_vec_MOV_immediate, case 0x8): Add missing break.
	(do_vec_mul): In all DO_VEC_WIDENING_MUL calls, make second and fourth
	args same size as third arg.
	(fmaxnm): Use isnan instead of fpclassify.
	(fminnm, dmaxnm, dminnm): Likewise.
	(do_vec_MLS): Reverse order of subtraction operands.
	(dexSimpleFPCondSelect): Call aarch64_get_FP_double or
	aarch64_get_FP_float to get source register contents.
	(UINT_MIN, ULONG_MIN, FLOAT_UINT_MAX, FLOAT_UINT_MIN,
	DOUBLE_UINT_MAX, DOUBLE_UINT_MIN, FLOAT_ULONG_MAX, FLOAT_ULONG_MIN,
	DOUBLE_ULONG_MAX, DOUBLE_ULONG_MIN): New.
	(do_fcvtzu): Use ULONG instead of LONG, and UINT instead of INT in
	raise_exception calls.

	sim/testsuite/sim/aarch64/
	* fcsel.s: New.
	* fcvtz.s: New.
	* fminnm.s: New.
	* mls.s: New.
	* mul.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use correct OSABI constant for FreeBSD/mips binaries.
@ 2017-01-04 20:32 sergiodj+buildbot
  2017-01-07  0:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 20:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c988ac1de5bc0efec2022fc6ce7d13b24e540099 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: c988ac1de5bc0efec2022fc6ce7d13b24e540099

Use correct OSABI constant for FreeBSD/mips binaries.

gdb/ChangeLog:

	* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
	GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [DWARF] Sync GCC dwarf.def change on AArch64
@ 2017-01-04 16:08 sergiodj+buildbot
  2017-01-06 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8cf50cb070642d73acc537010d71c912f921861c ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 8cf50cb070642d73acc537010d71c912f921861c

[DWARF] Sync GCC dwarf.def change on AArch64

include/
	* dwarf2.def: Sync with mainline gcc sources.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync libiberty from gcc
@ 2017-01-04 14:42 sergiodj+buildbot
  2017-01-06 11:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e495212d229d58eb4d70c94d7f828a04c386c3b2 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e495212d229d58eb4d70c94d7f828a04c386c3b2

Sync libiberty from gcc

Picks up copyright year update and other recent fixes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] picflag.m4 high bit set in comment
@ 2017-01-04 13:51 sergiodj+buildbot
  2017-01-06  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 13:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0913ae5ad7ad465e36784ed7fcc8676f3e0e23b7 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 0913ae5ad7ad465e36784ed7fcc8676f3e0e23b7

picflag.m4 high bit set in comment

	* picflag.m4: Import from gcc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add separate feature flag for weaker release consistent load insns
@ 2017-01-04 12:49 sergiodj+buildbot
  2017-01-06  4:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d74d4880e23263bac3690bcb641af56bd13036e6 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: d74d4880e23263bac3690bcb641af56bd13036e6

[AArch64] Add separate feature flag for weaker release consistent load insns

The weaker release consistency support of ARMv8.3-A is allowed as an optional
extension for ARMv8.2-A, so separate command line option and feature flag is
added: -march=armv8.2-a+rcpc turns LDAPR, LDAPRB, LDAPRH instructions on.

opcodes/
	* aarch64-tbl.h (RCPC, RCPC_INSN): Define.
	(aarch64_opcode_table): Use RCPC_INSN.

include/
	* opcode/aarch64.h (AARCH64_FEATURE_RCPC): Define.
	(AARCH64_ARCH_V8_3): Update.

gas/
	* config/tc-aarch64.c (aarch64_features): Add rcpc.
	* doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
	* testsuite/gas/aarch64/ldst-rcpc.d: This.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
	* testsuite/gas/aarch64/ldst-rcpc.s: This.
	* testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix an internal error on writing pieced value
@ 2017-01-04 10:10 sergiodj+buildbot
  2017-01-06  0:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2aaaf250e80afb4a5c66fb0b7801e24cc5c4e680 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2aaaf250e80afb4a5c66fb0b7801e24cc5c4e680

Fix an internal error on writing pieced value

In ee40d8d (Move computed value's frame id to piece_closure), I only
updated read_pieced_value to use frame_id from piece_closure, but
forgot to update write_pieced_value, so it causes the following
internal error on arm-linux,

set variable l = 4^M
gdb/git/gdb/value.c:1579: internal-error: frame_id* deprecated_value_next_frame_id_hack(value*): Assertion `value->lval == lval_register' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
Quit this debugging session? (y or n) FAIL: gdb.base/store.exp: var longest l; setting l to 4 (GDB internal error)

This patch fixes the internal error.

gdb:

2017-01-04  Yao Qi  <yao.qi@linaro.org>

	* dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
	use c->frame_id when the piece location is DWARF_VALUE_REGISTER.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix generation of GOT table when only GOT-relative relocs are used.
@ 2017-01-04  5:38 sergiodj+buildbot
  2017-01-05 11:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  5:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de1010f40884537cf0905ad134162cd2db71dc2a ***

Author: Rich Felker <bugdal@aerifal.cx>
Branch: master
Commit: de1010f40884537cf0905ad134162cd2db71dc2a

Fix generation of GOT table when only GOT-relative relocs are used.

	PR ld/21017
	* elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
	for R_MICROBLAZE_GOTOFF_64.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: alpha: Fix crash caused by double free with --no-keep-memory
@ 2017-01-04  3:56 sergiodj+buildbot
  2017-01-05 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  3:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae4fda663812129df67e3a70691787060242c0f9 ***

Author: James Clarke <jrtc27@jrtc27.com>
Branch: master
Commit: ae4fda663812129df67e3a70691787060242c0f9

bfd: alpha: Fix crash caused by double free with --no-keep-memory

Without this, ld has been seen to crash in libc when freeing tsec_free:

*** Error in `/usr/bin/ld': double free or corruption (!prev): 0x0000000120ceb6a0 ***

_bfd_elf_link_read_relocs will always return the cached value if
present, even if keep_memory is false, therefore setting tsec_free to
NULL only when keep_memory is true is not sufficient.

	* elf64-alpha.c (elf64_alpha_relax_opt_call): Don't set tsec_free
	if relocs are cached.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for the Q extension to the RISCV ISA.
@ 2017-01-04  3:42 sergiodj+buildbot
  2017-01-05 16:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  3:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc917fd93d2a836adfd61b91df021cf835e88fd1 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: cc917fd93d2a836adfd61b91df021cf835e88fd1

Add support for the Q extension to the RISCV ISA.

gas    * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
        extension.
        (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
        enabled and no other ABI is specified.

include * opcode/riscv-opc.h: Add support for the "q" ISA extension.

opcodes * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA
        extension.
        * riscv-opcodes/all-opcodes: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add fall through comment.
@ 2017-01-04  3:11 sergiodj+buildbot
  2017-01-05  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  3:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b52d3cfcfb472263eca181da37dfc0377978acba ***

Author: Dilyan Palauzov <dilyan.palauzov@aegee.org>
Branch: master
Commit: b52d3cfcfb472263eca181da37dfc0377978acba

Add fall through comment.

	* riscv-dis.c (print_insn_args): Add fall through comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add new Serbian translation for the opcodes library.
@ 2017-01-04  2:25 sergiodj+buildbot
  2017-01-05  4:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  2:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f90c58d59339ae3e0593cd6e464775973b7c259c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: f90c58d59339ae3e0593cd6e464775973b7c259c

Add new Serbian translation for the opcodes library.

	* po/sr.po: New Serbian translation.
	* configure.ac (ALL_LINGUAS): Add sr.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Regen opcodes cgen files
@ 2017-01-04  2:06 sergiodj+buildbot
  2017-01-04 17:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f47b0d4a49facbfa5c2f0971474593df0a854547 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f47b0d4a49facbfa5c2f0971474593df0a854547

Regen opcodes cgen files

	* epiphany-desc.h: Regenerate.
	* epiphany-opc.h: Regenerate.
	* fr30-desc.h: Regenerate.
	* fr30-opc.h: Regenerate.
	* frv-desc.h: Regenerate.
	* frv-opc.h: Regenerate.
	* ip2k-desc.h: Regenerate.
	* ip2k-opc.h: Regenerate.
	* iq2000-desc.h: Regenerate.
	* iq2000-opc.h: Regenerate.
	* lm32-desc.h: Regenerate.
	* lm32-opc.h: Regenerate.
	* m32c-desc.h: Regenerate.
	* m32c-opc.h: Regenerate.
	* m32r-desc.h: Regenerate.
	* m32r-opc.h: Regenerate.
	* mep-desc.h: Regenerate.
	* mep-opc.h: Regenerate.
	* mt-desc.h: Regenerate.
	* mt-opc.h: Regenerate.
	* or1k-desc.h: Regenerate.
	* or1k-opc.h: Regenerate.
	* xc16x-desc.h: Regenerate.
	* xc16x-opc.h: Regenerate.
	* xstormy16-desc.h: Regenerate.
	* xstormy16-opc.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix compile time warning about using a possibly uninitialised variable.
@ 2017-01-04  1:38 sergiodj+buildbot
  2017-01-05  0:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09fe2662a708aa4da665bcaf942b5529e6809220 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 09fe2662a708aa4da665bcaf942b5529e6809220

Fix compile time warning about using a possibly uninitialised variable.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't make symbols dynamic other than undef weak
@ 2017-01-04  1:22 sergiodj+buildbot
  2017-01-04 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 595e0a47f57b414843261303b8aa5036fd1fa1e3 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 595e0a47f57b414843261303b8aa5036fd1fa1e3

Don't make symbols dynamic other than undef weak

Fixes: tmpdir/pr14525: symbol lookup error: tmpdir/pr14525: undefined
symbol: __executable_start
FAIL: PIE PR ld/14525

	* elf32-hppa.c (ensure_undef_weak_dynamic): New function.
	(allocate_plt_static, allocate_dynrelocs): Use it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync dwarf headers with master versions in gcc repository.
@ 2017-01-04  1:22 sergiodj+buildbot
  2017-01-04 20:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb9b4b7e534c4df7e8e0cb60c180e61f27617f0a ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: fb9b4b7e534c4df7e8e0cb60c180e61f27617f0a

Sync dwarf headers with master versions in gcc repository.

	* dwarf2.def: Sync with mainline gcc sources
	* dwarf2.h: Likewise.

	2016-12-21  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
	(DW_FORM_ref_sup4): ... this.  New form.
	(DW_FORM_ref_sup8): New form.

	2016-10-17  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.h (enum dwarf_calling_convention): Add new DWARF5
	calling convention codes.
	(enum dwarf_line_number_content_type): New.
	(enum dwarf_location_list_entry_type): Add DWARF5 DW_LLE_*
	codes.
	(enum dwarf_source_language): Add new DWARF5 DW_LANG_* codes.
	(enum dwarf_macro_record_type): Add DWARF5 DW_MACRO_* codes.
	(enum dwarf_name_index_attribute): New.
	(enum dwarf_range_list_entry): New.
	(enum dwarf_unit_type): New.
	* dwarf2.def: Add new DWARF5 DW_TAG_*, DW_FORM_*, DW_AT_*,
	DW_OP_* and DW_ATE_* entries.

	2016-08-15  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.def (DW_AT_string_length_bit_size,
	DW_AT_string_length_byte_size): New attributes.

	2016-08-12  Alexandre Oliva <aoliva@redhat.com>

	PR debug/63240
	* dwarf2.def (DW_AT_deleted, DW_AT_defaulted): New.
	* dwarf2.h (enum dwarf_defaulted_attribute): New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Set SHF_INFO_LINK for .PARISC.unwind
@ 2017-01-04  1:00 sergiodj+buildbot
  2017-01-04  9:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7bd9df3bcdb1f736b696566b6142cb94d6b9b0d9 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7bd9df3bcdb1f736b696566b6142cb94d6b9b0d9

Set SHF_INFO_LINK for .PARISC.unwind

This flag should be set for any section header using sh_info to
point to another section.

Fixes a readelf warning about an unexpected value in info field,
resulting in FAIL: Build warn libbar.so

	* elf-hppa.h (elf_hppa_fake_sections): Set SHF_INFO_LINK for
	.PARISC.unwind section.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update year range in copyright notice of all files.
@ 2017-01-04  0:14 sergiodj+buildbot
  2017-01-04  2:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2571583aed598dd3f9651b53434e5f177a0e3cf7 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2571583aed598dd3f9651b53434e5f177a0e3cf7

Update year range in copyright notice of all files.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] update copyright year range in GDB files
@ 2017-01-01  8:25 sergiodj+buildbot
  2017-01-01 14:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-01  8:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 61baf725eca99af2569262d10aca03dcde2698f6 ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: 61baf725eca99af2569262d10aca03dcde2698f6

update copyright year range in GDB files

This applies the second part of GDB's End of Year Procedure, which
updates the copyright year range in all of GDB's files.

gdb/ChangeLog:

        Update copyright year range in all GDB files.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rotate GDB main ChangeLog for 2017
@ 2017-01-01  7:09 sergiodj+buildbot
  2017-01-01 10:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2017-01-01  7:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c113e7ff6176890ef6d73a23f0918aca98b8619f ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: c113e7ff6176890ef6d73a23f0918aca98b8619f

Rotate GDB main ChangeLog for 2017

This patch rotates the GDB main ChangeLog file as per our "Start
of New Year Procedure".

2017-01-01  Joel Brobecker  <brobecker@adacore.com>

        * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Create sdynrelro for elfn32 mips too
@ 2016-12-31  9:11 sergiodj+buildbot
  2016-12-31 21:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  9:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b7aba156196caf59117741eae5e93b578d0b59f4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b7aba156196caf59117741eae5e93b578d0b59f4

Create sdynrelro for elfn32 mips too

	* elfn32-mips.c (elf_backend_want_dynrelro): Define.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PRU Opcode Port
@ 2016-12-31  4:19 sergiodj+buildbot
  2016-12-31 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  4:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 111468496477e97c9414d2d54f97bfdaa380f794 ***

Author: Dimitar Dimitrov <dimitar@dinux.eu>
Branch: master
Commit: 111468496477e97c9414d2d54f97bfdaa380f794

PRU Opcode Port

opcodes/
	* Makefile.am: Add PRU source files.
	* configure.ac: Add PRU target.
	* disassemble.c (disassembler): Register PRU arch.
	* pru-dis.c: New file.
	* pru-opc.c: New file.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PRU BFD support
@ 2016-12-31  3:06 sergiodj+buildbot
  2016-12-31 11:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  3:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 889294f6ffb380eb37b1f1f3bd22807fa9204c14 ***

Author: Dimitar Dimitrov <dimitar@dinux.eu>
Branch: master
Commit: 889294f6ffb380eb37b1f1f3bd22807fa9204c14

PRU BFD support

include/
	* elf/common.h: Add PRU ELF.
	* elf/pru.h: New file.
	* opcode/pru.h: New file.
	* dis-asm.h (print_insn_pru): Declare.
bfd/
	* archures.c: Add bfd_arch_pru.
	* Makefile.am: Add PRU target.
	* config.bfd: Ditto.
	* configure.ac: Ditto.
	* elf-bfd.h (enum elf_target_id): Add PRU_ELF_DATA.
	* targets.c: Add pru_elf32_vec.
	* reloc.c: Add PRU relocations.
	* cpu-pru.c: New file.
	* elf32-pru.c: New file.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
	* bfd-in2.h: Regenerate
	* libbfd.h: Regenerate.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Import config.sub
@ 2016-12-31  2:44 sergiodj+buildbot
  2016-12-31  8:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  2:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f66c01be30edcfaedd11d475078f78e464ca4a0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 3f66c01be30edcfaedd11d475078f78e464ca4a0

Import config.sub

	* config.sub: Import from upstream.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Return 'int' rather than 'unsigned short' in avrdis_opcode
@ 2016-12-29 16:30 sergiodj+buildbot
  2016-12-31  1:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-29 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a7e10188e3c08403fb00b728644d7a95092c732 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a7e10188e3c08403fb00b728644d7a95092c732

Return 'int' rather than 'unsigned short' in avrdis_opcode

avrdis_opcode return type is unsigned short, but -1 at the end of
this function is returned.  Additionally, print_insn_avr doesn't
handle when -1 (in case of memory error) is returned from
avrdis_opcode.

This patch changes avrdis_opcode returning int indicating the error,
and adds a new argument for instruction we got on success.  The
opcode is 16-bit, so I change local variables type to uint16_t,
and include "bfd_stdint.h" as a result.  On memory error,
print_insn_avr returns -1, which is a common convention among most
of print_insn_$ARCH functions.

opcodes:

2016-12-29  Yao Qi  <yao.qi@linaro.org>

	* avr-dis.c: Include "bfd_stdint.h"
	(avrdis_opcode): Change return type to int, add argument
	insn.  Set *INSN on success.
	(print_insn_avr): Check return value of avrdis_opcode, and
	return -1 on error.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] link_hash_copy_indirect and symbol flags
@ 2016-12-29 14:37 sergiodj+buildbot
  2016-12-30 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-29 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e81830c5c61a8665c098189d069cc68b0df113d3 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e81830c5c61a8665c098189d069cc68b0df113d3

link_hash_copy_indirect and symbol flags

A while ago HJ fixed PR ld/18720 with commit 6e33951ed, which, among
other things, modified _bfd_elf_link_hash_copy_indirect to not copy
ref_dynamic, ref_regular, ref_regular_nonweak, non_got_ref, needs_plt
and pointer_equality_needed when setting up an indirect non-versioned
symbol pointing to a non-default versioned symbol.  I didn't notice at
the time, but the pr18720 testcase fails on hppa-linux with
"internal error, aborting at binutils-gdb-2.28/bfd/elf32-hppa.c:3933
in elf32_hppa_relocate_section".

Now hppa-linux creates entries in the plt even for local functions, if
they are referenced using plabel (function pointer) relocations.   So
needs_plt is set for foo when processing pr18720a.o.  When the aliases
in pr28720b.o are processed, we get an indirection from foo to
foo@FOO, but don't copy needs_plt.  Since foo@FOO is the "real" symbol
that is used after that point, no plt entry is made for foo and we
bomb when relocating the plabel.

As shown by the hppa-linux scenario, needs_plt should be copied even
for non-default versioned symbols.  I believe all of the others ought
to be copied too, with the exception of ref_dynamic.  Not copying
ref_dynamic is right because if a shared lib references "foo" it
should not be satisfied by any non-default version "foo@FOO".

	* elflink.c (_bfd_elf_link_hash_copy_indirect): Only omit
	copying one flag, ref_dynamic, when versioned_hidden.
	* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
	* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Use same
	logic for copying weakdef flags.  Copy plabel flag and merge
	tls_type.
	* elf32-i386.c (elf_i386_copy_indirect_symbol): Use same logic
	for copying weakdef flags.
	* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
	* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
	* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
	* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
	* elfnn-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
	* elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Likewise.
	Simplify.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Check bfd support for bfd_mips_elf_get_abiflags in mips make rule
@ 2016-12-28 13:44 sergiodj+buildbot
  2016-12-30 13:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-28 13:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96

Check bfd support for bfd_mips_elf_get_abiflags in mips make rule

The previous scheme with a dependency in opcodes on libbfd.la
broke "make distclean".

	* configure.ac: Revert 2016-12-23.
	* Makefile.am: Likewise.
	(MIPS_DEFS): Define.
	(mips-dis.lo): Add rule.
	* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* config.in: Regenerate.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use dynrelro for symbols in relro sections too
@ 2016-12-28 12:52 sergiodj+buildbot
  2016-12-30  6:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-28 12:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9acc85a62eb76c270724bba15c889d2d05567b6a ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9acc85a62eb76c270724bba15c889d2d05567b6a

Use dynrelro for symbols in relro sections too

	PR ld/20995
bfd/
	* elflink.c (elf_link_add_object_symbols): Mark relro sections
	in dynamic objects SEC_READONLY.
ld/
	* testsuite/ld-elf/pr20995c.s: New test file.
	* testsuite/ld-elf/pr20995-2so.r: Likewise.
	* testsuite/ld-elf/elf.exp: Run it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] dynrelro section for read-only dynamic symbols copied into executable
@ 2016-12-26  6:54 sergiodj+buildbot
  2016-12-30  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-26  6:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5474d94f03aedba2f832006dc7d680cc15792a7b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 5474d94f03aedba2f832006dc7d680cc15792a7b

dynrelro section for read-only dynamic symbols copied into executable

Variables defined in shared libraries are copied into an executable's
.bss section when code in the executable is non-PIC and thus would
require dynamic text relocations to access the variable directly in
the shared library.  Recent x86 toolchains also copy variables into
the executable to gain a small speed improvement.

The problem is that if the variable was originally read-only, the copy
in .bss is writable, potentially opening a security hole.  This patch
cures that problem by putting the copy in a section that becomes
read-only after ld.so relocation, provided -z relro is in force.

The patch also fixes a microblaze linker segfault on attempting to
use dynamic bss variables.

bfd/
	PR ld/20995
	* elf-bfd.h (struct elf_link_hash_table): Add sdynrelro and
	sreldynrelro.
	(struct elf_backend_data): Add want_dynrelro.
	* elfxx-target.h (elf_backend_want_dynrelro): Define.
	(elfNN_bed): Update initializer.
	* elflink.c (_bfd_elf_create_dynamic_sections): Create
	sdynrelro and sreldynrelro sections.
	* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Place variables
	copied into the executable from read-only sections into sdynrelro.
	(elf32_arm_size_dynamic_sections): Handle sdynrelro.
	(elf32_arm_finish_dynamic_symbol): Select sreldynrelro for
	dynamic relocs in sdynrelro.
	(elf_backend_want_dynrelro): Define.
	* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol)
	(elf32_hppa_size_dynamic_sections, elf32_hppa_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-i386.c (elf_i386_adjust_dynamic_symbol)
	(elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-metag.c (elf_metag_adjust_dynamic_symbol)
	(elf_metag_size_dynamic_sections, elf_metag_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol)
	(microblaze_elf_size_dynamic_sections)
	(microblaze_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_symbol)
	(nios2_elf32_adjust_dynamic_symbol)
	(nios2_elf32_size_dynamic_sections)
	(elf_backend_want_dynrelro): As above.
	* elf32-or1k.c (or1k_elf_finish_dynamic_symbol)
	(or1k_elf_adjust_dynamic_symbol, or1k_elf_size_dynamic_sections)
	(elf_backend_want_dynrelro): As above.
	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol)
	(ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-s390.c (elf_s390_adjust_dynamic_symbol)
	(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol)
	(elf32_tic6x_size_dynamic_sections)
	(elf32_tic6x_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol)
	(tilepro_elf_size_dynamic_sections)
	(tilepro_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol)
	(ppc64_elf_size_dynamic_sections, ppc64_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-s390.c (elf_s390_adjust_dynamic_symbol)
	(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol)
	(elf_x86_64_size_dynamic_sections)
	(elf_x86_64_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol)
	(elfNN_aarch64_size_dynamic_sections)
	(elfNN_aarch64_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfnn-riscv.c (riscv_elf_adjust_dynamic_symbol)
	(riscv_elf_size_dynamic_sections, riscv_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol)
	(_bfd_mips_elf_size_dynamic_sections)
	(_bfd_mips_vxworks_finish_dynamic_symbol): As above.
	* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol)
	(_bfd_sparc_elf_size_dynamic_sections)
	(_bfd_sparc_elf_finish_dynamic_symbol): As above.
	* elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol)
	(tilegx_elf_size_dynamic_sections)
	(tilegx_elf_finish_dynamic_symbol): As above.
	* elf32-mips.c (elf_backend_want_dynrelro): Define.
	* elf64-mips.c (elf_backend_want_dynrelro): Define.
	* elf32-sparc.c (elf_backend_want_dynrelro): Define.
	* elf64-sparc.c (elf_backend_want_dynrelro): Define.
	* elf32-tilegx.c (elf_backend_want_dynrelro): Define.
	* elf64-tilegx.c (elf_backend_want_dynrelro): Define.
	* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol): Tidy.
	(microblaze_elf_size_dynamic_sections): Handle sdynbss.
	* elf32-nios2.c (nios2_elf32_size_dynamic_sections): Make use
	of linker shortcuts to dynamic sections rather than comparing
	names.  Correctly set "got" flag.
ld/
	PR ld/20995
	* testsuite/ld-arm/farcall-mixed-app-v5.d: Update to suit changed
	stub hash table traversal caused by section id increment.  Accept
	the previous output too.
	* testsuite/ld-arm/farcall-mixed-app.d: Likewise.
	* testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
	* testsuite/ld-arm/farcall-mixed-lib.d: Likewise.
	* testsuite/ld-elf/pr20995a.s, * testsuite/ld-elf/pr20995b.s,
	* testsuite/ld-elf/pr20995.r: New test.
	* testsuite/ld-elf/elf.exp: Run it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Put .dynbss and .rel.bss shortcuts in main elf hash table
@ 2016-12-26  6:26 sergiodj+buildbot
  2016-12-30  0:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-26  6:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d19e4fdb7c684329c8b1b72796a0071708dabc7 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9d19e4fdb7c684329c8b1b72796a0071708dabc7

Put .dynbss and .rel.bss shortcuts in main elf hash table

Also, create .rel{,a}.bss for PIEs on all targets, not just x86.

	* elf-bfd.h (struct elf_link_hash_table): Add sdynbss and srelbss.
	* elflink.c (_bfd_elf_create_dynamic_sections): Set them.  Create
	.rel.bss/.rela.bss for executables, both PIE and non-PIE.
	* elf32-arc.c (struct elf_arc_link_hash_table): Delete srelbss.
	Use ELF hash table var throughout.
	* elf32-arm.c (struct elf32_arm_link_hash_table): Delete sdynbss
	and srelbss.  Use ELF hash table vars throughout.
	* elf32-hppa.c (struct elf32_hppa_link_hash_table): Likewise.
	* elf32-i386.c (struct elf_i386_link_hash_table): Likewise.
	* elf32-metag.c (struct elf_metag_link_hash_table): Likewise.
	* elf32-microblaze.c (struct elf32_mb_link_hash_table): Likewise.
	* elf32-nios2.c (struct elf32_nios2_link_hash_table): Likewise.
	* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Likewise.
	* elf32-s390.c (struct elf_s390_link_hash_table): Likewise.
	* elf32-tic6x.c (struct elf32_tic6x_link_hash_table): Likewise.
	* elf32-tilepro.c (struct tilepro_elf_link_hash_table): Likewise.
	* elf64-ppc.c (struct ppc_link_hash_table): Likewise.
	* elf64-s390.c (struct elf_s390_link_hash_table): Likewise.
	* elf64-x86-64.c (struct elf_x86_64_link_hash_table): Likewise.
	* elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Likewise.
	* elfnn-riscv.c (struct riscv_elf_link_hash_table): Likewise.
	* elfxx-mips.c (struct mips_elf_link_hash_table): Likewise.
	* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Likewise.
	* elfxx-sparc.c: Likewise.
	* elfxx-tilegx.c (struct tilegx_elf_link_hash_table): Likewise.

	* elf32-arc.c (arc_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-microblaze.c (microblaze_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-or1k.c (or1k_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-s390.c (elf_s390_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf64-ppc.c (ppc64_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf64-s390.c (elf_s390_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.

	* elf32-tilepro.c (tilepro_elf_create_dynamic_sections): Remove
	extraneous tests.
	* elfnn-aarch64.c (elfNN_aarch64_create_dynamic_sections): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Likewise.
	* elfxx-tilegx.c (tilegx_elf_create_dynamic_sections): Likewise.

	* elf32-i386.c (elf_i386_create_dynamic_sections): Don't create
	".rel.bss" for executables.
	* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't create
	".rela.bss" for executables.
	* elf32-nios2.c (nios2_elf32_create_dynamic_sections): Don't
	ignore return status from _bfd_elf_create_dynamic_sections.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support
@ 2016-12-24  3:33 sergiodj+buildbot
  2016-12-29 14:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95

MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support

Revert commit 17733f5be961 ("Increment the ABIVERSION to 5 for MIPS
objects with non-executable stacks.") and remove EI_ABIVERSION 5
allocation for PT_GNU_STACK support, which has not made it to glibc
and will be reassigned.

	bfd/
	* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
	2016-02-23 change and remove EI_ABIVERSION 5 support.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Add ASMACRO instruction support
@ 2016-12-24  1:33 sergiodj+buildbot
  2016-12-29  7:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  1:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5284e471d53ccb7c7a1d140bd83098607ccf4b8a ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 5284e471d53ccb7c7a1d140bd83098607ccf4b8a

MIPS16: Add ASMACRO instruction support

Add ASMACRO instruction support as per the MIPS16e ASE architecture
specifications [1][2], completing MIPS16e instruction set support.

[1] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Section 4.1 "MIPS16e Instruction Descriptions", p. 65

[2] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Section 1.1 "MIPS16e Instruction Descriptions", p. 66

	include/
	* opcode/mips.h: Document `0', `1', `2', `3', `4' and `s'
	operand codes.

	opcodes/
	* mips16-opc.c (decode_mips16_operand): Add `0', `1', `2', `3',
	`4' and `s' operand codes.
	(mips16_opcodes): Add "asmacro" entry.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
	ASMACRO support.

	gas/
	* testsuite/gas/mips/mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-asmacro.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Reassign `0' and `4' operand codes
@ 2016-12-24  0:33 sergiodj+buildbot
  2016-12-29  1:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  0:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6

MIPS16: Reassign `0' and `4' operand codes

Replace `0' and `4' operand codes with `.' and `F' respectively to free
up the `0'-`4' consecutive range.  No functional change.

	gas/
	* config/tc-mips.c (mips16_macro_build): Replace `0' and `4'
	operand codes with `.' and `F' respectively.
	(mips16_macro): Likewise.

	include/
	* opcode/mips.h: Replace `0' and `4' operand codes with `.' and
	`F' respectively.

	opcodes/
	* mips16-opc.c (decode_mips16_operand): Replace `0' and `4'
	operand codes with `.' and `F' respectively.
	(mips16_opcodes): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling
@ 2016-12-23 22:25 sergiodj+buildbot
  2016-12-28 14:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2805ed55456cea2694d31fc8627cca17120267b ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: b2805ed55456cea2694d31fc8627cca17120267b

MIPS16: Remove "extended" BREAK/SDBBP handling

Remove special casing for the `6' operand code used for the embedded
trap code of the BREAK and the SDBBP instructions to support supposedly
extended forms of these instructions.

According to all versions of the MIPS16 ASE specifications these
instructions are not extensible [1][2][3][4][5][7][8][10][11], and as
from revision 2.50 of the MIPS16e ASE specifications it has been further
clarified what was previously implied, that non-extesiable instructions
when preceded with an EXTEND prefix must cause a Reserved Instruction
exception [5][6][9][10].

Therefore supposedly extended BREAK and SDBBP instructions do not serve
their purpose anymore as they do not cause a Bp and a Debug exception
respectively and supporting these forms in disassembly only causes
confusion.

References:

[1] "Product Description, MIPS16 Application-Specific Extension",
    Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
    Instruction Set Summary", p. 5

[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10

[3] same, Table 18. "Extendable MIPS16 Instructions", p. 24

[4] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Table 3.8 "MIPS16e Special Instructions", p. 38

[5] same, Section 3.11 "MIPS16e Extensible Instructions, p. 41

[6] same, Table 3.15 "MIPS16e Extensible Instructions", p. 41

[7] same, Table 3.24 "MIPS16e RR Encoding of the Funct Field", p. 49

[8] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Table 1.8 "MIPS16e Special Instructions", p. 39

[9] same, Section 1.11 "MIPS16e Extensible Instructions", p. 42

[10] same, Table 1.15 "MIPS16e Extensible Instructions", pp. 42-43

[11] same, Table 1.24 "MIPS16e RR Encoding of the Funct Field", p. 50

	gas/
	* config/tc-mips.c (match_mips16_insn): Remove the `6' operand
	code special case and its associated comment.

	opcodes/
	* mips16-opc.c (decode_mips16_operand) <'6'>: Remove extended
	encoding support.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Simplify extended operand handling
@ 2016-12-23 22:22 sergiodj+buildbot
  2016-12-29  5:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 22:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdd152861ce75c36828904cf3d10f8ce14da6cf5 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: bdd152861ce75c36828904cf3d10f8ce14da6cf5

MIPS16: Simplify extended operand handling

Simplify extended operand handling and only specially process immediates
which require bit shuffling, using the generic operand insertion and
extraction handlers for the '<' (5-bit shift amount) operand code in
particular.  Require the least significant bit of all extended operand
forms to be (artificially) set to 0 for their special processing to
trigger.

	gas/
	* config/tc-mips.c (mips16_immed): Limit `mips16_immed_extend'
	use to operands whose LSB position is zero.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Simplify processing of
	extended operands.
	* mips16-opc.c (decode_mips16_operand): Switch the extended
	form of the `<' operand type to LSB position 22.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Handle non-extensible instructions correctly
@ 2016-12-23 21:54 sergiodj+buildbot
  2016-12-28 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0674ee5dada21c8deec690ca66d5b2870f13ea49 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0674ee5dada21c8deec690ca66d5b2870f13ea49

MIPS16: Handle non-extensible instructions correctly

Identify non-extensible instructions in the MIPS16 opcode table and
disallow their use with the `.e' instruction size suffix in assembly and
do not interpret any EXTEND prefix present as a part of the instruction
in disassembly.

According to all versions of the MIPS16 ASE specifications the following
instructions encodings are not extensible [1][2][3][4][5][6]: I8/MOV32R,
I8/MOVR32, all RRR minor opcodes, all RR minor opcodes except from DSRA
and DSRL, and EXTEND itself, and as from revision 2.50 of the MIPS16e
ASE specifications it has been further clarified what was previously
implied, that non-extesiable instructions when preceded with an EXTEND
prefix must cause a Reserved Instruction exception [3][5].

Therefore in the presence of an EXTEND prefix none of these instructions
are supposed to be handled as extended instructions and supporting these
forms in disassembly causes confusion, and in the case of the RRR major
opcode it also clashes with the ASMACRO encoding.

References:

[1] "Product Description, MIPS16 Application-Specific Extension",
    Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
    Instruction Set Summary", p. 5

[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10

[3] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Section 3.9 "MIPS16e Instruction Summaries", pp. 37-39

[4] same, Section 3.15 "Instruction Bit Encoding", pp. 46-49

[5] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Section 1.9 "MIPS16e Instruction Summaries", pp. 38-41

[6] same, Section 1.15 "Instruction Bit Encoding", pp. 48-51

	include/
	* opcode/mips.h (INSN2_SHORT_ONLY): New macro.

	gas/
	* config/tc-mips.c (is_size_valid_16): Disallow a `.e' suffix
	instruction size override for INSN2_SHORT_ONLY opcode table
	entries.
	* testsuite/gas/mips/mips16-extend-swap.d: Adjust output.
	* testsuite/gas/mips/mips16-macro-e.l: Adjust error messages.
	* testsuite/gas/mips/mips16-32@mips16-macro-e.l: Adjust error
	messages.
	* testsuite/gas/mips/mips16e-32@mips16-macro-e.l: Adjust error
	messages.
	* testsuite/gas/mips/mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-insn-e.l: New stderr output.
	* testsuite/gas/mips/mips16-insn-t.l: New stderr output.
	* testsuite/gas/mips/mips16-32@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16-64@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16e-32@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16-32@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16-64@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16e-32@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16-insn-e.s: New test source.
	* testsuite/gas/mips/mips16-insn-t.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	opcodes/
	* mips-dis.c (print_insn_mips16): Disallow EXTEND prefix
	matching for INSN2_SHORT_ONLY opcode table entries.
	* mips16-opc.c (SH): New macro.
	(mips16_opcodes): Set SH in `pinfo2' for non-extensible
	instruction entries: "nop", "addu", "and", "break", "cmp",
	"daddu", "ddiv", "ddivu", "div", "divu", "dmult", "dmultu",
	"drem", "dremu", "dsllv", "dsll", "dsrav", "dsra", "dsrlv",
	"dsrl", "dsubu", "exit", "entry", "jalr", "jal", "jr", "j",
	"jalrc", "jrc", "mfhi", "mflo", "move", "mult", "multu", "neg",
	"not", "or", "rem", "remu", "sllv", "sll", "slt", "sltu",
	"srav", "sra", "srlv", "srl", "subu", "xor", "sdbbp", "seb",
	"seh", "sew", "zeb", "zeh", "zew" and "extend".

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
	* testsuite/binutils-all/mips/mips16-extend-insn.s: New test
	source.
	* testsuite/binutils-all/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling
@ 2016-12-23 21:34 sergiodj+buildbot
  2016-12-28 12:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 645c455650ed35460afdacb078c7c58308607fbe ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 645c455650ed35460afdacb078c7c58308607fbe

MIPS16/GAS: Disallow EXTEND delay-slot scheduling

Do not allow any explicitly coded EXTEND instruction to be automatically
scheduled into a jump delay slot, as an EXTEND prefix is coupled with
the next regular MIPS16 instruction and therefore swapping it with a
jump would change program's semantics; EXTEND is not architecturally
allowed to be present in a jump delay slot anyway.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set NODS in `pinfo' for
	"extend".

	gas/
	* testsuite/gas/mips/mips16-extend-swap.d: New test.
	* testsuite/gas/mips/mips16-extend-swap.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD
@ 2016-12-23 21:30 sergiodj+buildbot
  2016-12-28  7:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e76c212e6311abaee4d02473473f7d6dcad972f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 9e76c212e6311abaee4d02473473f7d6dcad972f

opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD

Fix a regression introduced with commit 5e7fc731f80e ("MIPS/opcodes:
Also set disassembler's ASE flags from ELF structures"), further updated
with commit 4df995c77118 ("MIPS/opcodes: Also set disassembler's ASE
flags from ELF structures"), and use autoconf to check for the presence
of `bfd_mips_elf_get_abiflags' in BFD.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options): Use
	HAVE_BFD_MIPS_ELF_GET_ABIFLAGS rather than BFD64 to guard the
	call to `bfd_mips_elf_get_abiflags'.
	* configure.ac: Check for `bfd_mips_elf_get_abiflags' in BFD.
	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add `libbfd.la'.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.in: Regenerate.
	* Makefile.in: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix more cases of improper test names
@ 2016-12-23 20:03 sergiodj+buildbot
  2016-12-28  5:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b362f04b2a56d446b024027963be52d61f939cb ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 5b362f04b2a56d446b024027963be52d61f939cb

Fix more cases of improper test names

I noticed more occurrences of improper test names. The rather mechanical,
tedious and large patch below addresses, hopefully, most of the leftover cases.

As usual, another pair of eyes is welcome to check if missed something or did
an invalid substitution.

This patch also fixes the prepare_for_testing calls to pass proper test names.

gdb/testsuite/ChangeLog:

2016-12-23  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names for the following files:

	* gdb.ada/exec_changed.exp
	* gdb.ada/info_types.exp
	* gdb.arch/aarch64-atomic-inst.exp
	* gdb.arch/aarch64-fp.exp
	* gdb.arch/altivec-abi.exp
	* gdb.arch/altivec-regs.exp
	* gdb.arch/amd64-byte.exp
	* gdb.arch/amd64-disp-step.exp
	* gdb.arch/amd64-dword.exp
	* gdb.arch/amd64-entry-value-inline.exp
	* gdb.arch/amd64-entry-value-param.exp
	* gdb.arch/amd64-entry-value-paramref.exp
	* gdb.arch/amd64-entry-value.exp
	* gdb.arch/amd64-i386-address.exp
	* gdb.arch/amd64-invalid-stack-middle.exp
	* gdb.arch/amd64-invalid-stack-top.exp
	* gdb.arch/amd64-optimout-repeat.exp
	* gdb.arch/amd64-prologue-skip.exp
	* gdb.arch/amd64-prologue-xmm.exp
	* gdb.arch/amd64-stap-special-operands.exp
	* gdb.arch/amd64-stap-wrong-subexp.exp
	* gdb.arch/amd64-tailcall-cxx.exp
	* gdb.arch/amd64-tailcall-noret.exp
	* gdb.arch/amd64-tailcall-ret.exp
	* gdb.arch/amd64-tailcall-self.exp
	* gdb.arch/amd64-word.exp
	* gdb.arch/arm-bl-branch-dest.exp
	* gdb.arch/arm-disp-step.exp
	* gdb.arch/arm-neon.exp
	* gdb.arch/arm-single-step-kernel-helper.exp
	* gdb.arch/avr-flash-qualifier.exp
	* gdb.arch/disp-step-insn-reloc.exp
	* gdb.arch/e500-abi.exp
	* gdb.arch/e500-regs.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/i386-avx512.exp
	* gdb.arch/i386-bp_permanent.exp
	* gdb.arch/i386-byte.exp
	* gdb.arch/i386-cfi-notcurrent.exp
	* gdb.arch/i386-disp-step.exp
	* gdb.arch/i386-dr3-watch.exp
	* gdb.arch/i386-float.exp
	* gdb.arch/i386-gnu-cfi.exp
	* gdb.arch/i386-mpx-map.exp
	* gdb.arch/i386-mpx-sigsegv.exp
	* gdb.arch/i386-mpx-simple_segv.exp
	* gdb.arch/i386-mpx.exp
	* gdb.arch/i386-permbkpt.exp
	* gdb.arch/i386-prologue.exp
	* gdb.arch/i386-signal.exp
	* gdb.arch/i386-size-overlap.exp
	* gdb.arch/i386-unwind.exp
	* gdb.arch/i386-word.exp
	* gdb.arch/mips-fcr.exp
	* gdb.arch/powerpc-d128-regs.exp
	* gdb.arch/powerpc-stackless.exp
	* gdb.arch/ppc64-atomic-inst.exp
	* gdb.arch/s390-stackless.exp
	* gdb.arch/s390-tdbregs.exp
	* gdb.arch/s390-vregs.exp
	* gdb.arch/sparc-sysstep.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.arch/thumb-singlestep.exp
	* gdb.arch/thumb2-it.exp
	* gdb.arch/vsx-regs.exp
	* gdb.asm/asm-source.exp
	* gdb.base/a2-run.exp
	* gdb.base/advance.exp
	* gdb.base/all-bin.exp
	* gdb.base/anon.exp
	* gdb.base/args.exp
	* gdb.base/arithmet.exp
	* gdb.base/async-shell.exp
	* gdb.base/async.exp
	* gdb.base/attach-pie-noexec.exp
	* gdb.base/attach-twice.exp
	* gdb.base/auto-load.exp
	* gdb.base/bang.exp
	* gdb.base/bitfields.exp
	* gdb.base/break-always.exp
	* gdb.base/break-caller-line.exp
	* gdb.base/break-entry.exp
	* gdb.base/break-inline.exp
	* gdb.base/break-on-linker-gcd-function.exp
	* gdb.base/break-probes.exp
	* gdb.base/break.exp
	* gdb.base/breakpoint-shadow.exp
	* gdb.base/call-ar-st.exp
	* gdb.base/call-sc.exp
	* gdb.base/call-signal-resume.exp
	* gdb.base/call-strs.exp
	* gdb.base/callfuncs.exp
	* gdb.base/catch-fork-static.exp
	* gdb.base/catch-gdb-caused-signals.exp
	* gdb.base/catch-load.exp
	* gdb.base/catch-signal-fork.exp
	* gdb.base/catch-signal.exp
	* gdb.base/catch-syscall.exp
	* gdb.base/charset.exp
	* gdb.base/checkpoint.exp
	* gdb.base/chng-syms.exp
	* gdb.base/code-expr.exp
	* gdb.base/code_elim.exp
	* gdb.base/commands.exp
	* gdb.base/completion.exp
	* gdb.base/complex.exp
	* gdb.base/cond-expr.exp
	* gdb.base/condbreak.exp
	* gdb.base/consecutive.exp
	* gdb.base/continue-all-already-running.exp
	* gdb.base/coredump-filter.exp
	* gdb.base/corefile.exp
	* gdb.base/dbx.exp
	* gdb.base/debug-expr.exp
	* gdb.base/define.exp
	* gdb.base/del.exp
	* gdb.base/disabled-location.exp
	* gdb.base/disasm-end-cu.exp
	* gdb.base/disasm-optim.exp
	* gdb.base/display.exp
	* gdb.base/duplicate-bp.exp
	* gdb.base/ena-dis-br.exp
	* gdb.base/ending-run.exp
	* gdb.base/enumval.exp
	* gdb.base/environ.exp
	* gdb.base/eu-strip-infcall.exp
	* gdb.base/eval-avoid-side-effects.exp
	* gdb.base/eval-skip.exp
	* gdb.base/exitsignal.exp
	* gdb.base/expand-psymtabs.exp
	* gdb.base/filesym.exp
	* gdb.base/find-unmapped.exp
	* gdb.base/finish.exp
	* gdb.base/float.exp
	* gdb.base/foll-exec-mode.exp
	* gdb.base/foll-exec.exp
	* gdb.base/foll-fork.exp
	* gdb.base/fortran-sym-case.exp
	* gdb.base/freebpcmd.exp
	* gdb.base/func-ptr.exp
	* gdb.base/func-ptrs.exp
	* gdb.base/funcargs.exp
	* gdb.base/gcore-buffer-overflow.exp
	* gdb.base/gcore-relro-pie.exp
	* gdb.base/gcore-relro.exp
	* gdb.base/gcore.exp
	* gdb.base/gdb1090.exp
	* gdb.base/gdb11530.exp
	* gdb.base/gdb11531.exp
	* gdb.base/gdb1821.exp
	* gdb.base/gdbindex-stabs.exp
	* gdb.base/gdbvars.exp
	* gdb.base/hbreak.exp
	* gdb.base/hbreak2.exp
	* gdb.base/included.exp
	* gdb.base/infcall-input.exp
	* gdb.base/inferior-died.exp
	* gdb.base/infnan.exp
	* gdb.base/info-macros.exp
	* gdb.base/info-os.exp
	* gdb.base/info-proc.exp
	* gdb.base/info-shared.exp
	* gdb.base/info-target.exp
	* gdb.base/infoline.exp
	* gdb.base/interp.exp
	* gdb.base/interrupt.exp
	* gdb.base/jit-reader.exp
	* gdb.base/jit-simple.exp
	* gdb.base/kill-after-signal.exp
	* gdb.base/kill-detach-inferiors-cmd.exp
	* gdb.base/label.exp
	* gdb.base/langs.exp
	* gdb.base/ldbl_e308.exp
	* gdb.base/line-symtabs.exp
	* gdb.base/linespecs.exp
	* gdb.base/list.exp
	* gdb.base/long_long.exp
	* gdb.base/longest-types.exp
	* gdb.base/maint.exp
	* gdb.base/max-value-size.exp
	* gdb.base/memattr.exp
	* gdb.base/mips_pro.exp
	* gdb.base/morestack.exp
	* gdb.base/moribund-step.exp
	* gdb.base/multi-forks.exp
	* gdb.base/nested-addr.exp
	* gdb.base/nextoverexit.exp
	* gdb.base/noreturn-finish.exp
	* gdb.base/noreturn-return.exp
	* gdb.base/nostdlib.exp
	* gdb.base/offsets.exp
	* gdb.base/opaque.exp
	* gdb.base/pc-fp.exp
	* gdb.base/permissions.exp
	* gdb.base/print-symbol-loading.exp
	* gdb.base/prologue-include.exp
	* gdb.base/psymtab.exp
	* gdb.base/ptype.exp
	* gdb.base/random-signal.exp
	* gdb.base/randomize.exp
	* gdb.base/range-stepping.exp
	* gdb.base/readline-ask.exp
	* gdb.base/recpar.exp
	* gdb.base/recurse.exp
	* gdb.base/relational.exp
	* gdb.base/restore.exp
	* gdb.base/return-nodebug.exp
	* gdb.base/return.exp
	* gdb.base/run-after-attach.exp
	* gdb.base/save-bp.exp
	* gdb.base/scope.exp
	* gdb.base/sect-cmd.exp
	* gdb.base/set-lang-auto.exp
	* gdb.base/set-noassign.exp
	* gdb.base/setvar.exp
	* gdb.base/sigall.exp
	* gdb.base/sigbpt.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/siginfo-infcall.exp
	* gdb.base/siginfo-obj.exp
	* gdb.base/siginfo.exp
	* gdb.base/signals-state-child.exp
	* gdb.base/signest.exp
	* gdb.base/sigstep.exp
	* gdb.base/sizeof.exp
	* gdb.base/skip.exp
	* gdb.base/solib-corrupted.exp
	* gdb.base/solib-nodir.exp
	* gdb.base/solib-search.exp
	* gdb.base/stack-checking.exp
	* gdb.base/stale-infcall.exp
	* gdb.base/stap-probe.exp
	* gdb.base/start.exp
	* gdb.base/step-break.exp
	* gdb.base/step-bt.exp
	* gdb.base/step-line.exp
	* gdb.base/step-over-exit.exp
	* gdb.base/step-over-syscall.exp
	* gdb.base/step-resume-infcall.exp
	* gdb.base/step-test.exp
	* gdb.base/store.exp
	* gdb.base/structs3.exp
	* gdb.base/sym-file.exp
	* gdb.base/symbol-without-target_section.exp
	* gdb.base/term.exp
	* gdb.base/testenv.exp
	* gdb.base/ui-redirect.exp
	* gdb.base/until.exp
	* gdb.base/unwindonsignal.exp
	* gdb.base/value-double-free.exp
	* gdb.base/vla-datatypes.exp
	* gdb.base/vla-ptr.exp
	* gdb.base/vla-sideeffect.exp
	* gdb.base/volatile.exp
	* gdb.base/watch-cond-infcall.exp
	* gdb.base/watch-cond.exp
	* gdb.base/watch-non-mem.exp
	* gdb.base/watch-read.exp
	* gdb.base/watch-vfork.exp
	* gdb.base/watchpoint-cond-gone.exp
	* gdb.base/watchpoint-delete.exp
	* gdb.base/watchpoint-hw-hit-once.exp
	* gdb.base/watchpoint-hw.exp
	* gdb.base/watchpoint-stops-at-right-insn.exp
	* gdb.base/watchpoints.exp
	* gdb.base/wchar.exp
	* gdb.base/whatis-exp.exp
	* gdb.btrace/buffer-size.exp
	* gdb.btrace/data.exp
	* gdb.btrace/delta.exp
	* gdb.btrace/dlopen.exp
	* gdb.btrace/enable.exp
	* gdb.btrace/exception.exp
	* gdb.btrace/function_call_history.exp
	* gdb.btrace/gcore.exp
	* gdb.btrace/instruction_history.exp
	* gdb.btrace/nohist.exp
	* gdb.btrace/reconnect.exp
	* gdb.btrace/record_goto-step.exp
	* gdb.btrace/record_goto.exp
	* gdb.btrace/rn-dl-bind.exp
	* gdb.btrace/segv.exp
	* gdb.btrace/step.exp
	* gdb.btrace/stepi.exp
	* gdb.btrace/tailcall-only.exp
	* gdb.btrace/tailcall.exp
	* gdb.btrace/tsx.exp
	* gdb.btrace/unknown_functions.exp
	* gdb.btrace/vdso.exp
	* gdb.compile/compile-ifunc.exp
	* gdb.compile/compile-ops.exp
	* gdb.compile/compile-print.exp
	* gdb.compile/compile-setjmp.exp
	* gdb.cp/abstract-origin.exp
	* gdb.cp/ambiguous.exp
	* gdb.cp/annota2.exp
	* gdb.cp/annota3.exp
	* gdb.cp/anon-ns.exp
	* gdb.cp/anon-struct.exp
	* gdb.cp/anon-union.exp
	* gdb.cp/arg-reference.exp
	* gdb.cp/baseenum.exp
	* gdb.cp/bool.exp
	* gdb.cp/breakpoint.exp
	* gdb.cp/bs15503.exp
	* gdb.cp/call-c.exp
	* gdb.cp/casts.exp
	* gdb.cp/chained-calls.exp
	* gdb.cp/class2.exp
	* gdb.cp/classes.exp
	* gdb.cp/cmpd-minsyms.exp
	* gdb.cp/converts.exp
	* gdb.cp/cp-relocate.exp
	* gdb.cp/cpcompletion.exp
	* gdb.cp/cpexprs.exp
	* gdb.cp/cplabel.exp
	* gdb.cp/cplusfuncs.exp
	* gdb.cp/cpsizeof.exp
	* gdb.cp/ctti.exp
	* gdb.cp/derivation.exp
	* gdb.cp/destrprint.exp
	* gdb.cp/dispcxx.exp
	* gdb.cp/enum-class.exp
	* gdb.cp/exception.exp
	* gdb.cp/exceptprint.exp
	* gdb.cp/expand-psymtabs-cxx.exp
	* gdb.cp/expand-sals.exp
	* gdb.cp/extern-c.exp
	* gdb.cp/filename.exp
	* gdb.cp/formatted-ref.exp
	* gdb.cp/fpointer.exp
	* gdb.cp/gdb1355.exp
	* gdb.cp/gdb2495.exp
	* gdb.cp/hang.exp
	* gdb.cp/impl-this.exp
	* gdb.cp/infcall-dlopen.exp
	* gdb.cp/inherit.exp
	* gdb.cp/iostream.exp
	* gdb.cp/koenig.exp
	* gdb.cp/local.exp
	* gdb.cp/m-data.exp
	* gdb.cp/m-static.exp
	* gdb.cp/mb-ctor.exp
	* gdb.cp/mb-inline.exp
	* gdb.cp/mb-templates.exp
	* gdb.cp/member-name.exp
	* gdb.cp/member-ptr.exp
	* gdb.cp/meth-typedefs.exp
	* gdb.cp/method.exp
	* gdb.cp/method2.exp
	* gdb.cp/minsym-fallback.exp
	* gdb.cp/misc.exp
	* gdb.cp/namelessclass.exp
	* gdb.cp/namespace-enum.exp
	* gdb.cp/namespace-nested-import.exp
	* gdb.cp/namespace.exp
	* gdb.cp/nextoverthrow.exp
	* gdb.cp/no-dmgl-verbose.exp
	* gdb.cp/non-trivial-retval.exp
	* gdb.cp/noparam.exp
	* gdb.cp/nsdecl.exp
	* gdb.cp/nsimport.exp
	* gdb.cp/nsnested.exp
	* gdb.cp/nsnoimports.exp
	* gdb.cp/nsrecurs.exp
	* gdb.cp/nsstress.exp
	* gdb.cp/nsusing.exp
	* gdb.cp/operator.exp
	* gdb.cp/oranking.exp
	* gdb.cp/overload-const.exp
	* gdb.cp/overload.exp
	* gdb.cp/ovldbreak.exp
	* gdb.cp/ovsrch.exp
	* gdb.cp/paren-type.exp
	* gdb.cp/parse-lang.exp
	* gdb.cp/pass-by-ref.exp
	* gdb.cp/pr-1023.exp
	* gdb.cp/pr-1210.exp
	* gdb.cp/pr-574.exp
	* gdb.cp/pr10687.exp
	* gdb.cp/pr12028.exp
	* gdb.cp/pr17132.exp
	* gdb.cp/pr17494.exp
	* gdb.cp/pr9067.exp
	* gdb.cp/pr9167.exp
	* gdb.cp/pr9631.exp
	* gdb.cp/printmethod.exp
	* gdb.cp/psmang.exp
	* gdb.cp/psymtab-parameter.exp
	* gdb.cp/ptype-cv-cp.exp
	* gdb.cp/ptype-flags.exp
	* gdb.cp/re-set-overloaded.exp
	* gdb.cp/ref-types.exp
	* gdb.cp/rtti.exp
	* gdb.cp/scope-err.exp
	* gdb.cp/shadow.exp
	* gdb.cp/smartp.exp
	* gdb.cp/static-method.exp
	* gdb.cp/static-print-quit.exp
	* gdb.cp/temargs.exp
	* gdb.cp/templates.exp
	* gdb.cp/try_catch.exp
	* gdb.cp/typedef-operator.exp
	* gdb.cp/typeid.exp
	* gdb.cp/userdef.exp
	* gdb.cp/using-crash.exp
	* gdb.cp/var-tag.exp
	* gdb.cp/virtbase.exp
	* gdb.cp/virtfunc.exp
	* gdb.cp/virtfunc2.exp
	* gdb.cp/vla-cxx.exp
	* gdb.disasm/t01_mov.exp
	* gdb.disasm/t02_mova.exp
	* gdb.disasm/t03_add.exp
	* gdb.disasm/t04_sub.exp
	* gdb.disasm/t05_cmp.exp
	* gdb.disasm/t06_ari2.exp
	* gdb.disasm/t07_ari3.exp
	* gdb.disasm/t08_or.exp
	* gdb.disasm/t09_xor.exp
	* gdb.disasm/t10_and.exp
	* gdb.disasm/t11_logs.exp
	* gdb.disasm/t12_bit.exp
	* gdb.disasm/t13_otr.exp
	* gdb.dlang/circular.exp
	* gdb.dwarf2/arr-stride.exp
	* gdb.dwarf2/arr-subrange.exp
	* gdb.dwarf2/atomic-type.exp
	* gdb.dwarf2/bad-regnum.exp
	* gdb.dwarf2/bitfield-parent-optimized-out.exp
	* gdb.dwarf2/callframecfa.exp
	* gdb.dwarf2/clztest.exp
	* gdb.dwarf2/corrupt.exp
	* gdb.dwarf2/data-loc.exp
	* gdb.dwarf2/dup-psym.exp
	* gdb.dwarf2/dw2-anon-mptr.exp
	* gdb.dwarf2/dw2-anonymous-func.exp
	* gdb.dwarf2/dw2-bad-mips-linkage-name.exp
	* gdb.dwarf2/dw2-bad-unresolved.exp
	* gdb.dwarf2/dw2-basic.exp
	* gdb.dwarf2/dw2-canonicalize-type.exp
	* gdb.dwarf2/dw2-case-insensitive.exp
	* gdb.dwarf2/dw2-common-block.exp
	* gdb.dwarf2/dw2-compdir-oldgcc.exp
	* gdb.dwarf2/dw2-compressed.exp
	* gdb.dwarf2/dw2-const.exp
	* gdb.dwarf2/dw2-cp-infcall-ref-static.exp
	* gdb.dwarf2/dw2-cu-size.exp
	* gdb.dwarf2/dw2-dup-frame.exp
	* gdb.dwarf2/dw2-entry-value.exp
	* gdb.dwarf2/dw2-icycle.exp
	* gdb.dwarf2/dw2-ifort-parameter.exp
	* gdb.dwarf2/dw2-inline-break.exp
	* gdb.dwarf2/dw2-inline-param.exp
	* gdb.dwarf2/dw2-intercu.exp
	* gdb.dwarf2/dw2-intermix.exp
	* gdb.dwarf2/dw2-lexical-block-bare.exp
	* gdb.dwarf2/dw2-linkage-name-trust.exp
	* gdb.dwarf2/dw2-minsym-in-cu.exp
	* gdb.dwarf2/dw2-noloc.exp
	* gdb.dwarf2/dw2-op-call.exp
	* gdb.dwarf2/dw2-op-out-param.exp
	* gdb.dwarf2/dw2-opt-structptr.exp
	* gdb.dwarf2/dw2-param-error.exp
	* gdb.dwarf2/dw2-producer.exp
	* gdb.dwarf2/dw2-ranges-base.exp
	* gdb.dwarf2/dw2-ref-missing-frame.exp
	* gdb.dwarf2/dw2-reg-undefined.exp
	* gdb.dwarf2/dw2-regno-invalid.exp
	* gdb.dwarf2/dw2-restore.exp
	* gdb.dwarf2/dw2-restrict.exp
	* gdb.dwarf2/dw2-single-line-discriminators.exp
	* gdb.dwarf2/dw2-strp.exp
	* gdb.dwarf2/dw2-undefined-ret-addr.exp
	* gdb.dwarf2/dw2-unresolved.exp
	* gdb.dwarf2/dw2-var-zero-addr.exp
	* gdb.dwarf2/dw4-sig-types.exp
	* gdb.dwarf2/dwz.exp
	* gdb.dwarf2/dynarr-ptr.exp
	* gdb.dwarf2/enum-type.exp
	* gdb.dwarf2/gdb-index.exp
	* gdb.dwarf2/implptr-64bit.exp
	* gdb.dwarf2/implptr-optimized-out.exp
	* gdb.dwarf2/implptr.exp
	* gdb.dwarf2/implref-array.exp
	* gdb.dwarf2/implref-const.exp
	* gdb.dwarf2/implref-global.exp
	* gdb.dwarf2/implref-struct.exp
	* gdb.dwarf2/mac-fileno.exp
	* gdb.dwarf2/main-subprogram.exp
	* gdb.dwarf2/member-ptr-forwardref.exp
	* gdb.dwarf2/method-ptr.exp
	* gdb.dwarf2/missing-sig-type.exp
	* gdb.dwarf2/nonvar-access.exp
	* gdb.dwarf2/opaque-type-lookup.exp
	* gdb.dwarf2/pieces-optimized-out.exp
	* gdb.dwarf2/pieces.exp
	* gdb.dwarf2/pr10770.exp
	* gdb.dwarf2/pr13961.exp
	* gdb.dwarf2/staticvirtual.exp
	* gdb.dwarf2/subrange.exp
	* gdb.dwarf2/symtab-producer.exp
	* gdb.dwarf2/trace-crash.exp
	* gdb.dwarf2/typeddwarf.exp
	* gdb.dwarf2/valop.exp
	* gdb.dwarf2/watch-notconst.exp
	* gdb.fortran/array-element.exp
	* gdb.fortran/charset.exp
	* gdb.fortran/common-block.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/derived-type-function.exp
	* gdb.fortran/derived-type.exp
	* gdb.fortran/logical.exp
	* gdb.fortran/module.exp
	* gdb.fortran/multi-dim.exp
	* gdb.fortran/nested-funcs.exp
	* gdb.fortran/print-formatted.exp
	* gdb.fortran/subarray.exp
	* gdb.fortran/vla-alloc-assoc.exp
	* gdb.fortran/vla-datatypes.exp
	* gdb.fortran/vla-history.exp
	* gdb.fortran/vla-ptr-info.exp
	* gdb.fortran/vla-ptype-sub.exp
	* gdb.fortran/vla-ptype.exp
	* gdb.fortran/vla-sizeof.exp
	* gdb.fortran/vla-type.exp
	* gdb.fortran/vla-value-sub-arbitrary.exp
	* gdb.fortran/vla-value-sub-finish.exp
	* gdb.fortran/vla-value-sub.exp
	* gdb.fortran/vla-value.exp
	* gdb.fortran/whatis_type.exp
	* gdb.go/chan.exp
	* gdb.go/handcall.exp
	* gdb.go/hello.exp
	* gdb.go/integers.exp
	* gdb.go/methods.exp
	* gdb.go/package.exp
	* gdb.go/strings.exp
	* gdb.go/types.exp
	* gdb.go/unsafe.exp
	* gdb.guile/scm-arch.exp
	* gdb.guile/scm-block.exp
	* gdb.guile/scm-breakpoint.exp
	* gdb.guile/scm-cmd.exp
	* gdb.guile/scm-disasm.exp
	* gdb.guile/scm-equal.exp
	* gdb.guile/scm-frame-args.exp
	* gdb.guile/scm-frame-inline.exp
	* gdb.guile/scm-frame.exp
	* gdb.guile/scm-iterator.exp
	* gdb.guile/scm-math.exp
	* gdb.guile/scm-objfile.exp
	* gdb.guile/scm-ports.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-symtab.exp
	* gdb.guile/scm-value-cc.exp
	* gdb.guile/types-module.exp
	* gdb.linespec/break-ask.exp
	* gdb.linespec/cpexplicit.exp
	* gdb.linespec/explicit.exp
	* gdb.linespec/keywords.exp
	* gdb.linespec/linespec.exp
	* gdb.linespec/ls-dollar.exp
	* gdb.linespec/ls-errs.exp
	* gdb.linespec/skip-two.exp
	* gdb.linespec/thread.exp
	* gdb.mi/mi-async.exp
	* gdb.mi/mi-basics.exp
	* gdb.mi/mi-break.exp
	* gdb.mi/mi-catch-load.exp
	* gdb.mi/mi-cli.exp
	* gdb.mi/mi-cmd-param-changed.exp
	* gdb.mi/mi-console.exp
	* gdb.mi/mi-detach.exp
	* gdb.mi/mi-disassemble.exp
	* gdb.mi/mi-eval.exp
	* gdb.mi/mi-file-transfer.exp
	* gdb.mi/mi-file.exp
	* gdb.mi/mi-fill-memory.exp
	* gdb.mi/mi-inheritance-syntax-error.exp
	* gdb.mi/mi-linespec-err-cp.exp
	* gdb.mi/mi-logging.exp
	* gdb.mi/mi-memory-changed.exp
	* gdb.mi/mi-read-memory.exp
	* gdb.mi/mi-record-changed.exp
	* gdb.mi/mi-reg-undefined.exp
	* gdb.mi/mi-regs.exp
	* gdb.mi/mi-return.exp
	* gdb.mi/mi-reverse.exp
	* gdb.mi/mi-simplerun.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/mi-stack.exp
	* gdb.mi/mi-stepi.exp
	* gdb.mi/mi-syn-frame.exp
	* gdb.mi/mi-until.exp
	* gdb.mi/mi-var-block.exp
	* gdb.mi/mi-var-child.exp
	* gdb.mi/mi-var-cmd.exp
	* gdb.mi/mi-var-cp.exp
	* gdb.mi/mi-var-display.exp
	* gdb.mi/mi-var-invalidate.exp
	* gdb.mi/mi-var-list-children-invalid-grandchild.exp
	* gdb.mi/mi-vla-fortran.exp
	* gdb.mi/mi-watch.exp
	* gdb.mi/mi2-var-child.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.modula2/unbounded-array.exp
	* gdb.multi/dummy-frame-restore.exp
	* gdb.multi/multi-arch-exec.exp
	* gdb.multi/multi-arch.exp
	* gdb.multi/tids.exp
	* gdb.multi/watchpoint-multi.exp
	* gdb.opencl/callfuncs.exp
	* gdb.opencl/convs_casts.exp
	* gdb.opencl/datatypes.exp
	* gdb.opencl/operators.exp
	* gdb.opencl/vec_comps.exp
	* gdb.opt/clobbered-registers-O2.exp
	* gdb.opt/inline-break.exp
	* gdb.opt/inline-bt.exp
	* gdb.opt/inline-cmds.exp
	* gdb.opt/inline-locals.exp
	* gdb.pascal/case-insensitive-symbols.exp
	* gdb.pascal/floats.exp
	* gdb.pascal/gdb11492.exp
	* gdb.python/lib-types.exp
	* gdb.python/py-arch.exp
	* gdb.python/py-as-string.exp
	* gdb.python/py-bad-printers.exp
	* gdb.python/py-block.exp
	* gdb.python/py-breakpoint-create-fail.exp
	* gdb.python/py-breakpoint.exp
	* gdb.python/py-caller-is.exp
	* gdb.python/py-cmd.exp
	* gdb.python/py-explore-cc.exp
	* gdb.python/py-explore.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-finish-breakpoint2.exp
	* gdb.python/py-frame-args.exp
	* gdb.python/py-frame-inline.exp
	* gdb.python/py-frame.exp
	* gdb.python/py-framefilter-mi.exp
	* gdb.python/py-infthread.exp
	* gdb.python/py-lazy-string.exp
	* gdb.python/py-linetable.exp
	* gdb.python/py-mi-events.exp
	* gdb.python/py-mi-objfile.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-objfile.exp
	* gdb.python/py-pp-integral.exp
	* gdb.python/py-pp-maint.exp
	* gdb.python/py-pp-re-notag.exp
	* gdb.python/py-pp-registration.exp
	* gdb.python/py-recurse-unwind.exp
	* gdb.python/py-strfns.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-sync-interp.exp
	* gdb.python/py-typeprint.exp
	* gdb.python/py-unwind-maint.exp
	* gdb.python/py-unwind.exp
	* gdb.python/py-value-cc.exp
	* gdb.python/py-xmethods.exp
	* gdb.reverse/amd64-tailcall-reverse.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/break-reverse.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/consecutive-reverse.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/finish-reverse.exp
	* gdb.reverse/fstatat-reverse.exp
	* gdb.reverse/getresuid-reverse.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/i386-reverse.exp
	* gdb.reverse/i386-sse-reverse.exp
	* gdb.reverse/i387-env-reverse.exp
	* gdb.reverse/i387-stack-reverse.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/machinestate.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/pipe-reverse.exp
	* gdb.reverse/readv-reverse.exp
	* gdb.reverse/recvmsg-reverse.exp
	* gdb.reverse/rerun-prec.exp
	* gdb.reverse/s390-mvcle.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/step-reverse.exp
	* gdb.reverse/time-reverse.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/until-reverse.exp
	* gdb.reverse/waitpid-reverse.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.reverse/watch-reverse.exp
	* gdb.rust/generics.exp
	* gdb.rust/methods.exp
	* gdb.rust/modules.exp
	* gdb.rust/simple.exp
	* gdb.server/connect-with-no-symbol-file.exp
	* gdb.server/ext-attach.exp
	* gdb.server/ext-restart.exp
	* gdb.server/ext-wrapper.exp
	* gdb.server/file-transfer.exp
	* gdb.server/server-exec-info.exp
	* gdb.server/server-kill.exp
	* gdb.server/server-mon.exp
	* gdb.server/wrapper.exp
	* gdb.stabs/exclfwd.exp
	* gdb.stabs/gdb11479.exp
	* gdb.threads/clone-new-thread-event.exp
	* gdb.threads/corethreads.exp
	* gdb.threads/current-lwp-dead.exp
	* gdb.threads/dlopen-libpthread.exp
	* gdb.threads/gcore-thread.exp
	* gdb.threads/sigstep-threads.exp
	* gdb.threads/watchpoint-fork.exp
	* gdb.trace/actions-changed.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/circ.exp
	* gdb.trace/collection.exp
	* gdb.trace/disconnected-tracing.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/mi-trace-frame-collected.exp
	* gdb.trace/mi-trace-unavailable.exp
	* gdb.trace/mi-traceframe-changed.exp
	* gdb.trace/mi-tsv-changed.exp
	* gdb.trace/no-attach-trace.exp
	* gdb.trace/passc-dyn.exp
	* gdb.trace/qtro.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/read-memory.exp
	* gdb.trace/save-trace.exp
	* gdb.trace/signal.exp
	* gdb.trace/status-stop.exp
	* gdb.trace/tfile.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-buffer-size.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/tracefile-pseudo-reg.exp
	* gdb.trace/tstatus.exp
	* gdb.trace/unavailable.exp
	* gdb.trace/while-dyn.exp
	* gdb.trace/while-stepping.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix incorrect reference to source files
@ 2016-12-23 18:37 sergiodj+buildbot
  2016-12-27 23:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 18:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7dc53023ec5d000b3b8d287720ed8d04d91e02ec ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 7dc53023ec5d000b3b8d287720ed8d04d91e02ec

Fix incorrect reference to source files

gdb/gdbserver/ChangeLog:

2016-12-23  Luis Machado  <lgustavo@codesourcery.com>

	* win32-i386-low.c: Fix incorrect reference to a couple source files.
	* nto-x86-low.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Call target specific add_symbols function
@ 2016-12-23 16:53 sergiodj+buildbot
  2016-12-27 19:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 16:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75

Call target specific add_symbols function

This allows targets that have target specific code to add object
symbols to make use of the generic archive handling.

	* linker.c (generic_link_check_archive_element): Call target
	bfd_link_add_symbols to add element symbols.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
@ 2016-12-23 14:34 sergiodj+buildbot
  2016-12-27 16:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 14:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 865422fafaf387745b2979d47b6f448d28e0edb8 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 865422fafaf387745b2979d47b6f448d28e0edb8

hppa-linux-gnu-ranlib: libcpp.a: File format not recognized

This stops an --enable-targets selection affecting the main target in
regards to forcing 64-bit archives.  It also means mips64 and s390x
will revert to binutils-2.25 and binutils-2.26 behaviour of not
forcing 64-bit archives at least in the common case when plugins were
enabled.

	PR binutils/20464
	PR binutils/14625
	* configure.ac: Revert 2016-05-25 configure change setting
	want_64_bit_archive for mips64 and s390x.  Revise USE_64_BIT_ARCHIVE
	description.
	* configure: Regenerate.
	* config.in: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Updated email address.
@ 2016-12-23 12:50 sergiodj+buildbot
  2016-12-27  6:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 12:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6096dda15babc5307b1a0e9624d4e0028fd429e1 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 6096dda15babc5307b1a0e9624d4e0028fd429e1

Updated email address.

2016-12-23  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:
	* MAINTAINERS (Write After Approval): Updated email address.

Change-Id: I46b81392c2bd4b04e8e2aea2bb4bef2d0b509d24


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Bump version to 2.28.51
@ 2016-12-23  9:49 sergiodj+buildbot
  2016-12-27  4:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  9:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c

Bump version to 2.28.51

bfd/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* version.m4: Bump version to 2.28.51
	* configure: Regenerate.

binutils/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

gas/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

gprof/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

ld/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

opcodes/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Regenerate pot files.
@ 2016-12-23  9:35 sergiodj+buildbot
  2016-12-27  0:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  9:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e0e7a9d436cb3c97ae89c9b0d2750a006746b233 ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: e0e7a9d436cb3c97ae89c9b0d2750a006746b233

Regenerate pot files.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] infrun.c (set_step_over_info): Add comment.
@ 2016-12-23  1:16 sergiodj+buildbot
  2016-12-26 16:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  1:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce0db13751aed2782c417bc4cf715313f9273e94 ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: ce0db13751aed2782c417bc4cf715313f9273e94

infrun.c (set_step_over_info): Add comment.

gdb/ChangeLog:

	* infrun.c (set_step_over_info): Add comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] New syntax for mt print symbols,msymbols,psymbols.
@ 2016-12-23  0:18 sergiodj+buildbot
  2016-12-26  9:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  0:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34c41c681f4a0a0dfe0405c7d2aecf458520557a ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: 34c41c681f4a0a0dfe0405c7d2aecf458520557a

New syntax for mt print symbols,msymbols,psymbols.

gdb/ChangeLog:

	* NEWS: Document new syntax for "mt print symbols", "mt print psymbols"
	and "mt print msymbols" commands.
	* psymtab.c (DEV_TTY): Delete.
	(dump_psymtab_addrmap): Don't dump if psymtabs_addrmap is NULL.
	(maintenance_print_psymbols): Rewrite for new syntax:
	mt print psymbols [-objfile objfile] [-pc address] [outfile]
	mt print psymbols [-objfile objfile] [-source source] [outfile]
	(_initialize_psymtab): Update help text.
	* symmisc.c (maintenance_print_symbols): Rewrite for new syntax:
	mt print symbols [-pc address] [outfile]
	mt print symbols [-objfile objfile] [-source source] [outfile]
	(maintenance_print_msymbols): Rewrite for new syntax:
	mt print msymbols [-objfile objfile] [outfile]
	Only print symbols for the current progspace.
	(_initialize_symmisc): Update help text.

gdb/doc/ChangeLog:

	* gdb.texinfo (Symbols): Update docs for symbol printing maintenance
	commands.

gdb/testsuite/ChangeLog:

	* gdb.base/maint.exp: Update tests for maint print symbols, psymbols
	and msymbols.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Class-ify ui_out
@ 2016-12-22 22:01 sergiodj+buildbot
  2016-12-26  5:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-22 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 112e8700a6fd2fed65ca70132c9cbed4132e8bd4 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 112e8700a6fd2fed65ca70132c9cbed4132e8bd4

Class-ify ui_out

This patch finalizes the C++ conversion of the ui-out subsystem, by
turning the ui_out and ui_out_impl structures into a single class
hierarchy.  ui_out functions are turned into virtual methods of that new
class, so as a result there are a lot of call sites to update.

In the previous version of the patchset, there were separate ui_out and
ui_out_impl classes, but it wasn't really useful and added boilerplate.
In this version there is simply an ui_out base class that is
extended for CLI, TUI and MI.

It's a bit hard to maintain a ChangeLog for such a big patch, I did my
best but I'm sure there are some missing or outdated info in there...

gdb/ChangeLog:

    * ui-out.h (ui_out_begin, ui_out_end, ui_out_table_header,
    ui_out_table_body,  ui_out_field_int, ui_out_field_fmt_int,
    ui_out_field_core_addr, ui_out_field_string, ui_out_field_stream,
    ui_out_field_fmt, ui_out_field_skip, ui_out_spaces, ui_out_text,
    ui_out_message, ui_out_wrap_hint, ui_out_flush, ui_out_test_flags,
    ui_out_query_field, ui_out_is_mi_like_p, ui_out_redirect):
    Remove, replace with a method in class ui_out.
    (table_begin_ftype): Remove, replace with pure virtual method in
    class ui_out.
    (table_body_ftype): Likewise.
    (table_end_ftype): Likewise.
    (table_header_ftype): Likewise.
    (ui_out_begin_ftype): Likewise.
    (ui_out_end_ftype): Likewise.
    (field_int_ftype): Likewise.
    (field_skip_ftype): Likewise.
    (field_string_ftype): Likewise.
    (field_fmt_ftype): Likewise.
    (spaces_ftype): Likewise.
    (text_ftype): Likewise.
    (message_ftype): Likewise.
    (wrap_hint_ftype): Likewise.
    (flush_ftype): Likewise.
    (redirect_ftype): Likewise.
    (data_destroy_ftype): Likewise.
    (struct ui_out_impl): Remove, replace with class ui_out.
    (ui_out_new): Remove.
    (class ui_out): New class.
    * ui-out.c (struct ui_out): Remove, replaced with class ui_out.
    (current_level): Remove, replace with ui_out method.
    (push_level): Likewise.
    (pop_level): Likewise.
    (uo_table_begin, uo_table_body, uo_table_end, uo_table_header,
    uo_begin, uo_end, uo_field_int, uo_field_skip, uo_field_fmt,
    uo_spaces, uo_text, uo_message, uo_wrap_hint, uo_flush,
    uo_redirect, uo_field_string): Remove.
    (ui_out_table_begin): Replace with ...
    (ui_out::table_begin): ... this.
    (ui_out_table_body): Replace with ...
    (ui_out::table_body): ... this.
    (ui_out_table_end): Replace with ...
    (ui_out::table_end): ... this.
    (ui_out_table_header): Replace with ...
    (ui_out::table_header): ... this.
    (ui_out_begin): Replace with ...
    (ui_out::begin): ... this.
    (ui_out_end): Replace with ...
    (ui_out::end): ... this.
    (ui_out_field_int): Replace with ...
    (ui_out::field_int): ... this.
    (ui_out_field_fmt_int): Replace with ...
    (ui_out::field_fmt_int): ... this.
    (ui_out_field_core_addr): Replace with ...
    (ui_out::field_core_addr): ... this.
    (ui_out_field_stream): Replace with ...
    (ui_out::field_stream): ... this.
    (ui_out_field_skip): Replace with ...
    (ui_out::field_skip): ... this.
    (ui_out_field_string): Replace with ...
    (ui_out::field_string): ... this.
    (ui_out_field_fmt): Replace with ...
    (ui_out::field_fmt): ... this.
    (ui_out_spaces): Replace with ...
    (ui_out::spaces): ... this.
    (ui_out_text): Replace with ...
    (ui_out::text): ... this.
    (ui_out_message): Replace with ...
    (ui_out::message): ... this.
    (ui_out_wrap_hint): Replace with ...
    (ui_out::wrap_hint): ... this.
    (ui_out_flush): Replace with ...
    (ui_out::flush): ... this.
    (ui_out_redirect): Replace with ...
    (ui_out::redirect): ... this.
    (ui_out_test_flags): Replace with ...
    (ui_out::test_flags): ... this.
    (ui_out_is_mi_like_p): Replace with ...
    (ui_out::is_mi_like_p): ... this.
    (verify_field): Replace with ...
    (ui_out::verify_field): ... this.
    (ui_out_query_field): Replace with ...
    (ui_out::query_table_field): ... this.
    (ui_out_data): Remove.
    (ui_out_new): Remove, replace with ...
    (ui_out::ui_out): ... this constructor.
    (do_cleanup_table_end, make_cleanup_ui_out_tuple_begin_end,
    do_cleanup_end, make_cleanup_ui_out_tuple_begin_end,
    make_cleanup_ui_out_list_begin_end): Update fallouts of struct
    ui_out -> class ui_out change.
    * cli-out.c (cli_out_data): Remove.
    (cli_uiout_dtor): Remove.
    (cli_table_begin): Replace with ...
    (cli_ui_out::do_table_begin): ... this new method.
    (cli_table_body): Replace with ...
    (cli_ui_out::do_table_body): ... this new method.
    (cli_table_end): Replace with ...
    (cli_ui_out::do_table_end): ... this new method.
    (cli_table_header): Replace with ...
    (cli_ui_out::do_table_header): ... this new method.
    (cli_begin): Replace with ...
    (cli_ui_out::do_begin): ... this new method.
    (cli_end): Replace with ...
    (cli_ui_out::do_end): ... this new method.
    (cli_field_int): Replace with ...
    (cli_ui_out::do_field_int): ... this new method.
    (cli_field_skip): Replace with ...
    (cli_ui_out::do_field_skip): ... this new method.
    (cli_field_string): Replace with ...
    (cli_ui_out::do_field_string): ... this new method.
    (cli_field_fmt): Replace with ...
    (cli_ui_out::do_field_fmt): ... this new method.
    (cli_spaces): Replace with ...
    (cli_ui_out::do_spaces): ... this new method.
    (cli_text): Replace with ...
    (cli_ui_out::do_text): ... this new method.
    (cli_message): Replace with ...
    (cli_ui_out::do_message): ... this new method.
    (cli_wrap_hint): Replace with ...
    (cli_ui_out::do_wrap_hint): ... this new method.
    (cli_flush): Replace with ...
    (cli_ui_out::do_flush): ... this new method.
    (cli_redirect): Replace with ...
    (cli_ui_out::do_redirect): ... this new method.
    (out_field_fmt): Replace with ...
    (cli_ui_out::out_field_fmt): ... this new method.
    (field_separator): Replace with ...
    (cli_ui_out::field_separator): ... this new method.
    (cli_out_set_stream): Replace with ...
    (cli_ui_out::set_stream): ... this new method.
    (cli_ui_out_impl): Remove.
    (cli_out_data_ctor): Remove.
    (cli_ui_out_impl::cli_ui_out_impl): New constructor.
    (cli_ui_out_impl::~cli_ui_out_impl): New destructor.
    (cli_out_new): Change return type to cli_ui_out *, instantiate a
    cli_ui_out.
    * cli-out.h (cli_ui_out_data): Remove, replace with class
    cli_ui_out.
    (class cli_ui_out): New class.
    (cli_ui_out_impl): Remove.
    (cli_out_data_ctor): Remove.
    (cli_out_new): Change return type to cli_ui_out*.
    (cli_out_set_stream): Remove.
    * cli/cli-interp.c (struct cli_interp) <cli_uiout>: Change type
    to cli_ui_out*.
    (cli_interpreter_resume): Adapt.
    (cli_interpreter_exec): Adapt.
    * mi/mi-out.c (mi_ui_out_data, mi_out_data): Remove.
    (mi_ui_out_impl): Remove.
    (mi_table_begin): Replace with ...
    (mi_ui_out::do_table_begin): ... this.
    (mi_table_body): Replace with ...
    (mi_ui_out::do_table_body): ... this.
    (mi_table_end): Replace with ...
    (mi_ui_out::do_table_end): ... this.
    (mi_table_header): Replace with ...
    (mi_ui_out::do_table_header): ... this.
    (mi_begin): Replace with ...
    (mi_ui_out::do_begin): ... this.
    (mi_end): Replace with ...
    (mi_ui_out::do_end): ... this.
    (mi_field_int): Replace with ...
    (mi_ui_out::do_field_int): ... this.
    (mi_field_skip): Replace with ...
    (mi_ui_out::do_field_skip): ... this.
    (mi_field_string): Replace with ...
    (mi_ui_out::do_field_string): ... this.
    (mi_field_fmt): Replace with ...
    (mi_ui_out::do_field_fmt): ... this.
    (mi_spaces): Replace with ...
    (mi_ui_out::do_spaces): ... this.
    (mi_text): Replace with ...
    (mi_ui_out::do_text): ... this.
    (mi_message): Replace with ...
    (mi_ui_out::do_message): ... this.
    (mi_wrap_hint): Replace with ...
    (mi_ui_out::do_wrap_hint): ... this.
    (mi_flush): Replace with ...
    (mi_ui_out::do_flush): ... this.
    (mi_redirect): Replace with ...
    (mi_ui_out::do_redirect):
    (field_separator): Replace with ...
    (mi_ui_out::field_separator):
    (mi_open): Replace with ...
    (mi_ui_out::open): ... this.
    (mi_close): Replace with ...
    (mi_ui_out::close): ... this.
    (mi_out_rewind): Replace with ...
    (mi_ui_out::rewind): ... this.
    (mi_out_put): Replace with ...
    (mi_ui_out::put): ... this.
    (mi_version): Replace with ...
    (mi_ui_out::version): ... this.
    (mi_out_data_ctor): Replace with ...
    (mi_ui_out::mi_ui_out): ... this.
    (mi_out_data_dtor): Replace with ...
    (mi_ui_out::~mi_ui_out): ... this.
    (mi_out_new): Change return type to mi_ui_out*, instantiate
    an mi_ui_out object.
    (as_mi_ui_out): New function.
    (mi_version): Update fallouts of struct ui_out to class ui_out
    transition.
    (mi_out_put): Likewise.
    (mi_out_rewind): Likewise.
    * mi/mi-out.h (mi_out_new): Change return type to mi_ui_out*.
    * tui/tui-out.c (tui_ui_out_data, tui_out_data, tui_ui_out_impl):
    Remove.
    (tui_field_int): Replace with ...
    (tui_ui_out::do_field_int): ... this.
    (tui_field_string): Replace with ...
    (tui_ui_out::do_field_string): ... this.
    (tui_field_fmt): Replace with ...
    (tui_ui_out::do_field_fmt): ... this.
    (tui_text): Replace with ...
    (tui_ui_out::do_text): ... this.
    (tui_out_new): Change return type to tui_ui_out*, instantiate
    tui_ui_out object.
    (tui_ui_out::tui_ui_out): New.
    * tui/tui-out.h: New file.
    * tui/tui.h (tui_out_new): Move declaration to tui/tui-out.h.
    * tui/tui-io.c: Include tui/tui-out.h.
    (tui_old_uiout): Change type to cli_ui_out*.
    (tui_setup_io): Use dynamic_cast.
    * tui/tui-io.h (tui_old_uiout): Change type to cli_ui_out*.
    * tui/tui-interp.c (tui_resume): Adapt.
    * ada-lang.c (print_it_exception): Update fallouts of struct
    ui_out to class ui_out transition.
    (print_one_exception): Likewise.
    (print_mention_exception): Likewise.
    * ada-tasks.c (print_ada_task_info): Likewise.
    (info_task): Likewise.
    (task_command): Likewise.
    * auto-load.c (print_script): Likewise.
    (auto_load_info_scripts): Likewise.
    (info_auto_load_cmd): Likewise.
    * break-catch-sig.c (signal_catchpoint_print_one): Likewise.
    * break-catch-syscall.c (print_it_catch_syscall): Likewise.
    (print_one_catch_syscall): Likewise.
    * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
    (print_one_exception_catchpoint): Likewise.
    (print_one_detail_exception_catchpoint): Likewise.
    (print_mention_exception_catchpoint): Likewise.
    * breakpoint.c (maybe_print_thread_hit_breakpoint): Likewise.
    (print_solib_event): Likewise.
    (watchpoint_check): Likewise.
    (wrap_indent_at_field): Likewise.
    (print_breakpoint_location): Likewise.
    (output_thread_groups): Likewise.
    (print_one_breakpoint_location): Likewise.
    (breakpoint_1): Likewise.
    (default_collect_info): Likewise.
    (watchpoints_info): Likewise.
    (print_it_catch_fork): Likewise.
    (print_one_catch_fork): Likewise.
    (print_it_catch_vfork): Likewise.
    (print_one_catch_vfork): Likewise.
    (print_it_catch_solib): Likewise.
    (print_one_catch_solib): Likewise.
    (print_it_catch_exec): Likewise.
    (print_one_catch_exec): Likewise.
    (mention): Likewise.
    (print_it_ranged_breakpoint): Likewise.
    (print_one_ranged_breakpoint): Likewise.
    (print_one_detail_ranged_breakpoint): Likewise.
    (print_mention_ranged_breakpoint): Likewise.
    (print_it_watchpoint): Likewise.
    (print_mention_watchpoint): Likewise.
    (print_it_masked_watchpoint): Likewise.
    (print_one_detail_masked_watchpoint): Likewise.
    (print_mention_masked_watchpoint): Likewise.
    (bkpt_print_it): Likewise.
    (tracepoint_print_one_detail): Likewise.
    (tracepoint_print_mention): Likewise.
    (update_static_tracepoint): Likewise.
    (tracepoints_info): Likewise.
    (save_breakpoints): Likewise.
    * cli/cli-cmds.c (complete_command): Likewise.
    * cli/cli-logging.c (set_logging_redirect): Likewise.
    (pop_output_files): Likewise.
    (handle_redirections): Likewise.
    * cli/cli-script.c (print_command_lines): Likewise.
    * cli/cli-setshow.c (do_show_command): Likewise.
    (cmd_show_list): Likewise.
    * cp-abi.c (list_cp_abis): Likewise.
    (show_cp_abi_cmd): Likewise.
    * darwin-nat-info.c (darwin_debug_regions_recurse): Likewise.
    * disasm.c (gdb_pretty_print_insn): Likewise.
    (do_mixed_source_and_assembly_deprecated): Likewise.
    (do_mixed_source_and_assembly): Likewise.
    * gdb_bfd.c (print_one_bfd): Likewise.
    (maintenance_info_bfds): Likewise.
    * guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Likewise.
    * guile/scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
    * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Likewise.
    * i386-tdep.c (i386_mpx_print_bounds): Likewise.
    * infcmd.c (run_command_1): Likewise.
    (print_return_value_1): Likewise.
    * inferior.c (print_selected_inferior): Likewise.
    (print_inferior): Likewise.
    * infrun.c (print_end_stepping_range_reason): Likewise.
    (print_signal_exited_reason): Likewise.
    (print_exited_reason): Likewise.
    (print_signal_received_reason): Likewise.
    (print_no_history_reason): Likewise.
    * interps.c (interp_set): Likewise.
    * linespec.c (decode_line_full): Likewise.
    * linux-thread-db.c (info_auto_load_libthread_db): Likewise.
    * mi/mi-cmd-env.c (mi_cmd_env_pwd): Likewise.
    (mi_cmd_env_path): Likewise.
    (mi_cmd_env_dir): Likewise.
    (mi_cmd_inferior_tty_show): Likewise.
    * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Likewise.
    (print_partial_file_name): Likewise.
    (mi_cmd_file_list_exec_source_files): Likewise.
    * mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions): Likewise.
    (mi_cmd_info_gdb_mi_command): Likewise.
    * mi/mi-cmd-stack.c (mi_cmd_stack_info_depth): Likewise.
    (mi_cmd_stack_list_args): Likewise.
    (list_arg_or_local): Likewise.
    * mi/mi-cmd-var.c (print_varobj): Likewise.
    (mi_cmd_var_create): Likewise.
    (mi_cmd_var_delete): Likewise.
    (mi_cmd_var_set_format): Likewise.
    (mi_cmd_var_show_format): Likewise.
    (mi_cmd_var_info_num_children): Likewise.
    (mi_cmd_var_list_children): Likewise.
    (mi_cmd_var_info_type): Likewise.
    (mi_cmd_var_info_path_expression): Likewise.
    (mi_cmd_var_info_expression): Likewise.
    (mi_cmd_var_show_attributes): Likewise.
    (mi_cmd_var_evaluate_expression): Likewise.
    (mi_cmd_var_assign): Likewise.
    (varobj_update_one): Likewise.
    * mi/mi-interp.c (as_mi_interp): Likewise.
    (mi_on_normal_stop_1): Likewise.
    (mi_tsv_modified): Likewise.
    (mi_breakpoint_created): Likewise.
    (mi_breakpoint_modified): Likewise.
    (mi_solib_loaded): Likewise.
    (mi_solib_unloaded): Likewise.
    (mi_command_param_changed): Likewise.
    (mi_memory_changed): Likewise.
    (mi_user_selected_context_changed): Likewise.
    * mi/mi-main.c (print_one_inferior): Likewise.
    (output_cores): Likewise.
    (list_available_thread_groups): Likewise.
    (mi_cmd_data_list_register_names): Likewise.
    (mi_cmd_data_list_changed_registers): Likewise.
    (output_register): Likewise.
    (mi_cmd_data_evaluate_expression): Likewise.
    (mi_cmd_data_read_memory): Likewise.
    (mi_cmd_data_read_memory_bytes): Likewise.
    (mi_cmd_list_features): Likewise.
    (mi_cmd_list_target_features): Likewise.
    (mi_cmd_add_inferior): Likewise.
    (mi_execute_command): Likewise.
    (mi_load_progress): Likewise.
    (print_variable_or_computed): Likewise.
    (mi_cmd_trace_frame_collected): Likewise.
    * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Likewise.
    * osdata.c (info_osdata_command): Likewise.
    * probe.c (gen_ui_out_table_header_info): Likewise.
    (print_ui_out_not_applicables): Likewise.
    (print_ui_out_info): Likewise.
    (info_probes_for_ops): Likewise.
    (enable_probes_command): Likewise.
    (disable_probes_command): Likewise.
    * progspace.c (print_program_space): Likewise.
    * python/py-breakpoint.c (bppy_get_commands): Likewise.
    * python/py-framefilter.c (py_print_type): Likewise.
    (py_print_value): Likewise.
    (py_print_single_arg): Likewise.
    (enumerate_args): Likewise.
    (enumerate_locals): Likewise.
    (py_print_args): Likewise.
    (py_print_frame): Likewise.
    * record-btrace.c (btrace_ui_out_decode_error): Likewise.
    (btrace_call_history_insn_range): Likewise.
    (btrace_call_history_src_line): Likewise.
    (btrace_call_history): Likewise.
    * remote.c (show_remote_cmd): Likewise.
    * skip.c (skip_info): Likewise.
    * solib.c (info_sharedlibrary_command): Likewise.
    * source.c (print_source_lines_base): Likewise.
    * spu-tdep.c (info_spu_event_command): Likewise.
    (info_spu_signal_command): Likewise.
    (info_spu_mailbox_list): Likewise.
    (info_spu_dma_cmdlist): Likewise.
    (info_spu_dma_command): Likewise.
    (info_spu_proxydma_command): Likewise.
    * stack.c (print_stack_frame): Likewise.
    (print_frame_arg): Likewise.
    (read_frame_arg): Likewise.
    (print_frame_args): Likewise.
    (print_frame_info): Likewise.
    (print_frame): Likewise.
    * symfile.c (load_progress): Likewise.
    (generic_load): Likewise.
    (print_transfer_performance): Likewise.
    * thread.c (do_captured_list_thread_ids): Likewise.
    (print_thread_info_1): Likewise.
    (restore_selected_frame): Likewise.
    (do_captured_thread_select): Likewise.
    (print_selected_thread_frame): Likewise.
    * top.c (execute_command_to_string): Likewise.
    * tracepoint.c (tvariables_info_1): Likewise.
    (trace_status_mi): Likewise.
    (tfind_1): Likewise.
    (print_one_static_tracepoint_marker): Likewise.
    (info_static_tracepoint_markers_command): Likewise.
    * utils.c (do_ui_out_redirect_pop): Likewise.
    (fputs_maybe_filtered): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bugs with float compare and Inf operands.
@ 2016-12-21 21:24 sergiodj+buildbot
  2016-12-26  1:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 21:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87903eafb083abbf330c22fbf941fcbad700c098 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 87903eafb083abbf330c22fbf941fcbad700c098

Fix bugs with float compare and Inf operands.

	sim/aarch64/
	* simulator.c (set_flags_for_float_compare): Add code to handle Inf.
	Add comment to document NaN issue.
	(set_flags_for_double_compare): Likewise.

	sim/testsuite/sim/aarch64/
	* fcmp.s: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't make_bfd_vms_lib archive functions NULL
@ 2016-12-21 15:21 sergiodj+buildbot
  2016-12-25 22:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 15:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0d19df99dfe1c63842206d15ae41dfd33d25bf0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f0d19df99dfe1c63842206d15ae41dfd33d25bf0

Don't make_bfd_vms_lib archive functions NULL

Contrary to the comment, they can in fact be called.

	* libbfd-in.h (_bfd_vms_lib_slurp_armap): Use _bfd_noarchive function.
	(_bfd_vms_lib_slurp_extended_name_table: Likewise.
	(_bfd_vms_lib_construct_extended_name_table: Likewise.
	(_bfd_vms_lib_truncate_arname: Likewise.
	(_bfd_vms_lib_write_armap: Likewise.
	(_bfd_vms_lib_read_ar_hdr: Likewise.
	(_bfd_vms_lib_write_ar_hdr: Likewise.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Avoid creating symbol table entries for registers
@ 2016-12-21 14:46 sergiodj+buildbot
  2016-12-25 18:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 14:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba

Avoid creating symbol table entries for registers

Instructions like "jal t0, foo" were erroneously creating symbol table
entries for t0 as well as foo, which causes linking problems.  Fix by
reordering instruction alternatives so that t0 is first attempted to
be parsed as a register, rather than as a symbol.

	* riscv-opc.c (riscv_opcodes): Reorder jal and call entries.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
@ 2016-12-21 13:59 sergiodj+buildbot
  2016-12-25 14:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 13:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3145b997151d2815065b5c880c1b0d63905d7630 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 3145b997151d2815065b5c880c1b0d63905d7630

bfd: aarch64: fix word and arrdess size declaration in ilp32 mode

ILP32 has 32-bit word and address, but currently they declared as 64-bit in
bfd_aarch64_arch_ilp32, which breaks further logic of bfd. This patch fixes it.

Glibc testsuite build with patched binutils shows that next tests stop to fail:
iconvdata/mtrace-tst-loading
iconvdata/tst-loading
iconvdata/tst-tables
localedata/mtrace-tst-leaks
localedata/tst-leaks
posix/tst-getaddrinfo4
posix/tst-getaddrinfo5
posix/tst-regex2


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove high bit set characters
@ 2016-12-21 11:51 sergiodj+buildbot
  2016-12-25 10:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e25adb3956f880efc28bfebabe79be7338b413f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4e25adb3956f880efc28bfebabe79be7338b413f

Remove high bit set characters

gas/
	* doc/c-lm32.texi: Fix chars with high bit set.
	* testsuite/gas/bfin/vector2.s: Likewise.
gold/
	* arm.cc: Fix comment chars with high bit set.
include/
	* coff/pe.h: Fix comment chars with high bit set.
	* opcode/xgate.h: Likewise.
ld/
	* testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership
@ 2016-12-20 23:46 sergiodj+buildbot
  2016-12-24  2:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 23:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c97dda72b905d5ba9b82004bf4e57dd4cf343147 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c97dda72b905d5ba9b82004bf4e57dd4cf343147

MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership

Limit the `SD ra, offset(sp)' instruction (I64/SDRASP major/minor
opcode) to the MIPS III rather than MIPS I ISA.  This is a 64-bit
instruction requiring a 64-bit ISA.  This bug has been there since
forever.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set membership to I3 rather
	than I1 for the SP-relative "sd"/$ra entry (SDRASP minor
	opcode).

	gas/
	* testsuite/gas/mips/mips16-sdrasp.d: New test.
	* testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
	* testsuite/gas/mips/mips16-sdrasp.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Constify solib_find
@ 2016-12-20 19:34 sergiodj+buildbot
  2016-12-25  2:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 19:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 992f1ddc3be1f5195f18beaa801ac50f284b10c5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 992f1ddc3be1f5195f18beaa801ac50f284b10c5

gdb: Constify solib_find

gdb/ChangeLog:
2016-12-20  Pedro Alves  <palves@redhat.com>

	* nto-tdep.c (nto_find_and_open_solib): Constify 'solib'
	parameter.
	* nto-tdep.h (nto_find_and_open_solib): Constify 'solib'
	parameter.
	* solib.c (solib_find_1, exec_file_find, solib_find): Constify
	in_pathname' parameter.
	* solist.h (struct target_so_ops) <find_and_open_solib>: Constify
	'soname' parameter.
	(exec_file_find, solib_find): Constify 'in_pathname' parameter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains
@ 2016-12-20 17:00 sergiodj+buildbot
  2016-12-24 21:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2693a26216c329bd7ec2aae7743409f572de4fa5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2693a26216c329bd7ec2aae7743409f572de4fa5

Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains

Nowadays, GDB propagates C++ exceptions across readline using
setjmp/longjmp 89525768cd08 ("Propagate GDB/C++ exceptions across
readline using sj/lj-based TRY/CATCH") because DWARF-based unwinding
can't cross C functions compiled without -fexceptions (see details
from the commit above).

Unfortunately, toolchains that use SjLj-based C++ exceptions got
broken with that fix, because _Unwind_SjLj_Unregister, which is put at
the exit of a function, is not executed due to the longjmp added by
that commit.

 (gdb) [New Thread 2936.0xb80]
 kill

 Thread 1 received signal SIGSEGV, Segmentation fault.
 0x03ff662b in ?? ()
 top?bt 15
 #0  0x03ff662b in ?? ()
 #1  0x00526b92 in stdin_event_handler (error=0, client_data=0x172ed8)
    at ../../binutils-gdb/gdb/event-top.c:555
 #2  0x00525a94 in handle_file_event (ready_mask=<optimized out>,
    file_ptr=0x3ff5cb8) at ../../binutils-gdb/gdb/event-loop.c:733
 #3  gdb_wait_for_event (block=block@entry=1)
    at ../../binutils-gdb/gdb/event-loop.c:884
 #4  0x00525bfb in gdb_do_one_event ()
    at ../../binutils-gdb/gdb/event-loop.c:347
 #5  0x00525ce5 in start_event_loop ()
    at ../../binutils-gdb/gdb/event-loop.c:371
 #6  0x0051fada in captured_command_loop (data=0x0)
    at ../../binutils-gdb/gdb/main.c:324
 #7  0x0051cf5d in catch_errors (
    func=func@entry=0x51fab0 <captured_command_loop(void*)>,
    func_args=func_args@entry=0x0,
    errstring=errstring@entry=0x7922bf <VEC_interp_factory_p_quick_push(VEC_inte rp_factory_p*, interp_factory*, char const*, unsigned int)::__PRETTY_FUNCTION__+351> "", mask=mask@entry=RETURN_MASK_ALL)
    at ../../binutils-gdb/gdb/exceptions.c:236
 #8  0x00520f0c in captured_main (data=0x328feb4)
    at ../../binutils-gdb/gdb/main.c:1149
 #9  gdb_main (args=args@entry=0x328feb4) at ../../binutils-gdb/gdb/main.c:1159
 #10 0x0071e400 in main (argc=1, argv=0x171220)
    at ../../binutils-gdb/gdb/gdb.c:32

Fix this by making the functions involved in setjmp/longjmp as
noexcept, so that the compiler knows it doesn't need to emit the
_Unwind_SjLj_Register / _Unwind_SjLj_Unregister calls for C++
exceptions.

Tested on x86_64 Fedora 23 with:
 - GCC 5.3.1 w/ DWARF-based exceptions.
 - GCC 7 built with --enable-sjlj-exceptions.

gdb/ChangeLog:
2016-12-20  Pedro Alves  <palves@redhat.com>
	    Yao Qi  <yao.qi@linaro.org>

	PR gdb/20977
	* event-top.c (gdb_rl_callback_read_char_wrapper_noexcept): New
	noexcept function, factored out from ...
	(gdb_rl_callback_read_char_wrapper): ... this.
	(gdb_rl_callback_handler): Mark noexcept.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Set emacs default mode for the GDB directory to C++
@ 2016-12-20 16:15 sergiodj+buildbot
  2016-12-24 19:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 16:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff71884063d048e8f8c03de27d2bac343df4f77a ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: ff71884063d048e8f8c03de27d2bac343df4f77a

Set emacs default mode for the GDB directory to C++

Since GDB has switched to C++ but the file names are still .c emacs does
not load the proper mode when opening files in the gdb directory.

This patch fixes that by enabling c++ mode.

This patch also fixes indentation tweaks as discussed in this thread:
https://sourceware.org/ml/gdb-patches/2016-12/msg00074.html

Indent with gdb-code-style.el included and the .dir-locals.el is as such:

namespace TestNameSpace {

class test
{
public:
  test test() {}

  int m_a;
};

struct teststruct
{
  int a;
}
}

gdb/ChangeLog:

	* .dir-locals.el: Set c++ mode for the directory and set indent
	properly.
	* gdb-code-style.el: Set c-set-offset 'innamespace as a safe value
	to be used in .dir-locals.el.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Respect ISA and ASE in disassembly
@ 2016-12-20 15:08 sergiodj+buildbot
  2016-12-24 15:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 15:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11dd08e9a0a2b7115aac32d9599f1bdb0ad12ea6 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 11dd08e9a0a2b7115aac32d9599f1bdb0ad12ea6

MIPS16/opcodes: Respect ISA and ASE in disassembly

Limit MIPS16 instruction disassembly according to the ISA level and ASE
set selected, as with the regular MIPS and microMIPS instruction sets.
Retain the property of `objdump -m mips:16' disassembling all MIPS16
instructions however, regardless of any ISA level recorded in the binary
examined.

To validate the disassembler use the GAS test suite for its convenience
of running tests across multiple ISAs, even though placing the tests in
the binutils test suite would be more appropriate.  Adjust the single
binutils test which depends on 64-bit instruction disassembly to have
the ISA level required actually recorded in the binary examined.

	opcodes/
	* mips-dis.c (mips_arch_choices): Use ISA_MIPS64 rather than
	ISA_MIPS3 as the `isa' selection in the `bfd_mach_mips16' entry.
	(print_insn_mips16): Check opcode entries for validity against
	the ISA level and ASE set selected.

	binutils/
	* testsuite/binutils-all/mips/mips16-undecoded.s: Use `.module'
	rather than `.set' to set the ISA level.

	gas/
	* testsuite/gas/mips/mips16-sub.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-sub.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16-sub.d: New test.
	* testsuite/gas/mips/mips16e-sub.d: New test.
	* testsuite/gas/mips/mips16-32@mips16e-sub.d: New test.
	* testsuite/gas/mips/mips16-64@mips16e-sub.d: New test.
	* testsuite/gas/mips/mips16e-64-sub.d: New test.
	* testsuite/gas/mips/mips16-32@mips16e-64-sub.d: New test.
	* testsuite/gas/mips/mips16-64@mips16e-64-sub.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16e-64-sub.d: New test.
	* testsuite/gas/mips/mips16-sub.s: New test source.
	* testsuite/gas/mips/mips16e-sub.s: New test source.
	* testsuite/gas/mips/mips16e-64-sub.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16: Switch to 32-bit opcode table interpretation
@ 2016-12-20 14:32 sergiodj+buildbot
  2016-12-24 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 14:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fd5392005624f8b0522d881aa94bbb470d68cd7 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 7fd5392005624f8b0522d881aa94bbb470d68cd7

MIPS16: Switch to 32-bit opcode table interpretation

Switch to 32-bit MIPS16 opcode table entry interpretation, similar to
how the microMIPS opcode table is handled, for both the `match' and
`mask' fields, removing special casing for JAL and JALX instructions and
their `a' and `i' operand codes throughout, while retaining automatic
processing of extendable opcodes in assembly and disassembly.

In assembly disallow size enforcement suffixes as appropriate: `.t' for
both 32-bit instructions and macros and `.e' for macros only, making
macro handling consistent with the microMIPS instruction set.

In disassembly fully decode EXTEND prefixes prepended to unsupported
instruction encodings (according to the ISA selection) rather than
dumping them as hexadecimal data along with the following instruction,
removing all special casing for the EXTEND prefix and making its
handling rely on its opcode table entry, except where it is considered a
part of an extendable instruction.

	include/
	* opcode/mips.h (mips_opcode_32bit_p): New inline function.

	gas/
	* config/tc-mips.c (micromips_insn_length): Use
	`mips_opcode_32bit_p'.
	(is_size_valid): Adjust description.
	(is_size_valid_16): New function.
	(validate_mips_insn): Use `mips_opcode_32bit_p' in MIPS16
	operand decoding.
	(validate_mips16_insn): Remove `a' and `i' operand code special
	casing, use `mips_opcode_32bit_p' to determine instruction
	width.
	(append_insn): Adjust forced MIPS16 instruction size
	determination.
	(match_mips16_insn): Likewise.  Don't shift the instruction's
	opcode with the `a' and `i' operand codes.  Use
	`mips_opcode_32bit_p' in operand decoding.
	(match_mips16_insns): Check for forced instruction size's
	validity.
	(mips16_ip): Don't force instruction size in the `noautoextend'
	mode.
	* testsuite/gas/mips/mips16-jal-e.d: New test.
	* testsuite/gas/mips/mips16-jal-t.d: New test.
	* testsuite/gas/mips/mips16-macro-e.d: New test.
	* testsuite/gas/mips/mips16-macro-t.d: New test.
	* testsuite/gas/mips/mips16-jal-t.l: New stderr output.
	* testsuite/gas/mips/mips16-macro-e.l: New stderr output.
	* testsuite/gas/mips/mips16-macro-t.l: New stderr output.
	* testsuite/gas/mips/mips16-jal-e.s: New test source.
	* testsuite/gas/mips/mips16-jal-t.s: New test source.
	* testsuite/gas/mips/mips16-macro-e.s: New test source.
	* testsuite/gas/mips/mips16-macro-t.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Always handle `extend' and
	`insn' together, with `extend' as the high-order 16 bits.
	(match_kind): New enum.
	(print_insn_mips16): Rework for 32-bit instruction matching.
	Do not dump EXTEND prefixes here.
	* mips16-opc.c (mips16_opcodes): Move "extend" entry to the end.
	Recode `match' and `mask' fields as 32-bit in absolute "jal" and
	"jalx" entries.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: Adjust
	test for separate EXTEND prefix disassembly.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Correct 64-bit macros' ISA membership
@ 2016-12-20 14:09 sergiodj+buildbot
  2016-12-24  7:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 14:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ebce1a0a5911e71aa2d00932ffb2126ff1f3633 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4ebce1a0a5911e71aa2d00932ffb2126ff1f3633

MIPS16/opcodes: Correct 64-bit macros' ISA membership

Limit the DDIV, DDIVU, DREM, DREMU and DSUBU macros to the MIPS III
rather than MIPS I ISA.  These macros expand to machine code sequences
including 64-bit instructions which require a 64-bit ISA.  Entries for
those instructions are already correctly marked, however the marking is
ignored if entries are used in the process of macro expansion rather
than directly, making it possible to indirectly produce 64-bit machine
code even when output requested has been limited to a 32-bit ISA.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set membership to I3 rather
	than I1 for the "ddiv", "ddivu", "drem", "dremu" and "dsubu"
	INSN_MACRO entries.

	gas/
	* testsuite/gas/mips/mips16-macro.l: New list test.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Re-work RISC-V gas flags: now we just support -mabi and -march
@ 2016-12-20  2:07 sergiodj+buildbot
  2016-12-23  9:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2922d21da14b4711872371abacb16e8ab7c70894 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 2922d21da14b4711872371abacb16e8ab7c70894

Re-work RISC-V gas flags: now we just support -mabi and -march

We've decided to standardize on two flags for RISC-V: "-march" sets the
target architecture (which determines which instructions can be
generated), and "-mabi" sets the target ABI.  We needed to rework this
because the old flag set didn't support soft-float or single-float ABIs,
and didn't support an x32-style ABI on RISC-V.

Additionally, we've changed the behavior of the -march flag: it's now a
lot stricter and only parses things we can actually understand.
Additionally, it's now lowercase-only: the rationale is that while the
RISC-V ISA manual specifies that ISA strings are case-insensitive, in
Linux-land things are usually case-sensitive.  Since this flag can be
used to determine library paths, we didn't want to bake some
case-insensitivity in there that would case trouble later.

This patch implements these two new flags and removes the old flags that
could conflict with these.  There wasn't a RISC-V release before, so we
want to just support a clean flag set.

include/
	* elf/riscv.h (EF_RISCV_SOFT_FLOAT): Don't define.
	(EF_RISCV_FLOAT_ABI, EF_RISCV_FLOAT_ABI_SOFT): Define.
	(EF_RISCV_FLOAT_ABI_SINGLE, EF_RISCV_FLOAT_ABI_DOUBLE): Define.
	(EF_RISCV_FLOAT_ABI_QUAD): Define.
bfd/
	* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Use
	EF_RISCV_FLOAT_ABI_SOFT instead of EF_RISCV_SOFT_FLOAT.
binutils/
	* readelf.c (get_machine_flags): Use
	EF_RISCV_FLOAT_ABI_{SOFT,SINGLE,DOBULE,QUAD) instead of
	EF_RISCV_{SOFT,HARD}_FLOAT.
gas/
	* config/tc-riscv.h (xlen): Delete.
	* config/tc-riscv.c (xlen): Make static.
	(abi_xlen): New variable.
	(options): Replace OPTION_{M32,M64,MSOFT_FLOAT,MHARD_FLOAT,MRVC}
	with OPTION_MABI.
	(md_longopts): Likewise.
	(md_parse_option): Likewise.
	(riscv_elf_final_processing): Likewise.
	* doc/as.texinfo (Target RISC-V options): Likewise.
	* doc/c-riscv.texi (OPTIONS): Likewise.
	* config/tc-riscv.c (float_mode): Removed.
	(float_abi): New type, specifies the floating-point ABI.
	(riscv_set_abi): New function.
	(riscv_add_subset): Only allow lower-case ISA names and require
	them to start with "rv".
	(riscv_after_parse_args): Likewise.
opcodes/
	* riscv-dis.c (riscv_disassemble_insn): Default to the ELF's
	XLEN when none is provided.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add canonical JALR for RISC-V
@ 2016-12-20  2:07 sergiodj+buildbot
  2016-12-23 14:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 755c5297bdbca564e97040ce7f036ed02dc7fa4a ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 755c5297bdbca564e97040ce7f036ed02dc7fa4a

Add canonical JALR for RISC-V

    jalr rd,offset(rs1)

rather than

    jalr rd,rs1,offset

This matches the format of other instructions.

	* riscv-opc.c (riscv_opcodes): Change jr and jalr to "o(s)"
	format.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rework RISC-V relocations
@ 2016-12-20  2:07 sergiodj+buildbot
  2016-12-23  1:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 45f764234a71431b581340957a3c8338e0593fdb ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 45f764234a71431b581340957a3c8338e0593fdb

Rework RISC-V relocations

Before this commit we didn't cleanly support CFI directives because the
internal offsets used to get relaxed which broke them.  This patch
significantly reworks how we handle linker relaxations:

 * DWARF is now properly supported

 * There is a ".option norelax" to disable relaxations, for when users
   write assembly that can't be relaxed (if it's to be later patched up,
   for example).

 * There is an additional _RELAX relocation that specifies when previous
   relocations can be relaxed.

We're in the process of documenting the RISC-V ELF ABI, which will
include documentation of our relocations

  https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md

but we expect that this relocation set will remain ABI compatible in the
future (ie, it's safe to release).

Thanks to Kuan-Lin Chen for figuring out how to correctly relax the
debug info!

include/
	* elf/riscv.h: Add R_RISCV_TPREL_I through R_RISCV_SET32.
bfd/
	* reloc.c (BFD_RELOC_RISCV_TPREL_I): New relocation.
	(BFD_RELOC_RISCV_TPREL_S): Likewise.
	(BFD_RELOC_RISCV_RELAX): Likewise.
	(BFD_RELOC_RISCV_CFA): Likewise.
	(BFD_RELOC_RISCV_SUB6): Likewise.
	(BFD_RELOC_RISCV_SET8): Likewise.
	(BFD_RELOC_RISCV_SET8): Likewise.
	(BFD_RELOC_RISCV_SET16): Likewise.
	(BFD_RELOC_RISCV_SET32): Likewise.
	* elfnn-riscv.c (perform_relocation): Handle the new
	relocations.
	(_bfd_riscv_relax_tls_le): Likewise.
	(_bfd_riscv_relax_align): Likewise.
	(_bfd_riscv_relax_section): Likewise.
	(howto_table): Likewise.
	(riscv_reloc_map): Likewise.
	(relax_func_t): New type.
	(_bfd_riscv_relax_call): Add reserve_size argument, which
	controls the maximal offset pessimism.  Correct type of max_alignment.
	(_bfd_riscv_relax_lui): Likewise.
	(_bfd_riscv_relax_tls_le): Likewise.
	(_bfd_riscv_relax_align): Likewise.
	(_bfd_riscv_relax_section): Compute the required reserve size
	when relocating and use it to when calling relax_func.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Likewise.
gas/
	* config/tc-riscv.c (riscv_set_options): Add relax.
	(riscv_opts): Likewise.
	(s_riscv_option): Add relax and norelax.
	(riscv_apply_const_reloc): New function.
	(append_insn): Move constant relocation handling to
	riscv_apply_const_reloc.
	(md_pcrel_from): Likewise.
	(parse_relocation): Skip BFD_RELOC_UNUSED.
	(md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
	BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
	(md_apply_fix): Likewise.
	(riscv_pre_output_hook): New function.
	* config/tc-riscv.h (md_pre_output_hook): Define.
	(riscv_pre_output_hook): Declare.
	(DWARF_CIE_DATA_ALIGNMENT): Always -4.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Correct assembler mnemonic for RISC-V aqrl AMOs
@ 2016-12-20  2:06 sergiodj+buildbot
  2016-12-23 23:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e67a37820a2838cdbd50f3f697ddc929443ceaa ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 3e67a37820a2838cdbd50f3f697ddc929443ceaa

Correct assembler mnemonic for RISC-V aqrl AMOs

sc is a misnomer, because they aren't inherently sc.

	* riscv-opc.c (riscv_opcodes): Rename the "*.sc" instructions to
	"*.aqrl".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix disassembly of RISC-V CSR instructions under -Mno-aliases
@ 2016-12-20  2:06 sergiodj+buildbot
  2016-12-23 17:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 04386d9ed5f068b74757bfac01670576e4e59b8a ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 04386d9ed5f068b74757bfac01670576e4e59b8a

Fix disassembly of RISC-V CSR instructions under -Mno-aliases

This fixes https://github.com/riscv/riscv-binutils-gdb/issues/36.

	* riscv-opc.c (riscv_opcodes): Mark the rd* and csr* aliases as
	INSN_ALIAS.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix an integer overflow in RISC-V relocation handling
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-23  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d61f7949f77796ee407466f3ca7f42dcde9251b ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 1d61f7949f77796ee407466f3ca7f42dcde9251b

Fix an integer overflow in RISC-V relocation handling

	* elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma
	instead of unsigned int.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Formatting changes for RISC-V
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-22 21:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d65abb5e2cb1624b358dda27a53a070bec685cc ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 1d65abb5e2cb1624b358dda27a53a070bec685cc

Formatting changes for RISC-V

This is a mixed bag of format changes:

 * Replacing constants with macros (0xffffffff with MINUS_ONE, for
   example).  There's one technically functional change in here (some
   MINUS_ONEs are changed to 0), but it only changes the behavior of an
   otherwise-unused field.
 * Using 0 instead of 0x0 in the relocation table.
 * There were some missing spaces before parens, the spaces have been
   added.
 * A handful of comments are now more descriptive.
 * A bunch of whitespace-only changes, mostly alignment and brace
   newlines.

bfd/
	* elfnn-riscv.c: Formatting and comment fixes throughout.
	* elfxx-riscv.c: Likewise.
	(howto_table): Change the src_mask field from MINUS_ONE to 0 for
	R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32,
	R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64.
opcodes/
	* riscv-opc.c: Formatting fixes.
gas/
	* config/tc-riscv.c: Formatting and comment fixes throughout.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bugs with tbnz/tbz instructions.
@ 2016-12-04  2:02 sergiodj+buildbot
  2016-12-17 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-04  2:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b

Fix bugs with tbnz/tbz instructions.

sim/aarch64
	* simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
	(dexTestBranchImmediate): Shift high bit of pos by 5 not 4.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes
@ 2016-12-03 13:35 sergiodj+buildbot
  2016-12-17  5:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 13:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c5b4e5228ec94923fbdfb0008926b0b2a3f51c2 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8c5b4e5228ec94923fbdfb0008926b0b2a3f51c2

PowerPC64 dot-symbol compatibility bugfixes

Lots of fixes for the compatibility code that handles linking of
-mcall-aixdesc code (or that generated by 12 year old gcc) with
current ELFv1 ABI code.

1) A reference to a dot-symbol in an object file wasn't satisfied by a
   function descriptor in later object files.
2) The as-needed code had bit-rotted;  Shared libs now need a strong
   reference to be counted as needed.
3) --gc-sections involving dot-symbols was broken, needing
   func_desc_adjust to be run early and lots of other fixes.

bfd/
	* elf64-ppc.c (struct ppc_link_hash_entry): Delete "was_undefined".
	(struct ppc_link_hash_table): Delete "twiddled_syms".  Add
	"need_func_desc_adj".
	(lookup_fdh): Link direct fdh sym via oh field and set flags.
	(make_fdh): Make strong and weak undefined function descriptor
	symbols.
	(ppc64_elf_merge_symbol): New function.
	(elf_backend_merge_symbol): Define.
	(ppc64_elf_archive_symbol_lookup): Don't test undefweak for fake
	function descriptors.
	(add_symbol_adjust): Don't twiddle symbols to undefweak.
	Propagate more ref flags to function descriptor symbol.  Make
	some function descriptor symbols dynamic.
	(ppc64_elf_before_check_relocs): Only run add_symbol_adjust for
	ELFv1.  Set need_func_desc_adj.  Don't fix undefs list.
	(ppc64_elf_check_relocs): Set non_ir_ref for descriptors.
	Don't call lookup_fdh here.
	(ppc64_elf_gc_sections): New function.
	(bfd_elf64_bfd_gc_sections): Define.
	(ppc64_elf_gc_mark_hook): Mark descriptor.
	(func_desc_adjust): Don't make fake function descriptor syms strong
	here.  Exit earlier on non-dotsyms.  Take note of elf.dynamic
	flag when deciding whether a dynamic function descriptor might
	be needed.  Transfer elf.dynamic and set elf.needs_plt.  Move
	plt regardless of visibility.  Make descriptor dynamic if
	entry sym is dynamic, not for other cases.
	(ppc64_elf_func_desc_adjust): Don't run func_desc_adjust if
	already done.
	(ppc64_elf_edit_opd): Use oh field rather than lookup_fdh.
	(ppc64_elf_size_stubs): Likewise.
	(ppc_build_one_stub): Don't clear was_undefined.  Only set sym
	undefweak if stub symbol is defined.
	(undo_symbol_twiddle, ppc64_elf_restore_symbols): Delete.
	* elf64-ppc.h (ppc64_elf_restore_symbols): Don't declare.
ld/
	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't call
	ppc64_elf_restore_symbols.
	* testsuite/ld-powerpc/dotsym1.d: New.
	* testsuite/ld-powerpc/dotsym2.d: New.
	* testsuite/ld-powerpc/dotsym3.d: New.
	* testsuite/ld-powerpc/dotsym4.d: New.
	* testsuite/ld-powerpc/dotsymref.s: New.
	* testsuite/ld-powerpc/nodotsym.s: New.
	* testsuite/ld-powerpc/powerpc.exp: Run new tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Tidy ppc64_elf_hide_symbol
@ 2016-12-03 13:02 sergiodj+buildbot
  2016-12-17  0:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8ac28419be22fe0cc72f6eaaba1ab029610fc71 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b8ac28419be22fe0cc72f6eaaba1ab029610fc71

Tidy ppc64_elf_hide_symbol

	* elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
	elf_link_hash_table rather than ppc_link_hash_table.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC64 add_symbol_adjust
@ 2016-12-03 12:21 sergiodj+buildbot
  2016-12-16 21:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 12:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35dc6e06960790cd60b890c14e45f82f110b898f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 35dc6e06960790cd60b890c14e45f82f110b898f

PowerPC64 add_symbol_adjust

	* elf64-ppc.c (add_symbol_adjust): Delete dead code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Indirect and warning symbols
@ 2016-12-03 11:55 sergiodj+buildbot
  2016-12-16 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4

Indirect and warning symbols

It's possible but unlikely that an indirect symbol points at a warning
symbol.

	* elf64-ppc.c (add_symbol_adjust): Correct order of tests for
	warning and indirect symbols.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix
@ 2016-12-03 11:13 sergiodj+buildbot
  2016-12-16 15:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 11:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 474436e67c72d2426e79e600d725812514db0dbe ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 474436e67c72d2426e79e600d725812514db0dbe

ppc64_elf_copy_indirect_symbol versioned_hidden fix

As per _bfd_elf_link_hash_copy_indirect.

	* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy dynamic
	flags when direct symbol is versioned_hidden.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp
@ 2016-12-02 21:50 sergiodj+buildbot
  2016-12-16  9:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 107c2d628b924de1854d6d254d60e97e1887ce4a ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 107c2d628b924de1854d6d254d60e97e1887ce4a

Remove unneeded pattern matching in gdb.base/maint.exp

This gets rid of more useless pattern matching cases in gdb.base/maint.exp.

gdb/testsuite/ChangeLog:

2016-12-02  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
	possible.
	Remove useless pattern-matching code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support an "unlimited" number of user-defined arguments
@ 2016-12-02 21:13 sergiodj+buildbot
  2016-12-16  6:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 21:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df3ee9ca894f7e831713c332aa7820a6463c2435 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: df3ee9ca894f7e831713c332aa7820a6463c2435

Support an "unlimited" number of user-defined arguments

New in v2:

  - A few adjustments / simplifications were possible now that we
    require C++11:

    . Use std::unique_ptr to make the user_args_stack std::vector own
      its elements:

       static std::vector<std::unique_ptr<user_args>> user_args_stack;

    . use vector::emplace_back to construct elements directly in the
      corresponding vectors.

    . use std::to_string instead of adding a gdb::to_string
      replacement.

  - Now includes a test.

Docs/NEWS are unchanged from v1 and have already been approved.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I recently wrote a user-defined command that could benefit from
supporting an unlimited number of arguments:

 http://palves.net/list-active-signal-handlers-with-gdb/

E.g., 'info signal-dispositions 1 2 3 4 5 6 7 8 9 10 11'

However, we currently only support up to 10 arguments passed to
user-defined commands ($arg0..$arg9).

I can't find a good reason for that, other than "old code with hard
coded limits".  This patch removes that limit and modernizes the code
along the way:

  - Makes the user_args struct a real C++ class that uses std::vector
    for storage.

  - Removes the "next" pointer from within user_args and uses a
    std::vector to maintain a stack instead.

  - Adds a new RAII-based scoped_user_args_level class to help
    push/pop user args in the stack instead of using a cleanup.

gdb/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that user commands now accept an unlimited number
	of arguments.
	* cli/cli-script.c: Include <vector>.
	(struct string_view): New type.
	(MAXUSERARGS): Delete.
	(struct user_args): Now a C++ class.
	(user_args_stack): New.
	(struct scoped_user_args_level): New type.
	(execute_user_command): Use scoped_user_args_level.
	(arg_cleanup): Delete.
	(setup_user_args): Deleted, and refactored as ...
	(user_args::user_args): ... this new constructor.  Limit of number
	of arguments removed.
	(insert_user_defined_cmd_args): Defer to user_args_stack.
	(user_args::insert_args): New, bits based on old
	insert_user_defined_cmd_args with limit of number of arguments
	eliminated.

gdb/doc/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (User-defined Commands): Limit on number of
	arguments passed to user-defined commands removed; update.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (user_defined_command_manyargs_test): New
	procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Test user-defined gdb commands and arguments stack
@ 2016-12-02 20:34 sergiodj+buildbot
  2016-12-16  2:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 20:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec835369f121c11d6e9484ed8c6c11097ad545c5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ec835369f121c11d6e9484ed8c6c11097ad545c5

Test user-defined gdb commands and arguments stack

We're missing a test that makes sure that arguments to user-defined
commands are handled correctly when a user-defined command calls
another user-defined command / recurses.

The following patch changes that code, so add such a test first so we
can be confident won't be breaking this use case.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (user_defined_command_args_stack_test):
	New procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix seg-fault in linker when passed a corrupt binary input file.
@ 2016-12-02 18:56 sergiodj+buildbot
  2016-12-15 20:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7f399a8de4c55eb841db6493597a587fac002de ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: d7f399a8de4c55eb841db6493597a587fac002de

Fix seg-fault in linker when passed a corrupt binary input file.

	PR lf/20908
	* elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
	when following indirect links.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp
@ 2016-12-02 18:11 sergiodj+buildbot
  2016-12-15 18:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 18:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 008459ea88ad4fdcb7da37dad7f68888ef6ecc47 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 008459ea88ad4fdcb7da37dad7f68888ef6ecc47

Revert change to gdb.cp/ovldbreak.exp

This reverts the timeout handling (removed by
018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we
decide what to do about this particular function.

gdb/testsuite/ChangeLog:

2016-12-02  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
	timeout handling.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram
@ 2016-12-02 16:48 sergiodj+buildbot
  2016-12-15 13:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 16:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c1b455e294c6debb4efedc7f1346f3c43249f15 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0c1b455e294c6debb4efedc7f1346f3c43249f15

PR symtab/16264 - support DW_AT_main_subprogram

This patch adds support for DW_AT_main_subprogram.
This is PR symtab/16264.

DW_AT_main_subprogram is used to mark a program's entry point.  GCC
can emit this, and I hope to change the Rust compiler to emit it as
well.

GDB already supports an older, pre-DWARF 4 convention adopted by
FORTRAN compilers, namely to emit DW_AT_calling_convention for the
"main" function.  However, I think this support in GDB had a small
bug, in that it seems to rely on the DW_AT_name being read before
DW_AT_calling_convention.  This patch fixes this as well.

Built and regtested on x86-64 Fedora 24 and the buildbot.  New test
case included.

2016-12-02  Tom Tromey  <tom@tromey.com>

	PR symtab/16264:
	* dwarf2read.c (struct partial_die_info) <main_subprogram>: New
	member.
	(add_partial_symbol): Call set_objfile_main_name.
	(read_partial_die): Handle DW_AT_main_subprogram.
	<DW_AT_calling_convention>: don't call set_objfile_main_name, but
	set main_subprogram flag.

2016-12-02  Tom Tromey  <tom@tromey.com>

	* gdb.dwarf2/main-subprogram.c: New file.
	* gdb.dwarf2/main-subprogram.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename some trace functions
@ 2016-12-02 16:03 sergiodj+buildbot
  2016-12-15 10:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e5a873b7071d74320d4e0cbbc2f358dcf2322557 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: e5a873b7071d74320d4e0cbbc2f358dcf2322557

Rename some trace functions

This patch renames a few trace-related functions, so that they adhere to
the de facto standard of naming command entry point functions
<command>_command.  I like the ease of looking up a command entry point
if they all follow that rule.

An enum label "tstop_command" conflicts with a new function name, so I
renamed this one trace_stop_command.

In v2:

- Rename functions of the trace_find family, as well as
  trace_dump_command.

gdb/ChangeLog:

	* tracefile-tfile.c (tfile_write_status): Adjust to renames.
	* tracefile.c (trace_save_command): Rename to...
	(tsave_command): ...this.
	(_initialize_tracefile): Adjust to renames.
	* tracepoint.c (trace_actions_command): Rename to...
	(actions_command): ...this.
	(trace_start_command): Rename to...
	(tstart_command): ...this, and adjust to renames..
	(trace_stop_command): Rename to...
	(tstop_command): ...this.
	(trace_status_command): Rename to...
	(tstatus_command): ...this, and adjust to renames.
	(trace_find_command): Rename to...
	(tfind_command): ...this.
	(trace_find_pc_command): Rename to...
	(tfind_pc_command): ...this.
	(trace_find_tracepoint_command): Rename to...
	(tfind_tracepoint_command): ...this.
	(trace_find_line_command): Rename to...
	(tfind_line_command): ...this.
	(trace_find_range_command): Rename to...
	(tfind_range_command): ...this.
	(trace_find_outside_command): Rename to...
	(tfind_outside_command): ...this.
	(trace_dump_command): Rename to...
	(tdump_command): ...this.
	(tfind_1): Adjust to renames.
	(trace_find_end_command): Rename to...
	(tfind_end_command): ...this, and adjust to renames..
	(trace_status_mi): Adjust to renames.
	(parse_trace_status): Adjust to renames.
	(_initialize_tracepoint): Adjust to renames.
	* tracepoint.h (enum trace_stop_reason) <tstop_command>: Rename
	to...
	<trace_stop_command>: ...this.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove mi_out_data::suppress_output
@ 2016-12-02 15:26 sergiodj+buildbot
  2016-12-15  6:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 15:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3

Remove mi_out_data::suppress_output

The suppress_output field of the mi_ui_out_data structure is never actually
set to 1/true.  We can therefore remove it, and remove all the

  if (suppress_output)

checks.

gdb/ChangeLog:

	* mi/mi-out.c (mi_ui_out_data) <suppress_output>: Remove.
	(mi_table_body): Remove suppress_output check.
	(mi_table_end): Likewise.
	(mi_table_header): Likewise.
	(mi_begin): Likewise.
	(mi_end): Likewise.
	(mi_field_int): Likewise.
	(mi_field_string): Likewise.
	(mi_field_fmt): Likewise.
	(mi_out_data_ctor): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Always pass a valid section header offset to elf_parse_notes
@ 2016-12-02 12:02 sergiodj+buildbot
  2016-12-15  3:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 08698b7b46c9c932530dcbcd7e851d27a7d2c503 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: 08698b7b46c9c932530dcbcd7e851d27a7d2c503

Always pass a valid section header offset to elf_parse_notes

_bfd_elf_make_section_from_shdr calls elf_parse_notes with an offset
of -1.  This argument is used to calculate Elf_Internal_Note.descpos,
which ends up set to a positive but meaningless value.  This commit
updates _bfd_elf_make_section_from_shdr to pass the correct offset to
elf_parse_notes, making Elf_Internal_Note.descpos correct in all cases.

bfd/ChangeLog:

	* elf.c (_bfd_elf_make_section_from_shdr): Pass offset to
	elf_parse_notes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for Fushia OS.
@ 2016-12-02 11:30 sergiodj+buildbot
  2016-12-14 23:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 11:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d5451cd45325d12b2cc3d10ffe67f09b0e26b967 ***

Author: Josh Conner <joshconner@google.com>
Branch: master
Commit: d5451cd45325d12b2cc3d10ffe67f09b0e26b967

Add support for Fushia OS.

        * configure.ac: Add fuchsia to targets that use ELF.
        * configure: Regenerated.

bfd     * configure.tgt: Add support for fuchsia (OS).

gas     * configure.tgt: Add support for fuchsia (OS).

ld      * Makefile.am: Add dependency information for earmelf_fuchsia.c.
        * Makefile.in: Regenerate.
        * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
        x86_64-*-fuchsia* targets.
        * emulparams/armelf_fuchsia.sh: New file.
        * emulparams/armelfb_fuchsia.sh: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Recognize STR instruction in prologue
@ 2016-12-02 10:50 sergiodj+buildbot
  2016-12-14 21:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 432ec0814b01a93b88eddf13092ea6abef34652d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 432ec0814b01a93b88eddf13092ea6abef34652d

[AArch64] Recognize STR instruction in prologue

This patch teaches GDB AArch64 backend to recognize STR instructions
in prologue, like 'str x19, [sp, #-48]!' or 'str w0, [sp, #44]'.
The unit test is added too.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c (aarch64_analyze_prologue): Recognize STR
	instruction.
	(aarch64_analyze_prologue_test): More tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add unit test to aarch64 prologue analyzer
@ 2016-12-02 10:11 sergiodj+buildbot
  2016-12-14 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d9a9006139d1ceea787cdda871dff8943e493f0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 4d9a9006139d1ceea787cdda871dff8943e493f0

Add unit test to aarch64 prologue analyzer

We don't have an effective way to test prologue analyzer which is
highly dependent on instruction patterns in prologue generated by
compiler.  GDB prologue analyzer may not handle the new sequences
generated by new compiler, or may still handle some sequences that
generated by very old compilers which are no longer used.  The
former is a functionality issue, while the latter is a maintenance
issue.

The input and output of prologue analyzer is quite clear, so it
fits for unit test.  The input is series of instructions, and the
output are 1) where prologue end, 2) where registers are saved.
In aarch64, they are represented in 'struct aarch64_prologue_cache'.

This patch refactors aarch64_analyze_prologue so it can read
instructions from either real target or test harness.  In unit
test aarch64_analyze_prologue_test, aarch64_analyze_prologue gets
instructions we prepared in the test, as the input of prologue
analyzer.  Then, we checked various fields in
'struct aarch64_prologue_cache'.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c: Include "selftest.h".
	(abstract_instruction_reader): New class.
	(instruction_reader): New class.
	(aarch64_analyze_prologue): Add new parameter reader.  Call
	reader.read instead of read_memory_unsigned_integer.
	[GDB_SELF_TEST] (instruction_reader_test): New class.
	(aarch64_analyze_prologue_test): New function.
	(_initialize_aarch64_tdep) [GDB_SELF_TEST]: Register
	selftests::aarch64_analyze_prologue_test.
	* trad-frame.c (trad_frame_cache_zalloc):
	(trad_frame_alloc_saved_regs): Add a new function.
	* trad-frame.h (trad_frame_alloc_saved_regs): Declare.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't handle timeout inside gdb_test_multiple
@ 2016-12-02  6:01 sergiodj+buildbot
  2016-12-14 14:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  6:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 018572b88885ae67d22612937fa1e4fd98d5f5ad ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 018572b88885ae67d22612937fa1e4fd98d5f5ad

Don't handle timeout inside gdb_test_multiple

This fixes a few cases where the testcase is explicitly handling timeouts
inside gdb_test_multiple when it is not necessary.

It also converts two gdb_test_multiple calls to gdb_test_no_output calls
(also removing the timeout handling).

gdb/testsuite/ChangeLog:

2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
	* gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
	gdb_test_no_output for a couple of cases.
	* gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Class-ify ui_out_table
@ 2016-12-02  5:34 sergiodj+buildbot
  2016-12-14 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  5:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36d18bc526b055be896d8dc319cb3ade42238534 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 36d18bc526b055be896d8dc319cb3ade42238534

Class-ify ui_out_table

This patch makes a class out of the ui_out_table structure, the
structure responsible for managing the generation of an UI table.

To simplify the ui_out_table object, I changed it so that it can only be
used for generating a single object.  Instead of clearing the header
list when starting a new table, we an ui_out_table when starting a
table and delete it when we're done.  Therefore, the checks:

  if (uiout->table->flag)
  if (!uiout->table->flag)

are respectively replaced with

  if (uiout->table != nullptr)
  if (uiout->table == nullptr)

Note: I removed the check at the beginning of ui_out_begin, because
there is an equivalent check at the beginning of verify_field.

New in v2:

  - use "enum class" for ui_out_table::state and update references.

gdb/ChangeLog:

	* ui-out.c (enum ui_out_table_state): Move to class
	ui_out_table as ui_out_table::state.
	(struct ui_out_table): Change to ...
	(class ui_out_table): ... this.
	<flag>: Remove.
	<entry_level>: Rename to ...
	<m_entry_level>: ... this.
	<columns>: Rename to ...
	<m_nr_cols>: ... this.
	<id>: Rename to ...
	<m_id>: ... this.
	<headers>: Rename to ...
	<m_headers>: ... this.
	<headers_iterator>: Rename to ...
	<m_headers_iterator>: ... this.
	<start_body, append_header, start_row, get_next_header,
	query_field, current_state, entry_level>: New methods.
	(struct ui_out) <table>: Change type to unique_ptr to
	ui_out_table.
	(append_header_to_list, get_next_header, clear_header_list,
	clear_table): Remove.
	(ui_out_table_begin): Instantiate ui_out_table object.  Update
	table check.
	(ui_out_table_body): Update table check, replace code with call
	to ui_out_table::start_body.
	(ui_out_table_end): Update table check, replace manual cleanup
	with assignment of uiout->table unique_ptr to nullptr.
	(ui_out_table_header): Update table check, replace call to
	append_header_to_list with call to append_header method.
	(ui_out_begin): Remove one table state check, update another.
	Replace code with call to start_row method.
	(verify_field): Update table checks.
	(ui_out_query_field): Update table check, replace code with call
	to query_field method.
	(ui_out_new): Remove table initialization code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ui_out_table: Replace boolean flag with enum
@ 2016-12-02  5:00 sergiodj+buildbot
  2016-12-14  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  5:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77a179e77b38161e461f5e37512f0b3fc3582181 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 77a179e77b38161e461f5e37512f0b3fc3582181

ui_out_table: Replace boolean flag with enum

This patch is just a little cleanup, it replaces the body_flag field of
ui_out_table with an enum.  It expresses more explicitly the
intent of the field (check that state == TABLE_STATE_HEADERS conveys
more what we want to do than checking for !body_flag).

New in v2:

  - Remove unnecessary ui_out_table_state::.

gdb/ChangeLog:

	* ui-out.c (enum ui_out_table_state): New enum.
	(struct ui_out_table) <body_flag>: Remove field.
	<state>: New field.
	(ui_out_table_begin): Replace usages of body_flag with state.
	(ui_out_table_body): Likewise.
	(ui_out_table_end): Likewise.
	(ui_out_table_header): Likewise.
	(ui_out_begin): Likewise.
	(verify_field): Likewise.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Simplify ui-out level code
@ 2016-12-02  4:41 sergiodj+buildbot
  2016-12-14  5:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33b2fac610fff1255a24763277a4bf77f1b59ef1 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 33b2fac610fff1255a24763277a4bf77f1b59ef1

Simplify ui-out level code

Now that we use a vector to store the levels, we don't have to keep a
separate level field in ui_out to keep track of the current level.  We
can efficiently derive it from the vector size.  That causes a little
change in the meaning of the level, as in they are now 1-based instead
of 0-based (the initial level has the "id" 1 now), but it shouldn't
change anything in the behavior.

Additionally, push_level and pop_level don't really need to return the
new level, making them return void simplifies the code a bit.

Finally, the ui_out_begin/ui_out_end callbacks in the ui_out_impl
interface don't need to be passed the level, it's never actually used.

New in v2:

 - Remove or update stale comments.

gdb/ChangeLog:

	* ui-out.h (ui_out_begin_ftype): Remove level parameter.
	(ui_out_end_ftype): Likewise.
	* ui-out.c (struct ui_out) <level>: Replace field with a method
	that dynamically computes the result.
	(current_level): Get vector's back item instead of using
	uiout->level.
	(push_level): Make return type void.
	(pop_level): Make return type void and update access to
	ui_out::level.
	(uo_begin): Remove level parameter.
	(uo_end): Likewise.
	(ui_out_table_begin): Update access to uiout::level.
	(ui_out_begin): Don't read return value from push_level, call
	uiout->level() instead, update call to uo_begin.
	(ui_out_end): Don't read return value from pop_level, update
	call to uo_end.
	(verify_field): Update access to uiout->level.
	(ui_out_new): Don't initialize ui_out::level, call push_level
	to push the initial level instead of doing it by hand.
	* cli-out.c (cli_begin): Remove level parameter.
	(cli_end): Likewise.
	* mi/mi-out.c (mi_begin): Likewise.
	(mi_end): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Class-ify ui_out_level
@ 2016-12-02  3:57 sergiodj+buildbot
  2016-12-14  3:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  3:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 909c0aa5824080c287b390f82726cf5bfb7011e3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 909c0aa5824080c287b390f82726cf5bfb7011e3

Class-ify ui_out_level

This patch changes struct ui_out_level to be a real C++ class.  No
behavioral changes.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_level): Replace with ...
	(class ui_out_level): ... this.
	(current_level): Update.
	(push_level): Update.
	(pop_level): Update.
	(verify_field): Update.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Class-ify ui_out_hdr
@ 2016-12-02  2:49 sergiodj+buildbot
  2016-12-14  0:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37e20dd6599203c4e261fc3a2e86711c90cbbed9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 37e20dd6599203c4e261fc3a2e86711c90cbbed9

Class-ify ui_out_hdr

This patch makes ui_out_hdr (the object that represents an ui-out table
header) a proper C++ class.  No behavior changes, it's all about
encapsulation.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr): Replace with ...
	(class ui_out_hdr): ... this.
	(append_header_to_list): Update.
	(get_next_header): Update.
	(ui_out_query_field): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator
@ 2016-12-02  2:11 sergiodj+buildbot
  2016-12-13 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78afa7f8599e46eb94a93510b383dfb35e549f7e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 78afa7f8599e46eb94a93510b383dfb35e549f7e

Replace hand-made linked list of ui_out_hdr by vector and iterator

Instead of keeping pointers to first, last and current ui_out_hdr in
ui_out_table, we can use an std::vector and an iterator.  Direct random
access of to vector helps make get_next_header a bit nicer by avoiding
iterating on all the headers.  append_header_to_list is also a bit
simpler.

Also, using unique_ptr inside the vector allows expressing the ownership
of the ui_out_hdr objects by the ui_out_table object, and it simplifies
the destruction.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr) <next>: Remove.
	(struct ui_out_table) <header_first, header_last, header_next>: Remove.
	<headers, headers_iterator>: New fields.
	(ui_out_table_body): Update for the new data structure.
	(ui_out_begin): Likewise.
	(clear_header_list): Likewise.
	(append_header_to_list): Likewise.
	(get_next_header): Likewise.
	(ui_out_query_field): Likewise.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages
@ 2016-12-02  1:27 sergiodj+buildbot
  2016-12-13 15:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e

Fixup testcases outputting own name as a test name and standardize failed compilation messages

Changes in v3:

- Adjusted some testcases where the message "failed to compile" was not unique.

Changes in v2:

- Addressed comments from reviewers.
- Fixed spurious whitespaces.
- Changed compilation failure messages that included source/binary paths to
  ones that are short and deterministic.

---

Another bit of cleanup to the testsuite. We have a number of tests that are
not honoring the rule of not outputting their own name as a test name.

I fixed up all the offenders i could find with the following regular
expression:

"(xfail|kfail|kpass|fail|pass|unsupported|untested) ([A-Za-z0-9]+|\\\$(.)*testfile(.)*)\.exp$"

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names and standardize compilation error messages throughout
	the following files:

	* gdb.ada/start.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/e500-prologue.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/gdb1291.exp
	* gdb.arch/gdb1431.exp
	* gdb.arch/gdb1558.exp
	* gdb.arch/i386-dr3-watch.exp
	* gdb.arch/i386-sse-stack-align.exp
	* gdb.arch/ia64-breakpoint-shadow.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-aix-prologue.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.base/annota1.exp
	* gdb.base/annota3.exp
	* gdb.base/arrayidx.exp
	* gdb.base/assign.exp
	* gdb.base/attach.exp
	* gdb.base/auxv.exp
	* gdb.base/bang.exp
	* gdb.base/bfp-test.exp
	* gdb.base/bigcore.exp
	* gdb.base/bitfields2.exp
	* gdb.base/break-fun-addr.exp
	* gdb.base/break-probes.exp
	* gdb.base/call-rt-st.exp
	* gdb.base/callexit.exp
	* gdb.base/catch-fork-kill.exp
	* gdb.base/charset.exp
	* gdb.base/checkpoint.exp
	* gdb.base/comprdebug.exp
	* gdb.base/constvars.exp
	* gdb.base/coredump-filter.exp
	* gdb.base/cursal.exp
	* gdb.base/cvexpr.exp
	* gdb.base/detach.exp
	* gdb.base/display.exp
	* gdb.base/dmsym.exp
	* gdb.base/dprintf-pending.exp
	* gdb.base/dso2dso.exp
	* gdb.base/dtrace-probe.exp
	* gdb.base/dump.exp
	* gdb.base/enum_cond.exp
	* gdb.base/exe-lock.exp
	* gdb.base/exec-invalid-sysroot.exp
	* gdb.base/execl-update-breakpoints.exp
	* gdb.base/exprs.exp
	* gdb.base/fileio.exp
	* gdb.base/find.exp
	* gdb.base/finish.exp
	* gdb.base/fixsection.exp
	* gdb.base/foll-vfork.exp
	* gdb.base/frame-args.exp
	* gdb.base/gcore.exp
	* gdb.base/gdb1250.exp
	* gdb.base/global-var-nested-by-dso.exp
	* gdb.base/gnu-ifunc.exp
	* gdb.base/hashline1.exp
	* gdb.base/hashline2.exp
	* gdb.base/hashline3.exp
	* gdb.base/hbreak-in-shr-unsupported.exp
	* gdb.base/huge.exp
	* gdb.base/infcall-input.exp
	* gdb.base/info-fun.exp
	* gdb.base/info-shared.exp
	* gdb.base/jit-simple.exp
	* gdb.base/jit-so.exp
	* gdb.base/jit.exp
	* gdb.base/jump.exp
	* gdb.base/label.exp
	* gdb.base/lineinc.exp
	* gdb.base/logical.exp
	* gdb.base/longjmp.exp
	* gdb.base/macscp.exp
	* gdb.base/miscexprs.exp
	* gdb.base/new-ui-echo.exp
	* gdb.base/new-ui-pending-input.exp
	* gdb.base/new-ui.exp
	* gdb.base/nodebug.exp
	* gdb.base/nofield.exp
	* gdb.base/offsets.exp
	* gdb.base/overlays.exp
	* gdb.base/pending.exp
	* gdb.base/pointers.exp
	* gdb.base/pr11022.exp
	* gdb.base/printcmds.exp
	* gdb.base/prologue.exp
	* gdb.base/ptr-typedef.exp
	* gdb.base/realname-expand.exp
	* gdb.base/relativedebug.exp
	* gdb.base/relocate.exp
	* gdb.base/remote.exp
	* gdb.base/reread.exp
	* gdb.base/return2.exp
	* gdb.base/savedregs.exp
	* gdb.base/sep.exp
	* gdb.base/sepdebug.exp
	* gdb.base/sepsymtab.exp
	* gdb.base/set-inferior-tty.exp
	* gdb.base/setshow.exp
	* gdb.base/shlib-call.exp
	* gdb.base/sigaltstack.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/signals.exp
	* gdb.base/signull.exp
	* gdb.base/sigrepeat.exp
	* gdb.base/so-impl-ld.exp
	* gdb.base/solib-display.exp
	* gdb.base/solib-overlap.exp
	* gdb.base/solib-search.exp
	* gdb.base/solib-symbol.exp
	* gdb.base/structs.exp
	* gdb.base/structs2.exp
	* gdb.base/symtab-search-order.exp
	* gdb.base/twice.exp
	* gdb.base/unload.exp
	* gdb.base/varargs.exp
	* gdb.base/watchpoint-solib.exp
	* gdb.base/watchpoint.exp
	* gdb.base/whatis.exp
	* gdb.base/wrong_frame_bt_full.exp
	* gdb.btrace/dlopen.exp
	* gdb.cell/ea-standalone.exp
	* gdb.cell/ea-test.exp
	* gdb.cp/dispcxx.exp
	* gdb.cp/gdb2384.exp
	* gdb.cp/method2.exp
	* gdb.cp/nextoverthrow.exp
	* gdb.cp/pr10728.exp
	* gdb.disasm/am33.exp
	* gdb.disasm/h8300s.exp
	* gdb.disasm/mn10300.exp
	* gdb.disasm/sh3.exp
	* gdb.dwarf2/dw2-dir-file-name.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/library-module.exp
	* gdb.guile/scm-pretty-print.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-type.exp
	* gdb.guile/scm-value.exp
	* gdb.linespec/linespec.exp
	* gdb.mi/gdb701.exp
	* gdb.mi/gdb792.exp
	* gdb.mi/mi-breakpoint-changed.exp
	* gdb.mi/mi-dprintf-pending.exp
	* gdb.mi/mi-dprintf.exp
	* gdb.mi/mi-exit-code.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/new-ui-mi-sync.exp
	* gdb.mi/pr11022.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.opt/solib-intra-step.exp
	* gdb.python/py-events.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-prettyprint.exp
	* gdb.python/py-shared.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-template.exp
	* gdb.python/py-type.exp
	* gdb.python/py-value.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.server/solib-list.exp
	* gdb.stabs/weird.exp
	* gdb.threads/reconnect-signal.exp
	* gdb.threads/stepi-random-signal.exp
	* gdb.trace/actions.exp
	* gdb.trace/ax.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/deltrace.exp
	* gdb.trace/ftrace-lock.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/infotrace.exp
	* gdb.trace/mi-tracepoint-changed.exp
	* gdb.trace/packetlen.exp
	* gdb.trace/passcount.exp
	* gdb.trace/pending.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/report.exp
	* gdb.trace/stap-trace.exp
	* gdb.trace/tfind.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/trace-enable-disable.exp
	* gdb.trace/trace-mt.exp
	* gdb.trace/tracecmd.exp
	* gdb.trace/tspeed.exp
	* gdb.trace/tsv.exp
	* lib/perftest.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_multiple
@ 2016-12-02  0:34 sergiodj+buildbot
  2016-12-13 12:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb9feb35913d4cf26baf01e1638b18af301f5387 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: fb9feb35913d4cf26baf01e1638b18af301f5387

Fix test names starting with uppercase using multi-line gdb_test_multiple

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.cp/gdb2495.exp: Replace gdb_test_multiple
	with gdb_test_no_output.
	Use command as test name.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_no_output
@ 2016-12-02  0:06 sergiodj+buildbot
  2016-12-13  9:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  0:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd2ddb6cde55a20d191e1002dbe1977df695cda9 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: cd2ddb6cde55a20d191e1002dbe1977df695cda9

Fix test names starting with uppercase using multi-line gdb_test_no_output

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.ada/assign_1.exp
	* gdb.ada/boolean_expr.exp
	* gdb.base/arrayidx.exp
	* gdb.base/del.exp
	* gdb.base/gcore-buffer-overflow.exp
	* gdb.base/testenv.exp
	* gdb.compile/compile.exp
	* gdb.python/py-framefilter-invalidarg.exp
	* gdb.python/py-framefilter.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test
@ 2016-12-01 23:25 sergiodj+buildbot
  2016-12-13  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 23:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb95117e107fe58ecd35683bf0e8da3b414378ff ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bb95117e107fe58ecd35683bf0e8da3b414378ff

Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test

This fixes offender testcases that have test names starting with uppercase
when using gdb_test/mi_gdb_test in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.ada/array_return.exp
	* gdb.ada/expr_delims.exp
	* gdb.ada/mi_dyn_arr.exp
	* gdb.ada/mi_interface.exp
	* gdb.ada/mi_var_array.exp
	* gdb.ada/watch_arg.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/altivec-regs.exp
	* gdb.arch/e500-regs.exp
	* gdb.arch/powerpc-d128-regs.exp
	* gdb.base/arrayidx.exp
	* gdb.base/break.exp
	* gdb.base/checkpoint.exp
	* gdb.base/debug-expr.exp
	* gdb.base/dmsym.exp
	* gdb.base/radix.exp
	* gdb.base/sepdebug.exp
	* gdb.base/testenv.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-cond-gone.exp
	* gdb.cell/break.exp
	* gdb.cell/ea-cache.exp
	* gdb.compile/compile.exp
	* gdb.cp/gdb2495.exp
	* gdb.gdb/selftest.exp
	* gdb.gdb/xfullpath.exp
	* gdb.go/hello.exp
	* gdb.go/integers.exp
	* gdb.objc/basicclass.exp
	* gdb.pascal/hello.exp
	* gdb.pascal/integers.exp
	* gdb.python/py-breakpoint.exp
	* gdb.python/py-cmd.exp
	* gdb.python/py-linetable.exp
	* gdb.python/py-xmethods.exp
	* gdb.python/python.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.threads/leader-exit.exp
	* gdb.threads/pthreads.exp
	* gdb.threads/wp-replication.exp
	* gdb.trace/actions.exp
	* gdb.trace/mi-tsv-changed.exp
	* gdb.trace/tsv.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_multiple
@ 2016-12-01 23:01 sergiodj+buildbot
  2016-12-13  4:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 23:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de97fdd4a05cd7ad0b05444f1721f26c1ad9322f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: de97fdd4a05cd7ad0b05444f1721f26c1ad9322f

Fix test names starting with uppercase using gdb_test_multiple

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a single-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.arch/i386-bp_permanent.exp
	* gdb.arch/i386-gnu-cfi.exp
	* gdb.base/disasm-end-cu.exp
	* gdb.base/macscp.exp
	* gdb.base/pending.exp
	* gdb.base/watch_thread_num.exp
	* gdb.cp/exception.exp
	* gdb.cp/gdb2495.exp
	* gdb.cp/local.exp
	* gdb.python/py-evsignal.exp
	* gdb.python/python.exp
	* gdb.trace/tracecmd.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output
@ 2016-12-01 22:09 sergiodj+buildbot
  2016-12-12 23:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 22:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11

Fix test names starting with uppercase using gdb_test_no_output

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a single-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.base/charset.exp
	* gdb.base/eval.exp
	* gdb.base/multi-forks.exp
	* gdb.guile/scm-progspace.exp
	* gdb.opencl/datatypes.exp
	* gdb.python/py-block.exp
	* gdb.python/py-function.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-xmethods.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/break-reverse.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/consecutive-reverse.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/finish-reverse.exp
	* gdb.reverse/fstatat-reverse.exp
	* gdb.reverse/getresuid-reverse.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/i386-reverse.exp
	* gdb.reverse/i386-sse-reverse.exp
	* gdb.reverse/i387-stack-reverse.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/machinestate.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/pipe-reverse.exp
	* gdb.reverse/readv-reverse.exp
	* gdb.reverse/recvmsg-reverse.exp
	* gdb.reverse/rerun-prec.exp
	* gdb.reverse/s390-mvcle.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/sigall-reverse.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/step-reverse.exp
	* gdb.reverse/time-reverse.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/until-reverse.exp
	* gdb.reverse/waitpid-reverse.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.reverse/watch-reverse.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test on a single line.
@ 2016-12-01 21:50 sergiodj+buildbot
  2016-12-12 21:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c

Fix test names starting with uppercase using gdb_test on a single line.

Changes in v3:
  Fixed incorrect substitutions.

This fixes offender testcases that have test names starting with uppercase
when using gdb_test in a single line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.arch/i386-mpx-simple_segv.exp
	* gdb.arch/i386-mpx.exp
	* gdb.arch/i386-permbkpt.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-d128-regs.exp
	* gdb.arch/vsx-regs.exp
	* gdb.base/bfp-test.exp
	* gdb.base/break.exp
	* gdb.base/breakpoint-shadow.exp
	* gdb.base/callfuncs.exp
	* gdb.base/charset.exp
	* gdb.base/commands.exp
	* gdb.base/completion.exp
	* gdb.base/dfp-test.exp
	* gdb.base/echo.exp
	* gdb.base/ending-run.exp
	* gdb.base/eval.exp
	* gdb.base/expand-psymtabs.exp
	* gdb.base/float128.exp
	* gdb.base/floatn.exp
	* gdb.base/foll-exec-mode.exp
	* gdb.base/gdb1056.exp
	* gdb.base/gdb11531.exp
	* gdb.base/kill-after-signal.exp
	* gdb.base/multi-forks.exp
	* gdb.base/overlays.exp
	* gdb.base/pending.exp
	* gdb.base/sepdebug.exp
	* gdb.base/testenv.exp
	* gdb.base/valgrind-db-attach.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-cond-gone.exp
	* gdb.base/watchpoint.exp
	* gdb.base/watchpoints.exp
	* gdb.cp/arg-reference.exp
	* gdb.cp/baseenum.exp
	* gdb.cp/operator.exp
	* gdb.cp/shadow.exp
	* gdb.dwarf2/dw2-op-out-param.exp
	* gdb.dwarf2/dw2-reg-undefined.exp
	* gdb.go/chan.exp
	* gdb.go/hello.exp
	* gdb.go/integers.exp
	* gdb.go/methods.exp
	* gdb.go/package.exp
	* gdb.guile/scm-parameter.exp
	* gdb.guile/scm-progspace.exp
	* gdb.guile/scm-value.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.multi/multi-attach.exp
	* gdb.multi/tids.exp
	* gdb.opt/clobbered-registers-O2.exp
	* gdb.pascal/floats.exp
	* gdb.pascal/integers.exp
	* gdb.python/py-block.exp
	* gdb.python/py-events.exp
	* gdb.python/py-parameter.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-type.exp
	* gdb.python/py-value.exp
	* gdb.python/py-xmethods.exp
	* gdb.python/python.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.server/ext-attach.exp
	* gdb.server/ext-restart.exp
	* gdb.server/ext-run.exp
	* gdb.server/ext-wrapper.exp
	* gdb.stabs/gdb11479.exp
	* gdb.stabs/weird.exp
	* gdb.threads/attach-many-short-lived-threads.exp
	* gdb.threads/kill.exp
	* gdb.threads/watchpoint-fork.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase output by basic functions
@ 2016-12-01 21:12 sergiodj+buildbot
  2016-12-12 18:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 21:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69

Fix test names starting with uppercase output by basic functions

The following patch is based on the previous patch i sent and handles cases of
test names that start with an uppercase letter. Test names should start with
lowercase unless it starts with the name of a technology, architecture, ISA
etc.

This first patch addresses cases of test names output explicitly via xfail,
kfail, kpass, fail, pass, unsupported, untested and also names set with the
pattern "set test" and "set testname".

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout all the files below.

	* gdb.ada/array_return.exp
	* gdb.ada/catch_ex.exp
	* gdb.ada/info_exc.exp
	* gdb.ada/mi_catch_ex.exp
	* gdb.ada/mi_dyn_arr.exp
	* gdb.ada/mi_ex_cond.exp
	* gdb.ada/mi_exc_info.exp
	* gdb.ada/mi_interface.exp
	* gdb.ada/mi_task_arg.exp
	* gdb.ada/mi_task_info.exp
	* gdb.ada/mi_var_array.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/amd64-disp-step.exp
	* gdb.arch/arm-disp-step.exp
	* gdb.arch/disp-step-insn-reloc.exp
	* gdb.arch/e500-prologue.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/gdb1558.exp
	* gdb.arch/i386-bp_permanent.exp
	* gdb.arch/i386-disp-step.exp
	* gdb.arch/i386-float.exp
	* gdb.arch/i386-gnu-cfi.exp
	* gdb.arch/ia64-breakpoint-shadow.exp
	* gdb.arch/mips16-thunks.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-aix-prologue.exp
	* gdb.arch/powerpc-power.exp
	* gdb.arch/ppc-dfp.exp
	* gdb.arch/s390-tdbregs.exp
	* gdb.arch/spu-info.exp
	* gdb.arch/spu-ls.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.base/advance.exp
	* gdb.base/annota-input-while-running.exp
	* gdb.base/arrayidx.exp
	* gdb.base/asmlabel.exp
	* gdb.base/async.exp
	* gdb.base/attach-wait-input.exp
	* gdb.base/auto-connect-native-target.exp
	* gdb.base/batch-preserve-term-settings.exp
	* gdb.base/bfp-test.exp
	* gdb.base/bigcore.exp
	* gdb.base/bp-permanent.exp
	* gdb.base/break-always.exp
	* gdb.base/break-fun-addr.exp
	* gdb.base/break-idempotent.exp
	* gdb.base/break-main-file-remove-fail.exp
	* gdb.base/break-probes.exp
	* gdb.base/break-unload-file.exp
	* gdb.base/break.exp
	* gdb.base/call-ar-st.exp
	* gdb.base/call-rt-st.exp
	* gdb.base/call-sc.exp
	* gdb.base/call-signal-resume.exp
	* gdb.base/call-strs.exp
	* gdb.base/callexit.exp
	* gdb.base/callfuncs.exp
	* gdb.base/catch-gdb-caused-signals.exp
	* gdb.base/catch-signal-siginfo-cond.exp
	* gdb.base/catch-syscall.exp
	* gdb.base/compare-sections.exp
	* gdb.base/cond-eval-mode.exp
	* gdb.base/condbreak-call-false.exp
	* gdb.base/consecutive-step-over.exp
	* gdb.base/cursal.exp
	* gdb.base/disabled-location.exp
	* gdb.base/disasm-end-cu.exp
	* gdb.base/display.exp
	* gdb.base/double-prompt-target-event-error.exp
	* gdb.base/dprintf-bp-same-addr.exp
	* gdb.base/dprintf-detach.exp
	* gdb.base/dprintf-next.exp
	* gdb.base/dprintf-non-stop.exp
	* gdb.base/dprintf-pending.exp
	* gdb.base/dso2dso.exp
	* gdb.base/ending-run.exp
	* gdb.base/enum_cond.exp
	* gdb.base/examine-backward.exp
	* gdb.base/exe-lock.exp
	* gdb.base/exec-invalid-sysroot.exp
	* gdb.base/execl-update-breakpoints.exp
	* gdb.base/execution-termios.exp
	* gdb.base/fileio.exp
	* gdb.base/fixsection.exp
	* gdb.base/foll-exec-mode.exp
	* gdb.base/foll-exec.exp
	* gdb.base/fork-running-state.exp
	* gdb.base/frame-args.exp
	* gdb.base/fullpath-expand.exp
	* gdb.base/func-ptr.exp
	* gdb.base/gcore-relro-pie.exp
	* gdb.base/gdb1090.exp
	* gdb.base/gdb1555.exp
	* gdb.base/global-var-nested-by-dso.exp
	* gdb.base/gnu-ifunc.exp
	* gdb.base/hbreak-in-shr-unsupported.exp
	* gdb.base/hbreak-unmapped.exp
	* gdb.base/hook-stop.exp
	* gdb.base/infcall-input.exp
	* gdb.base/info-fun.exp
	* gdb.base/info-shared.exp
	* gdb.base/interrupt-noterm.exp
	* gdb.base/jit-so.exp
	* gdb.base/jit.exp
	* gdb.base/line-symtabs.exp
	* gdb.base/list.exp
	* gdb.base/longjmp.exp
	* gdb.base/macscp.exp
	* gdb.base/max-value-size.exp
	* gdb.base/nodebug.exp
	* gdb.base/nofield.exp
	* gdb.base/overlays.exp
	* gdb.base/paginate-after-ctrl-c-running.exp
	* gdb.base/paginate-bg-execution.exp
	* gdb.base/paginate-inferior-exit.exp
	* gdb.base/pending.exp
	* gdb.base/pr11022.exp
	* gdb.base/printcmds.exp
	* gdb.base/ptr-typedef.exp
	* gdb.base/ptype.exp
	* gdb.base/randomize.exp
	* gdb.base/range-stepping.exp
	* gdb.base/realname-expand.exp
	* gdb.base/relativedebug.exp
	* gdb.base/remote.exp
	* gdb.base/savedregs.exp
	* gdb.base/sepdebug.exp
	* gdb.base/set-noassign.exp
	* gdb.base/shlib-call.exp
	* gdb.base/shreloc.exp
	* gdb.base/sigaltstack.exp
	* gdb.base/sigbpt.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/siginfo-obj.exp
	* gdb.base/siginfo-thread.exp
	* gdb.base/signest.exp
	* gdb.base/signull.exp
	* gdb.base/sigrepeat.exp
	* gdb.base/skip.exp
	* gdb.base/so-impl-ld.exp
	* gdb.base/solib-corrupted.exp
	* gdb.base/solib-disc.exp
	* gdb.base/solib-display.exp
	* gdb.base/solib-overlap.exp
	* gdb.base/solib-search.exp
	* gdb.base/solib-symbol.exp
	* gdb.base/source-execution.exp
	* gdb.base/sss-bp-on-user-bp-2.exp
	* gdb.base/sss-bp-on-user-bp.exp
	* gdb.base/stack-checking.exp
	* gdb.base/stale-infcall.exp
	* gdb.base/step-break.exp
	* gdb.base/step-line.exp
	* gdb.base/step-over-exit.exp
	* gdb.base/step-test.exp
	* gdb.base/structs.exp
	* gdb.base/sym-file.exp
	* gdb.base/symtab-search-order.exp
	* gdb.base/term.exp
	* gdb.base/type-opaque.exp
	* gdb.base/unload.exp
	* gdb.base/until-nodebug.exp
	* gdb.base/until.exp
	* gdb.base/unwindonsignal.exp
	* gdb.base/watch-cond.exp
	* gdb.base/watch-non-mem.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-reuse-slot.exp
	* gdb.base/watchpoint-solib.exp
	* gdb.base/watchpoint.exp
	* gdb.btrace/dlopen.exp
	* gdb.cell/arch.exp
	* gdb.cell/break.exp
	* gdb.cell/bt.exp
	* gdb.cell/core.exp
	* gdb.cell/data.exp
	* gdb.cell/dwarfaddr.exp
	* gdb.cell/ea-cache.exp
	* gdb.cell/ea-standalone.exp
	* gdb.cell/ea-test.exp
	* gdb.cell/f-regs.exp
	* gdb.cell/fork.exp
	* gdb.cell/gcore.exp
	* gdb.cell/mem-access.exp
	* gdb.cell/ptype.exp
	* gdb.cell/registers.exp
	* gdb.cell/sizeof.exp
	* gdb.cell/solib-symbol.exp
	* gdb.cell/solib.exp
	* gdb.compile/compile-tls.exp
	* gdb.cp/exception.exp
	* gdb.cp/gdb2495.exp
	* gdb.cp/local.exp
	* gdb.cp/mb-inline.exp
	* gdb.cp/mb-templates.exp
	* gdb.cp/pr10687.exp
	* gdb.cp/pr9167.exp
	* gdb.cp/scope-err.exp
	* gdb.cp/templates.exp
	* gdb.cp/virtfunc.exp
	* gdb.dwarf2/dw2-dir-file-name.exp
	* gdb.dwarf2/dw2-single-line-discriminators.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/library-module.exp
	* gdb.guile/guile.exp
	* gdb.guile/scm-cmd.exp
	* gdb.guile/scm-frame-inline.exp
	* gdb.guile/scm-objfile.exp
	* gdb.guile/scm-pretty-print.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-type.exp
	* gdb.guile/scm-value.exp
	* gdb.linespec/keywords.exp
	* gdb.linespec/ls-errs.exp
	* gdb.linespec/macro-relative.exp
	* gdb.linespec/thread.exp
	* gdb.mi/mi-breakpoint-changed.exp
	* gdb.mi/mi-dprintf-pending.exp
	* gdb.mi/mi-fullname-deleted.exp
	* gdb.mi/mi-logging.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/new-ui-mi-sync.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.multi/dummy-frame-restore.exp
	* gdb.multi/multi-arch-exec.exp
	* gdb.multi/remove-inferiors.exp
	* gdb.multi/watchpoint-multi-exit.exp
	* gdb.opt/solib-intra-step.exp
	* gdb.perf/backtrace.exp
	* gdb.perf/single-step.exp
	* gdb.perf/skip-command.exp
	* gdb.perf/skip-prologue.exp
	* gdb.perf/solib.exp
	* gdb.python/lib-types.exp
	* gdb.python/py-as-string.exp
	* gdb.python/py-bad-printers.exp
	* gdb.python/py-block.exp
	* gdb.python/py-breakpoint.exp
	* gdb.python/py-cmd.exp
	* gdb.python/py-events.exp
	* gdb.python/py-evthreads.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-finish-breakpoint2.exp
	* gdb.python/py-frame-inline.exp
	* gdb.python/py-frame.exp
	* gdb.python/py-inferior.exp
	* gdb.python/py-infthread.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-objfile.exp
	* gdb.python/py-pp-maint.exp
	* gdb.python/py-pp-registration.exp
	* gdb.python/py-prettyprint.exp
	* gdb.python/py-recurse-unwind.exp
	* gdb.python/py-shared.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-template.exp
	* gdb.python/py-type.exp
	* gdb.python/py-unwind-maint.exp
	* gdb.python/py-unwind.exp
	* gdb.python/py-value.exp
	* gdb.python/python.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.stabs/gdb11479.exp
	* gdb.stabs/weird.exp
	* gdb.threads/fork-child-threads.exp
	* gdb.threads/fork-plus-threads.exp
	* gdb.threads/fork-thread-pending.exp
	* gdb.threads/forking-threads-plus-breakpoint.exp
	* gdb.threads/hand-call-in-threads.exp
	* gdb.threads/interrupted-hand-call.exp
	* gdb.threads/linux-dp.exp
	* gdb.threads/local-watch-wrong-thread.exp
	* gdb.threads/next-while-other-thread-longjmps.exp
	* gdb.threads/non-ldr-exit.exp
	* gdb.threads/pending-step.exp
	* gdb.threads/print-threads.exp
	* gdb.threads/process-dies-while-detaching.exp
	* gdb.threads/process-dies-while-handling-bp.exp
	* gdb.threads/pthreads.exp
	* gdb.threads/queue-signal.exp
	* gdb.threads/reconnect-signal.exp
	* gdb.threads/signal-command-handle-nopass.exp
	* gdb.threads/signal-command-multiple-signals-pending.exp
	* gdb.threads/signal-delivered-right-thread.exp
	* gdb.threads/signal-sigtrap.exp
	* gdb.threads/sigthread.exp
	* gdb.threads/staticthreads.exp
	* gdb.threads/stepi-random-signal.exp
	* gdb.threads/thread-unwindonsignal.exp
	* gdb.threads/thread_check.exp
	* gdb.threads/thread_events.exp
	* gdb.threads/tid-reuse.exp
	* gdb.threads/tls-nodebug.exp
	* gdb.threads/tls-shared.exp
	* gdb.threads/tls-so_extern.exp
	* gdb.threads/tls.exp
	* gdb.threads/wp-replication.exp
	* gdb.trace/actions-changed.exp
	* gdb.trace/actions.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/collection.exp
	* gdb.trace/deltrace.exp
	* gdb.trace/disconnected-tracing.exp
	* gdb.trace/entry-values.exp
	* gdb.trace/ftrace-lock.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/infotrace.exp
	* gdb.trace/mi-trace-frame-collected.exp
	* gdb.trace/mi-trace-unavailable.exp
	* gdb.trace/mi-traceframe-changed.exp
	* gdb.trace/mi-tracepoint-changed.exp
	* gdb.trace/mi-tsv-changed.exp
	* gdb.trace/no-attach-trace.exp
	* gdb.trace/packetlen.exp
	* gdb.trace/passc-dyn.exp
	* gdb.trace/passcount.exp
	* gdb.trace/pending.exp
	* gdb.trace/pr16508.exp
	* gdb.trace/qtro.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/read-memory.exp
	* gdb.trace/report.exp
	* gdb.trace/save-trace.exp
	* gdb.trace/signal.exp
	* gdb.trace/stap-trace.exp
	* gdb.trace/status-stop.exp
	* gdb.trace/strace.exp
	* gdb.trace/tfile.exp
	* gdb.trace/tfind.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/trace-enable-disable.exp
	* gdb.trace/trace-mt.exp
	* gdb.trace/tracecmd.exp
	* gdb.trace/tracefile-pseudo-reg.exp
	* gdb.trace/tspeed.exp
	* gdb.trace/tstatus.exp
	* gdb.trace/tsv.exp
	* gdb.trace/unavailable.exp
	* gdb.trace/while-dyn.exp
	* gdb.trace/while-stepping.exp
	* lib/gdb-guile.exp
	* lib/gdb.exp
	* lib/mi-support.exp
	* lib/pascal.exp
	* lib/perftest.exp
	* lib/prelink-support.exp
	* lib/selftest-support.exp


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bug with FP stur instructions.
@ 2016-12-01 17:48 sergiodj+buildbot
  2016-12-12 16:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88ddd4a1ef8818984f87f574b424ccdc7db19660 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 88ddd4a1ef8818984f87f574b424ccdc7db19660

Fix bug with FP stur instructions.

sim/aarch64
	* simulator.c (fsturs): Switch use of rn and st variables.
	(fsturd, fsturq): Likewise


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode.
@ 2016-12-01 14:12 sergiodj+buildbot
  2016-12-12 11:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cd1d8bcc24e948e86a636161e6d72f6316545a7 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 5cd1d8bcc24e948e86a636161e6d72f6316545a7

Fix accesses to the GOT for AARCH64 operating in 32-bit mode.

	PR ld/20868
bfd	* elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
	to the GOT when operating in 32-bit mode.

ld	* testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
	* testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
	test.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix handling of MIPS16 HI16 relocs.
@ 2016-12-01 13:18 sergiodj+buildbot
  2016-12-12  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 13:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40a0bfddf07620f5321927b3231502debb3b73bc ***

Author: Ma Jiang <ma.jiang@zte.com.cn>
Branch: master
Commit: 40a0bfddf07620f5321927b3231502debb3b73bc

Fix handling of MIPS16 HI16 relocs.

	PR ld/16720
	* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
	test for HI16 relocs.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix a seg-fault disassembling a corrupt binary.
@ 2016-12-01 12:29 sergiodj+buildbot
  2016-12-12  6:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e82ab856bb4689330c29fb9f1c57a8555b26380e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e82ab856bb4689330c29fb9f1c57a8555b26380e

Fix a seg-fault disassembling a corrupt binary.

	PR binutils/20892
	* aoutx.h (find_nearest_line): Handle the case where the function
	name is empty.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix abort in x86 disassembler.
@ 2016-12-01 12:11 sergiodj+buildbot
  2016-12-12  3:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a37a2806e3289294ed214aed3c8a45db46026b39 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a37a2806e3289294ed214aed3c8a45db46026b39

Fix abort in x86 disassembler.

	PR binutils/20893
	* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
	opcode designator.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix seg-fault running addr2line on a corrupt binary.
@ 2016-12-01 10:32 sergiodj+buildbot
  2016-12-12  0:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50455f1ab2935f7321215dfa681745c9b1cb5b19 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 50455f1ab2935f7321215dfa681745c9b1cb5b19

Fix seg-fault running addr2line on a corrupt binary.

	PR binutils/20891
	* aoutx.h (find_nearest_line): Handle the case where the main file
	name and the directory name are both empty.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in ui_out_table
@ 2016-12-01  5:58 sergiodj+buildbot
  2016-12-11 20:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  5:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95a23284a3db0ec85bb0b11c70e6b5acf00563f6 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 95a23284a3db0ec85bb0b11c70e6b5acf00563f6

Use std::string in ui_out_table

Use std::string for the id field of the ui_out_table object.

I found that all users of ui_out_table_begin passed a non-NULL value to
the tblid parameter, so we don't have to worry about the NULL case.  I
changed the tblid parameter to be a std::string while at it.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_table) <id>: Change type to
	std::string.
	(ui_out_table_begin): Change tblid parameter type to
	std::string, adapt code.
	update following type change.
	(clear_table): Update.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::vector for cli_ui_out_data::streams
@ 2016-12-01  5:08 sergiodj+buildbot
  2016-12-11 20:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  5:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9b118c3bb29052ee76c6bf32b99962cda5113ba ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b9b118c3bb29052ee76c6bf32b99962cda5113ba

Use std::vector for cli_ui_out_data::streams

Use a standard vector instead of the home-made version.  I used a vector
of plain pointers, because the cli_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).

gdb/ChangeLog:

	* cli-out.h (cli_ui_out_data) <streams>: Change type to
	std::vector.
	* cli-out.c: Remove vec.h include.
	(cli_uiout_dtor): Update.
	(cli_field_fmt): Update.
	(cli_spaces): Update.
	(cli_text): Update.
	(cli_message): Update.
	(cli_flush): Update.
	(cli_redirect): Update.
	(out_field_fmt): Update.
	(field_separator): Update.
	(cli_out_data_ctor): Update.
	(cli_out_new): Update.
	(cli_out_set_stream): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::vector for mi_ui_out_data::streams
@ 2016-12-01  4:21 sergiodj+buildbot
  2016-12-11 16:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277

Use std::vector for mi_ui_out_data::streams

Use a standard vector instead of the home-made version.  I used a vector
of plain pointers, because the mi_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).

gdb/ChangeLog:

	* mi/mi-out.c: Remove vec.h include.
	(mi_ui_out_data) <streams>: Change type to std::vector.
	(mi_field_string): Update.
	(mi_field_fmt): Update.
	(mi_flush): Update.
	(mi_redirect): Update.
	(field_separator): Update.
	(mi_open): Update.
	(mi_close): Update.
	(mi_out_buffered): Update.
	(mi_out_rewind): Update.
	(mi_out_put): Update.
	(mi_out_data_ctor): Update.
	(mi_out_data_dtor): Don't free streams.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::vector for ui_out::levels
@ 2016-12-01  3:47 sergiodj+buildbot
  2016-12-11 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56df3084847984aeddd8c24ca997242ec8c5a369 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 56df3084847984aeddd8c24ca997242ec8c5a369

Use std::vector for ui_out::levels

Convert the levels field of struct ui_out to be a vector of unique_ptr
to ui_out_level.  This way, the ownership of the ui_out_level objects by
the ui_out instance is clear.

gdb/ChangeLog:

	* ui-out.c (ui_out_level_p): Remove typedef.
	(DEF_VEC_P (ui_out_level_p)): Remove definition.
	(struct ui_out) <levels>: Change type to vector of unique_ptr of
	ui_out_level.
	(current_level): Update.
	(push_level): Update.
	(pop_level): Update, don't manually delete the ui_out_level
	instance.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use new/delete instead of malloc/free-based functions
@ 2016-12-01  3:08 sergiodj+buildbot
  2016-12-11  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5486f16481dffa1c1a0d1fd9e38b97e3678078ed ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5486f16481dffa1c1a0d1fd9e38b97e3678078ed

Use new/delete instead of malloc/free-based functions

The following patches introduce C++ vectors and strings as fields of the
various ui_out structures.  We therefore need to use new/delete so that
their contructor/destructor is called.  I find it simpler to change all
the allocations in a separate preliminary patch, rather than in each
individual patch.

gdb/ChangeLog:

	* cli-out.c (cli_uiout_dtor): Use delete instead of xfree.
	(cli_out_new): Use new instead of XNEW.
	* mi/mi-out.c (mi_out_data_dtor): Use delete instead of xfree.
	(mi_out_new): Use new instead of XNEW.
	* tui/tui-out.c (tui_out_new): Likewise.
	* ui-out.c (push_level): Likewise.
	(pop_level): Use delete instead of xfree.
	(clear_header_list): Use delete instead of xfree.
	(append_header_to_list): Use new instead of XNEW.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Makefiles: Disable suffix rules and implicit rules
@ 2016-11-30 21:56 sergiodj+buildbot
  2016-12-11  6:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 21:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad02e4fe877f3a874145dd045626501245e65624 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: ad02e4fe877f3a874145dd045626501245e65624

Makefiles: Disable suffix rules and implicit rules

Since we don't use suffix rules nor implicit rules in gdb, we can
disable them.  The advantage is a slightly faster make [1].

Here are some numbers about the speedup.  I ran this on my trusty old
Intel Q6600, so the time numbers are probably higher than what you'd get
on any recent hardware.  I ran "make" in the gdb/ directory of an
already built repository (configured with --enable-targets=all).  I
recorded the time of execution (average of 5).  I then ran "make -d" and
recorded the number of printed lines, which gives a rough idea of the
number of operations done.

I compared the following configurations, to see the impact of both the
empty .SUFFIXES target and the empty pattern rules, as well as running
"make -r", which can be considered the "ideal" case.

 A - baseline
 B - baseline + .SUFFIXES
 C - baseline + pattern rules
 D - baseline + .SUFFIXES + pattern rules
 E - baseline + make -r

 config | time (s) | "make -d"
 -----------------------------
    A   |   5.74   |  2396643
    B   |   1.19   |   298469
    C   |   2.81   |  1266573
    D   |   1.13   |   245489
    E   |   1.01   |   163914

We can see that the empty .SUFFIXES target has a bigger impact than the
empty pattern rules, but still it doesn't hurt to disable the implicit
pattern rules as well.

There are still some mentions of implicit rules I can't get rid of in
the "make -d" output.  For example, it's trying to build .c files from
.w files:

  Looking for an implicit rule for '/home/simark/src/binutils-gdb/gdb/infrun.c'.
  Trying pattern rule with stem 'infrun'.
  Trying implicit prerequisite '/home/simark/src/binutils-gdb/gdb/infrun.w'.

and trying to build Makefile.in from a bunch of extensions:

  Looking for an implicit rule for 'Makefile.in'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.o'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.c'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.cc'.
  ... many more ...

If somebody knows how to disable them, we can do it, but at this point
the returns are minimal, so it is not that important.

I verified that both in-tree and out-of-tree builds work.

[1] Switching from explicit rules to pattern rules for files in
    subdirectories actually made it slower, so this is kind of a way to
    redeem myself.  But it the end it's faster than it was previously,
    so it was all worth it. :)

gdb/ChangeLog:

	* disable-implicit-rules.mk: New file.
	* Makefile.in: Include disable-implicit-rules.mk.
	* data-directory/Makefile.in: Likewise.
	* gnulib/Makefile.in: Likewise.

gdb/doc/ChangeLog:

	* Makefile.in: Likewise.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.

gdb/testsuite/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Revert accidental elf.c change
@ 2016-11-30 12:13 sergiodj+buildbot
  2016-12-10 22:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 12:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9a38e0f5287ce7b4629f5f923191e38dd7355c0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e9a38e0f5287ce7b4629f5f923191e38dd7355c0

Revert accidental elf.c change

	* elf.c (get_program_header_size): Revert accidental change.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs
@ 2016-11-30  7:01 sergiodj+buildbot
  2016-12-10 18:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-30  7:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea3d7d1cab4221ab729327bb4d957352c79d05f0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: ea3d7d1cab4221ab729327bb4d957352c79d05f0

PR20886, looping in ppc64_elf_size_stubs

The PR20886 binary is large enough that there are two stub sections
servicing .text (which is 88M).  It so happens that between one
iteration of sizing and the next that one stub section grows while
the other shrinks.  Since one section is always growing, the loop
never terminates.

This patch changes the algorithm to not update previous size on
shrinking, once we go past a certain number of iterations.

	PR ld/20886
	* elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
	on any pass past STUB_SHRINK_ITER.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting.
@ 2016-11-29 12:01 sergiodj+buildbot
  2016-12-10 16:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-29 12:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abe7c33b45288b407e6d001aad713183d4bab5c6 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: abe7c33b45288b407e6d001aad713183d4bab5c6

[ARC] Add checking for LP_COUNT reg usage, improve error reporting.

gas/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (find_opcode_match): New function argument
	errmsg.
	(assemble_tokens): Collect and report the eventual error message
	found during opcode matching process.
	* testsuite/gas/arc/lpcount-err.s: New file.
	* testsuite/gas/arc/add_s-err.s: Update error message.

opcode/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (insert_ra_chk): New function.
	(insert_rb_chk): Likewise.
	(insert_rad): Update text error message.
	(insert_rcd): Likewise.
	(insert_rhv2): Likewise.
	(insert_r0): Likewise.
	(insert_r1): Likewise.
	(insert_r2): Likewise.
	(insert_r3): Likewise.
	(insert_sp): Likewise.
	(insert_gp): Likewise.
	(insert_pcl): Likewise.
	(insert_blink): Likewise.
	(insert_ilink1): Likewise.
	(insert_ilink2): Likewise.
	(insert_ras): Likewise.
	(insert_rbs): Likewise.
	(insert_rcs): Likewise.
	(insert_simm3s): Likewise.
	(insert_rrange): Likewise.
	(insert_fpel): Likewise.
	(insert_blinkel): Likewise.
	(insert_pcel): Likewise.
	(insert_nps_3bit_dst): Likewise.
	(insert_nps_3bit_dst_short): Likewise.
	(insert_nps_3bit_src2_short): Likewise.
	(insert_nps_bitop_size_2b): Likewise.
	(MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Likewise.
	(RA_CHK): Define.
	(RB): Adjust.
	(RB_CHK): Define.
	(RC): Adjust.
	* arc-dis.c (print_insn_arc): Add LOAD and STORE class.
	* arc-tbl.h (div, divu): All instructions are DIVREM class.
	Change first insn argument to check for LP_COUNT usage.
	(rem): Likewise.
	(ld, ldd): All instructions are LOAD class.  Change first insn
	argument to check for LP_COUNT usage.
	(st, std): All instructions are STORE class.
	(mac, mpy, dmac, mul, dmpy): All instructions are MPY class.
	Change first insn argument to check for LP_COUNT usage.
	(mov): All instructions are MOVE class.  Change first insn
	argument to check for LP_COUNT usage.

include/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_class_t): Add DIVREM, LOAD, MOVE, MPY, STORE
	instruction classes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Fix disassembler option.
@ 2016-11-29 11:20 sergiodj+buildbot
  2016-12-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-29 11:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee881e5d3312ea5396bddc37e8673b77bf549b4b ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: ee881e5d3312ea5396bddc37e8673b77bf549b4b

[ARC] Fix disassembler option.

This patch fixes:
- fpus and fpud are swaped.
- quarkse_em doesn't include FPX extensions.
- auto guessed opcode mechanism may ignore the option passed via -M<feature> option.

opcodes/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-dis.c (is_compatible_p): Remove function.
	(skip_this_opcode): Don't add any decoding class to decode list.
	Remove warning.
	(find_format_from_table): Go through all opcodes, and warn if we
	use a guessed mnemonic.

binutils/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/binutils-all/arc/objdump.exp (Warning test): Update
	test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix debug output in record_full_open_1
@ 2016-11-29  3:18 sergiodj+buildbot
  2016-12-10  9:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-29  3:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0640e3ba9a668c4c317520c48246e1cc8d75ca ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 0a0640e3ba9a668c4c317520c48246e1cc8d75ca

Fix debug output in record_full_open_1

The printed function name should be record_full_open_1, not
record_full_open.

gdb/ChangeLog:

	* record-full.c (record_full_open_1): Fix debug output.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Ignore REX_B bit for 32-bit XOP instructions
@ 2016-11-28 21:09 sergiodj+buildbot
  2016-12-10  4:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 21:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abfcb414b9900ef996b1665323a950610dbdca43 ***

Author: Amit Pawar <Amit.Pawar@amd.com>
Branch: master
Commit: abfcb414b9900ef996b1665323a950610dbdca43

X86: Ignore REX_B bit for 32-bit XOP instructions

While decoding 32-bit XOP instructions, 64 bit registers names are printed.
This patch fixes this by ignoring REX_B bit in 32-bit mode.

opcodes/

	PR binutils/20637
	* i386-dis.c (get_valid_dis386): Ignore REX_B for 32-bit XOP
	instructions.

gas/

	PR binutils/20637
	* testsuite/gas/i386/xop32reg.d: New file.
	* testsuite/gas/i386/xop32reg.s: New file.
	* testsuite/gas/i386/i386.exp: Run new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Partially revert patch for PR 20815 - do not sort the PT_LOAD segments. Non-ordered segments are needed by the Linux kernel.
@ 2016-11-28 20:51 sergiodj+buildbot
  2016-12-10  6:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 20:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd58485720b47d80fed0b281d15a9198f43eaf0c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: cd58485720b47d80fed0b281d15a9198f43eaf0c

Partially revert patch for PR 20815 - do not sort the PT_LOAD segments.  Non-ordered segments are needed by the Linux kernel.

	PR ld/20815
	* elf.c (phdr_sorter): Delete.
	(assign_file_positions_except_relocs): Do not sort program
	headers.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Restrict checking value.lval on using address
@ 2016-11-28 19:38 sergiodj+buildbot
  2016-12-10  0:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 19:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a0884415891b197972f8acf59131c3c9376807f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1a0884415891b197972f8acf59131c3c9376807f

Restrict checking value.lval on using address

With the previous change, value.location.address is only valid for
lval_memory.  This patch restrict some checking on value.lval on
using address.  Since we have a check on VALUE_VAL in
set_value_address, we need to set VALUE_VAL properly before
set_value_address too.

gdb:

2016-11-25  Yao Qi  <yao.qi@linaro.org>

	* ada-lang.c (ensure_lval): Call set_value_address after setting
	VALUE_LVAL.
	* elfread.c (elf_gnu_ifunc_resolve_addr): Set VALUE_LVAL to
	lval_memory.
	(elf_gnu_ifunc_resolver_return_stop): Likewise.
	* value.c (value_fn_field): Likewise.
	(value_from_contents_and_address_unresolved): Likewise.
	(value_from_contents_and_address): Likewise.
	(value_address): Check value->lval isn't
	lval_memory.
	(value_raw_address): Likewise.
	(set_value_address): Assert value->lval is lval_memory.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Adjust Value.location for lval_register
@ 2016-11-28 19:26 sergiodj+buildbot
  2016-12-09 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 19:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7dc54575d91a2b41f6c3e838eec44a7017a24436 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7dc54575d91a2b41f6c3e838eec44a7017a24436

Adjust Value.location for lval_register

value.regnum and value.next_frame_id are only used for lval_register,
so this patch moves them to union value.location.  As a result, when
we copy value, only copy location, don't need to copy regnum and
next_frame_id.

This patch also changes regnum's type to int as there is no space
constraint, so update deprecated_value_regnum_hack return type too.

gdb:

2016-11-28  Yao Qi  <yao.qi@linaro.org>

	* valops.c (value_slice): Don't set frame id of slice.
	* value.c (struct value) <regnum, next_frame_id>: Move them to...
	(struct value) <location>: ... here.  Update comments.
	(allocate_value_lazy): Don't set frame id and regnum.
	(deprecated_value_next_frame_id_hack): Adjust.
	(deprecated_value_regnum_hack): Adjust.
	(value_copy): Don't copy frame id and regnu.
	(value_primitive_field): Likewise.
	(value_from_component): Likewise.
	(deprecated_value_regnum_hack): Return int *.
	* value.h (deprecated_value_regnum_hack): Update declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move computed value's frame id to piece_closure
@ 2016-11-28 17:50 sergiodj+buildbot
  2016-12-09 19:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 17:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee40d8d45213caf0cfb63e603f0fd5a58532e751 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ee40d8d45213caf0cfb63e603f0fd5a58532e751

Move computed value's frame id to piece_closure

Nowadays, we set computed value's frame id, which is a misuse to me.
The computed value itself doesn't care about frame id, but function
value_computed_funcs (val)->read (or read_pieced_value) cares about
which frame the register is relative to, so 'struct piece_closure' is
a better place to fit frame id.

This patch adds a frame id in 'struct piece_closure', and use it
instead of using computed value's frame id.

gdb:

2016-11-28  Yao Qi  <yao.qi@linaro.org>

	* dwarf2loc.c (struct piece_closure) <frame_id>: New field.
	(allocate_piece_closure): Add new parameter 'frame' and set
	closure's frame_id field accordingly.
	(read_pieced_value): Get frame from closure instead of value.
	(dwarf2_evaluate_loc_desc_full): Remove code getting frame id.
	Don't set value's frame id.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Properly hide hidden versioned symbol in executable
@ 2016-11-28 16:35 sergiodj+buildbot
  2016-12-09 15:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 16:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4deb8f714d555a2f530e37c3e7af32bc42fdda58 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 4deb8f714d555a2f530e37c3e7af32bc42fdda58

Properly hide hidden versioned symbol in executable

A hidden versioned symbol in executable should be forced local if it is
locally defined, not referenced by shared library and not exported.  We
must do it before _bfd_elf_link_renumber_dynsyms.

bfd/

	* elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
	symbol in executable.
	(elf_link_output_extsym): Don't change bind from global to
	local when linking executable.

ld/

	* testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
	* testsuite/ld-elf/pr18720.rd: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove verbosity from ui_out_message and friends
@ 2016-11-27  8:30 sergiodj+buildbot
  2016-12-09  6:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  8:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e

Remove verbosity from ui_out_message and friends

That concept is never actually used, so it's just a burden.  Removing it
facilitates the refactoring in upcoming patches.

gdb/ChangeLog:

	* mi/mi-out.c (mi_message): Remove verbosity argument.
	* ada-tasks.c (print_ada_task_info, info_task, task_command):
	Update call.
	* auto-load.c (auto_load_info_scripts): Likewise.
	* breakpoint.c (breakpoint_1, watchpoints_info, tracepoints_info):
	Likewise.
	* cli-out.c (cli_message): Remove verbosity argument.
	* inferior.c (print_inferior): Update call.
	* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
	* probe.c (info_probes_for_ops): Likewise.
	* skip.c (skip_info): Likewise.
	* solib.c (info_sharedlibrary_command): Likewise.
	* symfile.c (load_progress): Likewise.
	* thread.c (print_thread_info_1): Likewise.
	* ui-out.c (uo_message, ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	* ui-out.h (ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	(message_ftype): Remove verbosity argument.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Constify wrap_here/wrap_hint code path
@ 2016-11-27  8:16 sergiodj+buildbot
  2016-12-09  3:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  8:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c

Constify wrap_here/wrap_hint code path

Constify the data path between ui_out_wrap_hint and the wrap_indent
global, because we can.  It's clearer that the argument passed to
wrap_hint is not intended to be modified by the ui_out implementation.

gdb/ChangeLog:

	* mi/mi-out.c (mi_wrap_hint): Constify argument.
	* cli-out.c (cli_wrap_hint): Likewise.
	* ui-out.c (ui_out_wrap_hint, uo_wrap_hint): Likewise.
	* ui-out.h (ui_out_wrap_hint, wrap_hint_ftype): Likewise.
	* utils.c (wrap_here): Likewise.
	(wrap_indent): Constify.
	* utils.h (wrap_here): Constify argument.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix return value of uo_redirect
@ 2016-11-27  5:56 sergiodj+buildbot
  2016-12-08 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  5:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82bbe65a43015a753bec8c64869679a699331a5b ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 82bbe65a43015a753bec8c64869679a699331a5b

Fix return value of uo_redirect

The wrapper uo_redirect seems like it should return the return value
from of implementation function, since callers rely on it, but it
doesn't.

gdb/ChangeLog:

	* ui-out.c (uo_redirect): Return the return value from the
	implementation function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove ui_out_destroy
@ 2016-11-27  5:37 sergiodj+buildbot
  2016-12-08 20:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  5:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4975d6a9cd8aaf3fb14135b36850964def131d7 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: e4975d6a9cd8aaf3fb14135b36850964def131d7

Remove ui_out_destroy

It's not actually used, and removing it simplifies the upcoming patches
a bit.  After the whole series, destroying an ui_out object will be
simply "delete uiout", which will call the default destructor.

gdb/ChangeLog:

	* ui-out.c (ui_out_destroy, uo_data_destroy): Remove.
	* ui-out.h (ui_out_destroy): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unused functions and declarations
@ 2016-11-27  4:20 sergiodj+buildbot
  2016-12-08 14:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  4:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7f904c28f5cd2dc91a118ae6169d6993aaf71f63 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7f904c28f5cd2dc91a118ae6169d6993aaf71f63

Remove unused functions and declarations

gdb/ChangeLog:

	* ui-out.c (_initialize_ui_out): Remove.
	(ui_out_set_flags): Remove.
	(ui_out_clear_flags): Remove.
	* ui-out.h (ui_out_begin_cleanup_end): Remove.
	(ui_out_begin_cleanup_end): Remove.
	(ui_out_set_flags): Remove.
	(ui_out_clear_flags): Remove.
	* mi/mi-out.c (_initialize_mi_out): Remove.
	(mi_out_buffered): Remove.
	* mi/mi-out.h (mi_out_buffered): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove stale comments
@ 2016-11-26 15:59 sergiodj+buildbot
  2016-12-08 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-26 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59b21252a88aa6ba488cfb19686d9cbad2577e76 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 59b21252a88aa6ba488cfb19686d9cbad2577e76

Remove stale comments

The default ui_out is gone since commit
23ff98d2fed4a1eaeb815e18cd4169e5aa7aaa60.

gdb/ChangeLog:

	* ui-out.h (struct ui_out_impl): Remove comment.
	* ui-out.c (struct ui_out): Remove comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove check requiring void argument to functions with no parameters.
@ 2016-11-25 21:27 sergiodj+buildbot
  2016-12-08  8:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8227ffad95fcd835dd5fcb3e4915159e4552b397 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 8227ffad95fcd835dd5fcb3e4915159e4552b397

Remove check requiring void argument to functions with no parameters.

C++ treats an empty parameter list as no parameters unlike C.

gdb/ChangeLog:

	* contrib/ari/gdb_ari.sh (no parameter function): Remove check.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix typo in Makefile
@ 2016-11-25 17:47 sergiodj+buildbot
  2016-12-08  6:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50cc587fe49621a87283f06655fe922d45095076 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 50cc587fe49621a87283f06655fe922d45095076

Fix typo in Makefile

Fix a typo I made in my previous Makefile cleanup series.

Thanks to Patrick Monnerat for reporting.

gdb/ChangeLog:

	* Makefile.in: Fix typo.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-11-25 16:29 sergiodj+buildbot
  2016-12-08  0:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 16:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17e5269b995b0560dc74af78ba134cf1fcd9d56a ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 17e5269b995b0560dc74af78ba134cf1fcd9d56a

Fix typo in comment

gdb/ChangeLog:

	* infcmd.c (interrupt_command): Fix typo in comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix typos in comment
@ 2016-11-25 15:36 sergiodj+buildbot
  2016-12-08  3:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 15:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ce9efb079b6e7b3ab2e795db9477656375d7204 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 8ce9efb079b6e7b3ab2e795db9477656375d7204

Fix typos in comment

gdb/ChangeLog:

	* record-full.c (record_full_resume): Fix typos in comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Prevent problems with section alignment by not shrinking the .rsrc section.
@ 2016-11-25 10:36 sergiodj+buildbot
  2016-12-07 21:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 10:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec8f76882145c71bef81a9cadf0bf51ff9fa5b35 ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: ec8f76882145c71bef81a9cadf0bf51ff9fa5b35

Prevent problems with section alignment by not shrinking the .rsrc section.

	PR ld/20193
	* peXXigen.c (rsrc_process_section): Do not shrink the merged
	.rsrc section.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Do not use std::move when assigning an anonymous object to a unique_ptr.
@ 2016-11-24 21:27 sergiodj+buildbot
  2016-12-07 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 036e657b48144d7449ddfcfcf9214bcd7bcf268b ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 036e657b48144d7449ddfcfcf9214bcd7bcf268b

Do not use std::move when assigning an anonymous object to a unique_ptr.

Using std::move forces an extra copy of the object.  These changes fix
-Wpessimizing-move warnings from clang.

gdb/ChangeLog:

	* ada-lang.c (create_excep_cond_exprs): Do not use 'std::move'.
	* ax-gdb.c (agent_eval_command_one): Likewise.
	(agent_eval_command_one): Likewise.
	* breakpoint.c (parse_cond_to_aexpr): Likewise.
	(parse_cmd_to_aexpr): Likewise.
	* dtrace-probe.c (dtrace_process_dof_probe): Likewise.
	* parse.c (parse_expression_for_completion): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add noexcept to custom non-throwing new operators.
@ 2016-11-24 21:00 sergiodj+buildbot
  2016-12-07 14:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbe910e6e1140cb484a74911f3cea854cf9e7e2a ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: bbe910e6e1140cb484a74911f3cea854cf9e7e2a

Add noexcept to custom non-throwing new operators.

Both libc++ and libstdc++ declare non-throwing new operators as
noexcept and overloads must also be noexcept.  This fixes a
-Wmissing-exception-spec warning with clang.

gdb/ChangeLog:

	* common/new-op.c (operator new): Mark 'noexcept'.
	(operator new[]): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Optimize byte-aligned copies in copy_bitwise()
@ 2016-11-24 19:17 sergiodj+buildbot
  2016-12-07 11:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 19:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 793c128d03113816db85e8d1fa0bcd4982e246ee ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 793c128d03113816db85e8d1fa0bcd4982e246ee

Optimize byte-aligned copies in copy_bitwise()

The function copy_bitwise used for copying DWARF pieces can potentially
be invoked for large chunks of data.  For instance, consider a large
struct one of whose members is currently located in a register.  In this
case copy_bitwise would still copy the data bitwise in a loop, which is
much slower than necessary.

This change uses memcpy for the large part instead, if possible.

gdb/ChangeLog:

	* dwarf2loc.c (copy_bitwise): Use memcpy for the middle part, if
	it is byte-aligned.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add unit test for copy_bitwise
@ 2016-11-24 19:13 sergiodj+buildbot
  2016-12-07  9:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 19:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad06383f106ccfa299a6c7ac9720178d2d3d583f ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: ad06383f106ccfa299a6c7ac9720178d2d3d583f

Add unit test for copy_bitwise

This adds a unit test for the copy_bitwise function in dwarf2loc.c.
With the old (broken) version of copy_bitwise this test would generate
the following failure message:

(gdb) maintenance selftest
Self test failed: copy_bitwise 11000000 != 10000000 (7+2 -> 0)

gdb/ChangeLog:
2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
	    Pedro Alves  <palves@redhat.com>

	* dwarf2loc.c (bits_to_str, check_copy_bitwise)
	(copy_bitwise_tests): New functions.
	(_initialize_dwarf2loc): Register the new function
	copy_bitwise_tests as a unit test.
	* selftest.c (run_self_tests): Improve the failure message's
	wording and formatting.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix copy_bitwise()
@ 2016-11-24 18:47 sergiodj+buildbot
  2016-12-07  6:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af

Fix copy_bitwise()

When the user writes or reads a variable whose location is described
with DWARF pieces (DW_OP_piece or DW_OP_bit_piece), GDB's helper
function copy_bitwise is invoked for each piece.  The implementation of
this function has a bug that may result in a corrupted copy, depending
on alignment and bit size.  (Full-byte copies are not affected.)

This rewrites copy_bitwise, replacing its algorithm by a fixed version,
and adding an appropriate test case.  Without the fix the new test case
fails, e.g.:

  print def_t
  $2 = {a = 0, b = 4177919}
  (gdb) FAIL: gdb.dwarf2/nonvar-access.exp: print def_t

Written in binary, the wrong result above looks like this:

  01111111011111111111111

Which means that two zero bits have sneaked into the copy of the
original all-one bit pattern.  The test uses this simple all-one value
in order to avoid another GDB bug that causes the DWARF piece of a
DW_OP_stack_value to be taken from the wrong end on big-endian
architectures.

gdb/ChangeLog:

	* dwarf2loc.c (extract_bits_primitive): Remove.
	(extract_bits): Remove.
	(copy_bitwise): Rewrite.  Fixes a possible corruption that may
	occur for non-byte-aligned copies.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/nonvar-access.exp: Add a test for accessing
	non-byte-aligned bit fields.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR12616 - gdb does not implement DW_AT_data_bit_offset
@ 2016-11-24 17:53 sergiodj+buildbot
  2016-12-07  3:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 17:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT da5b30da2d1167591aa8d71b543f97bfdc2ec2a2 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: da5b30da2d1167591aa8d71b543f97bfdc2ec2a2

Fix PR12616 - gdb does not implement DW_AT_data_bit_offset

The DW_AT_data_bit_offset attribute was introduced by DWARF V4 and
allows specifying the offset of a data member within its containing
entity.  But although the new attribute was intended to replace
DW_AT_bit_offset for this purpose, GDB ignores it, and thus GCC still
emits DW_AT_bit_offset instead.  See also
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71669.

This change fixes GDB's lack of support for DW_AT_data_bit_offset and
adds an appropriate test case.

gdb/ChangeLog:

	PR gdb/12616
	* dwarf2read.c (dwarf2_add_field): Handle the DWARF V4 attribute
	DW_AT_data_bit_offset.

gdb/testsuite/ChangeLog:

	PR gdb/12616
	* gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
	respects the DW_AT_data_bit_offset attribute.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARM] Bind defined symbol locally in PIE
@ 2016-11-24 14:48 sergiodj+buildbot
  2016-12-07  0:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1dcb9720d62cd053a72c31881b7724ce9f74332c ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 1dcb9720d62cd053a72c31881b7724ce9f74332c

[ARM] Bind defined symbol locally in PIE

bfd/
	PR target/20737
	* elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
	locally in PIE.

ld/
	* testsuite/ld-arm/pie-bind-locally-a.s: New test source.
	* testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
	* testsuite/ld-arm/pie-bind-locally.d: New testcase.
	* testsuite/ld-arm/arm-elf.exp: Run new testcase.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
@ 2016-11-24  3:59 sergiodj+buildbot
  2016-12-06 21:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-24  3:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0b14696aedc2b56291bc98d62fe232c8dceb1385 ***

Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Branch: master
Commit: 0b14696aedc2b56291bc98d62fe232c8dceb1385

RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.

bfd/ChangeLog:
	* bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Use C++11 std::chrono
@ 2016-11-23 17:24 sergiodj+buildbot
  2016-12-06 17:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dcb07cfa156a8e9f768c7f2b5d32f27b6dfe939f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: dcb07cfa156a8e9f768c7f2b5d32f27b6dfe939f

gdb: Use C++11 std::chrono

This patch fixes a few problems with GDB's time handling.

#1 - It avoids problems with gnulib's C++ namespace support

On MinGW, the struct timeval that should be passed to gnulib's
gettimeofday replacement is incompatible with libiberty's
timeval_sub/timeval_add.  That's because gnulib also replaces "struct
timeval" with its own definition, while libiberty expects the
system's.

E.g., in code like this:

  gettimeofday (&prompt_ended, NULL);
  timeval_sub (&prompt_delta, &prompt_ended, &prompt_started);
  timeval_add (&prompt_for_continue_wait_time,
               &prompt_for_continue_wait_time, &prompt_delta);

That's currently handled in gdb by not using gnulib's gettimeofday at
all (see common/gdb_sys_time.h), but that #undef hack won't work with
if/when we enable gnulib's C++ namespace support, because that mode
adds compile time warnings for uses of ::gettimeofday, which are hard
errors with -Werror.

#2 - But there's an elephant in the room: gettimeofday is not monotonic...

We're using it to:

  a) check how long functions take, for performance analysis
  b) compute when in the future to fire events in the event-loop
  c) print debug timestamps

But that's exactly what gettimeofday is NOT meant for.  Straight from
the man page:

~~~
       The time returned by gettimeofday() is affected by
       discontinuous jumps in the system time (e.g., if the system
       administrator manually changes the system time).  If you need a
       monotonically increasing clock, see clock_gettime(2).
~~~

std::chrono (part of the C++11 standard library) has a monotonic clock
exactly for such purposes (std::chrono::steady_clock).  This commit
switches to use that instead of gettimeofday, fixing all the issues
mentioned above.

gdb/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/run-time-clock.c.
	(HFILES_NO_SRCDIR): Add common/run-time-clock.h.
	(COMMON_OBS): Add run-time-clock.o.
	* common/run-time-clock.c, common/run-time-clock.h: New files.
	* defs.h (struct timeval, print_transfer_performance): Delete
	declarations.
	* event-loop.c (struct gdb_timer) <when>: Now a
	std::chrono::steady_clock::time_point.
	(create_timer): use std::chrono::steady_clock instead of
	gettimeofday.  Use new instead of malloc.
	(delete_timer): Use delete instead of xfree.
	(duration_cast_timeval): New.
	(update_wait_timeout): Use std::chrono::steady_clock instead of
	gettimeofday.
	* maint.c: Include <chrono> instead of "gdb_sys_time.h", <time.h>
	and "timeval-utils.h".
	(scoped_command_stats::~scoped_command_stats)
	(scoped_command_stats::scoped_command_stats): Use
	std::chrono::steady_clock instead of gettimeofday.  Use
	user_cpu_time_clock instead of get_run_time.
	* maint.h: Include "run-time-clock.h" and <chrono>.
	(scoped_command_stats): <m_start_cpu_time>: Now a
	user_cpu_time_clock::time_point.
	<m_start_wall_time>: Now a std::chrono::steady_clock::time_point.
	* mi/mi-main.c: Include "run-time-clock.h" and <chrono> instead of
	"gdb_sys_time.h" and <sys/resource.h>.
	(rusage): Delete.
	(mi_execute_command): Use new instead of XNEW.
	(mi_load_progress): Use std::chrono::steady_clock instead of
	gettimeofday.
	(timestamp): Rewrite in terms of std::chrono::steady_clock,
	user_cpu_time_clock and system_cpu_time_clock.
	(timeval_diff): Delete.
	(print_diff): Adjust to use std::chrono::steady_clock,
	user_cpu_time_clock and system_cpu_time_clock.
	* mi/mi-parse.h: Include "run-time-clock.h" and <chrono> instead
	of "gdb_sys_time.h".
	(struct mi_timestamp): Change fields types to
	std::chrono::steady_clock::time_point, user_cpu_time_clock::time
	and system_cpu_time_clock::time_point, instead of struct timeval.
	* symfile.c: Include <chrono> instead of <time.h> and
	"gdb_sys_time.h".
	(struct time_range): New.
	(generic_load): Use std::chrono::steady_clock instead of
	gettimeofday.
	(print_transfer_performance): Replace timeval parameters with a
	std::chrono::steady_clock::duration parameter.  Adjust.
	* utils.c: Include <chrono> instead of "timeval-utils.h",
	"gdb_sys_time.h", and <time.h>.
	(prompt_for_continue_wait_time): Now a
	std::chrono::steady_clock::duration.
	(defaulted_query, prompt_for_continue): Use
	std::chrono::steady_clock instead of
	gettimeofday/timeval_sub/timeval_add.
	(reset_prompt_for_continue_wait_time): Use
	std::chrono::steady_clock::duration instead of struct timeval.
	(get_prompt_for_continue_wait_time): Return a
	std::chrono::steady_clock::duration instead of struct timeval.
	(vfprintf_unfiltered): Use std::chrono::steady_clock instead of
	gettimeofday.  Use std::string.  Use '.' instead of ':'.
	* utils.h: Include <chrono>.
	(get_prompt_for_continue_wait_time): Return a
	std::chrono::steady_clock::duration instead of struct timeval.

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* debug.c: Include <chrono> instead of "gdb_sys_time.h".
	(debug_vprintf): Use std::chrono::steady_clock instead of
	gettimeofday.  Use '.' instead of ':'.
	* tracepoint.c: Include <chrono> instead of "gdb_sys_time.h".
	(get_timestamp): Use std::chrono::steady_clock instead of
	gettimeofday.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Minor formatting fixups in Makefiles
@ 2016-11-23 17:10 sergiodj+buildbot
  2016-12-06 14:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 17:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8629c02c0db6ff3f7444397567a57dd36a3eed41 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 8629c02c0db6ff3f7444397567a57dd36a3eed41

Minor formatting fixups in Makefiles

Mostly some whitespace changes to make things a bit more consistent.

gdb/ChangeLog:

	* Makefile.in: Fix whitespace formatting.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Fix whitespace formatting.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Normalize names of some source files
@ 2016-11-23 16:36 sergiodj+buildbot
  2016-12-06 12:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3

Normalize names of some source files

Most tdep/nat files are named:

  <cpu>-<os>-tdep.c
  <cpu>-<os>-nat.c

A few files do not respect this scheme.  This patch renames them so that
they are consistent with the rest of the files.  It builds fine with
--enable-targets=all, but that doesn't test the nat files.  I can only
hope that my grep skill is good enough.

gdb/ChangeLog:

	* Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS,
	HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
	* alphabsd-nat.c: Rename to ...
	* alpha-bsd-nat.c: ... this, adjust include.
	* alphabsd-tdep.c: Rename to ...
	* alpha-bsd-tdep.c: ... this, adjust include.
	* alphabsd-tdep.h: Rename to ...
	* alpha-bsd-tdep.h: ... this, adjust include barrier and comment.
	* alphafbsd-tdep.c: Rename to ...
	* alpha-fbsd-tdep.c: ... this.
	* alphanbsd-tdep.c: Rename to ...
	* alpha-nbsd-tdep.c: ... this, adjust include.
	* alphaobsd-tdep.c: Rename to ...
	* alpha-obsd-tdep.c: ... this, adjust include.
	* amd64bsd-nat.c: Rename to ...
	* amd64-bsd-nat.c: ... this, adjust include.
	* amd64fbsd-nat.c: Rename to ...
	* amd64-fbsd-nat.c: ... this, adjust include.
	* amd64fbsd-tdep.c: Rename to ...
	* amd64-fbsd-tdep.c: ... this, adjust include.
	* amd64nbsd-nat.c: Rename to ...
	* amd64-nbsd-nat.c: ... this.
	* amd64nbsd-tdep.c: Rename to ...
	* amd64-nbsd-tdep.c: ... this.
	* amd64obsd-nat.c: Rename to ...
	* amd64-obsd-nat.c: ... this.
	* amd64obsd-tdep.c: Rename to ...
	* amd64-obsd-tdep.c: ... this.
	* amd64-tdep.h: Update comments.
	* armbsd-tdep.c: Rename to ...
	* arm-bsd-tdep.c: ... this.
	* armnbsd-nat.c: Rename to ...
	* arm-nbsd-nat.c: ... this.
	* armnbsd-tdep.c: Rename to ...
	* arm-nbsd-tdep.c: ... this.
	* armobsd-tdep.c: Rename to ...
	* arm-obsd-tdep.c: ... this.
	* arm-tdep.h: Update comments.
	* hppabsd-tdep.c: Rename to ...
	* hppa-bsd-tdep.c: ... this, adjust include.
	* hppabsd-tdep.h: Rename to ...
	* hppa-bsd-tdep.h: ... this, adjust include barrier and comment.
	* hppanbsd-nat.c: Rename to ...
	* hppa-nbsd-nat.c: ... this.
	* hppanbsd-tdep.c: Rename to ...
	* hppa-nbsd-tdep.c: ... this, adjust include.
	* hppaobsd-nat.c: Rename to ...
	* hppa-obsd-nat.c: ... this.
	* hppaobsd-tdep.c: Rename to ...
	* hppa-obsd-tdep.c: ... this, adjust include.
	* i386bsd-nat.c: Rename to ...
	* i386-bsd-nat.c: ... this, adjust include.
	* i386bsd-nat.h: Rename to ...
	* i386-bsd-nat.h: ... this, adjust include barrier and comment.
	* i386bsd-tdep.c: Rename to ...
	* i386-bsd-tdep.c: ... this.
	* i386fbsd-nat.c: Rename to ...
	* i386-fbsd-nat.c: ... this, adjust include.
	* i386fbsd-tdep.c: Rename to ...
	* i386-fbsd-tdep.c: ... this, adjust include.
	* i386fbsd-tdep.h: Rename to ...
	* i386-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* i386gnu-nat.c: Rename to ...
	* i386-gnu-nat.c: ... this.
	* i386gnu-tdep.c: Rename to ...
	* i386-gnu-tdep.c: ... this.
	* i386nbsd-nat.c: Rename to ...
	* i386-nbsd-nat.c: ... this, adjust include.
	* i386nbsd-tdep.c: Rename to ...
	* i386-nbsd-tdep.c: ... this.
	* i386obsd-nat.c: Rename to ...
	* i386-obsd-nat.c: ... this, adjust include.
	* i386obsd-tdep.c: Rename to ...
	* i386-obsd-tdep.c: ... this.
	* i386v4-nat.c: Rename to ...
	* i386-v4-nat.c: ... this.
	* i386-tdep.h: Update comments.
	* m68k-tdep.h: Update comments.
	* m68kbsd-nat.c: Rename to ...
	* m68k-bsd-nat.c: ... this.
	* m68kbsd-tdep.c: Rename to ...
	* m68k-bsd-tdep.c: ... this.
	* m68klinux-nat.c: Rename to ...
	* m68k-linux-nat.c: ... this.
	* m68klinux-tdep.c: Rename to ...
	* m68k-linux-tdep.c: ... this.
	* m88kbsd-nat.c: Rename to ...
	* m88k-bsd-nat.c: ... this.
	* mipsnbsd-nat.c: Rename to ...
	* mips-nbsd-nat.c: ... this, adjust include.
	* mipsnbsd-tdep.c: Rename to ...
	* mips-nbsd-tdep.c: ... this, adjust include.
	* mipsnbsd-tdep.h: Rename to ...
	* mips-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* mips64obsd-nat.c: Rename to ...
	* mips64-obsd-nat.c: ... this.
	* mips64obsd-tdep.c: Rename to ...
	* mips64-obsd-tdep.c: ... this.
	* ppcfbsd-nat.c: Rename to ...
	* ppc-fbsd-nat.c: ... this, adjust include.
	* ppcfbsd-tdep.c: Rename to ...
	* ppc-fbsd-tdep.c: ... this, adjust include.
	* ppcfbsd-tdep.h: Rename to ...
	* ppc-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcnbsd-nat.c: Rename to ...
	* ppc-nbsd-nat.c: ... this, adjust include.
	* ppcnbsd-tdep.c: Rename to ...
	* ppc-nbsd-tdep.c: ... this, adjust include.
	* ppcnbsd-tdep.h: Rename to ...
	* ppc-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcobsd-nat.c: Rename to ...
	* ppc-obsd-nat.c: ... this, adjust include.
	* ppcobsd-tdep.c: Rename to ...
	* ppc-obsd-tdep.c: ... this, adjust include.
	* ppcobsd-tdep.h: Rename to ...
	* ppc-obsd-tdep.h: ... this, adjust include barrier and comment.
	* shnbsd-nat.c: Rename to ...
	* sh-nbsd-nat.c: ... this.
	* shnbsd-tdep.c: Rename to ...
	* sh-nbsd-tdep.c: ... this.
	* sparcnbsd-nat.c: Rename to ...
	* sparc-nbsd-nat.c: ... this.
	* sparcnbsd-tdep.c: Rename to ...
	* sparc-nbsd-tdep.c: ... this.
	* sparcobsd-tdep.c: Rename to ...
	* sparc-obsd-tdep.c: ... this.
	* sparc64fbsd-nat.c: Rename to ...
	* sparc64-fbsd-nat.c: ... this.
	* sparc64fbsd-tdep.c: Rename to ...
	* sparc64-fbsd-tdep.c: ... this.
	* sparc64nbsd-nat.c: Rename to ...
	* sparc64-nbsd-nat.c: ... this.
	* sparc64nbsd-tdep.c: Rename to ...
	* sparc64-nbsd-tdep.c: ... this.
	* sparc64obsd-nat.c: Rename to ...
	* sparc64-obsd-nat.c: ... this.
	* sparc64obsd-tdep.c: Rename to ...
	* sparc64-obsd-tdep.c: ... this.
	* sparc64-tdep.h: Update comments.
	* vaxbsd-nat.c: Rename to ...
	* vax-bsd-nat.c: ... this.
	* vaxnbsd-tdep.c: Rename to ...
	* vax-nbsd-tdep.c: ... this.
	* vaxobsd-tdep.c: Rename to ...
	* vax-obsd-tdep.c: ... this.
	* x86bsd-nat.h: Rename to ...
	* x86-bsd-nat.h: ... this, adjust include barrier and comment.
	* x86bsd-nat.c: Rename to ...
	* x86-bsd-nat.c: ... this, adjust include.
	* configure.tgt: Update renamed files.
	* config/alpha/fbsd.mh: Update renamed files.
	* config/alpha/nbsd.mh: Update renamed files.
	* config/arm/nbsdelf.mh: Update renamed files.
	* config/djgpp/fnchange.lst: Update renamed files.
	* config/i386/fbsd.mh: Update renamed files.
	* config/i386/fbsd64.mh: Update renamed files.
	* config/i386/i386gnu.mh: Update renamed files.
	* config/i386/i386sol2.mh: Update renamed files.
	* config/i386/nbsd64.mh: Update renamed files.
	* config/i386/nbsdelf.mh: Update renamed files.
	* config/i386/obsd.mh: Update renamed files.
	* config/i386/obsd64.mh: Update renamed files.
	* config/i386/sol2-64.mh: Update renamed files.
	* config/m68k/linux.mh: Update renamed files.
	* config/m68k/nbsdelf.mh: Update renamed files.
	* config/m68k/obsd.mh: Update renamed files.
	* config/m88k/obsd.mh: Update renamed files.
	* config/mips/nbsd.mh: Update renamed files.
	* config/mips/obsd64.mh: Update renamed files.
	* config/pa/nbsd.mh: Update renamed files.
	* config/pa/obsd.mh: Update renamed files.
	* config/powerpc/fbsd.mh: Update renamed files.
	* config/powerpc/nbsd.mh: Update renamed files.
	* config/powerpc/obsd.mh: Update renamed files.
	* config/sh/nbsd.mh: Update renamed files.
	* config/sparc/fbsd.mh: Update renamed files.
	* config/sparc/nbsd64.mh: Update renamed files.
	* config/sparc/nbsdelf.mh: Update renamed files.
	* config/sparc/obsd64.mh: Update renamed files.
	* config/vax/nbsdelf.mh: Update renamed files.
	* config/vax/obsd.mh: Update renamed files.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Makefiles: Flatten and sort file lists
@ 2016-11-23 15:19 sergiodj+buildbot
  2016-12-06  7:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b593ecca856860a8b38deb808493bba4beef3aee ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b593ecca856860a8b38deb808493bba4beef3aee

Makefiles: Flatten and sort file lists

I find the big file lists in the Makefiles a bit ugly and not very
practical.  Since there are multiple filenames on each line (as much as
fits in 80 columns), it's not easy to add, remove or change a name in
the middle.  As a result, we have a mix of long and short lines in no
particular order (ALL_TARGET_OBS is a good example).

I therefore suggest flattening the lists (one name per line) and keeping
them in alphabetical order.  The diffs will be much clearer and merge
conflicts will be easier to resolve.

A nice (IMO) side-effect I observed is that the files are compiled
alphabetically by make, so it gives a rough idea of the progress of the
build.

I added a comment in gdb/Makefile.in to mention to keep the file lists
ordered, and gave the general guidelines on what order to respect.  I
added a comment in other Makefiles which refers to gdb/Makefile.in, to
avoid duplication.

Running the patch through the buildbot found that gdb.base/default.exp
started to fail.  The languages in the error message shown when typing
"set language" have changed order.  We could probably improve gdb so
that it prints them in a stable order, regardless of the order of the
object list passed to the linked, but just fixing the test is easier for
now.

New in v2:

 - Change ordering style, directories go at the end.
 - Cleanup gdbserver's and data-directory's Makefile as well.
 - Add comments at top of Makefiles about the ordering.
 - Remove wrong trailing backslahes.
 - Fix test gdb.base/default.exp.

gdb/ChangeLog:

	* Makefile.in: Add comment about file lists ordering.
	(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_MI_OBS, SUBDIR_MI_SRCS,
	SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS, SUBDIR_GCC_COMPILE_OBS,
	SUBDIR_GCC_COMPILE_SRCS, SUBDIR_GUILE_OBS, SUBDIR_GUILE_SRCS,
	SUBDIR_PYTHON_OBS, SUBDIR_PYTHON_SRCS, SUBDIR_GDBTK_OBS,
	SUBDIR_GDBTK_SRCS, XMLFILES, REMOTE_OBS, ALL_64_TARGET_OBS,
	ALL_TARGET_OBS, SFILES, HFILES_NO_SRCDIR, HFILES_WITH_SRCDIR,
	COMMON_OBS, YYFILES, YYOBJ, generated_files, ALLDEPFILES):
	Flatten list and order alphabetically.
	* data-directory/Makefile.in: Add comment about file lists
	ordering.
	(GEN_SYSCALLS_FILES, PYTHON_FILE_LIST): Flatten list and order
	alphabetically.

gdb/gdbserver/ChangeLog:

	* Makefile.in (SFILES, OBS): Flatten list and order
	alphabetically.

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Fix output of "set language".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries.
@ 2016-11-23 11:55 sergiodj+buildbot
  2016-12-06  6:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a9ccd70f9a75dc6b48d340059f28ef3550c107b ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1a9ccd70f9a75dc6b48d340059f28ef3550c107b

Fix the linker so that it will not silently generate ELF binaries with invalid program headers.  Fix readelf to report such invalid binaries.

	PR ld/20815
bfd	* elf.c (elf_modify_segment_map): Allow empty LOAD segments if
	they contain the program headers.
	(_bfd_elf_map_sections_to_segments): If the linker created the
	PHDR segment then always attempt to include it in a LOAD segment.
	(assign_file_positions_for_non_load_sections): Allow LOAD segments
	to overlap PHDR segments.
	(phdr_sorter): New function.  Sorts program headers.
	(assign_file_positions_except_relocs): Sort the program headers
	before writing them out.  Issue an error if the PHDR segment is
	not covered by a LOAD segment, unless the backend allows it.
	* elf-bfd.h (struct elf_backend_data): Add
	elf_backend_allow_non_load_phdr.
	* elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
	default definition that returns FALSE.
	(elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
	field.
	* elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
	Returns TRUE.
	(elf_backend_allow_non_load_phdr): Define.
	* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
	place the interpreter string into the .interp section if the
	nointerp flag is set in the link info structure.
	* elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
	* elf32-score7.c (score_elf_final_link_relocate): Allow for the
	_gp symbol not being part of the output.

binutils* readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
	segments for validity.

ld	* ld.texinfo: Note that PT_TLS can be used as a segment type.
	* testsuite/ld-discard/discard.ld: Add space for program headers.
	* testsuite/ld-elf/flags1.ld: Likewise.
	* testsuite/ld-elf/maxpage3.t: Likewise.
	* testsuite/ld-elf/noload-1.t: Likewise.
	* testsuite/ld-elf/orphan.ld: Likewise.
	* testsuite/ld-elf/overlay.t: Likewise.
	* testsuite/ld-elf/pr14052.t: Likewise.
	* testsuite/ld-elf/pr19539.t: Likewise.
	* testsuite/ld-elf/provide-hidden-1.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-s.ld: Likewise.
	* testsuite/ld-elf/weak-dyn-1.ld: Likewise.
	* testsuite/ld-i386/pr19539.t: Likewise.
	* testsuite/ld-scripts/defined.t: Likewise.
	* testsuite/ld-scripts/defined6.t: Likewise.
	* testsuite/ld-scripts/dynamic-sections.t: Likewise.
	* testsuite/ld-scripts/empty-aligned.t: Likewise.
	* testsuite/ld-scripts/provide-2.t: Likewise.
	* testsuite/ld-scripts/provide-4.t: Likewise.
	* testsuite/ld-vax-elf/plt-local.ld: Likewise.
	* testsuite/ld-x86-64/pr19539.t: Likewise.
	* testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
	dynamic linker.
	* testsuite/ld-elf/ehdr_start-weak.d: Likewise.
	* testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
	* testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
	* testsuite/ld-elf/noload-2.d: Likewise.
	* testsuite/ld-powerpc/vxworks2.sd: Likewise.
	* testsuite/ld-scripts/phdrs3a.d: Likewise.
	* testsuite/ld-scripts/size-2.d: Likewise.
	* testsuite/ld-elf/group.ld: Add program headers.
	* testsuite/ld-elf/overlay.d: Skip for SPU.
	* testsuite/ld-elf/flags1.d: Skip for RX.
	* testsuite/ld-elf/pr19162.d: Skip for HPPA64.
	* testsuite/ld-elf/pr19539.d: Skip for ALPHA.
	* testsuite/ld-scripts/empty-orphan.t: Update program headers.
	* testsuite/ld-scripts/size-2.t: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] elf_backend_dtrel_excludes_plt
@ 2016-11-23  9:06 sergiodj+buildbot
  2016-12-06  3:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64f52338e924cce3a205527136e145da660a4686 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 64f52338e924cce3a205527136e145da660a4686

elf_backend_dtrel_excludes_plt

Now that all targets creating .rel.plt/.rela.plt use the ELF hash
table shortcut srelplt, the generic ELF code can set up DT_RELSZ/
DT_RELASZ and DT_REL/DT_RELA for targets that don't want PLT relocs
included in those tags.

	* elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
	* elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
	(elfNN_bed): Init new field.
	* elflink.c (bfd_elf_final_link): Add and use htab variable.  Handle
	dtrel_excludes_plt.
	* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
	subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
	and DT_REL code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
	DT_RELASZ and DT_RELA code.  Use ELF htab shortcuts for other
	dynamic sections.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	* elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Delete duplicate target short-cuts to dynamic sections
@ 2016-11-23  8:40 sergiodj+buildbot
  2016-12-06  0:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  8:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce558b89b15a18fd67fdc02a4d410a6d92d2ba63 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: ce558b89b15a18fd67fdc02a4d410a6d92d2ba63

Delete duplicate target short-cuts to dynamic sections

We'd like to have the elf_link_hash_table srelplt field rather than
some private target field used to save short-cuts to a PLT relocation
section.  This save a little space but mainly is so that the generic
ELF code can access the field.  Ditto for other dynamic sections.

	* elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
	to dynamic sections.
	(mn10300_elf_final_link_relocate): Likewise.
	(_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_size_dynamic_sections): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
	* elf32-bfin.c (bfin_check_relocs): Likewise.
	(bfin_relocate_section): Likewise.
	(bfin_gc_sweep_hook): Likewise.
	(struct bfinfdpic_elf_link_hash_table): Delete sgot, sgotrel, splt
	and spltrel.
	(bfinfdpic_got_section, bfinfdpic_gotrel_section,
	bfinfdpic_plt_section, bfinfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_bfin_create_got_section): Use elf htab shortcuts to dyn sections.
	Delete dead code.
	(bfin_finish_dynamic_symbol): Use elf htab shortcuts to dyn sections.
	(bfin_size_dynamic_sections): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_create_got_section): Likewise.
	(cr16_elf_check_relocs): Likewise.
	(cr16_elf_final_link_relocate): Likewise.
	(_bfd_cr16_elf_create_dynamic_sections): Likewise.
	(_bfd_cr16_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_size_dynamic_sections): Likewise.
	(_bfd_cr16_elf_finish_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_finish_dynamic_sections): Likewise.
	* elf32-cris.c (cris_elf_relocate_section): Likewise.
	(elf_cris_finish_dynamic_symbol): Likewise.
	(elf_cris_finish_dynamic_sections): Likewise.
	(cris_elf_gc_sweep_hook): Likewise.
	(elf_cris_adjust_gotplt_to_got): Likewise.
	(elf_cris_adjust_dynamic_symbol): Likewise.
	(cris_elf_check_relocs): Likewise.  Delete dead code.
	(elf_cris_size_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(elf_cris_discard_excess_program_dynamics): Likewise.
	* elf32-frv.c (struct frvfdpic_elf_link_hash_table): Delete sgot,
	sgotrel, splt and spltrel.
	(frvfdpic_got_section, frvfdpic_gotrel_section,
	frvfdpic_plt_section, frvfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_frv_create_got_section): Likewise.
	* elf32-hppa.c (struct elf32_hppa_link_hash_table): Delete sgot,
	srelgot, splt and srelplt.
	(hppa_build_one_stub): Use elf htab shortcuts to dynamic sections.
	(elf32_hppa_create_dynamic_sections): Likewise.
	(elf32_hppa_check_relocs): Likewise.
	(allocate_plt_static): Likewise.
	(allocate_dynrelocs): Likewise.
	(elf32_hppa_size_dynamic_sections): Likewise.
	(elf32_hppa_relocate_section): Likewise.
	(elf32_hppa_finish_dynamic_symbol): Likewise.
	(elf32_hppa_finish_dynamic_sections): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
	* elf32-lm32.c (struct elf_lm32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(lm32fdpic_got_section, lm32fdpic_gotrel_section): Define using elf
	shortcut sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(lm32_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(lm32_elf_check_relocs): Likewise.
	(lm32_elf_finish_dynamic_sections): Likewise.
	(lm32_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(lm32_elf_size_dynamic_sections): Likewise.
	(lm32_elf_create_dynamic_sections): Likewise.
	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
	(m32c_elf_check_relocs): Likewise.
	(m32c_elf_finish_dynamic_sections): Likewise.
	(m32c_elf_always_size_sections): Likewise.
	* elf32-m32r.c (struct elf_m32r_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(m32r_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(m32r_elf_size_dynamic_sections): Likewise.
	(m32r_elf_relocate_section): Likewise.
	(m32r_elf_finish_dynamic_symbol): Likewise.
	(m32r_elf_finish_dynamic_sections): Likewise.
	(m32r_elf_check_relocs): Likewise.
	* elf32-m68k.c (elf_m68k_partition_multi_got): Likewise.
	(elf_m68k_check_relocs): Likewise.
	(elf_m68k_adjust_dynamic_symbol): Likewise.
	(elf_m68k_size_dynamic_sections): Likewise.
	(elf_m68k_relocate_section): Likewise.
	(elf_m68k_finish_dynamic_symbol): Likewise.
	(elf_m68k_finish_dynamic_sections): Likewise.
	* elf32-metag.c (struct elf_metag_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_metag_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(elf_metag_create_dynamic_sections): Likewise.  Allocate got header
	here in .got.
	(elf_metag_check_relocs): Use elf htab shortcuts to dynamic sections.
	(allocate_dynrelocs): Likewise.
	(elf_metag_size_dynamic_sections): Likewise.
	(elf_metag_finish_dynamic_symbol): Likewise.
	(elf_metag_finish_dynamic_sections): Likewise.
	(elf_metag_size_stubs): Likewise.
	(elf_backend_got_header_size): Don't define.
	(elf_backend_want_got_plt): Define.
	* elf32-microblaze.c (struct elf32_mb_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelpl.
	(microblaze_elf_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(microblaze_elf_check_relocs): Use elf htab shortcuts to dyn sections.
	(microblaze_elf_create_dynamic_sections): Likewise.
	(allocate_dynrelocs): Likewise.
	(microblaze_elf_size_dynamic_sections): Likewise.
	(microblaze_elf_finish_dynamic_symbol): Likewise.
	(microblaze_elf_finish_dynamic_sections): Likewise.
	* elf32-nds32.c (nds32_elf_link_hash_table_create): Don't NULL
	already zero fields.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(nds32_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(nds32_elf_size_dynamic_sections): Likewise.
	(nds32_elf_relocate_section): Likewise.
	(nds32_elf_finish_dynamic_symbol): Likewise.
	(nds32_elf_finish_dynamic_sections): Likewise.
	(nds32_elf_check_relocs): Likewise.
	(calculate_plt_memory_address): Likewise.
	(calculate_got_memory_address): Likewise.
	* elf32-nds32.h (struct elf_nds32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
	(or1k_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(or1k_elf_check_relocs): Use elf htab shortcuts to dynamic sections.
	(or1k_elf_finish_dynamic_sections): Likewise.
	(or1k_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(or1k_elf_size_dynamic_sections): Likewise.
	(or1k_elf_create_dynamic_sections): Likewise.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Delete got, relgot,
	plt, relplt, iplt, reliplt and sgotplt.
	(ppc_elf_create_got): Use elf htab shortcuts to dynamic sections.
	(ppc_elf_create_glink): Likewise.
	(ppc_elf_create_dynamic_sections): Likewise.
	(ppc_elf_check_relocs): Likewise.
	(ppc_elf_select_plt_layout): Likewise.
	(ppc_elf_tls_setup): Likewise.
	(allocate_got): Likewise.
	(allocate_dynrelocs): Likewise.
	(ppc_elf_size_dynamic_sections): Likewise.
	(ppc_elf_relax_section): Likewise.
	(ppc_elf_relocate_section): Likewise.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_reloc_type_class): Likewise.
	(ppc_elf_finish_dynamic_sections): Likewise.
	* elf32-rl78.c (rl78_elf_relocate_section): Likewise.
	(rl78_elf_check_relocs): Likewise.
	(rl78_elf_finish_dynamic_sections): Likewise.
	(rl78_elf_always_size_sections): Likewise.
	* elf32-s390.c 	(create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf32-score.c (score_elf_create_got_section): Set elf shortcuts.
	(s3_bfd_score_elf_finish_dynamic_sections): Use elf shortcuts.
	* elf32-score7.c (score_elf_create_got_section): As above.
	(s7_bfd_score_elf_finish_dynamic_sections): As above.
	* elf32-sh.c (struct elf_sh_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Don't set them.
	(sh_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(sh_elf_size_dynamic_sections): Likewise.
	(sh_elf_add_rofixup): Likewise.
	(sh_elf_relocate_section): Likewise.
	(sh_elf_check_relocs): Likewise.
	(sh_elf_finish_dynamic_symbol): Likewise.
	(sh_elf_finish_dynamic_sections): Likewise.
	* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
	* elf32-tilepro.c (tilepro_elf_create_got_section): Likewise.
	* elf32-vax.c (elf_vax_check_relocs): Likewise.
	(elf_vax_adjust_dynamic_symbol): Likewise.
	(elf_vax_always_size_sections): Likewise.
	(elf_vax_instantiate_got_entries): Likewise.
	(elf_vax_relocate_section): Likewise.
	(elf_vax_finish_dynamic_symbol): Likewise.
	(elf_vax_finish_dynamic_sections): Likewise.
	* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
	(xstormy16_elf_always_size_sections): Likewise.
	(xstormy16_elf_relocate_section): Likewise.
	(xstormy16_elf_finish_dynamic_sections): Likewise.
	* elf32-xtensa.c (struct elf_xtensa_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_xtensa_create_dynamic_sections): Use elf htab shortcuts to
	dynamic sections.
	(elf_xtensa_allocate_dynrelocs): Likewise.
	(elf_xtensa_allocate_local_got_size): Likewise.
	(elf_xtensa_size_dynamic_sections): Likewise.
	(elf_xtensa_relocate_section): Likewise.
	(elf_xtensa_finish_dynamic_sections): Likewise.
	(shrink_dynamic_reloc_sections): Likewise.
	(elf_xtensa_get_plt_section): Likewise.
	(elf_xtensa_get_gotplt_section): Likewise.
	(xtensa_callback_required_dependence): Likewise.
	* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Set elf htab
	shortcuts to dynamic sections.
	(elf64_alpha_adjust_dynamic_symbol): Use elf htab shortcuts to
	dynamic sections.
	(elf64_alpha_size_plt_section): Likewise.
	(elf64_alpha_size_rela_got_1): Likewise.
	(elf64_alpha_size_rela_got_section): Likewise.
	(elf64_alpha_relocate_section): Likewise.
	(elf64_alpha_finish_dynamic_symbol): Likewise.
	(elf64_alpha_finish_dynamic_sections): Likewise.
	* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
	* elf64-s390.c (create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf64-sh64.c (sh_elf64_relocate_section): Use elf htab shortcuts to
	dynamic sections.
	(sh_elf64_check_relocs): Likewise.
	(sh64_elf64_adjust_dynamic_symbol): Likewise.
	(sh64_elf64_size_dynamic_sections): Likewise.
	(sh64_elf64_finish_dynamic_symbol): Likewise.
	(sh64_elf64_finish_dynamic_sections): Likewise.
	* elflink.c (_bfd_elf_create_got_section): Likewise.
	* elfnn-aarch64.c (aarch64_elf_create_got_section): Likewise.
	* elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
	(elfNN_ia64_finish_dynamic_sections): Likewise.
	* elfnn-riscv.c (riscv_elf_create_got_section): Likewise.
	* elfxx-mips.c (struct mips_elf_link_hash_table): Delete srellt,
	sgotplt, splt and sgot.
	(mips_elf_initialize_tls_slots): Use elf htab shortcuts to dynamic
	sections.
	(mips_elf_gotplt_index): Likewise.
	(mips_elf_primary_global_got_index): Likewise.
	(mips_elf_global_got_index): Likewise.
	(mips_elf_got_offset_from_index): Likewise.
	(mips_elf_create_local_got_entry): Likewise.
	(mips_elf_create_got_section): Likewise.
	(mips_elf_calculate_relocation): Likewise.
	(_bfd_mips_elf_create_dynamic_sections): Likewise.
	(_bfd_mips_elf_adjust_dynamic_symbol): Likewise.
	(mips_elf_lay_out_got): Likewise.
	(mips_elf_set_plt_sym_value): Likewise.
	(_bfd_mips_elf_size_dynamic_sections): Likewise.
	(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	(mips_finish_exec_plt): Likewise.
	(mips_vxworks_finish_exec_plt): Likewise.
	(mips_vxworks_finish_shared_plt): Likewise.
	(_bfd_mips_elf_finish_dynamic_sections): Likewise.
	* elfxx-sparc.c (sparc_finish_dyn): Likewise.
	* elfxx-tilegx.c (tilegx_elf_create_got_section): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Regen POTFILES.in
@ 2016-11-23  7:46 sergiodj+buildbot
  2016-12-05 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  7:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29

Regen POTFILES.in

bfd/
	* po/BLD-POTFILES.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
gas/
	* po/POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix spelling mistakes in comments in configure scripts
@ 2016-11-23  3:21 sergiodj+buildbot
  2016-12-05  9:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  3:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96fe45624e51f1bb747e36cf8bdaab216f31c5ec ***

Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Branch: master
Commit: 96fe45624e51f1bb747e36cf8bdaab216f31c5ec

Fix spelling mistakes in comments in configure scripts

All changes are limited to comments, and no run-time behavior is
affected.

bfd/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * warning.m4: Fix spelling in comments.
        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

binutils/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gdb/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

gas/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gold/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gprof/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

ld/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

opcodes/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Use debug_printf for debug output
@ 2016-11-23  1:51 sergiodj+buildbot
  2016-12-05 14:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  1:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4eefa7bcf286b879f61b9e1ec1c97230f5345104 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4eefa7bcf286b879f61b9e1ec1c97230f5345104

gdbserver: Use debug_printf for debug output

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* linux-low.c (check_zombie_leaders): Use debug_printf for debug
	output.
	* notif.c (handle_notif_ack, notif_event_enque): Likewise.
	* remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
	debug_printf and debug_flush for debug output.
	* server.c (handle_general_set): Likewise.
	* thread-db.c (try_thread_db_load): Use debug_printf for debug
	output.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: tic6x
@ 2016-11-23  0:36 sergiodj+buildbot
  2016-12-05  2:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  0:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb090cfa157e35fac1c10c062fd005e38b894ea4 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fb090cfa157e35fac1c10c062fd005e38b894ea4

gdbarch software_single_step frame_info to regcache: tic6x

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* tic6x-tdep.c (tic6x_condition_true): Replace frame with
	regcache.  Call regcache_raw_get_signed instead of
	get_frame_register_signed.
	(tic6x_get_next_pc): Likewise.  Caller updated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change gdbarch software_single_step frame_info to regcache
@ 2016-11-23  0:03 sergiodj+buildbot
  2016-12-05  5:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  0:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5ea389ac78ccd7c426a93f43e6117dad9ce0878 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f5ea389ac78ccd7c426a93f43e6117dad9ce0878

Change gdbarch software_single_step frame_info to regcache

This patch changes gdbarch method software_single_step's parameter from
"struct frame_info *" to "struct regcache *, IOW, software_single_step
starts to use current regcache rather than current frame for software
single.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* gdbarch.sh (software_single_step): Change parameter from frame_info
	to regcache.
	* gdbarch.c, gdbarch.h: Regenerated.
	* aarch64-tdep.c (aarch64_software_single_step): Change parameter
	from frame_info to regcache.  Don't call get_current_regcache.
	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
	(alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Likewise.
	* arm-tdep.c (arm_software_single_step): Likewise.
	* arm-tdep.h (arm_software_single_step): Likewise.
	* breakpoint.c (insert_single_step_breakpoint): Pass regcache to
	gdbarch_software_single_step.
	* cris-tdep.c (cris_software_single_step): Change parameter from
	frame_info to regcache.  Don't call get_current_regcache.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Update declaration.
	* moxie-tdep.c (moxie_software_single_step): Likewise.
	* nios2-tdep.c (nios2_software_single_step): Likewise.
	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update declaration.
	* rs6000-aix-tdep.c (rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise.
	* s390-linux-tdep.c (s390_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* tic6x-tdep.c (tic6x_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu
@ 2016-11-22 22:40 sergiodj+buildbot
  2016-12-05  3:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 22:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2260160f8cde8de118914ddeaf797bea42e65ce ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: b2260160f8cde8de118914ddeaf797bea42e65ce

gdbarch software_single_step frame_info to regcache: spu

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* spu-tdep.c (spu_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.  Call regcache_read_pc instead of
	get_frame_pc.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000
@ 2016-11-22 21:00 sergiodj+buildbot
  2016-12-04 23:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41e26ad32d17ee35f79f629654811f5e8656cab8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 41e26ad32d17ee35f79f629654811f5e8656cab8

gdbarch software_single_step frame_info to regcache: rs6000

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
	regcache.  Call get_regcache_arch instead of get_frame_arch.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390
@ 2016-11-22 20:47 sergiodj+buildbot
  2016-12-04 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad76968956f30bed6d120e0dfd247034e0855fea ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ad76968956f30bed6d120e0dfd247034e0855fea

gdbarch software_single_step frame_info to regcache: s390

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* s390-linux-tdep.c (s390_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc
@ 2016-11-22 20:15 sergiodj+buildbot
  2016-12-04 15:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd76b525eda02c30c4412698a2ff309b975d417a ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: cd76b525eda02c30c4412698a2ff309b975d417a

gdbarch software_single_step frame_info to regcache: sparc

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
	frame with regcache.  Call get_current_frame.
	(sparc_software_single_step): Call get_regcache_arch instead of
	get_frame_arch.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2
@ 2016-11-22 19:25 sergiodj+buildbot
  2016-12-04 12:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6

gdbarch software_single_step frame_info to regcache: nios2

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
	with regcache.  Call regcache_raw_get_signed instead of
	get_frame_register_unsigned.
	(nios2_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: moxie
@ 2016-11-22 18:47 sergiodj+buildbot
  2016-12-04 10:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8f341826d63a5c216c41e10bf1e4e6c3db3ce65 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a8f341826d63a5c216c41e10bf1e4e6c3db3ce65

gdbarch software_single_step frame_info to regcache: moxie

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* moxie-tdep.c (moxie_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips
@ 2016-11-22 17:49 sergiodj+buildbot
  2016-12-04  6:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7113a196bac7f1134bcdd79ad3e6badcb5d77f95 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7113a196bac7f1134bcdd79ad3e6badcb5d77f95

gdbarch software_single_step frame_info to regcache: mips

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
	regcache.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(mips32_next_pc): Likewise.
	(micromips_bc1_pc): Likewise.
	(micromips_next_pc): Likewise.
	(extended_mips16_next_pc): Likewise.
	(mips16_next_pc): Likewise.
	(mips_next_pc): Likewise.
	(mips_software_single_step): Call get_regcache_arch instead
	of get_frame_arch.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris
@ 2016-11-22 17:26 sergiodj+buildbot
  2016-12-04  3:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa

gdbarch software_single_step frame_info to regcache: cris

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* cris-tdep.c (find_step_target): Replace parameter frame
	with regcache.  Call get_regcache_arch instead of
	get_frame_arch.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(cris_software_single_step): Call get_regcache_arch instead
	of get_frame_arch.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha
@ 2016-11-22 16:56 sergiodj+buildbot
  2016-12-04  1:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ab2d0874025af6ee858b32c576f2461c0a1df3d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7ab2d0874025af6ee858b32c576f2461c0a1df3d

gdbarch software_single_step frame_info to regcache: alpha

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.
	(alpha_next_pc): Replace parameter frame with regcache.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64
@ 2016-11-22 15:55 sergiodj+buildbot
  2016-12-03 22:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 15:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0187a92f57b516f7171e70bec46701cfdaa6c6bd ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0187a92f57b516f7171e70bec46701cfdaa6c6bd

gdbarch software_single_step frame_info to regcache: aarch64

Use regcache in software_single_step.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] New regcache_raw_get_signed
@ 2016-11-22 15:10 sergiodj+buildbot
  2016-12-03 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 15:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e

New regcache_raw_get_signed

This patch adds a new regcache api regcache_raw_get_signed.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* regcache.c (regcache_raw_get_signed): New function.
	* regcache.h (regcache_raw_get_signed): Declare.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Fix printing 'b' mnemonics.
@ 2016-11-22 14:50 sergiodj+buildbot
  2016-12-03 12:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 14:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0

[ARC] Fix printing 'b' mnemonics.

gas/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/b.d: Update test result.

opcode/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-tbl.h: Reorder conditional flags with delay flags for 'b'
	instructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gas, opcodes: fix hardware capabilities bumping in the sparc assembler.
@ 2016-11-22 13:53 sergiodj+buildbot
  2016-12-03 15:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 13:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6884417a0ff3555b192d4aceeacc5e7232cad207 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 6884417a0ff3555b192d4aceeacc5e7232cad207

gas,opcodes: fix hardware capabilities bumping in the sparc assembler.

When the assembler finds an instruction which is part of a higher
opcode architecture it bumps the current opcode architecture.  For
example:

   $ echo "mwait" | as -bump
   {standard input}: Assembler messages:
   {standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"

However, when two instructions pertaining to the same opcode
architecture but associated to different SPARC hardware capabilities
are found in the input stream, and no GAS architecture is specified in
the command line, the assembler bangs:

   $ echo "mwait; wr %g0,%g1,%mcdper" | as -bump
   {standard input}: Assembler messages:
   {standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"
   {standard input}:1: Error: Hardware capability "sparc5" not enabled for "wr".

... and it should'nt, as WRMCDPER pertains to the same architecture
level than MWAIT.

This patch fixes this by extending the definition of sparc opcode
architectures to contain a set of hardware capabilities and making the
assembler to take these capabilities into account when updating the
set of allowed hwcaps when an architecture bump is triggered by some
instruction.

This way, hwcaps associated to architecture levels are maintained in
opcodes, while the assembler keeps the flexibiity of defining GAS
architectures including additional hwcaps (like -Asparcfmaf or the
v8plus* variants).

A test covering this failure case is included.

gas/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
       	opcodes/sparc-opc.c.
       	(sparc_arch): Clarify the new role of the hwcap_allowed and
       	hwcap2_allowed fields.
       	(sparc_arch_table): Remove HWS_* and HWS2_* instances from
       	hwcap_allowed and hwcap2_allowed respectively.
       	(md_parse_option): Include the opcode arch hwcaps when processing
       	-A.
       	(sparc_ip): Use the current opcode arch hwcaps to update
       	hwcap_allowed, as well of the hwcaps of the instruction triggering
       	the bump.
       	* testsuite/gas/sparc/hwcaps-bump.s: New file.
       	* testsuite/gas/sparc/hwcaps-bump.l: Likewise.
       	* testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
       	hwcaps-bump.

include/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* opcode/sparc.h (sparc_opcode_arch): New fields hwcaps and
       	hwcaps2.

opcodes/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* sparc-opc.c (HWS_V8): Definition moved from
       	gas/config/tc-sparc.c.
       	(HWS_V9): Likewise.
       	(HWS_VA): Likewise.
       	(HWS_VB): Likewise.
       	(HWS_VC): Likewise.
       	(HWS_VD): Likewise.
       	(HWS_VE): Likewise.
       	(HWS_VV): Likewise.
       	(HWS_VM): Likewise.
       	(HWS2_VM): Likewise.
       	(sparc_opcode_archs): Initialize hwcaps and hwcaps2 fields of
       	existing entries.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs
@ 2016-11-22 11:18 sergiodj+buildbot
  2016-12-03 10:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 11:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 08dc996fedde9143cda25720961684087b133640 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 08dc996fedde9143cda25720961684087b133640

PR20744, Incorrect PowerPC VLE relocs

VLE 16A and 16D relocs were functionally swapped.

	PR 20744
include/
	* opcode/ppc.h: Define VLE insns using 16A and 16D relocs.
bfd/
	* elf32-ppc.h (struct ppc_elf_params): Add vle_reloc_fixup field.
	* elf32-ppc.c: Include opcode/ppc.h.
	(ppc_elf_howto_raw): Correct dst_mask for R_PPC_VLE_LO16A,
	R_PPC_VLE_LO16D, R_PPC_VLE_HI16A, R_PPC_VLE_HI16D, R_PPC_VLE_HA16A,
	R_PPC_VLE_HA16D, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_LO16D,
	R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HI16D,
	R_PPC_VLE_SDAREL_HA16A, and R_PPC_VLE_SDAREL_HA16D relocs.
	(ppc_elf_link_hash_table_create): Update default_params init.
	(ppc_elf_vle_split16): Correct shift and mask.  Add params.
	Report or fix insn/reloc mismatches.
	(ppc_elf_relocate_section): Pass input_section, offset and fixup
	to ppc_elf_vle_split16.
binutils/
	* NEWS: Mention PowerPC VLE relocation error.
gas/
	* config/tc-ppc.c: Delete VLE insn defines.
	(md_assemble): Swap use_a_reloc and use_d_reloc.
	* testsuite/gas/ppc/vle-reloc.d: Update.
ld/
	* emultempl/ppc32elf.em (params): Update initializer.  Handle
	--vle-reloc-fixup command line arg.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use input_bfd in relocate_section
@ 2016-11-22 10:39 sergiodj+buildbot
  2016-12-03  8:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c

Use input_bfd in relocate_section

It makes just a little more sense to use input_bfd when retrieving
insns for relocation, since the relocations match the endianness of
the input bfd.

	* elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
	input_bfd.  Replace occurrences of output_bfd as bfd_get_32 and
	bfd_put_32 param with input_bfd.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.  Also
	ppc_elf_vle_split16 param.
	(ppc_elf_vle_split16): Rename output_bfd param to input_bfd.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component
@ 2016-11-22 10:10 sergiodj+buildbot
  2016-12-03  5:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5acd8159633cfde315b01431099e1ce5b23dcf7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c5acd8159633cfde315b01431099e1ce5b23dcf7

Use VALUE_NEXT_FRAME_ID in value_from_component

We renamed VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID recently,
https://sourceware.org/ml/gdb-patches/2016-11/msg00018.html
and we should use VALUE_NEXT_FRAME_ID in value_from_component
too.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
	instead of VALUE_FROM_ID.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add missing POSTCOMPILE step to mi/ file generation rules
@ 2016-11-21 21:38 sergiodj+buildbot
  2016-12-03  1:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0de53e251ce60057d91536a4c71740b047be040 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d0de53e251ce60057d91536a4c71740b047be040

Add missing POSTCOMPILE step to mi/ file generation rules

A little oversight from my part, it caused the Makefile not to track
the dependencies from mi/*.c files.

gdb/ChangeLog:

	* Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
	step.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error
@ 2016-11-21 17:38 sergiodj+buildbot
  2016-12-02 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 17:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771

BFD/DWARF2: Correct an `index' global shadowing error

Fix a commit 089e3718bd8d ("Greatly improve the speed if looking up
DWARF line number information.") build regression:

cc1: warnings being treated as errors
.../bfd/dwarf2.c: In function 'build_line_info_table':
.../bfd/dwarf2.c:1614: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
.../bfd/dwarf2.c: In function 'build_lookup_funcinfo_table':
.../bfd/dwarf2.c:2262: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[4]: *** [dwarf2.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	bfd/
	* dwarf2.c (build_line_info_table): Rename `index' local
	variable to `line_index'.
	(build_lookup_funcinfo_table): Rename `index' local variable to
	`func_index'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Create subobject value in pretty printer
@ 2016-11-21 14:37 sergiodj+buildbot
  2016-12-02 19:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3fff9862d5229def9318912c2de64a03dab74532 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 3fff9862d5229def9318912c2de64a03dab74532

Create subobject value in pretty printer

Nowadays, we create a value of subobject in pretty printer with 'address'
being used,

  value = value_from_contents_and_address (type, valaddr + embedded_offset,
					   address + embedded_offset);

  set_value_component_location (value, val);
  /* set_value_component_location resets the address, so we may
     need to set it again.  */
  if (VALUE_LVAL (value) != lval_internalvar
      && VALUE_LVAL (value) != lval_internalvar_component
      && VALUE_LVAL (value) != lval_computed)
    set_value_address (value, address + embedded_offset);

value_from_contents_and_address creates a value from memory, but the
value we are pretty-printing may not from memory at all.

Instead of using value_from_contents_and_address, we create a value
of subobject with the same location as object's but different offset.
We avoid using address in this way.  As a result, parameter 'address'
in apply_val_pretty_printer is no longer needed, we can remove it in
next step.

We've already had the location of the 'whole' value, so it is safe
to assume we can create a value of 'component' or 'suboject' value
at the same location but with different offset.

gdb:

2016-11-21  Yao Qi  <yao.qi@linaro.org>

	* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
	Don't call value_from_contents_and_address and
	set_value_address.  Call value_from_component.
	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
	Likewise.
	* value.c (value_from_component): New function.
	* value.h (value_from_component): Likewise.
	* valarith.c (value_subscripted_rvalue): Call
	value_from_component.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma
@ 2016-11-19 19:14 sergiodj+buildbot
  2016-12-02 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-19 19:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc188e5fd6d4f8d3061ed6c58c432a150f7966e9 ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: cc188e5fd6d4f8d3061ed6c58c432a150f7966e9

ARI: Add detection of printf_vma and sprintf_vma

We shouldn't be using these, since their output goes straight to
stdout, which doesn't allow redirection. So this patch updates
the ARI to detect any such use.

gdb/ChangeLog:

        * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
        sprintf_vma.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC"
@ 2016-11-19 13:29 sergiodj+buildbot
  2016-12-02  7:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-19 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fc9967d0b28a1e037233d49cec479d3ab1e9e59 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 0fc9967d0b28a1e037233d49cec479d3ab1e9e59

Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC"

This reverts commit b19753ce31da347605dfa903c6fd2158e2444f0d.

As it turns out, GCC (and the assembler) needs additional work in
order to support negative GOT offsets in 64-bit sparc.  This is
breaking TLS Local Dynamic in position-independent code.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Makefile: fix typo
@ 2016-11-19  3:34 sergiodj+buildbot
  2016-12-02  3:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  3:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef787763b9495913d5be90bcdedcecb553cbf308 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: ef787763b9495913d5be90bcdedcecb553cbf308

Makefile: fix typo

Thanks to Patrick Monnerat for reporting this typo.

gdb/ChangeLog:

	* Makefile.in (%.o: $(srcdir)/gdbtk/generic/%.c): Fix typo.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component.
@ 2016-11-19  1:25 sergiodj+buildbot
  2016-12-01 20:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26 ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26

libiberty: demangler crash with missing :? or fold expression component.

When constructing an :? or fold expression that requires a third
expression only the first and second were explicitly checked to
not be NULL. Since the third expression is also required in these
constructs it needs to be explicitly checked and rejected when missing.
Otherwise the demangler will crash once it tries to d_print the
NULL component. Added two examples to demangle-expected of strings
that would crash before this fix.

Found by American Fuzzy Lop (afl) fuzzer.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: fix negative GOT offsets for non-local references on sparc64
@ 2016-11-19  0:43 sergiodj+buildbot
  2016-12-02  1:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  0:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc133f9f118ef4afd93da0ecba48151488c41c74 ***

Author: James Clarke <jrtc27@jrtc27.com>
Branch: master
Commit: cc133f9f118ef4afd93da0ecba48151488c41c74

bfd: fix negative GOT offsets for non-local references on sparc64

bfd/ChangeLog:

2016-11-18  James Clarke  <jrtc27@jrtc27.com>

	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
	R_SPARC_GOTDATA_OP_HIX22 and R_SPARC_GOTDATA_OP_LOX10 to
	R_SPARC_GOT* for non-local references. Instead, treat them like
	R_SPARC_GOTDATA_HIX22/R_SPARC_GOTDATA_LOX10 when filling in the
	immediate with the calculated relocation.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] libiberty: Add Rust symbol demangling.
@ 2016-11-18 19:31 sergiodj+buildbot
  2016-12-01 22:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 19:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 535aade664ac4170fe82e52c9addd686156220a1 ***

Author: David Tolnay <dtolnay@gmail.com>
Branch: master
Commit: 535aade664ac4170fe82e52c9addd686156220a1

libiberty: Add Rust symbol demangling.

Adds Rust symbol demangler. Rust mangles symbols using GNU_V3 style,
adding a hash and various special character subtitutions. This adds
a new rust style to cplus_demangle and adds 3 helper functions
rust_demangle, rust_demangle_sym and rust_is_mangled.

rust-demangle.c was written by David. Mark did the code formatting to
GNU style and integration into the gcc/libiberty build system and
testsuite.

include/ChangeLog:

2016-11-03  David Tolnay <dtolnay@gmail.com>
           Mark Wielaard  <mark@klomp.org>

       * demangle.h (DMGL_RUST): New macro.
       (DMGL_STYLE_MASK): Add DMGL_RUST.
       (demangling_styles): Add dlang_rust.
       (RUST_DEMANGLING_STYLE_STRING): New macro.
       (RUST_DEMANGLING): New macro.
       (rust_demangle): New prototype.
       (rust_is_mangled): Likewise.
       (rust_demangle_sym): Likewise.

libiberty/ChangeLog:

2016-11-03  David Tolnay <dtolnay@gmail.com>
           Mark Wielaard  <mark@klomp.org>

       * Makefile.in (CFILES): Add rust-demangle.c.
       (REQUIRED_OFILES): Add rust-demangle.o.
       * cplus-dem.c (libiberty_demanglers): Add rust_demangling case.
       (cplus_demangle): Handle RUST_DEMANGLING.
       (rust_demangle): New function.
       * rust-demangle.c: New file.
       * testsuite/Makefile.in (really-check): Add check-rust-demangle.
       (check-rust-demangle): New rule.
       * testsuite/rust-demangle-expected: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input.
@ 2016-11-18 18:18 sergiodj+buildbot
  2016-12-01 16:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1706852c3c6c1d39f949c933d37647d02509b9cb ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 1706852c3c6c1d39f949c933d37647d02509b9cb

libiberty: Fix some demangler crashes caused by reading past end of input.

In various situations the cplus_demangle () function could read past the
end of input causing crashes. Add checks in various places to not advance
the demangle string location and fail early when end of string is reached.
Add various examples of input strings to the testsuite that would crash
test-demangle before the fixes.

Found by using the American Fuzzy Lop (afl) fuzzer.

libiberty/ChangeLog:

       * cplus-dem.c (demangle_signature): After 'H', template function,
       no success and don't advance position if end of string reached.
       (demangle_template): After 'z', template name, return zero on
       premature end of string.
       (gnu_special): Guard strchr against searching for zero characters.
       (do_type): If member, only advance mangled string when 'F' found.
       * testsuite/demangle-expected: Add examples of strings that could
       crash the demangler by reading past end of input.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported).
@ 2016-11-18 18:01 sergiodj+buildbot
  2016-12-01 13:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59d2699cfd30f9defc454be17415c0a518ece32b ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 59d2699cfd30f9defc454be17415c0a518ece32b

libiberty: Add -Wshadow=local to warning flags (if supported).

libiberty/ChangeLog:

       * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
       * configure: Regenerated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement P0012R1, Make exception specifications part of the type system.
@ 2016-11-18 16:45 sergiodj+buildbot
  2016-12-01 10:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d

Implement P0012R1, Make exception specifications part of the type system.

libiberty/
	* cp-demangle.c (is_fnqual_component_type): New.
	(d_encoding, d_print_comp_inner, d_print_mod_list): Use it.
	(FNQUAL_COMPONENT_CASE): New.
	(d_make_comp, has_return_type, d_print_comp_inner)
	(d_print_function_type): Use it.
	(next_is_type_qual): New.
	(d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_NOEXCEPT, DEMANGLE_COMPONENT_THROW_SPEC.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled.
@ 2016-11-18 16:19 sergiodj+buildbot
  2016-12-01  1:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aba19b625f34fb3d61263fe8044cf0c6d8804570 ***

Author: Mark Wielaard <mjw@redhat.com>
Branch: master
Commit: aba19b625f34fb3d61263fe8044cf0c6d8804570

libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled.

When a symbol cannot be demangled in ada_demangle a new demangled VEC
will be allocated without deleting the demangled VEC already in use.

Running testsuite/test-demangle under valgrind will show the leak for
this entry in testsuite/demangle-expected:

    # Elaborated flag (not demangled)
    --format=gnat
    x_E
    <x_E>

 11 bytes in 1 blocks are definitely lost in loss record 1 of 1
    at 0x4C27BE3: malloc (vg_replace_malloc.c:299)
    by 0x413FE7: xmalloc (xmalloc.c:148)
    by 0x4025EC: ada_demangle (cplus-dem.c:930)
    by 0x402C59: cplus_demangle (cplus-dem.c:892)
    by 0x400FEC: main (test-demangle.c:317)

libiberty/ChangeLog:

	* cplus-dem.c (ada_demangle): Initialize demangled to NULL and
	XDELETEVEC demangled when unknown.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Implement P0136R1, Rewording inheriting constructors.
@ 2016-11-18 16:06 sergiodj+buildbot
  2016-12-01  4:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427 ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427

Implement P0136R1, Rewording inheriting constructors.

libiberty/
	* cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR c++/71696 testcase.
@ 2016-11-18 14:01 sergiodj+buildbot
  2016-11-30 22:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d2cdc86574bda0f1013be8cdc166d86b6d032bc ***

Author: Marcel Bhme <boehme.marcel@gmail.com>
Branch: master
Commit: 9d2cdc86574bda0f1013be8cdc166d86b6d032bc

PR c++/71696 testcase.

Add libiberty/testsuite/demangle-expected testcase for:

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions
@ 2016-11-18 13:05 sergiodj+buildbot
  2016-11-30 20:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2c4ff8d52a2cd3263a547b0384692498714aa1b ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c2c4ff8d52a2cd3263a547b0384692498714aa1b

[AArch64] Add ARMv8.3 FCMLA and FCADD instructions

Add support for FCMLA and FCADD complex arithmetic SIMD instructions.
FCMLA has an indexed element variant where the index range has to be
treated specially because a complex number takes two elements and the
indexed vector size depends on the other operands.

These complex number SIMD instructions are part of ARMv8.3
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_IMM_ROT1,
	AARCH64_OPND_IMM_ROT2, AARCH64_OPND_IMM_ROT3.
	(enum aarch64_op): Add OP_FCMLA_ELEM.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_V3SAMEHSD_ROT, QL_ELEMENT_ROT): Define.
	(aarch64_feature_simd_v8_3, SIMD_V8_3): Define.
	(aarch64_opcode_table): Add fcmla and fcadd.
	(AARCH64_OPERANDS): Add IMM_ROT{1,2,3}.
	* aarch64-asm.h (aarch64_ins_imm_rotate): Declare.
	* aarch64-asm.c (aarch64_ins_imm_rotate): Define.
	* aarch64-dis.h (aarch64_ext_imm_rotate): Declare.
	* aarch64-dis.c (aarch64_ext_imm_rotate): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_rotate{1,2,3}.
	* aarch64-opc.c (fields): Add FLD_rotate{1,2,3}.
	(operand_general_constraint_met_p): Rotate and index range check.
	(aarch64_print_operand): Handle rotate operand.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
	* testsuite/gas/aarch64/advsimd-armv8_3.d: New.
	* testsuite/gas/aarch64/advsimd-armv8_3.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.l: New.
	* testsuite/gas/aarch64/illegal-fcmla.d: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions
@ 2016-11-18 12:49 sergiodj+buildbot
  2016-11-30 17:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28617675c264213180a599bb4327bf162029636a ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 28617675c264213180a599bb4327bf162029636a

[AArch64] Add ARMv8.3 weaker release consistency load instructions

Add support for ARMv8.3 LDAPRB, LDAPRH and LDAPR weak release
consistency load instructions. (They are equivalent to LDARB,
LDARH and LDAR instructions other than the weaker memory ordering
requirement.)

For more details about weak release consistency see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add ldaprb, ldaprh, ldapr.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.l: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 javascript floating-point conversion instruction
@ 2016-11-18 11:34 sergiodj+buildbot
  2016-11-30 14:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 11:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ccfc90a39b78b7bc4173cd9ead49d2aa59695378 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: ccfc90a39b78b7bc4173cd9ead49d2aa59695378

[AArch64] Add ARMv8.3 javascript floating-point conversion instruction

Add support for ARMv8.3 FJCVTZS floating-point conversion
instruction.

For details about javascript floating-point conversion see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add fjcvtzs.
	(QL_FP2INT_W_D, aarch64_feature_fp_v8_3, FP_V8_3): Define.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
	* testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions
@ 2016-11-18 11:23 sergiodj+buildbot
  2016-11-30 11:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 11:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f06e55061d0d8f72dfd11f6c432c23f45d9b597 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 3f06e55061d0d8f72dfd11f6c432c23f45d9b597

[AArch64] Add ARMv8.3 combined pointer authentication load instructions

Add support for ARMv8.3 LDRAA and LDRAB combined pointer authentication and
load instructions.

These instructions authenticate the base register and load 8 byte from it plus
a scaled 10-bit offset with optional writeback to update the base register.

A new instruction class (ldst_imm10) and operand type (AARCH64_OPND_ADDR_SIMM10)
were introduced to handle the special addressing form.

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM10.
	(enum aarch64_insn_class): Add ldst_imm10.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_X1NIL): New.
	(arch64_opcode_table): Add ldraa, ldrab.
	(AARCH64_OPERANDS): Add "ADDR_SIMM10".
	* aarch64-asm.h (aarch64_ins_addr_simm10): Declare.
	* aarch64-asm.c (aarch64_ins_addr_simm10): Define.
	* aarch64-dis.h (aarch64_ext_addr_simm10): Declare.
	* aarch64-dis.c (aarch64_ext_addr_simm10): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_S_simm10.
	* aarch64-opc.c (fields): Add data for FLD_S_simm10.
	(operand_general_constraint_met_p): Handle AARCH64_OPND_ADDR_SIMM10.
	(aarch64_print_operand): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
	(fix_insn): Likewise.
	(warn_unpredictable_ldst): Handle ldst_imm10.
	* testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
	* testsuite/gas/aarch64/pac.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldraa.s: New.
	* testsuite/gas/aarch64/illegal-ldraa.l: New.
	* testsuite/gas/aarch64/illegal-ldraa.d: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries.
@ 2016-11-18  9:59 sergiodj+buildbot
  2016-11-30  8:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-18  9:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec49e7c0aeb6d98e379319b565aee2c89388615 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6ec49e7c0aeb6d98e379319b565aee2c89388615

Help diagnose problems with the metag target when mixing static and shared binaries.

	PR ld/20675
	* elf32-metag.c (elf_metag_relocate_section): Replace abort with
	an informative error message.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules
@ 2016-11-17 20:10 sergiodj+buildbot
  2016-11-30  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 20:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 470dd0a647c95a2e88c5b0f8df538826b08959a8 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 470dd0a647c95a2e88c5b0f8df538826b08959a8

Makefile: Replace explicit subdir rules with pattern rules

When adding a .c file in subdirectory (e.g. mi/), the current practice
is to add an explicit rule, such as:

  mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c
          $(COMPILE) $(srcdir)/mi/mi-cmd-break.c
          $(POSTCOMPILE)

I find it a bit verbose and cumbersome.  Since we now require GNU make,
we can change those rules with pattern rules, one for each subdirectory.
For example, the following rule works for all files under mi:

  %.o: $(srcdir)/mi/%.c
          $(COMPILE) $<
          $(POSTCOMPILE)

Those pattern rules assume that the source and target files have the
same stem (foo.c and foo.o).  In one case, common-agent.o is generated
from common/agent.c, to avoid a conflict with the agent.o in gdb/.  In
this case, I kept the explicit rule, which takes precedence over the
pattern rule.  We could also rename common/agent.c to
common/common-agent.c to get rid of the special case and still avoid the
clash, as it is done with common/common-regcache.c, for example.

This strategy was the least intrusive I found, as it only requires
changing the rules, not the target names.

I also considered two other solutions, which I did not like because I
would have had to change target names a bit everywhere.

  - Replicate the source directory structure in the build directory,
    which would generate common/agent.o from common/agent.c.  However,
    something was not right with the dependency tracking (the .deps
    directory).  It's probably not hard to fix, but I did not
    investigate further.
  - Name the object files after the directory they are in, so that
    common/agent.c would generate common_agent.c.

GDBserver can benefit from the same treatment, but I'll do it in another
patch.

Built-tested with --enable-targets=all.

New in v2:

  - Regroup pattern rules for .c -> .o compilation in a single place.
  - Add comment about common-agent.o.

gdb/ChangeLog:

	(PYTHON_CFLAGS): Move up.
	(%.o: $(srcdir)/arch/%.c): New rule.
	(%.o: $(srcdir)/cli/%.c): New rule.
	(%.o: $(srcdir)/common/%.c): New rule.
	(%.o: $(srcdir)/compile/%.c): New rule.
	(%.o: $(srcdir)/gdbtk/generic/%.c): New rule.
	(%.o: $(srcdir)/guile/%.c): New rule.
	(%.o: $(srcdir)/mi/%.c): New rule.
	(%.o: $(srcdir)/nat/%.c): New rule.
	(%.o: $(srcdir)/python/%.c): New rule.
	(%.o: $(srcdir)/target/%.c): New rule.
	(%.o: $(srcdir)/tui/%.c): New rule.
	(cli-cmds.o): Remove.
	(cli-decode.o): Likewise.
	(cli-dump.o): Likewise.
	(cli-interp.o): Likewise.
	(cli-logging.o): Likewise.
	(cli-script.o): Likewise.
	(cli-setshow.o): Likewise.
	(cli-utils.o): Likewise.
	(compile.o): Likewise.
	(compile-c-types.o): Likewise.
	(compile-c-symbols.o): Likewise.
	(compile-object-load.o): Likewise.
	(compile-object-run.o): Likewise.
	(compile-loc2c.o): Likewise.
	(compile-c-support.o): Likewise.
	(gdbtk.o): Likewise.
	(gdbtk-bp.o): Likewise.
	(gdbtk-cmds.o): Likewise.
	(gdbtk-hooks.o): Likewise.
	(gdbtk-interp.o): Likewise.
	(gdbtk-main.o): Likewise.
	(gdbtk-register.o): Likewise.
	(gdbtk-stack.o): Likewise.
	(gdbtk-varobj.o): Likewise.
	(gdbtk-wrapper.o): Likewise.
	(mi-cmd-break.o): Likewise.
	(mi-cmd-catch.o): Likewise.
	(mi-cmd-disas.o): Likewise.
	(mi-cmd-env.o): Likewise.
	(mi-cmd-file.o): Likewise.
	(mi-cmd-info.o): Likewise.
	(mi-cmds.o): Likewise.
	(mi-cmd-stack.o): Likewise.
	(mi-cmd-target.o): Likewise.
	(mi-cmd-var.o): Likewise.
	(mi-console.o): Likewise.
	(mi-getopt.o): Likewise.
	(mi-interp.o): Likewise.
	(mi-main.o): Likewise.
	(mi-out.o): Likewise.
	(mi-parse.o): Likewise.
	(mi-symbol-cmds.o): Likewise.
	(mi-common.o): Likewise.
	(signals.o): Likewise.
	(common-utils.o): Likewise.
	(gdb_vecs.o): Likewise.
	(xml-utils.o): Likewise.
	(ptid.o): Likewise.
	(buffer.o): Likewise.
	(filestuff.o): Likewise.
	(format.o): Likewise.
	(vec.o): Likewise.
	(print-utils.o): Likewise.
	(rsp-low.o): Likewise.
	(errors.o): Likewise.
	(common-debug.o): Likewise.
	(cleanups.o): Likewise.
	(common-exceptions.o
	(posix-strerror.o): Likewise.
	(mingw-strerror.o): Likewise.
	(btrace-common.o): Likewise.
	(fileio.o): Likewise.
	(common-regcache.o): Likewise.
	(signals-state-save-restore.o): Likewise.
	(new-op.o): Likewise.
	(waitstatus.o): Likewise.
	(arm.o): Likewise.
	(arm-linux.o): Likewise.
	(arm-get-next-pcs.o): Likewise.
	(x86-dregs.o): Likewise.
	(linux-btrace.o): Likewise.
	(linux-osdata.o): Likewise.
	(linux-procfs.o): Likewise.
	(linux-ptrace.o): Likewise.
	(linux-waitpid.o): Likewise.
	(mips-linux-watch.o): Likewise.
	(ppc-linux.o): Likewise.
	(linux-personality.o): Likewise.
	(x86-linux.o): Likewise.
	(x86-linux-dregs.o): Likewise.
	(amd64-linux-siginfo.o): Likewise.
	(linux-namespaces.o): Likewise.
	(aarch64-linux-hw-point.o): Likewise.
	(aarch64-linux.o): Likewise.
	(aarch64-insn.o): Likewise.
	(tui.o): Likewise.
	(tui-command.o): Likewise.
	(tui-data.o): Likewise.
	(tui-disasm.o): Likewise.
	(tui-file.o): Likewise.
	(tui-hooks.o): Likewise.
	(tui-interp.o): Likewise.
	(tui-io.o): Likewise.
	(tui-layout.o): Likewise.
	(tui-out.o): Likewise.
	(tui-regs.o): Likewise.
	(tui-source.o): Likewise.
	(tui-stack.o): Likewise.
	(tui-win.o): Likewise.
	(tui-windata.o): Likewise.
	(tui-wingeneral.o): Likewise.
	(tui-winsource.o): Likewise.
	(guile.o): Likewise.
	(scm-arch.o): Likewise.
	(scm-auto-load.o): Likewise.
	(scm-block.o): Likewise.
	(scm-breakpoint.o): Likewise.
	(scm-cmd.o): Likewise.
	(scm-disasm.o): Likewise.
	(scm-exception.o): Likewise.
	(scm-frame.o): Likewise.
	(scm-gsmob.o): Likewise.
	(scm-iterator.o): Likewise.
	(scm-lazy-string.o): Likewise.
	(scm-math.o): Likewise.
	(scm-objfile.o): Likewise.
	(scm-param.o): Likewise.
	(scm-ports.o): Likewise.
	(scm-pretty-print.o): Likewise.
	(scm-progspace.o): Likewise.
	(scm-safe-call.o): Likewise.
	(scm-string.o): Likewise.
	(scm-symbol.o): Likewise.
	(scm-symtab.o): Likewise.
	(scm-type.o): Likewise.
	(scm-utils.o): Likewise.
	(scm-value.o): Likewise.
	(python.o): Likewise.
	(py-arch.o): Likewise.
	(py-auto-load.o): Likewise.
	(py-block.o): Likewise.
	(py-bpevent.o): Likewise.
	(py-breakpoint.o): Likewise.
	(py-cmd.o): Likewise.
	(py-continueevent.o): Likewise.
	(py-xmethods.o): Likewise.
	(py-event.o): Likewise.
	(py-evtregistry.o): Likewise.
	(py-evts.o): Likewise.
	(py-exitedevent.o): Likewise.
	(py-finishbreakpoint.o): Likewise.
	(py-frame.o): Likewise.
	(py-framefilter.o): Likewise.
	(py-function.o): Likewise.
	(py-gdb-readline.o): Likewise.
	(py-inferior.o): Likewise.
	(py-infevents.o): Likewise.
	(py-infthread.o): Likewise.
	(py-lazy-string.o): Likewise.
	(py-linetable.o): Likewise.
	(py-newobjfileevent.o): Likewise.
	(py-objfile.o): Likewise.
	(py-param.o): Likewise.
	(py-prettyprint.o): Likewise.
	(py-progspace.o): Likewise.
	(py-signalevent.o): Likewise.
	(py-stopevent.o): Likewise.
	(py-symbol.o): Likewise.
	(py-symtab.o): Likewise.
	(py-threadevent.o): Likewise.
	(py-type.o): Likewise.
	(py-unwind.o): Likewise.
	(py-utils.o): Likewise.
	(py-value.o): Likewise.
	(py-varobj.o): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove code that checks for GNU/non-GNU make
@ 2016-11-17 18:49 sergiodj+buildbot
  2016-11-30  0:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b165252e882c05c8217f888194877224295592d ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 3b165252e882c05c8217f888194877224295592d

Remove code that checks for GNU/non-GNU make

Since GNU make is now required to build GDB, we can remove everything
that checks whether the current make implemention is the GNU one or
not.  I simply removed the @GMAKE_TRUE@ prefixes and removed the whole
lines that were prefixed with @GMAKE_FALSE@.

I removed the code in the configure scripts that set those variables.

I also removed the following bits from the configure scripts:

  AC_CHECK_PROGS(MAKE, make): GNU make already defines a MAKE variable
    internally to be used when invoking Makefiles recursively.  I don't see
    this variable being used anywhere else (in scripts for example), so I
    think it's safe for removal.

  AC_PROG_MAKE_SET: This macro defines a SET_MAKE output variable, which
    is meant to be used in Makefiles to define the MAKE variable when
    using an implementation of make that doesn't already define it.
    Since we are now requiring GNU make, we don't need it anymore.
    Plus, I don't see SET_MAKE being used anywhere, so I don't think it
    was actually doing anything...

gdb/ChangeLog:

	* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
	prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
	make.
	* configure.ac: Remove checks for the make program.
	* configure: Re-generate.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
	prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
	make.
	* configure.ac: Remove checks for the make program.
	* configure: Re-generate.

gdb/testsuite/ChangeLog:

	* Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
	prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
	make.
	* configure.ac: Remove checks for the make program.
	* configure: Re-generate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Document new hard requirement on GNU make
@ 2016-11-17 18:31 sergiodj+buildbot
  2016-11-29 21:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46

Document new hard requirement on GNU make

As discussed in [1], it would be benificial for the GDB project to start
requiring GNU make to build its software.  It would allow using useful
GNU-specific constructs, such as pattern rules.  It would also allow
removing the alternative code paths in the Makefiles (guarded by
GMAKE_TRUE/GMAKE_FALSE), simplifying the Makefile code.

[1] https://sourceware.org/ml/gdb-patches/2016-11/msg00331.html

gdb/ChangeLog:

	* NEWS: Mention requirement of GNU make.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf
@ 2016-11-17 16:49 sergiodj+buildbot
  2016-11-29 17:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66be918f5f9f78d74c70aa332756286ff9d0ccf2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 66be918f5f9f78d74c70aa332756286ff9d0ccf2

gdb/c-exp.y: fprintf -> parser_fprintf

Switching GDB to make use of gnulib's C++ namespace support mode
revealed these direct uses of fprintf in the C parser, where
parser_fprintf should be used to handle rewiring stderr to gdb_stderr:

 ..../src/gdb/c-exp.y: In function void c_print_token(FILE*, int, YYSTYPE):
 ..../src/gdb/c-exp.y:3220:45: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
	  pulongest (value.typed_val_int.val));
					      ^
 ..../src/gdb/c-exp.y:3231:62: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
   fprintf (file, "tsval<type=%d, %s>", value.tsval.type, copy);
							       ^
 ..../src/gdb/c-exp.y:3237:57: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
	fprintf (file, "sval<%s>", copy_name (value.sval));
							  ^
 ..../src/gdb/c-exp.y:3243:39: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
	  copy_name (value.tsym.stoken));
					^
 ..../src/gdb/c-exp.y:3254:39: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
	  value.ssym.is_a_field_of_this);
					^
 ..../src/gdb/c-exp.y:3258:70: error: call to fprintf declared with attribute warning: The symbol ::fprintf refers to the system function. Use gnulib::fprintf instead. [-Werror]
	fprintf (file, "bval<%s>", host_address_to_string (value.bval));
                                                                      ^

gdb/ChangeLog:
2016-11-17  Pedro Alves  <palves@redhat.com>

	* c-exp.y (c_print_token): Use parser_fprintf instead of fprintf.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition
@ 2016-11-17 15:56 sergiodj+buildbot
  2016-11-29 15:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2683c40f745397e80b6df4edf8265ecb6fd194 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7c2683c40f745397e80b6df4edf8265ecb6fd194

gdb/ctf.c: Get rid of mkdir redefinition

Making GDB use gnulib's C++ namespace support shows this build error
on mingw:

 ../../src/gdb/ctf.c: In function 'void ctf_start(trace_file_writer*, const char*)':
 ../../src/gdb/ctf.c:309:46: error: no match for call to '(const gnulib::_gl_mkdir_wrapper) (const char*&)'
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^
 ../../src/gdb/ctf.c:309:46: note: candidate: gnulib::_gl_mkdir_wrapper::type {aka int (*)(const char*, short unsigned int)} <conversion>
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^
 ../../src/gdb/ctf.c:309:46: note:   candidate expects 3 arguments, 2 provided
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^

The problem is the '#define mkdir ...'

Fortunately, we can just remove it, since gnulib's sys/stat.h
replacement already takes care of the Windows mkdir prototype quirk:

~~~
 /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
    Additionally, it declares _mkdir (and depending on compile flags, an
    alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
    which are included above.  */
 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__

 #  if !GNULIB_defined_rpl_mkdir
 static int
 rpl_mkdir (char const *name, mode_t mode)
 {
   return _mkdir (name);
 }
~~~

That's sys_stat.in.h, part of the sys_stat module, which we explictly
pull in nowadays.  It wasn't being pulled when this macro was added:

  https://sourceware.org/ml/gdb-patches/2013-03/msg00736.html

That patch was partially reverted meanwhile here:

  https://sourceware.org/ml/gdb-patches/2013-12/msg00023.html

But the mkdir macro had been left behind unnoticed.

gdb/ChangeLog:
2016-11-17  Pedro Alves  <palves@redhat.com>

	* ctf.c [USE_WIN32API] (mkdir): Delete.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]>
@ 2016-11-17 14:41 sergiodj+buildbot
  2016-11-29 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 200069c74f42ffcc726b9995a46971a86286a256 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 200069c74f42ffcc726b9995a46971a86286a256

gdb/ada-lang.c: one malloc -> unique_ptr<[]>

Switching gdb to use gnulib's C++ namespace mode reveals we're calling
malloc instead of xmalloc here:

 ..../src/gdb/ada-lang.c: In function value* ada_value_primitive_packed_val(value*, const gdb_byte*, long int, int, int, type*):
 ..../src/gdb/ada-lang.c:2592:50: error: call to malloc declared with attribute warning: The symbol ::malloc refers to the system function. Use gnulib::malloc instead. [-Werror]
	staging = (gdb_byte *) malloc (staging_len);
						   ^

We're unconditionaly using the result afterwards -- so it's not a case
of gracefully handling huge allocations.

Since we want to get rid of all cleanups, fix this by switching to
new[] and unique_ptr<[]> instead, while at it.

Regtested on Fedora 23.

gdb/ChangeLog:
2016-11-16  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
	new gdb_byte[] instead of malloc and cleanups.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/tracepoint.c: Don't use printf_vma
@ 2016-11-17  1:28 sergiodj+buildbot
  2016-11-29  7:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17  1:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 19f1935d91bfabbe4176ffdaca95bc789b593153 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 19f1935d91bfabbe4176ffdaca95bc789b593153

gdb/tracepoint.c: Don't use printf_vma

I noticed that bfd's printf_vma prints to stdout directly:

  bfd-in2.h:202:#define printf_vma(x) fprintf_vma(stdout,x)

This is a bad idea in gdb, where we should use
gdb_stdout/gdb_stderr/gdb_stdlog, etc., to support redirection.

Eliminate uses of sprintf_vma too while at it.

Tested on Fedora 23, w/ gdbserver.

gdb/ChangeLog:
2016-11-17  Pedro Alves  <palves@redhat.com>

	* tracepoint.c (collection_list::add_memrange): Add gdbarch
	parameter.  Use paddress instead of printf_vma.  Adjust recursive
	calls.
	(collection_list::stringify): Use paddress and phex_nz instead of
	sprintf_vma.  Adjust add_memrange call.
	* tracepoint.h (collection_list::add_memrange): Add gdbarch
	parameter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame
@ 2016-11-17  0:20 sergiodj+buildbot
  2016-11-29  3:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-17  0:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0 ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0

Stash frame id of current frame before stashing frame id for previous frame

This patch ensures that the frame id for the current frame is stashed
before that of the previous frame (to the current frame).

First, it should be noted that the frame id for the current frame is
not stashed by get_current_frame().  The current frame's frame id is
lazily computed and stashed via calls to get_frame_id().  However,
it's possible for get_prev_frame() to be called without first stashing
the current frame.

The frame stash is used not only to speed up frame lookups, but
also to detect cycles.  When attempting to compute the frame id
for a "previous" frame (in get_prev_frame_if_no_cycle), a cycle
is detected if the computed frame id is already in the stash.

If it should happen that a previous frame id is stashed which should
represent a cycle for the current frame, then an assertion failure
will trigger should get_frame_id() be later called to determine
the frame id for the current frame.

As of late 2016, with the "Tweak meaning of VALUE_FRAME_ID" patch in
place, this actually occurs when running the
gdb.dwarf2/dw2-dup-frame.exp test.  While attempting to generate a
backtrace, the python frame filter code is invoked, leading to
frame_info_to_frame_object() (in python/py-frame.c) being called.
That function will potentially call get_prev_frame() before
get_frame_id() is called.  The call to get_prev_frame() can eventually
end up in get_prev_frame_if_no_cycle() which, in turn, calls
compute_frame_id(), after which the frame id is stashed for the
previous frame.

If the frame id for the current frame is stashed, the cycle detection
code (which relies on the frame stash) in get_prev_frame_if_no_cycle()
will be triggered for a cycle starting with the current frame.  If the
current frame's id is not stashed, the cycle detecting code can't
operate as designed.  Instead, when get_frame_id() is called on the
current frame at some later point, the current frame's id will found
to be already in the stash, triggering an assertion failure.

Below is an in depth examination of the failure which lead to this change.
I've shortened pathnames for brevity and readability.

Here's the portion of the log file showing the failure/internal error:

(gdb) break stop_frame
Breakpoint 1 at 0x40059a: file dw2-dup-frame.c, line 22.
(gdb) run
Starting program: testsuite/outputs/gdb.dwarf2/dw2-dup-frame/dw2-dup-frame

Breakpoint 1, stop_frame () at dw2-dup-frame.c:22
22	}
(gdb) bt
gdb/frame.c:544: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
FAIL: gdb.dwarf2/dw2-dup-frame.exp: backtrace from stop_frame (GDB internal error)

Here's a partial backtrace from the internal error, showing the frames
which I think are relevant, plus several extra to provide context:

    #0  internal_error (
	file=0x932b98 "gdb/frame.c", line=544,
	fmt=0x932b20 "%s: Assertion `%s' failed.")
	at gdb/common/errors.c:54
    #1  0x000000000072207e in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:544
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390
    #3  0x00000000004ef5be in bootstrap_python_frame_filters (frame=0xe5a760,
	frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1453
    #4  0x00000000004ef7a9 in gdbpy_apply_frame_filter (
	extlang=0x8857e0 <extension_language_python>, frame=0xe5a760, flags=7,
	args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1548
    #5  0x00000000005f2c5a in apply_ext_lang_frame_filter (frame=0xe5a760,
	flags=7, args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0,
	frame_high=-1)
	at gdb/extension.c:572
    #6  0x00000000005ea896 in backtrace_command_1 (count_exp=0x0, show_locals=0,
	no_filters=0, from_tty=1)
	at gdb/stack.c:1834

Examination of the code in frame_info_to_frame_object(), which is in
python/py-frame.c, is key to understanding this problem:

      if (get_prev_frame (frame) == NULL
	  && get_frame_unwind_stop_reason (frame) != UNWIND_NO_REASON
	  && get_next_frame (frame) != NULL)
	{
	  frame_obj->frame_id = get_frame_id (get_next_frame (frame));
	  frame_obj->frame_id_is_next = 1;
	}
      else
	{
	  frame_obj->frame_id = get_frame_id (frame);
	  frame_obj->frame_id_is_next = 0;
	}

I will first note that the frame id for frame has not been computed yet.  (This
was verified by placing a breakpoint on compute_frame_id().)

The call to get_prev_frame() causes the the frame id to (eventually) be
computed for the previous frame.  Here's a backtrace showing how we
get there:

    #0  compute_frame_id (fi=0x10e2810)
	at gdb/frame.c:496
    #1  0x0000000000724a67 in get_prev_frame_if_no_cycle (this_frame=0xe5a760)
	at gdb/frame.c:1871
    #2  0x0000000000725136 in get_prev_frame_always_1 (this_frame=0xe5a760)
	at gdb/frame.c:2045
    #3  0x000000000072516b in get_prev_frame_always (this_frame=0xe5a760)
	at gdb/frame.c:2061
    #4  0x000000000072570f in get_prev_frame (this_frame=0xe5a760)
	at gdb/frame.c:2303
    #5  0x00000000004eb471 in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:381

For this particular case, we end up in the else clause of the code above
which calls get_frame_id (frame).  It's at this point that the frame id
for frame is computed.  Again, here's a backtrace:

    #0  compute_frame_id (fi=0xe5a760)
	at gdb/frame.c:496
    #1  0x000000000072203d in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:539
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390

The test in question, dw2-dup-frame.exp, deliberately creates a broken
(cyclic) stack.  So, in this instance, the frame id for the prev
`frame' will be the same as that for `frame'.  But that particular
frame id ended up in the stash during the previous frame operation.
When, just a few lines later, we compute the frame id for `frame', the
id in question is already in the stash, thus triggering the assertion
failure.

I considered two other solutions to solving this problem:

We could prevent get_prev_frame() from being called before
get_frame_id() in frame_info_to_frame_object().  (See above for the
snippet of code where this happens.) A call to get_frame_id (frame)
could be placed ahead of that code snippet above.  I have tested this
approach and, while it does work, I can't be certain that
get_prev_frame() isn't called ahead of stashing the current frame
somewhere else in GDB, but in a less obvious way.

Another approach is to stash the current frame's id by calling
get_frame_id() in get_current_frame().  This approach is conceptually
simpler, but when importing a python unwinder, has the unwelcome side
effect of causing the unwinder to be called during import.

A cleaner looking fix would be to place this code after code
corresponding to the "Don't compute the frame id of the current frame
yet..." comment in get_prev_frame_if_no_cycle().  Sadly, this does not
work though; by the time we get to this point, the frame state for the
prev frame has been modified just enough to cause an internal error to
occur when attempting to compute the (current) frame id for inline
frames.  (The unexpected failure count increases by roughly 130
failures.)  Therefore, I decided to place it as early as possible
in get_prev_frame().

gdb/ChangeLog:

	* frame.c (get_prev_frame): Stash frame id for current frame
	prior to computing frame id for previous frame.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers.
@ 2016-11-16 22:59 sergiodj+buildbot
  2016-11-29  2:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 22:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33cc7d368f420326606695daafd6292e2779c6af ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 33cc7d368f420326606695daafd6292e2779c6af

Make gdb.PendingFrame.read_register handle "user" registers.

The C function, pending_framepy_read_register(), which implements
the python interface gdb.PendingFrame.read_register does not handle
the so called "user" registers like "pc".  An assertion error is
triggered due to the user registers having numbers larger than or
equal to gdbarch_num_regs(gdbarch).

With the VALUE_FRAME_ID tweak in place, the call to
get_frame_register_value() can simply be replaced by a call to
value_of_register(), which handles both real registers as well as the
user registers.

gdb/ChangeLog:

	* python/py-unwind.c (pending_framepy_read_register): Use
	value_of_register() instead of get_frame_register_value().


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID
@ 2016-11-16 22:04 sergiodj+buildbot
  2016-11-28 20:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 22:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41b56feb5063aee4fefb4a991eb796d1e8a7475e ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 41b56feb5063aee4fefb4a991eb796d1e8a7475e

Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID

The VALUE_FRAME_ID macro provides access to a member in struct value
that's used to hold the frame id that's used when determining a
register's value or when assigning to a register.  The underlying
member has a long and obscure name.  I won't refer to it here, but
will simply refer to VALUE_FRAME_ID as if it's the struct value member
instead of being a convenient macro.

At the moment, without this patch in place, VALUE_FRAME_ID is set in
value_of_register_lazy() and several other locations to hold the frame
id of the frame passed to those functions.

VALUE_FRAME_ID is used in the lval_register case of
value_fetch_lazy().  To fetch the register's value, it calls
get_frame_register_value() which, in turn, calls
frame_unwind_register_value() with frame->next.

A python based unwinder may wish to determine the value of a register
or evaluate an expression containing a register.  When it does this,
value_fetch_lazy() will be called under some circumstances.  It will
attempt to determine the frame id associated with the frame passed to
it.  In so doing, it will end up back in the frame sniffer of the very
same python unwinder that's attempting to learn the value of a
register as part of the sniffing operation.  This recursion is not
desirable.

As noted above, when value_fetch_lazy() wants to fetch a register's
value, it does so (indirectly) by unwinding from frame->next.

With this in mind, a solution suggests itself:  Change VALUE_FRAME_ID
to hold the frame id associated with the next frame.  Then, when it
comes time to obtain the value associated with the register, we can
simply unwind from the frame corresponding to the frame id stored in
VALUE_FRAME_ID.  This neatly avoids the python unwinder recursion
problem by changing when the "next" operation occurs.  Instead of the
"next" operation occuring when the register value is fetched, it
occurs earlier on when assigning a frame id to VALUE_FRAME_ID.
(Thanks to Pedro for this suggestion.)

This patch implements this idea.

It builds on the patch "Distinguish sentinel frame from null frame".
Without that work in place, it's necessary to check for null_id at
several places and then obtain the sentinel frame.

It also renames most occurences of VALUE_FRAME_ID to
VALUE_NEXT_FRAME_ID to reflect the new meaning of this field.

There are several uses of VALUE_FRAME_ID which were not changed.  In
each case, the original meaning of VALUE_FRAME_ID is required to get
correct results.  In all but one of these uses, either
put_frame_register_bytes() or get_frame_register_bytes() is being
called with the frame value obtained from VALUE_FRAME_ID.  Both of
these functions perform some unwinding by performing a "->next"
operation on the frame passed to it.  If we were to use the new
VALUE_NEXT_FRAME_ID macro, this would effectively do two "->next"
operations, which is not what we want.

The VALUE_FRAME_ID macro has been redefined in terms of
VALUE_NEXT_FRAME_ID.  It simply fetches the previous frame's id,
providing this id as the value of the macro.

gdb/ChangeLog:

	* value.h (VALUE_FRAME_ID): Rename to VALUE_NEXT_FRAME_ID. Update
	comment.  Create new VALUE_FRAME_ID which is defined in terms of
	VALUE_NEXT_FRAME_ID.
	(deprecated_value_frame_id_hack): Rename to
	deprecated_value_next_frame_id_hack.
	* dwarf2loc.c, findvar.c, frame-unwind.c, sentinel-frame.c,
	valarith.c, valops.c, value.c: Adjust nearly all occurences of
	VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID.	Add comments for those
	which did not change.
	* value.c (struct value): Rename frame_id field to next_frame_id.
	Update comment.
	(deprecated_value_frame_id_hack): Rename to
	deprecated_value_next_frame_id_hack.
	(value_fetch_lazy): Call frame_unwind_register_value()
	instead of get_frame_register_value().
	* frame.c (get_prev_frame_id_by_id): New function.
	* frame.h (get_prev_frame_id_by_id): Declare.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Make
	VALUE_NEXT_FRAME_ID refer to the next frame.
	* findvar.c (value_of_register_lazy): Likewise.
	(default_value_from_register): Likewise.
	(value_from_register): Likewise.
	* frame_unwind.c (frame_unwind_got_optimized): Likewise.
	* sentinel-frame.c (sentinel_frame_prev_register): Likewise.
	* value.h (VALUE_FRAME_ID): Update comment describing this macro.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Distinguish sentinel frame from null frame.
@ 2016-11-16 21:50 sergiodj+buildbot
  2016-11-28 16:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df433d316277ff5293832d3cd6cbc30b5c38dec0 ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: df433d316277ff5293832d3cd6cbc30b5c38dec0

Distinguish sentinel frame from null frame.

This patch replaces the `current_frame' static global in frame.c with
`sentinel_frame'.  It also makes the sentinel frame id unique and
different from the null frame.

By itself, there is not much point to this patch, but it makes
the code cleaner for the VALUE_FRAME_ID changes in another patch.
Since we now allow "navigation" to the sentinel frame, it removes
the necessity of adding special cases to other parts of GDB.

Note that a new function, get_next_frame_sentinel_okay, is introduced
in this patch.  It will be used by the VALUE_FRAME_ID changes that
I've made.

Thanks to Pedro Alves for this suggestion.

gdb/ChangeLog:

    	* frame.h (enum frame_id_stack_status): Add FID_STACK_SENTINEL.
    	(struct frame_id): Increase number of bits required for storing
    	stack status to 3 from 2.
    	(sentinel_frame_id): New declaration.
    	(get_next_frame_sentinel_okay): Declare.
    	(frame_find_by_id_sentinel_okay): Declare.
    	* frame.c (current_frame): Rename this static global to...
    	(sentinel_frame): ...this static global, which has also been
    	moved an earlier location in the file.
    	(fprint_frame_id): Add case for sentinel frame id.
    	(get_frame_id): Return early for sentinel frame.
    	(sentinel_frame_id): Define.
    	(frame_find_by_id): Add case for sentinel_frame_id.
    	(create_sentinel_frame): Use sentinel_frame_id for this_id.value
    	instead of null_frame_id.
    	(get_current_frame): Add local declaration for `current_frame'.
    	Remove local declaration for `sentinel_frame.'
    	(get_next_frame_sentinel_okay): New function.
    	(reinit_frame_cache): Use `sentinel_frame' in place of
    	`current_frame'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp
@ 2016-11-16 20:03 sergiodj+buildbot
  2016-11-27  3:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a2f3d7ff1d79b1290704e48c71e905b987393a6 ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 1a2f3d7ff1d79b1290704e48c71e905b987393a6

Extend test gdb.python/py-recurse-unwind.exp

This patch modifies the unwinder (sniffer) defined in
py-recurse-unwind.py so that, depending upon the value of one of its
class variables, it will take different paths through the code,
testing different functionality.

The original test attempted to obtain the value of an undefined
symbol.

This somewhat expanded test checks to see if 'pc' can be read via
gdb.PendingFrame.read_register() and also via gdb.parse_and_eval().

gdb/testsuite/ChangeLog:

	* gdb.python/py-recurse-unwind.c (main): Add loop.
	* gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
	to read_register() and gdb.parse_and_eval().  Make each code
	call a separate case that can be individually tested.
	* gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
	proc. Call cont_and_backtrace for each of the code paths that
	we want to test in the unwinder.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs
@ 2016-11-16 20:01 sergiodj+buildbot
  2016-11-27  0:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 20:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4cb771f214ed6a2102e37bce255c6be5d0642f3a ***

Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Branch: master
Commit: 4cb771f214ed6a2102e37bce255c6be5d0642f3a

Fix PR20789 - relaxation with negative valued diff relocs

Fix issues with diff relocs that have a negative value
i.e. sym2 - sym1 where sym2 is lesser than sym1.

The assembler generates a diff reloc with symbol as start of section
and addend as sym2 offset, and encodes assembly time difference at
the reloc offset.

The existing relaxation logic adjusts addends if the relaxed insn lies
between symbol and addend. That doesn't work for diff relocs where
sym2 is less than sym1 *and* the relaxed insn happens to be between
sym2 and sym1.

Fix the problems by

1. Using signed handling of the difference value (bfd_signed_vma instead
of bfd_vma, bfd_{get,set}_signed_xxx instead of bfd_{get,set}_xxx).

2. Not assuming sym2 is bigger than sym1. It instead computes the actual
addresses and sets the lower and higher addresses as start and end
addresses respectively and then sees if insn is between start and end.

3. Creating a new function elf32_avr_adjust_reloc_if_spans_insn to
centralize reloc adjustment, and ensuring diff relocs get adjusted
correctly even if their sym + addend doesn't overlap a relaxed insn.

It also removes a redundant variable did_pad. It is never set if
did_shrink is TRUE, and the code does a early return if did_shrink is
FALSE.

bfd/ChangeLog

2016-11-15  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

       PR ld/20789
       * bfd/elf32-avr.c (elf32_avr_adjust_diff_reloc_value): Do signed
       manipulation of diff value, and don't assume sym2 is less than sym1.
       (elf32_avr_adjust_reloc_if_spans_insn): New function.
       (elf32_avr_relax_delete_bytes): Use elf32_avr_adjust_diff_reloc_value,
       and remove redundant did_pad.

ld/ChangeLog

2016-11-15  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

       PR ld/20789
       * ld/testsuite/ld-avr/pr20789.d: New test.
       * ld/testsuite/ld-avr/pr20789.s: New test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: update gnulib to pull in C++ namespace support fixes
@ 2016-11-16  0:24 sergiodj+buildbot
  2016-11-26 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-16  0:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224

gdb: update gnulib to pull in C++ namespace support fixes

I've been experimenting with making use of gnulib's C++ namespace support:

 https://www.gnu.org/software/gnulib/manual/html_node/A-C_002b_002b-namespace-for-gnulib.html

That stumbled on a few gnulib issues, which I've fixed upstream:

 [PATCH] Fix gnulib C++ namespace support and std::frexp
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00039.html

 [PATCH] Fix real-floating argument functions in C++ mode
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00049.html

 [PATCH] Avoid having GNULIB_NAMESPACE::func always inject references to rpl_func
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00040.html

 [PATCH] C++: "#define timeval rpl_timeval" -> typedef in GNULIB_NAMESPACE
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00058.html

This merge pulls those in.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
	38237baf99386101934cd93278023aa4ae523ec0.
	* gnulib/configure, gnulib/config.in: Regenerate.
	* gnulib/import/Makefile.am: Regenerate.
	* gnulib/import/Makefile.in: Regenerate.
	* gnulib/import/canonicalize-lgpl.c: Update.
	* gnulib/import/extra/snippet/c++defs.h: Update.
	* gnulib/import/m4/stdint.m4: Update.
	* gnulib/import/m4/stdlib_h.m4: Update.
	* gnulib/import/math.in.h: Update.
	* gnulib/import/stdlib.in.h: Update.
	* gnulib/import/sys_time.in.h: Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Delete gdb::unique_ptr/gdb::move
@ 2016-11-15 22:01 sergiodj+buildbot
  2016-11-26 15:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cc8c7310338224d65aa14c4256d4d7539e0dd45 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5cc8c7310338224d65aa14c4256d4d7539e0dd45

Delete gdb::unique_ptr/gdb::move

Now that we require C++11 and all uses of gdb::unique_ptr and
gdb::move are gone, let's remove their definitions...

With my lazy hat on, I repurposed the header for "generally useful
unique_ptr specializations", and left gdb::unique_xmalloc_ptr in
there.  Not sure whether we it'd be better move it out of the gdb
namespace or leave it be.  I left it because it's less work and avoids
disrupting yet-unmerged patches that use it.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* common/common-defs.h: Update comment.
	* common/gdb_unique_ptr.h: Update header comment and copyright
	year.
	(gdb::unique_ptr, gdb::move): Delete.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move}
@ 2016-11-15 20:54 sergiodj+buildbot
  2016-11-26 15:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 20:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b22e99fdaf2efe58161c382bbd55f4572ba49eef ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b22e99fdaf2efe58161c382bbd55f4572ba49eef

gdb::{unique_ptr,move} -> std::{unique_ptr,move}

Now that we require C++11, use std::unique_ptr and std::move directly.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (create_excep_cond_exprs): Use std::move instead of
	gdb::move.
	* break-catch-throw.c (handle_gnu_v3_exceptions): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* breakpoint.c (watch_command_1): Use std::move instead of
	gdb::move.
	* cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
	of gdb::move.
	* elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* parse.c (parse_expression_for_completion): Use std::move instead
	of gdb::move.
	* printcmd.c (display_command): std::move instead of gdb::move.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition
@ 2016-11-15 20:24 sergiodj+buildbot
  2016-11-26 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 20:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b7f38fdae7c75e1d13abd455b3931950db28d22b ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: b7f38fdae7c75e1d13abd455b3931950db28d22b

bitfield-parent-optimized-out: Fix struct definition

The "struct S" type in bitfield-parent-optimized-out.exp is declared to
have a size of 4 bytes but to hold two 4-byte members: an int-based
bitfield and a 4-byte int.  Also, both members have the same
data_member_location 2, causing them to overlap and to reach 2 bytes
beyond the structure's boundary.

This is fixed by increasing the structure size to 8 and setting the
first and second member's data_member_location to 0 and 4, respectively.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
	the definition of struct S.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64
@ 2016-11-14 19:27 sergiodj+buildbot
  2016-11-26  6:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-14 19:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d734efa1034d266249751978f95a686ec9d19c6 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 9d734efa1034d266249751978f95a686ec9d19c6

Also check GOT PLT for R_X86_64_PLTOFF64

Since "-z now" replaces PLT with GOT PLT, we should also check GOT PLT
for R_X86_64_PLTOFF64 relocation.

bfd/

	PR ld/20800
	* elf64-x86-64.c (elf_x86_64_relocate_section): Also check
	plt_got.offset for R_X86_64_PLTOFF64.

ld/

	PR ld/20800
	* testsuite/ld-x86-64/pr20800a.S: New file.
	* testsuite/ld-x86-64/pr20800b.S: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: read entire aux buffer
@ 2016-11-14 10:28 sergiodj+buildbot
  2016-11-26  4:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-14 10:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db58b3735f45345c06cb9a14d0f83f5b26c1ebf3 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: db58b3735f45345c06cb9a14d0f83f5b26c1ebf3

btrace: read entire aux buffer

The data_head of a perf event data buffer grows indefinitely.  Users are
expected to compute data_head % data_size to find the location inside the perf
event data buffer.

The aux_head of a perf event aux buffer wraps around and always stays within the
perf event aux buffer.

Well, at least that's the behaviour for BTS and PT - where BTS uses the data
buffer and PT the aux buffer.

GDB does not read beyond data_head or aux_head.  This is OK for BTS but wrong
for PT.  It causes only a portion of the trace to be considered by GDB.  In the
extreme case, the buffer may appear (almost) empty.

Thanks to Tim Wiederhake  <tim.wiederhake@intel.com> for reporting the anomaly.

Change it to read the entire aux buffer for PT.  The buffer is initially zero so
any extra zeroes we read before aux_head wraps around the first time will be
ignored when searching for the first PSB packet in order to synchronize onto the
trace stream.

gdb/
	* nat/linux-btrace.c (perf_event_read): Allow data_head < size.
	* nat/linux-btrace.c (perf_event_read_all): Do not adjust size.

Change-Id: If4f8049a2080a5f16f336309450b32a3eb1e3ec9


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix typo "Faal through" should be "Fall through".
@ 2016-11-14  9:18 sergiodj+buildbot
  2016-11-26  1:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-14  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955

Fix typo "Faal through" should be "Fall through".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some cleanups from the rust code
@ 2016-11-12 20:45 sergiodj+buildbot
  2016-11-25  8:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 20:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8001f1183f32d674fa3e9af1cca16856afdffc3e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 8001f1183f32d674fa3e9af1cca16856afdffc3e

Remove some cleanups from the rust code

This removes some cleanups from the rust code, in favor of C++ objects
with destructors.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-exp.y (super_name): Use std::vector.
	(lex_number): Use std::string.
	(convert_params_to_types): Return std::vector.
	(convert_ast_to_type, convert_name): Update.
	* rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in rust_get_disr_info
@ 2016-11-12 19:05 sergiodj+buildbot
  2016-11-25  5:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 19:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca

Use std::string in rust_get_disr_info

This changes rust_get_disr_info to use std::string in one more spot,
avoiding a memory leak.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_get_disr_info): Use std::string in one more
	spot.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't handle unavailable/optimized-out in spu_software_single_step
@ 2016-11-11 21:18 sergiodj+buildbot
  2016-11-25  2:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 21:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d15592e06e4abccc97cb8c5670f564327f747e9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7d15592e06e4abccc97cb8c5670f564327f747e9

Don't handle unavailable/optimized-out in spu_software_single_step

When we do software single step, frame is always the innermost one,
so it is impossible to get unavailable/optimized-out errors.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* spu-tdep.c (spu_software_single_step): Don't call
	get_frame_register_bytes, call get_frame_register_unsigned
	instead.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Identify verilog dump tests as such.
@ 2016-11-11 20:35 sergiodj+buildbot
  2016-11-24 21:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f8db343049c3e06483a278e14b7e140ec55c8b3 ***

Author: Catherine Moore <clm@codesourcery.com>
Branch: master
Commit: 1f8db343049c3e06483a278e14b7e140ec55c8b3

Identify verilog dump tests as such.

	A couple of the verilog dump tests were marked as ihex tests.  This
	patch identifies the tests as verilog format dump tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication branch instructions
@ 2016-11-11 19:33 sergiodj+buildbot
  2016-11-24 18:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 19:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74f5402d08b857d60499b27851c204954ce6c42c ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 74f5402d08b857d60499b27851c204954ce6c42c

[AArch64] Add ARMv8.3 combined pointer authentication branch instructions

Add support for ARMv8.3 pointer authentication instructions
that are encoded as unconditional branch instructions.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add braa, brab, blraa, blrab, braaz,
	brabz, blraaz, blrabz, retaa, retab, eretaa, eretab.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
	* testsuite/gas/aarch64/pac.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction
@ 2016-11-11 18:47 sergiodj+buildbot
  2016-11-24 14:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c84364ece4faa7b3eb0f60f4dc301282e9693e1e ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c84364ece4faa7b3eb0f60f4dc301282e9693e1e

[AArch64] Add ARMv8.3 PACGA instruction

Add support for the ARMv8.3 PACGA instruction.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_Rm_SP.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add pacga.
	(AARCH64_OPERANDS): Add Rm_SP.
	* aarch64-opc.c (aarch64_print_operand): Handle AARCH64_OPND_Rm_SP.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/pac.s: Add pacga.
	* testsuite/gas/aarch64/pac.d: Add pacga.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers
@ 2016-11-11 16:38 sergiodj+buildbot
  2016-11-24  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 16:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0bfa7b5b884f78b798ab8d34d2a50bc63f558df ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: b0bfa7b5b884f78b798ab8d34d2a50bc63f558df

[AArch64] Add ARMv8.3 pointer authentication key registers

Add support for system registers introduced in ARMv8.3
for pointer authentication.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-opc.c (aarch64_sys_regs): Add apiakeylo_el1, apiakeyhi_el1,
	apibkeylo_el1, apibkeyhi_el1, apdakeylo_el1, apdakeyhi_el1,
	apdbkeylo_el1, apdbkeyhi_el1, apgakeylo_el1 and apgakeyhi_el1.
	(aarch64_sys_reg_supported_p): Add feature test for new registers.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/sysreg-3.s: New.
	* testsuite/gas/aarch64/sysreg-3.d: New.
	* testsuite/gas/aarch64/illegal-sysreg-3.l: New.
	* testsuite/gas/aarch64/illegal-sysreg-3.d: New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space
@ 2016-11-11 15:42 sergiodj+buildbot
  2016-11-24  6:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8787d804e1cbbd1946239d6c5e560c87d38bac06 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 8787d804e1cbbd1946239d6c5e560c87d38bac06

[AArch64] Add ARMv8.3 instructions which are in the NOP space

This patch adds support for a subset of the ARMv8.3 pointer authentication
instructions: XPACLRI, PACIA1716, PACIB1716, AUTIA1716, AUTIA1716, PACIAZ,
PACIASP, PACIBZ, PACISP, AUTIAZ, AUTIASP, AUTIBZ, AUTIBSP.

These are aliases to HINT #0x7, HINT #0x8, HINT #0xa, HINT #0xc, HINT #0xe,
HINT #0x18, HINT #0x19, ..., HINT #0x1f respectively.

For more details about pointer authentication in ARMv8.3 see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (aarch64_feature_v8_3, ARMV8_3, V8_3_INSN): New.
	(arch64_opcode_table): Add xpaclri, pacia1716, pacib1716, autia1716,
	autib1716, paciaz, paciasp, pacibz, pacibsp, autiaz, autiasp, autibz,
	autibsp.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/system-3.s: New.
	* testsuite/gas/aarch64/system-3.d: New.
	* testsuite/gas/aarch64/system.d: Update expected output.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen
@ 2016-11-11 14:42 sergiodj+buildbot
  2016-11-24  3:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d731f6949e2b0099cfbe0cf608d60a52a66d354 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 3d731f6949e2b0099cfbe0cf608d60a52a66d354

[AArch64] Increase max_num_aliases in aarch64-gen

Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases,
so to allow more instruction aliases in the generator, max_num_aliases is
increased from 16 to 32.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag
@ 2016-11-11 13:30 sergiodj+buildbot
  2016-11-23 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 13:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1924ff7567abf9e1341ae135fb5097bc5f7b76f4 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 1924ff7567abf9e1341ae135fb5097bc5f7b76f4

[AArch64] Add ARMv8.3 command line option and feature flag

ARMv8.3 can be selected with -march=armv8.3-a command line option.
An overview of the ARMv8.3 architecture extension is at
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
	* doc/c-aarch64.texi (-march): Likewise.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (AARCH64_FEATURE_V8_3): Define.
	(AARCH64_ARCH_V8_3): Define.
	(AARCH64_ARCH_V8_1, AARCH64_ARCH_V8_2): Simplify.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols.
@ 2016-11-11 12:40 sergiodj+buildbot
  2016-11-23 19:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 12:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7103ad7639b7ed80bec170404185a8e39079446b ***

Author: Luke Allardyce <lukeallardyce@gmail.com>
Branch: master
Commit: 7103ad7639b7ed80bec170404185a8e39079446b

Accept hidden COFF symbols, but treat them as if they were debugging symbols.

	PR ld/20722
	* coffcode.h (coff_slurp_symbol_table): Accept C_HIDDEN symbols,
	but treat them as debugging symbols.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr
@ 2016-11-11 12:02 sergiodj+buildbot
  2016-11-23 16:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 668e167446b2777869f413841ec05aed59473d9f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 668e167446b2777869f413841ec05aed59473d9f

Remove apply_val_pretty_printer parameter valaddr

This patch removes the parameter valaddr of
extension_language_ops::apply_val_pretty_printer and remove const from
"struct value *val".  valaddr can be got in each extension language's
implementation of apply_val_pretty_printer.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* cp-valprint.c (cp_print_value): Remove local base_valaddr.
	* extension-priv.h (struct extension_language_ops)
	<apply_val_pretty_printer>: Remove the second parameter.
	Remove const from "struct value *".  Callers updated.
	* extension.c (apply_ext_lang_val_pretty_printer): Update
	comments.  Remove parameter valaddr.  Remove const from
	"struct value *".
	* extension.h (apply_ext_lang_val_pretty_printer): Update
	declaration.
	* guile/guile-internal.h (gdbscm_apply_val_pretty_printer):
	Update declaration.
	* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
	Remove parameter valaddr.  Remove const from "struct value *".
	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
	Likewise.
	* python/python-internal.h (gdbpy_apply_val_pretty_printer):
	Update declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove parameter valaddr from c print functions
@ 2016-11-11 10:40 sergiodj+buildbot
  2016-11-23 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 10:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65408fa680538f997cdd4b6fb9d74f043a060801 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 65408fa680538f997cdd4b6fb9d74f043a060801

Remove parameter valaddr from c print functions

This patch removes parameter valaddr from some c print functions.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* c-lang.h (cp_print_value_fields): Update declaration.
	* cp-valprint.c (cp_print_value): Update declaration.
	(cp_print_value_fields): Remove parameter valaddr.  Callers
	updated.
	(cp_print_value): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sim: mips: fix dv-tx3904cpu build error
@ 2016-11-11 10:09 sergiodj+buildbot
  2016-11-23  8:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 10:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91588b3af8e026ba11c7368476cc1f3fa8c2e2b1 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 91588b3af8e026ba11c7368476cc1f3fa8c2e2b1

sim: mips: fix dv-tx3904cpu build error

When building for mipstx39-rtems4.12 targets, some funcs use SD and CPU
implicitly.  Restore the defines for these to the local sd and cpu vars.

This was broken by the clean up in commit d47f5b30d8481272e9480118bdcb.

Reported-by: Joel Sherrill <joel.sherrill@oarcorp.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] sim: mips: fix builds for r3900 cpus due to missing check_u64
@ 2016-11-11  9:01 sergiodj+buildbot
  2016-11-23  5:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-11  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e04659e8607bfed6995fd2ced9aaab55e2143302 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: e04659e8607bfed6995fd2ced9aaab55e2143302

sim: mips: fix builds for r3900 cpus due to missing check_u64


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Provide a more helpful error message when the BFD library is unable to load an extremely large section.
@ 2016-11-10 12:31 sergiodj+buildbot
  2016-11-22 16:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10 12:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a18590c38657a982f8d544f2f54f39ba9abe9fca ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a18590c38657a982f8d544f2f54f39ba9abe9fca

Provide a more helpful error message when the BFD library is unable to load an extremely large section.

	PR target/20737
	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
	symbol locally in PIE.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Bind defined symbol locally in PIE
@ 2016-11-10  9:30 sergiodj+buildbot
  2016-11-22 13:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  9:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac33b731d214d79738ca04d27f7464d4482f6a01 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: ac33b731d214d79738ca04d27f7464d4482f6a01

[AArch64] Bind defined symbol locally in PIE

bfd/
	PR target/20737
	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
	symbol locally in PIE.

ld/
	* testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
	* testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
	* testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tui-disasm: Fix window content buffer overrun
@ 2016-11-10  8:07 sergiodj+buildbot
  2016-11-20  8:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  8:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39

tui-disasm: Fix window content buffer overrun

A user reported a GDB crash with TUI when trying to debug a function
with a long demangled C++ method name.  It turned out that the logic for
displaying the TUI disassembly window has a bug that can cause a buffer
overrun, possibly overwriting GDB-internal data structures.  In
particular, the logic performs an unguarded strcpy.

Another (harmless) bug in tui_alloc_source_buffer causes the buffer to
be two lines longer than needed.  This may have made the crash appear
less frequently.

gdb/ChangeLog:

	* tui/tui-disasm.c (tui_set_disassem_content): Fix line buffer
	overrun due to unchecked strcpy.

gdb/testsuite/ChangeLog:

	* gdb.base/tui-layout.c: New file.
	* gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
	disassembly window contains very long lines.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use unique_xmalloc_ptr in Python code
@ 2016-11-10  7:49 sergiodj+buildbot
  2016-11-22  9:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b9720149dfee4a9a961c29d0382fc5bdf9c975b ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9b9720149dfee4a9a961c29d0382fc5bdf9c975b

Use unique_xmalloc_ptr in Python code

This changes some utility functions in the Python code to return
unique_xmalloc_ptr, and then fixes up the callers.

I chose unique_xmalloc_ptr rather than std::string because at a few
call points the xmalloc'd string is released and ownership transferred
elsewhere.

This patch found a few existing memory leaks.  For example,
py-unwind.c called gdbpy_obj_to_string but never freed the result.

Built and regression tested on the buildbot.

2016-11-09  Tom Tromey  <tom@tromey.com>

	* varobj.h (varobj_get_display_hint): Change return type.
	* varobj.c (varobj_get_display_hint): Return unique_xmalloc_ptr.
	(varobj_value_get_print_value): Update.
	* python/python.c (gdbpy_before_prompt_hook, gdbpy_print_stack)
	(gdbpy_apply_type_printers): Update.
	* python/python-internal.h (unicode_to_target_string)
	(python_string_to_target_string, python_string_to_host_string)
	(gdbpy_obj_to_string, gdbpy_exception_to_string)
	(gdbpy_get_display_hint): Change return types.
	* python/py-varobj.c (py_varobj_iter_next): Update.
	* python/py-value.c (valpy_getitem, convert_value_from_python):
	Update.
	* python/py-utils.c (unicode_to_encoded_string)
	(unicode_to_target_string, python_string_to_target_string)
	(python_string_to_host_string, gdbpy_obj_to_string)
	(gdbpy_exception_to_string): Return unique_xmalloc_ptr.
	* python/py-unwind.c (pyuw_parse_register_id): Update.
	* python/py-type.c (typy_getitem): Update.
	* python/py-prettyprint.c (gdbpy_get_display_hint)
	(print_stack_unless_memory_error, print_children)
	(gdbpy_apply_val_pretty_printer): Update.
	* python/py-param.c (set_parameter_value): Update.
	(get_doc_string, call_doc_function): Return unique_xmalloc_ptr.
	(get_set_value, get_show_value, compute_enum_values, parmpy_init):
	Update.
	* python/py-infthread.c (thpy_set_name): Update.
	* python/py-function.c (fnpy_call, fnpy_init): Update.
	* python/py-framefilter.c (extract_sym): Change "name" to
	unique_xmalloc_ptr.
	(enumerate_args, enumerate_locals): Update.
	(py_print_frame): Use unique_xmalloc_ptr.
	* python/py-frame.c (frapy_read_var): Update.  Remove cleanup.
	* python/py-cmd.c (cmdpy_function, cmdpy_completer, cmdpy_init):
	Update.
	* python/py-breakpoint.c (bppy_set_condition): Use
	unique_xmalloc_ptr.
	(bppy_init): Likewise.  Remove cleanup.
	(local_setattro): Update.
	* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_list_children)
	(varobj_update_one): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Further cleanup/modernization of gdb.base/commands.exp
@ 2016-11-10  7:48 sergiodj+buildbot
  2016-11-21 22:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fad0c9fb7dd362bdb5a3e4f89fb7f6e6789f5beb ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: fad0c9fb7dd362bdb5a3e4f89fb7f6e6789f5beb

Further cleanup/modernization of gdb.base/commands.exp

 - Use multi_line for matching multi-line GDB output.

 - Add a multi_line_input variant of multi_line to build GDB input and
   use it throughout.

   (The two changes above make the tests much more readable, IMO.)

 - Add a new valnum_re global to get rid of the multiple "\\\$\[0-9\]*".

 - Remove gdb_stop_suppressing_tests uses.

 - tighten a few regexps.

 - Replace send_gdb/gdb_expect with gdb_test_multiple and simplify,
   making pass/fail messages the same.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (runto_or_return): New procedure.
	(gdbvar_simple_if_test, gdbvar_simple_while_test)
	(gdbvar_complex_if_while_test, progvar_simple_if_test)
	(progvar_simple_while_test, progvar_complex_if_while_test)
	(if_while_breakpoint_command_test)
	(infrun_breakpoint_command_test, breakpoint_command_test)
	(user_defined_command_test, watchpoint_command_test)
	(test_command_prompt_position, redefine_hook_test)
	(stray_arg0_test, error_clears_commands_left, redefine_hook_test)
	(redefine_backtrace_test): Use runto_or_return, $valnum_re,
	multi_line_input and multi_line.  Remove gdb_expect and
	gdb_stop_suppressing_tests uses.
	* lib/gdb.exp (valnum_re): New global.
	* lib/gdb.exp (valnum_re): New global.
	(multi_line_input): New procedure.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-22  4:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60227d64dd9228be1a07fc7122894fc2875b1a70 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 60227d64dd9228be1a07fc7122894fc2875b1a70

X86: Remove the .s suffix from EVEX vpextrw

The .s suffix indicates that the instruction is encoded by swapping
2 register operands.  Since vpextrw takes an XMM register and an
integer register, the .s suffix should be ignored for EVEX vpextrw.

gas/

	PR binutils/20799
	* testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
	* testsuite/gas/i386/opcode-intel.d: Updated.
	* testsuite/gas/i386/opcode-suffix.d: Likewise.
	* testsuite/gas/i386/opcode.d: Likewise.
	* testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
	tests.
	* testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
	* testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.

opcodes/

	PR binutils/20799
	* i386-dis-evex.h (evex_table): Replace EdqwS with Edqw.
	* i386-dis.c (EdqwS): Removed.
	(dqw_swap_mode): Likewise.
	(intel_operand_size): Don't check dqw_swap_mode.
	(OP_E_register): Likewise.
	(OP_E_memory): Likewise.
	(OP_G): Likewise.
	(OP_EX): Likewise.
	* i386-opc.tbl: Remove "S" from EVEX vpextrw.
	* i386-tbl.h: Regerated.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Merge AVX512F vmovq
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-21 20:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7efeed176a291c15c74e80aee5d7f906e28081cf ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7efeed176a291c15c74e80aee5d7f906e28081cf

X86: Merge AVX512F vmovq

AVX512F vmovq doesn't support masking.  We can't swap register operand
in AVX512F vmovq with Reg64 since Reg64 != RegXMM.  This patch merges
AVX512F vmovq.

	* i386-opc.tbl: Merge AVX512F vmovq.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix
@ 2016-11-10  7:46 sergiodj+buildbot
  2016-11-21 14:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8354c62cd144964fce17e11ce035c0c2c0635cbf ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 8354c62cd144964fce17e11ce035c0c2c0635cbf

Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix

Pedro's patch provides a cleaner way to prefix tests with the proc name,
so let's use that.

gdb/testsuite/ChangeLog:

	* gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
	Remove.
	(test_setup): Define with proc_with_prefix.
	(test_cli_inferior): Likewise.
	(test_cli_thread): Likewise.
	(test_cli_frame): Likewise.
	(test_cli_select_frame): Likewise.
	(test_cli_up_down): Likewise.
	(test_mi_thread_select): Likewise.
	(test_mi_stack_select_frame): Likewise.
	(test_cli_in_mi_inferior): Likewise.
	(test_cli_in_mi_thread): Likewise.
	(test_cli_in_mi_frame): Likewise.
	(top level): Do not use with_test_prefix_procname.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] agent_expr_up: gdb::unique_ptr -> std::unique_ptr
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-21  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c73cd95f96d37dbf6092a87c8ba0f35277223a5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6c73cd95f96d37dbf6092a87c8ba0f35277223a5

agent_expr_up: gdb::unique_ptr -> std::unique_ptr

Now that we require C++11, use std::unique_ptr directly.  This allows
simplifying collection_list a bit by placing unique pointers in the
vector directly, making the vector own its elements.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c (agent_eval_command_one): Use std::move instead of
	gdb::move.
	* ax.h (agent_expr_up): Use std::unique_ptr instead of
	gdb::unique_ptr.
	* breakpoint.c (parse_cond_to_aexpr): Use std::move instead of
	gdb::move.
	* tracepoint.c (collection_list::collect_symbol): Likewise.
	(collection_list::~collection_list): Delete.
	(encode_actions_1): Use std::move instead of gdb::move.
	(collection_list::add_aexpr): Use std::move instead of
	unique_ptr::release.
	* tracepoint.h (collection_list) <~collection_list>: Delete
	declaration.
	<m_aexprs>: Now a vector of agent_ptr_up.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix"
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-21 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64f367a201565d5c7d1e03da072db51123ac2174 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 64f367a201565d5c7d1e03da072db51123ac2174

gdb/testsuite: Introduce "proc_with_prefix"

While adding new tests to gdb.base/commands.exp, I noticed that the
file includes a bunch of individual testcases split into their own
procedures, and that none have ever been adjusted to use
with_test_prefix.  Instead, each gdb_test/gdb_test_multiple/etc
invocation takes care of including the procedure name in the test
message, in order to make sure test messages are unique.

Simon convinced me that using the procedure name as prefix is not that
bad of an idea:
  https://sourceware.org/ml/gdb-patches/2016-10/msg00020.html

This commit adds an IMO simpler alternative to
with_test_prefix_procname added by that patch -- a new
"proc_with_prefix" convenience proc that is meant to be used in place
of "proc", and then uses it in commands.exp.  Procedures defined with
this automatically run their bodies under with_test_prefix $proc_name.

Here's a sample of the resulting gdb.sum diff:

 [...]
 -PASS: gdb.base/commands.exp: break factorial #3
 -PASS: gdb.base/commands.exp: set value to 5 in test_command_prompt_position
 -PASS: gdb.base/commands.exp: if test in test_command_prompt_position
 -PASS: gdb.base/commands.exp: > OK in test_command_prompt_position
 +PASS: gdb.base/commands.exp: test_command_prompt_position: break factorial
 +PASS: gdb.base/commands.exp: test_command_prompt_position: set value to 5
 +PASS: gdb.base/commands.exp: test_command_prompt_position: if test
 +PASS: gdb.base/commands.exp: test_command_prompt_position: > OK
 [...]

gdb/testsuite/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (gdbvar_simple_if_test)
	(gdbvar_simple_while_test, gdbvar_complex_if_while_test)
	(progvar_simple_if_test, progvar_simple_while_test)
	(progvar_complex_if_while_test, if_while_breakpoint_command_test)
	(infrun_breakpoint_command_test, breakpoint_command_test)
	(user_defined_command_test, watchpoint_command_test)
	(test_command_prompt_position, deprecated_command_test)
	(bp_deleted_in_command, temporary_breakpoint_commands)
	(stray_arg0_test, source_file_with_indented_comment)
	(recursive_source_test, if_commands_test)
	(error_clears_commands_left, redefine_hook_test)
	(redefine_backtrace_test): Use proc_with_prefix.
	* lib/gdb.exp (proc_with_prefix): New proc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tui-winsource: Remove failed-allocation logic
@ 2016-11-10  6:36 sergiodj+buildbot
  2016-11-20 20:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  6:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2

tui-winsource: Remove failed-allocation logic

This removes dead code in tui_alloc_source_buffer for handling a NULL
return value from xmalloc.

gdb/ChangeLog:

	* tui/tui-winsource.c (tui_alloc_source_buffer): Remove
	failed-xmalloc handling.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Use vector::emplace_back
@ 2016-11-10  5:47 sergiodj+buildbot
  2016-11-21  0:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  5:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a63494a0df60cf71b9cf03c4eb8f24719d03e66 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7a63494a0df60cf71b9cf03c4eb8f24719d03e66

gdb: Use vector::emplace_back

Now that we require C++11, we can use vector::emplace_back to
construct elements in place instead of constructing and then copying.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* main.c (struct cmdarg): Add constructor.
	(captured_main_1): Use vector::emplace_back.
	* tracepoint.c (collection_list::add_memrange): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tui-disasm: Fix line buffer size calculation
@ 2016-11-10  4:19 sergiodj+buildbot
  2016-11-20 10:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  4:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5396833d35a257902409493a63f777dcd771868 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: f5396833d35a257902409493a63f777dcd771868

tui-disasm: Fix line buffer size calculation

The code that fills the TUI disassembly window content first calculates
the maximum full length of a displayed disassembly line.  This
calculation typically yields the wrong result.  The result is too large,
so the bug does not cause any run-time failures, but unnecessary
confusion for the reader.  This patch fixes the calculation.

gdb/ChangeLog:

	* tui/tui-disasm.c (tui_set_disassem_content): Fix calculation of
	the longest disassembly line's length.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] tui-winsource: Allocate for actual lines only
@ 2016-11-10  3:59 sergiodj+buildbot
  2016-11-20 15:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  3:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7bc2c8b83ea82b4315c67e7658af815aed062e73 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7bc2c8b83ea82b4315c67e7658af815aed062e73

tui-winsource: Allocate for actual lines only

The logic for allocating a TUI source window's content buffer allocates
two more lines than needed, because it does not reduce the window height
by the highlight box's overhead.  However, it does reduce the line width
accordingly.  This patch makes the height and width calculation
consistent and improves the comment.

gdb/ChangeLog:

	* tui/tui-winsource.c (tui_alloc_source_buffer): Subtract
	highlight box's overhead when calculating the content height.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] darwin-nat.c: handle Darwin 16 (aka Sierra).
@ 2016-11-10  1:21 sergiodj+buildbot
  2016-11-20  5:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82b19a4d2f9c9e8d56fdffdd702f7db4af486386 ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 82b19a4d2f9c9e8d56fdffdd702f7db4af486386

darwin-nat.c: handle Darwin 16 (aka Sierra).

Support message from new task and dead name notification on task of an
existing process.
With Sierra, exec(2) terminate the current task and creates a new one.
'set startup-with-shell off' must still be used on Darwin 16.

2016-11-09  Tristan Gingold  <gingold@adacore.com>

	* darwin-nat.c (find_inferior_task_it): Fix indentation.
	(find_inferior_notify_it): Remove.
	(find_inferior_pid_it): New function.
	(darwin_find_inferior_by_notify): Remove.
	(darwin_find_inferior_by_pid): New function.
	(darwin_find_new_inferior): New function.
	(darwin_check_message_ndr): New function from
	darwin_decode_exception_message.
	(darwin_decode_exception_message): Call darwin_check_message_ndr.
	Handle SIGTRAP addressed to an unknown task (when a task spawned).
	(darwin_decode_notify_message): New function.
	(darwin_decode_message): Handle unknown task.
	(darwin_deallocate_threads): New function from darwin_mourn_inferior.
	(darwin_mourn_inferior): Use darwin_deallocate_threads and
	darwin_deallocate_exception_ports.
	(darwin_deallocate_exception_ports): New function from
	darwin_mourn_inferior.
	(darwin_setup_exceptions): New function from darwin_attach_pid.
	(darwin_setup_request_notification): Likewise.
	(darwin_attach_pid): Call darwin_setup_request_notification and
	darwin_setup_request_notification.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix py-value.exp failure on Python 3
@ 2016-11-09 23:50 sergiodj+buildbot
  2016-11-19 19:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 23:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7353f2470c2eda19c31c9fa44c315c7c69dea7c4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7353f2470c2eda19c31c9fa44c315c7c69dea7c4

Fix py-value.exp failure on Python 3

I happened to notice that one test in py-value.exp did not work
properly with Python 3.  This patch fixes the problem.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-value.exp (test_value_creation): Make "long" test
	depend on Python 2.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Remove the THREE_BYTE_0F7A entry
@ 2016-11-09 23:16 sergiodj+buildbot
  2016-11-19 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 23:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f334aeb2268db153f01143e9b0ac01448ecaa56 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 1f334aeb2268db153f01143e9b0ac01448ecaa56

X86: Remove the THREE_BYTE_0F7A entry

Remove the THREE_BYTE_0F7A entry which is leftover from SSE5.

	PR binutils/20701
	* i386-dis.c (THREE_BYTE_0F7A): Removed.
	(dis386_twobyte): Don't use THREE_BYTE_0F7A.
	(three_byte_table): Remove THREE_BYTE_0F7A.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ada-lang.c
@ 2016-11-09 23:02 sergiodj+buildbot
  2016-11-17 22:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 23:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b4de39c9d9ff014ae90e2bafbf7ce1f42c2198e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3b4de39c9d9ff014ae90e2bafbf7ce1f42c2198e

Use ui_file_as_string in gdb/ada-lang.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (type_as_string): Use ui_file_as_string and return
	std::string.
	(type_as_string_and_cleanup): Delete.
	(ada_lookup_struct_elt_type): Use type_as_string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix some error-handling bugs in python frame filters
@ 2016-11-09 21:50 sergiodj+buildbot
  2016-11-19 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30a7bb833cbd848b1814f18b91dfdafba4e86839 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 30a7bb833cbd848b1814f18b91dfdafba4e86839

Fix some error-handling bugs in python frame filters

While writing a Python frame filter, I found a few bugs in the current
frame filter code.  In particular:

* One spot converts a Python long to a CORE_ADDR using PyLong_AsLong.
  However, this can fail on overflow.  I changed this to use
  get_addr_from_python.

* Another spot is doing the same but with PyLong_AsUnsignedLongLong; I
  changed this as well just for consistency.

* Converting line numbers can print "-1" if conversion from long
  fails.  This isn't fatal but just a bit ugly.

I've included a test case for the first issue.  The line number one
didn't seem important enough to bother with.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (py_print_frame): Use
	get_addr_from_python.  Check for errors when getting line number.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
	New method.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove parameter valaddr from la_val_print
@ 2016-11-09 20:30 sergiodj+buildbot
  2016-11-19 10:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 20:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb

Remove parameter valaddr from la_val_print

Nowadays, we pass both val and return value of
value_contents_for_printing (val) to la_val_print.  The latter is
unnecessary.  This patch removes the second parameter of la_val_print,
and get valaddr in each language's implementation by calling
value_contents_for_printing.  Since value_contents_for_printing calls
value_fetch_lazy, I also make VAL non-const.

Note that
 - I don't clean up the valaddr usages in each language's routines,
 - I don't remove valaddr from apply_ext_lang_val_pretty_printer, and
   extension language ops apply_val_pretty_printer.

They can be done in followup patches.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* ada-lang.h (ada_val_print): Remove second parameter.  Remove
	const from "struct value *".
	* ada-valprint.c (print_field_values): Remove const from
	"struct value *".
	(val_print_packed_array_elements): Likewise.
	(print_variant_part): Likewise.
	(ada_val_print_string): Likewise.
	(ada_val_print_gnat_array): Likewise.
	(ada_val_print_ptr): Likewise.
	(ada_val_print_num): Likewise.
	(ada_val_print_enum): Likewise.
	(ada_val_print_flt): Likewise.
	(ada_val_print_union): Likewise.
	(ada_val_print_struct_union): Likewise.
	(ada_val_print_ref): Likewise.
	(ada_val_print_1): Remove second parameter.  Remove const from
	"struct value *".
	(ada_val_print): Likewise.
	* c-lang.h (c_val_print): Likewise.
	* c-valprint.c (c_val_print_array): Remove const from
	"struct value *".
	(c_val_print_ptr): Likewise.
	(c_val_print_struct): Likewise.
	(c_val_print_union): Likewise.
	(c_val_print_int): Likewise.
	(c_val_print_memberptr): Likewise.
	(c_val_print): Remove second parameter.  Remove const from
	"struct value *".  All callers updated.
	* cp-valprint.c (cp_print_value): Remove const from
	"struct value *".
	(cp_print_value_fields): Likewise.
	(c_val_print_value): Likewise.
	* d-lang.h (d_val_print): Remove second parameter.  Remove const
	from "struct value *".
	* d-valprint.c (dynamic_array_type): Likewise.
	(d_val_print): Likewise.
	* f-lang.h (f_val_print): Likewise.
	* f-valprint.c (f_val_print): Likewise.
	* go-lang.h (go_val_print): Likewise.
	* go-valprint.c (print_go_string): Likewise.
	(go_val_print): Likewise.
	* language.c (unk_lang_val_print): Likewise.
	* language.h (struct language_defn) <la_val_print>: Likewise.
	Update comments.
	(LA_VAL_PRINT): Remove.
	* m2-lang.h (m2_val_print): Remove const from
	"struct value *".
	* m2-valprint.c (m2_print_array_contents): Likewise.
	(m2_val_print): Likewise.
	* p-lang.h (pascal_val_print): Remove second parameter.  Remove
	const from "struct value *".
	(pascal_object_print_value_fields): Likewise.
	* p-valprint.c (pascal_val_print): Likewise.
	(pascal_object_print_value_fields): Likewise.
	(pascal_object_print_value): Likewise.
	* rust-lang.c (rust_get_disr_info): Likewise.
	(val_print_struct): Likewise.
	(rust_val_print): Likewise.
	* valprint.c (generic_val_print_array): Likewise.
	(generic_val_print_ptr): Likewise.
	(generic_val_print_memberptr): Likewise.
	(generic_val_print_ref): Likewise.
	(generic_val_print_enum): Likewise.
	(generic_val_print_flags): Likewise.
	(generic_val_print_func): Likewise.
	(generic_val_print_bool): Likewise.
	(generic_val_print_int): Likewise.
	(generic_val_print_char): Likewise.
	(generic_val_print_float): Likewise.
	(generic_val_print_decfloat): Likewise.
	(generic_val_print_complex): Likewise.
	(generic_val_print): Likewise.
	(val_print): Likewise.
	(common_val_print): Likewise.
	(val_print_type_code_flags): Likewise.
	(val_print_scalar_formatted): Likewise.
	(val_print_array_elements): Likewise.
	* valprint.h (val_print_array_elements): Update declaration.
	(val_print_scalar_formatted): Likewise.
	(generic_val_print): Likewise.
	* value.h (val_print): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use get_frame_register_value instead of deprecated_frame_register_read
@ 2016-11-09 19:49 sergiodj+buildbot
  2016-11-19  5:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc977dc7d53ef4546592a4f02a2e06a621beae6f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: cc977dc7d53ef4546592a4f02a2e06a621beae6f

Use get_frame_register_value instead of deprecated_frame_register_read

This patch calls get_frame_register_value instead of
deprecated_frame_register_read, so that we can pass
value_contents_for_printing to val_print.  Both
get_frame_register_value and deprecated_frame_register_read call
frame_unwind_register_value indirectly, so no functionality is changed
by this patch.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* mt-tdep.c (mt_registers_info): Call
	get_frame_register_value instead of
	deprecated_frame_register_read.
	* sh64-tdep.c (sh64_do_register): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info
@ 2016-11-09 18:42 sergiodj+buildbot
  2016-11-19  0:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 18:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3cde5c42d1c1ddcf8bbde5c47233c644370c959c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3cde5c42d1c1ddcf8bbde5c47233c644370c959c

Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info

After the previous patch, we end up with these two types with quite
similar, and potentially confusing names:

  typedef gdb::unique_ptr<agent_expr> agent_expr_up;

  /* Pointer to an agent_expr structure.  */
  typedef struct agent_expr *agent_expr_p;

The latter is only necessary to put agent_expr pointers in VECs.  So
just eliminate it and use std::vector instead.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ax.h (agent_expr_p): Delete.
	(DEF_VEC_P (agent_expr_p)): Delete.
	* breakpoint.c (build_target_condition_list)
	(build_target_command_list): Adjust to use of std::vector.
	(bp_location_dtor): Remove now unnecessary VEC_free calls.
	* breakpoint.h: Include <vector>.
	(struct bp_target_info) <conditions, tcommands>: Now
	std::vector's.
	* remote.c (remote_add_target_side_condition): bp_tgt->conditions
	is now a std::vector; adjust.
	(remote_add_target_side_commands, remote_insert_breakpoint):
	bp_tgt->tcommands is now a std::vector; adjust.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string throughout more
@ 2016-11-09 18:35 sergiodj+buildbot
  2016-11-18 16:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 18:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f408ecb929bd56613e94cf1e84ace4692c78257 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2f408ecb929bd56613e94cf1e84ace4692c78257

Use ui_file_as_string throughout more

This replaces most of the remaining ui_file_xstrdup calls with
ui_file_as_string calls.  Whenever a call was replaced, that led to a
cascade of other necessary adjustments throughout, to make the code
use std::string instead of raw pointers.  And then whenever I added a
std::string as member of a struct, I needed to adjust
allocation/destruction of said struct to use new/delete instead of
xmalloc/xfree.

The stopping point was once gdb built again.  These doesn't seem to be
a way to reasonably split this out further.

Maybe-not-obvious changes:

 - demangle_for_lookup returns a cleanup today.  To get rid of that,
   and avoid unnecessary string dupping/copying, this introduces a
   demangle_result_storage type that the caller instantiates and
   passes to demangle_for_lookup.

 - Many methods returned a "char *" to indicate that the caller owns
   the memory and must free it.  Those are switched to return a
   std::string instead.  Methods that return a "view" into some
   internal string return a "const char *" instead.  I.e., we only
   copy/allocate when necessary.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_name_for_lookup, type_as_string): Use and return
	std::string.
	(type_as_string_and_cleanup): Delete.
	(ada_lookup_struct_elt_type): Use type_as_string.
	* ada-lang.h (ada_name_for_lookup): Now returns std::string.
	* ada-varobj.c (ada_varobj_scalar_image): Return a std::string.
	(ada_varobj_describe_child): Make 'child_name' and
	'child_path_expr' parameters std::string pointers.
	(ada_varobj_describe_struct_child, ada_varobj_describe_ptr_child):
	Likewise, and use string_printf.
	(ada_varobj_describe_simple_array_child)
	(ada_varobj_describe_child): Likewise.
	(ada_varobj_get_name_of_child, ada_varobj_get_path_expr_of_child)
	(ada_varobj_get_value_image)
	(ada_varobj_get_value_of_array_variable)
	(ada_varobj_get_value_of_variable, ada_name_of_variable)
	(ada_name_of_child, ada_path_expr_of_child)
	(ada_value_of_variable): Now returns std::string.  Use
	string_printf.
	(ada_value_of_child): Adjust.
	* break-catch-throw.c (check_status_exception_catchpoint): Adjust
	to use std::string.
	* breakpoint.c (watch_command_1): Adjust to use std::string.
	* c-lang.c (c_get_string): Adjust to use std::string.
	* c-typeprint.c (print_name_maybe_canonical): Use std::string.
	* c-varobj.c (varobj_is_anonymous_child): Use ==/!= std::string
	operators.
	(c_name_of_variable): Now returns a std::string.
	(c_describe_child): The 'cname' and 'cfull_expression' output
	parameters are now std::string pointers.  Adjust.
	(c_name_of_child, c_path_expr_of_child, c_value_of_variable)
	(cplus_number_of_children): Adjust to use std::string and
	string_printf.
	(cplus_name_of_variable): Now returns a std::string.
	(cplus_describe_child): The 'cname' and 'cfull_expression' output
	parameters are now std::string pointers.  Adjust.
	(cplus_name_of_child, cplus_path_expr_of_child)
	(cplus_value_of_variable): Now returns a std::string.
	* cp-abi.c (cplus_typename_from_type_info): Return std::string.
	* cp-abi.h (cplus_typename_from_type_info): Return std::string.
	(struct cp_abi_ops) <get_typename_from_type_info>: Return
	std::string.
	* cp-support.c (inspect_type): Use std::string.
	(cp_canonicalize_string_full, cp_canonicalize_string_no_typedefs)
	(cp_canonicalize_string): Return std::string and adjust.
	* cp-support.h (cp_canonicalize_string)
	(cp_canonicalize_string_no_typedefs, cp_canonicalize_string_full):
	Return std::string.
	* dbxread.c (read_dbx_symtab): Use std::string.
	* dwarf2read.c (dwarf2_canonicalize_name): Adjust to use std::string.
	* gdbcmd.h (lookup_struct_elt_type): Adjust to use std::string.
	* gnu-v3-abi.c (gnuv3_get_typeid): Use std::string.
	(gnuv3_get_typename_from_type_info): Return a std::string and
	adjust.
	(gnuv3_get_type_from_type_info): Adjust to use std::string.
	* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
	std::string.
	* infcmd.c (print_return_value_1): Adjust to use std::string.
	* linespec.c (find_linespec_symbols): Adjust to
	demangle_for_lookup API change.  Use std::string.
	* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_set_format)
	(mi_cmd_var_info_type, mi_cmd_var_info_path_expression)
	(mi_cmd_var_info_expression, mi_cmd_var_evaluate_expression)
	(mi_cmd_var_assign, varobj_update_one): Adjust to use std::string.
	* minsyms.c (lookup_minimal_symbol): Use std::string.
	* python/py-varobj.c (py_varobj_iter_next): Use new instead of
	XNEW.  vitem->name is a std::string now, adjust.
	* rust-exp.y (convert_ast_to_type, convert_name): Adjust to use
	std::string.
	* stabsread.c (define_symbol): Adjust to use std::string.
	* symtab.c (demangle_for_lookup): Now returns 'const char *'.  Add
	a demangle_result_storage parameter.  Use it for storage.
	(lookup_symbol_in_language)
	(lookup_symbol_in_objfile_from_linkage_name): Adjust to new
	demangle_for_lookup API.
	* symtab.h (struct demangle_result_storage): New type.
	(demangle_for_lookup): Now returns 'const char *'.  Add a
	demangle_result_storage parameter.
	* typeprint.c (type_to_string): Return std::string and use
	ui_file_as_string.
	* value.h (type_to_string): Change return type to std::string.
	* varobj-iter.h (struct varobj_item) <name>: Now a std::string.
	(varobj_iter_delete): Use delete instead of xfree.
	* varobj.c (create_child): Return std::string instead of char * in
	output parameter.
	(name_of_variable, name_of_child, my_value_of_variable): Return
	std::string instead of char *.
	(varobj_create, varobj_get_handle): Constify 'objname' parameter.
	Adjust to std::string fields.
	(varobj_get_objname): Return a const char * instead of a char *.
	(varobj_get_expression): Return a std::string.
	(varobj_list_children): Adjust to use std::string.
	(varobj_get_type): Return a std::string.
	(varobj_get_path_expr): Return a const char * instead of a char *.
	Adjust to std::string fields.
	(varobj_get_formatted_value, varobj_get_value): Return a
	std::string.
	(varobj_set_value): Change type of 'expression' parameter to
	std::string.  Use std::string.
	(install_new_value): Use std::string.
	(delete_variable_1): Adjust to use std::string.
	(create_child): Change the 'name' parameter to a std::string
	reference.  Swap it into the new item's name.
	(create_child_with_value): Swap item's name into the new child's
	name.  Use string_printf.
	(new_variable): Use new instead of XNEW.
	(free_variable): Don't xfree fields that are now std::string.
	(name_of_variable, name_of_child): Now returns std::string.
	(value_of_root): Adjust to use std::string.
	(my_value_of_variable, varobj_value_get_print_value): Return
	and use std::string.
	(varobj_value_get_print_value): Adjust to use ui_file_as_string
	and std::string.
	* varobj.h (struct varobj) <name, path_expr, obj_name,
	print_value>: Now std::string's.
	<name_of_variable, name_of_child, path_expr_of_child,
	value_of_variable>: Return std::string.
	(varobj_create, varobj_get_handle): Constify 'objname' parameter.
	(varobj_get_objname): Return a const char * instead of a char *.
	(varobj_get_expression, varobj_get_type): Return a std::string.
	(varobj_get_path_expr): Return a const char * instead of a char *.
	(varobj_get_formatted_value, varobj_get_value): Return a
	std::string.
	(varobj_set_value): Constify 'expression' parameter.
	(varobj_value_get_print_value): Return a std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr>
@ 2016-11-09 17:48 sergiodj+buildbot
  2016-11-18 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 833177a4a5c1a2a6cabe70bfe35ecf241b68d169 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 833177a4a5c1a2a6cabe70bfe35ecf241b68d169

'struct agent_expr *' -> unique_ptr<agent_expr>

This patch makes the gen_* functions return a unique_ptr instead of
raw pointer:

  typedef gdb::unique_ptr<agent_expr> agent_expr_up;

and then adjusts the codebase throughout to stop using
make_cleanup_free_agent_expr.

The cond_bytecode and cmd_bytecode fields of struct bp_location are
owning pointers, so they're changed to be unique_ptr's instead of raw
pointers.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c (is_nontrivial_conversion): Use agent_expr_up.
	(gen_trace_for_var, gen_trace_for_expr, gen_eval_for_expr)
	(gen_trace_for_return_address, gen_printf): Use and return an
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	(agent_eval_command_one, maint_agent_printf_command): Use
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	* ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
	(gen_trace_for_return_address, gen_eval_for_expr, gen_printf): Use
	agent_expr_up.
	* ax-general.c (new_agent_expr): Rename to ...
	(agent_expr::agent_expr): ... this, and now a constructor.
	(free_agent_expr): Rename to ...
	(agent_expr::~agent_exp): ... this, and now a destructor.
	(do_free_agent_expr_cleanup, make_cleanup_free_agent_expr):
	Delete.
	* ax.h (struct agent_expr): Add ctor/dtor.
	(agent_expr_up): New typedef.
	(new_agent_expr, free_agent_expr, make_cleanup_free_agent_expr):
	Delete declarations.
	* breakpoint.c (parse_cond_to_aexpr): Use and return an
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	(build_target_condition_list): Adjust to use agent_expr_up.
	(parse_cmd_to_aexpr): Use and return an agent_expr_up.  Don't use
	make_cleanup_free_agent_expr.
	(build_target_command_list): Adjust to use agent_expr_up.
	(force_breakpoint_reinsertion): Adjust to use agent_expr_up.
	(bp_location_dtor): Remove unnecessary free_agent_expr and xfree
	calls.
	* breakpoint.h (struct bp_target_info) <cond_bytecode,
	cmd_bytecode>: Now agent_expr_up's.
	* remote.c (remote_download_tracepoint): Adjust to use
	agent_expr_up and remove use of make_cleanup_free_agent_expr.
	* tracepoint.c (validate_actionline, collect_symbol): Adjust to
	use agent_expr_up and remove uses of make_cleanup_free_agent_expr.
	(collection_list::~collection_list): Call delete instead of
	free_agent_expr.
	(encode_actions_1): Adjust to use agent_expr_up and remove uses of
	make_cleanup_free_agent_expr.
	(add_aexpr): Change parameter type to agent_expr_up; Return a raw
	agent_expr pointer.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/language.c
@ 2016-11-09 15:45 sergiodj+buildbot
  2016-11-18 10:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 15:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2af8993a7cac29eaa5a4efd47c9117bbd175068 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d2af8993a7cac29eaa5a4efd47c9117bbd175068

Use ui_file_as_string in gdb/language.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* language.c (add_language): Use ui_file_as_string and adjust to
	use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/rust-lang.c
@ 2016-11-09 14:28 sergiodj+buildbot
  2016-11-18  7:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 14:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5698084a7303c45fdc94fb44c47355413b271562 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5698084a7303c45fdc94fb44c47355413b271562

Use ui_file_as_string in gdb/rust-lang.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* rust-lang.c (struct disr_info) <name>: Now a std::string.
	(rust_get_disr_info): Use ui_file_as_string and adjust to use
	std::string.
	(rust_val_print): Adjust to use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/infrun.c
@ 2016-11-09 13:50 sergiodj+buildbot
  2016-11-18  3:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 13:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af1fe7b3b87de27d84a82d4f44b937c2800205ff ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: af1fe7b3b87de27d84a82d4f44b937c2800205ff

Use ui_file_as_string in gdb/infrun.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* infrun.c (print_target_wait_results): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdbarch.sh/gdbarch.c
@ 2016-11-09 12:46 sergiodj+buildbot
  2016-11-17 17:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 12:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f0302493af0ace93943041c3374069c15c363f7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6f0302493af0ace93943041c3374069c15c363f7

Use ui_file_as_string in gdbarch.sh/gdbarch.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* gdbarch.sh (verify_gdbarch): Use ui_file_as_string and
	std::string.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/c-exp.y
@ 2016-11-09 10:46 sergiodj+buildbot
  2016-11-17 14:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 10:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66bbce5bda870c49a68f2b77a29fb96eca72632f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 66bbce5bda870c49a68f2b77a29fb96eca72632f

Use ui_file_as_string in gdb/c-exp.y

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* c-exp.y (OPERATOR NEW): Adjust to use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/compile/
@ 2016-11-09 10:10 sergiodj+buildbot
  2016-11-17 10:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaee65aea29ac8f7317e866d5dbef9f96cfdb253 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: aaee65aea29ac8f7317e866d5dbef9f96cfdb253

Use ui_file_as_string in gdb/compile/

Using ui_file_as_string would imply changing a few prototypes to pass
around source and object file names as std::string.  Instead of that,
wrap those two in a new class.  This ends up eliminating a small
wrinkle: get_new_file_names and compile_object_load have swapped
parameters.  The former takes "source, objfile", while the latter
takes "objfile, source".

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* c-lang.h (c_compute_program): Now returns std::string.
	* compile/compile-internal.h (class compile_file_names): New
	class.
	* compile/compile-object-load.c (compile_object_load): Replace
	object_file and source_file parameters with a compile_file_names
	parameter.  Adjust.
	* compile-object-load.h: Include "compile-internal.h".
	(compile_object_load): Replace object_file and source_file
	parameters with a compile_file_names parameter.
	* compile/compile-c-support.c (c_compute_program): Now returns a
	std::string.  Use ui_file_as_string.
	* compile/compile.c (get_new_file_names): Remove parameters and
	return a compile_file_names instead.
	(compile_to_object): Now returns a compile_file_names.  Use
	ui_file_as_string.
	(eval_compile_command): Use compile_file_names.
	* language.h (struct language_defn) <la_compute_program>: Now
	returns std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/cli/cli-setshow.c
@ 2016-11-09  9:53 sergiodj+buildbot
  2016-11-17  5:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  9:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72

Use ui_file_as_string in gdb/cli/cli-setshow.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-setshow.c (do_show_command): Adjust to use
	ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/remote.c
@ 2016-11-09  8:18 sergiodj+buildbot
  2016-11-17  0:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  8:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748

Use ui_file_as_string in gdb/remote.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* remote.c (escape_buffer): Use ui_file_as_string and return
	std::string.
	(putpkt_binary, read_frame): Adjust to use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/python/
@ 2016-11-09  8:07 sergiodj+buildbot
  2016-11-16 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  8:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c92aed165e8af79f51c5165f98f12389bb59a121 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: c92aed165e8af79f51c5165f98f12389bb59a121

Use ui_file_as_string in gdb/python/

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* python/py-arch.c (archpy_disassemble): Use ui_file_as_string and
	std::string.
	* python/py-breakpoint.c (bppy_get_commands): Use
	ui_file_as_string and std::string.
	* python/py-frame.c (frapy_str): Likewise.
	* python/py-type.c (typy_str): Likewise.
	* python/py-unwind.c (unwind_infopy_str): Likewise.
	* python/py-value.c (valpy_str): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/printcmd.c
@ 2016-11-09  6:37 sergiodj+buildbot
  2016-11-16 19:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  6:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 02030646c2a799614d31e52008403d8be067ac5d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 02030646c2a799614d31e52008403d8be067ac5d

Use ui_file_as_string in gdb/printcmd.c

Yet another cleanup eliminated.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* printcmd.c (eval_command): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/top.c
@ 2016-11-09  6:19 sergiodj+buildbot
  2016-11-16 17:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  6:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f

Use ui_file_as_string in gdb/top.c

Yet another cleanup is eliminated.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* top.c (quit_confirm): Use ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/guile/
@ 2016-11-09  5:45 sergiodj+buildbot
  2016-11-16  7:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  5:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ab692db7f4d96022a132379614031a852de6f35 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3ab692db7f4d96022a132379614031a852de6f35

Use ui_file_as_string in gdb/guile/

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
	ui_file_as_string and adjust to use std::string.
	* guile/scm-disasm.c (gdbscm_arch_disassemble): Likewise.
	* guile/scm-frame.c (frscm_print_frame_smob): Likewise.
	* guile/scm-type.c (tyscm_type_name): Use ui_file_as_string and
	adjust to use std::string.  Throw exception directly instead of
	returning it in EXCP output parameter.
	(tyscm_print_type_smob, gdbscm_type_print_name): Adjust to
	tyscm_type_name interface change.
	* guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
	Use ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in execute_command_to_string
@ 2016-11-09  5:16 sergiodj+buildbot
  2016-11-16 12:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  5:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db1ec11fff1a46f7046bcbd971a42632d2ea795c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: db1ec11fff1a46f7046bcbd971a42632d2ea795c

Use ui_file_as_string in execute_command_to_string

... and then return std::string and adjust all callers.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* gdbcmd.h (execute_command_to_string): Now returns std::string.
	(lookup_struct_elt_type): Adjust to use std::string.
	* top.c (execute_command_to_string): Use ui_file_as_string and
	return std::string.
	* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
	std::string.
	* python/python.c (execute_gdb_command): Adjust to use
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/arm-tdep.c
@ 2016-11-09  3:33 sergiodj+buildbot
  2016-11-16  0:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09b0e4b047b44063cf4c8c00527886743619c24e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 09b0e4b047b44063cf4c8c00527886743619c24e

Use ui_file_as_string in gdb/arm-tdep.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* arm-tdep.c (_initialize_arm_tdep): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ui-out.c
@ 2016-11-09  2:14 sergiodj+buildbot
  2016-11-15 18:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  2:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56dbf31760f721893a44d3da26adfccf548995c7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 56dbf31760f721893a44d3da26adfccf548995c7

Use ui_file_as_string in gdb/ui-out.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ui-out.c (ui_out_field_stream): Use ui_file_as_string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ada-valprint.c
@ 2016-11-09  0:38 sergiodj+buildbot
  2016-11-15 15:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  0:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77e1c7426aad05b20f48762234c02139e9c02f8e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 77e1c7426aad05b20f48762234c02139e9c02f8e

Use ui_file_as_string in gdb/ada-valprint.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-valprint.c (ada_print_floating): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/xtensa-tdep.c
@ 2016-11-08 23:42 sergiodj+buildbot
  2016-11-15  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 23:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0f86e735886f3d373507fa9cfc0cf2a2f32eabc ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: a0f86e735886f3d373507fa9cfc0cf2a2f32eabc

Use ui_file_as_string in gdb/xtensa-tdep.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* xtensa-tdep.c (xtensa_verify_config): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use ui_file_as_string in dwarf2_compute_name
@ 2016-11-08 23:02 sergiodj+buildbot
  2016-11-15  5:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 23:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 322a851675234b3c16be6dd5035b07f5e3410ec7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 322a851675234b3c16be6dd5035b07f5e3410ec7

Use ui_file_as_string in dwarf2_compute_name

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (dwarf2_compute_name): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Clean up tracepoint.h/c:collection_list
@ 2016-11-08 21:34 sergiodj+buildbot
  2016-11-15  2:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f45808ead357e8a81dec16b9802a6c369e08426 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1f45808ead357e8a81dec16b9802a6c369e08426

Clean up tracepoint.h/c:collection_list

Noticed we could do this while working on the expression_up change.

The main goal here was getting rid of the
encode_actions_and_make_cleanup / do_clear_collection_list cleanups.

While at it, uncrustify the code:

 - Make collection_list a C++ class, with data members private (and
   thus renamed m_...).

 - Make related functions be member methods.

 - Use std::vector instead of an open coding a vector implementation.

 - Use std::sort instead of qsort.

 - Rename the "list" member of collection_list, which is an incredibly
   obfuscating name.

 - Rename a couple other things here and there for clarify.

 - Use "bool" more.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* mi/mi-main.c (print_variable_or_computed): Constify 'expression'
	parameter.
	(mi_cmd_trace_frame_collected): Call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to use std::vector.
	* tracepoint.c (memrange_cmp): Delete.
	(memrange_comp): New.
	(memrange_sortmerge): Take a memrange vector as parameter instead
	of a collection_list.  Use std::sort instead of qsort.
	(add_register): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(add_memrange): Now a method of collection_list.  Adjust to m_
	prefix of data fields.  Adjust to use std::vector.
	(collect_symbol): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(do_collect_symbol): Adjust.  Call add_wholly_collected instead of
	accessing the vector directly.
	(collection_list::add_wholly_collected): New.
	(add_local_symbols): Now a method of collection_list.
	(add_static_trace_data): Now a method of collection_list.  Adjust
	to use bool.
	(clear_collection_list, do_clear_collection_list): Delete.
	(init_collection_list): Delete.
	(collection_list::collection_list): New.
	(collection_list::~collection_list): New.
	(stringify_collection_list): Rename to ...
	(collection_list::stringify): ... this and adjust to being a
	method of collection_list.  Adjust to use of std::vector.
	(append_exp): Now a method of collection_list.  Use
	ui_file_as_string.  Adjust to std::vector.
	(collection_list::finish): New.
	(encode_actions_1): Adjust.
	(encode_actions_and_make_cleanup): Rename to ...
	(encode_actions)... this.  No longer returns a cleanup.  No longer
	call init_collection_list nor install do_clear_collection_list
	cleanups.  Call collection_list::finish instead of
	memrange_sortmerge directly.
	(encode_actions_rsp): Adjust to call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to method renames.
	(add_aexpr): Now a method of collection_list.
	* tracepoint.h: Include <vector> and <string>.
	(struct memrange): Add constructors.
	(struct collection_list): Now a class.
	(class collection_list) <collection_list, ~collection_list,
	add_wholly_collected, append_exp, add_aexpr, add_register,
	add_memrange, collect_symbol, add_local_symbols,
	add_static_trace_data, finish, stringify, wholly_collected, and
	computed>: New methods.
	<regs_mask>: Rename to ...
	<m_regs_mask>: ... this.
	<listsize, next_memrange, list>: Delete fields.
	<m_memranges>: New field.
	<aexpr_listsize, next_aexpr_elt, aexpr_list>: Delete fields.
	<m_aexprs>: New field.
	<strace_data>: Rename to ...
	<m_strace_data>: ... this.  Now a bool.
	<wholly_collected>: Rename to ...
	<m_wholly_collected>: ... this.  Now a std::vector<std::string>.
	<computed>: Rename to ...
	<m_computed>: ... this.  Now a std::vector<std::string>.
	(encode_actions_and_make_cleanup): Delete declaration.
	(encode_actions): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce ui_file_as_string
@ 2016-11-08 21:02 sergiodj+buildbot
  2016-11-14 18:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 21:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8de00631b8bd1c328f1916b1fd95bd0d9ff2017e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8de00631b8bd1c328f1916b1fd95bd0d9ff2017e

Introduce ui_file_as_string

ui_file_as_string is a variant of ui_file_xstrdup that returns a
std::string instead of a xmalloc'ed char *.  The idea is using the new
function to eliminate "make_cleanup (xfree, ...)"  cleanups
throughout.

Following patches will make use of this.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ui-file.c (do_ui_file_as_string, ui_file_as_string): New
	functions.
	* ui-file.h: Include <string>.
	(ui_file_as_string): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression>
@ 2016-11-08 20:24 sergiodj+buildbot
  2016-11-14 15:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 20:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d01a485d29732b19743e8b138897f3509e071b0 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4d01a485d29732b19743e8b138897f3509e071b0

'struct expression *' -> gdb::unique_xmalloc_ptr<expression>

This patch makes parse_expression and friends return a unique_ptr
instead of raw pointer [1]:

  typedef gdb::unique_malloc_ptr<expression> expression_up;

and then adjusts the codebase throughout to stop using cleanups to
manage lifetime of expression pointers.

Whenever I found a structure owning an expression pointer, I made it
store a unique_ptr instead of a raw pointer, which then requires using
new/delete of the holding structure, instead of XNEW/xfree.

[1] - I'd like to set the rule that types named with an "_up" suffix
      are unique_ptr typedefs.

Note I used gdb::unique_xmalloc_ptr instead of gdb::unique_ptr, simply
because we still use xmalloc instead of new to allocate expression
objects.  Once that's changed, all we need to do is change the
expression_up typedef and the smart pointer will then call delete
instead of xfree.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_read_renaming_var_value): Use expression_up.
	(struct ada_catchpoint_location) <excep_cond_expr>: Now an
	expression_up.
	(ada_catchpoint_location_dtor): Reset excep_cond_expr instead of
	using xfree.
	(create_excep_cond_exprs): Use expression_up and gdb::move.
	(allocate_location_exception): Use new instead of XNEW.
	(should_stop_exception): Likewise.  Adjust to use expression_up.
	(create_ada_exception_catchpoint): Use new instead of XNEW.
	* ax-gdb.c (agent_eval_command_one): Use expression_up instead of
	cleanups.
	(maint_agent_printf_command): Use expression_up.
	* break-catch-sig.c (create_signal_catchpoint): Use new instead of
	XNEW.
	* break-catch-syscall.c (create_syscall_event_catchpoint):
	Likewise.
	* break-catch-throw.c (handle_gnu_v3_exceptions): Use new instead
	of XCNEW.  Use gdb::unique_ptr instead of cleanups.
	* breakpoint.c (set_breakpoint_condition, update_watchpoint)
	(parse_cmd_to_aexpr, watchpoint_check)
	(bpstat_check_breakpoint_conditions, watchpoint_locations_match):
	Adjust to use expression_up.
	(init_bp_location): Adjust.
	(free_bp_location): Use delete instead of xfree.
	(set_raw_breakpoint_without_location, set_raw_breakpoint)
	(add_solib_catchpoint, create_fork_vfork_event_catchpoint)
	(new_single_step_breakpoint, create_breakpoint_sal): Use new
	instead of XNEW.
	(find_condition_and_thread): Adjust to use expression_up.
	(create_breakpoint): Use new instead of XNEW.
	(dtor_watchpoint): Don't xfree expression pointers, they're
	unique_ptr's now.
	(insert_watchpoint, remove_watchpoint): Adjust.
	(watch_command_1): Use expression_up.  Use new instead of XCNEW.
	(catch_exec_command_1): Use new instead of XNEW.
	(bp_location_dtor): Don't xfree expression pointers, they're
	unique_ptr's now.
	(base_breakpoint_allocate_location)
	(strace_marker_create_breakpoints_sal): Use new instead of XNEW.
	(delete_breakpoint): Use delete instead of xfree.
	* breakpoint.h (struct bp_location) <cond>: Now an
	unique_ptr<expression> instead of a raw pointer.
	(struct watchpoint) <exp, cond_exp>: Likewise.
	* cli/cli-script.c (execute_control_command): Use expression_up
	instead of cleanups.
	* dtrace-probe.c (dtrace_process_dof_probe): Use expression_up.
	* eval.c (parse_and_eval_address, parse_and_eval_long)
	(parse_and_eval, parse_to_comma_and_eval, parse_and_eval_type):
	Use expression_up instead of cleanups.
	* expression.h (expression_up): New typedef.
	(parse_expression, parse_expression_with_language, parse_exp_1):
	Change return type to expression_up.
	* mi/mi-main.c (mi_cmd_data_evaluate_expression)
	(print_variable_or_computed): Use expression_up.
	* objc-lang.c (print_object_command): Use expression_up instead of
	cleanups.
	* parse.c (parse_exp_1, parse_exp_in_context)
	(parse_exp_in_context_1, parse_expression)
	(parse_expression_with_language): Return an expression_up instead
	of a raw pointer.
	(parse_expression_for_completion): Use expression_up.
	* printcmd.c (struct display) <exp>: Now an expression_up instead
	of a raw pointer.
	(print_command_1, output_command_const, set_command, x_command):
	Use expression_up instead of cleanups.
	(display_command): Likewise.  Use new instead of XNEW.
	(free_display): Use delete instead of xfree.
	(do_one_display): Adjust to use expression_up.
	* remote.c (remote_download_tracepoint): Likewise.
	* stack.c (return_command): Likewise.
	* tracepoint.c (validate_actionline, encode_actions_1): Use
	expression_up instead of cleanups.
	* typeprint.c (whatis_exp, maintenance_print_type): Likewise.
	* value.c (init_if_undefined_command): Likewise.
	* varobj.c (struct varobj_root) <exp>: Now an expression_up
	instead of a raw pointer.
	(varobj_create): Adjust.
	(varobj_set_value): Use an expression_up instead of cleanups.
	(new_root_variable): Use new instead of XNEW.
	(free_variable): Use delete instead of xfree.
	(value_of_root_1): Use std::swap.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] cli/cli-script.c: Remove some dead NULL checks
@ 2016-11-08 19:48 sergiodj+buildbot
  2016-11-14  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f8ad951f662864884d4b11315c940c5239a4a89 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4f8ad951f662864884d4b11315c940c5239a4a89

cli/cli-script.c: Remove some dead NULL checks

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-script.c (execute_control_command): Assume insert_args
	never returns NULL.
	(insert_args): Assume xmalloc never returns NULL.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] cli-script.c: Simplify using std::string, eliminate cleanups
@ 2016-11-08 19:27 sergiodj+buildbot
  2016-11-14  9:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b064640146bb6908a0ccca27ca8ee2b06b668137 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b064640146bb6908a0ccca27ca8ee2b06b668137

cli-script.c: Simplify using std::string, eliminate cleanups

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-script.c (execute_control_command): Use std::string
	instead of cleanups.
	(locate_arg): Constify return type.
	(insert_args): Constify paremeter.  Simplify using std::string.
	Return a std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce string_printf
@ 2016-11-08 19:12 sergiodj+buildbot
  2016-11-13 22:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d4081a383e28db26c65298f7405554d4312b1342 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d4081a383e28db26c65298f7405554d4312b1342

Introduce string_printf

This introduces the string_printf function.  Like asprintf, but
returns a std::string.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* Makefile.in (COMMON_OBS): Add utils-selftests.o.
	* common/common-utils.c (string_printf): New function.
	* common/common-utils.h: Include <string>.
	(string_printf): Declare.
	* utils-selftests.c: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup
@ 2016-11-08 18:27 sergiodj+buildbot
  2016-11-14  8:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 896b6bda6904765f36692d76a37b99c0412ca9ae ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 896b6bda6904765f36692d76a37b99c0412ca9ae

breakpoint.c:commands_command_1 constification and cleanup

This is constification needed for next patch.  Adjust
commands_command_1 to use std::string too because the "arg" parameter
is currently overwritten and then passed to make_cleanup.  The
constification alone would trigger a compile error in the make_cleanup
call otherwise (passing const char * to void * parameter).  Using
std::string gets rid of the cleanup in the first place, resulting in
simpler code.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (struct commands_info) <arg>: Constify.
	(commands_command_1): Constify 'arg' parameter.  Use std::string
	and string_printf.
	(commands_from_control_command): Constify 'arg' parameter.
	(map_breakpoint_numbers): Constify 'args' parameter.
	* breakpoint.h (commands_from_control_command): Constify 'arg'
	parameter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch software_single_step returns VEC (CORE_ADDR) *
@ 2016-11-08 17:10 sergiodj+buildbot
  2016-11-13 17:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 17:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93f9a11fbdb8f09428b17180d51a09a1bda39a52 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 93f9a11fbdb8f09428b17180d51a09a1bda39a52

gdbarch software_single_step returns VEC (CORE_ADDR) *

This patch changes gdbarch method software_single_step to return a
vector of addresses on which GDB should insert breakpoints, and don't
insert breakpoints.  Instead, the caller of
gdbarch_software_single_step inserts breakpoints if the returned
vector is not NULL.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_software_single_step): Return
	VEC (CORE_ADDR) *.  Return NULL instead of 0.  Don't call
	insert_single_step_breakpoint.
	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
	(alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Return
	VEC (CORE_ADDR) *.  Return NULL instead of 0.
	* arm-tdep.c (arm_software_single_step): Return NULL instead of	0.
	* arm-tdep.h (arm_software_single_step): Update declaration.
	* breakpoint.c (insert_single_step_breakpoints): New function.
	* breakpoint.h (insert_single_step_breakpoints): Declare.
	* cris-tdep.c (cris_software_single_step): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* gdbarch.sh (software_single_step): Change it to return
	VEC (CORE_ADDR) *.
	* gdbarch.c, gdbarch.h: Regenerated.
	* infrun.c (maybe_software_singlestep): Adjust.
	* mips-tdep.c (mips_deal_with_atomic_sequence): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	(micromips_deal_with_atomic_sequence): Likewise.
	(deal_with_atomic_sequence): Likewise.
	(mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Update declaration.
	* moxie-tdep.c (moxie_software_single_step): Likewise.
	* nios2-tdep.c (nios2_software_single_step): Likewise.
	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update
	declaration.
	* record-full.c (record_full_resume): Adjust.
	(record_full_wait_1): Likewise.
	* rs6000-aix-tdep.c (rs6000_software_single_step): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* rs6000-tdep.c	(ppc_deal_with_atomic_sequence): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* s390-linux-tdep.c (s390_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* tic6x-tdep.c (tic6x_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Clear addr bit in next_pcs vector
@ 2016-11-08 15:51 sergiodj+buildbot
  2016-11-13 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bc5d801ec836cd4b7d1ab7d05658e7a1d05df22 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0bc5d801ec836cd4b7d1ab7d05658e7a1d05df22

Clear addr bit in next_pcs vector

This patch is to split the loop of calling gdbarch_addr_bits_remove
and insert_single_step_breakpoint into two loops.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* arm-linux-tdep.c (arm_linux_software_single_step): Write
	adjusted address back to vector.  Call insert_single_step_breakpoint
	in a new loop.
	* arm-tdep.c (arm_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove arm_insert_single_step_breakpoint
@ 2016-11-08 14:37 sergiodj+buildbot
  2016-11-13  9:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 771da62d67a9f27c1e706610efe51b13c3f9fd60 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 771da62d67a9f27c1e706610efe51b13c3f9fd60

Remove arm_insert_single_step_breakpoint

This patch is to remove arm_insert_single_step_breakpoint.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* arm-linux-tdep.c (arm_linux_software_single_step): Don't
	call arm_insert_single_step_breakpoint, call
	insert_single_step_breakpoint instead.
	* arm-tdep.c (arm_insert_single_step_breakpoint): Remove.
	(arm_software_single_step): Don't call
	arm_insert_single_step_breakpoint, call
	insert_single_step_breakpoint instead.
	* arm-tdep.h (arm_insert_single_step_breakpoint): Remove
	declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR breakpoints/20739: Badly formatted adress string in error message
@ 2016-11-08 14:21 sergiodj+buildbot
  2016-11-13  5:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 14:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53c3572a9f5b03a92292cb6d24bf69b52c95500e ***

Author: Cordian A. Daniluk <th3c0r1uk@gmail.com>
Branch: master
Commit: 53c3572a9f5b03a92292cb6d24bf69b52c95500e

Fix PR breakpoints/20739: Badly formatted adress string in error message

Remove duplicate `0x'-prefix for the hex address printed.  `paddress'
already prepends this, so no need to do it manually.

gdb/ChangeLog:
2016-11-08  Cordian A. Daniluk  <th3c0r1uk@gmail.com>

	PR breakpoints/20739
	* breakpoint.c (check_fast_tracepoint_sals): Don't print duplicate
	0x prefix.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix bfd/dwarf2.c build breakage
@ 2016-11-08 13:10 sergiodj+buildbot
  2016-11-12 23:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 13:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b0d929dd61fcd55b4ef320a2033c731443b394f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3b0d929dd61fcd55b4ef320a2033c731443b394f

Fix bfd/dwarf2.c build breakage

Fix build breakage introduced by commit 089e3718bd8d ("Greatly improve
the speed if looking up DWARF line number information."):

 -  bfd_boolean is_linkage;
 -  const char *name;
 -  struct arange arange;
 +  int                  line;
 +  int                  tag;
 +  bfd                  boolean is_linkage;

bfd/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
	not "bfd boolean".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix indentation
@ 2016-11-08 12:26 sergiodj+buildbot
  2016-11-12 17:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20955dbf718992e83b7c971344931934b62a784f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 20955dbf718992e83b7c971344931934b62a784f

Fix indentation

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* rust-lang.c (val_print_struct): Fix indentation.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Check for truncated registers in process_g_packet
@ 2016-11-08 11:14 sergiodj+buildbot
  2016-11-12 16:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9dc193c3be85aafa60ceff57d3b0430af607b4ce ***

Author: Lionel Flandrin <lionel@svkt.org>
Branch: master
Commit: 9dc193c3be85aafa60ceff57d3b0430af607b4ce

Check for truncated registers in process_g_packet

While investigating an unrelated issue in remote.c I noticed that the
bound checking for 'g' packets was bogus:

The previous code would only check that the first byte of the register
was within bounds before passing the buffer to regcache_raw_supply.
If it turned out that the register in the 'g' packet was incomplete
then regcache_raw_supply would proceed to memcpy out-of-bounds.

Since the buffer is allocated with alloca it's relatively unlikely to
crash (you just end up dumping gdb's stack into the cache) but it's
still a bit messy.

I changed this logic to check for truncated registers and raise an
error if one is encountered.  Hopefully it should make debugging
remote stubs a bit easier.

gdb/ChangeLog:
2016-11-08  Lionel Flandrin  <lionel@svkt.org>

	* remote.c (process_g_packet): Detect truncated registers in 'g'
	packets and raise an error.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Properly handle bad FPU opcode
@ 2016-11-08  2:27 sergiodj+buildbot
  2016-11-12 12:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  2:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 48c97fa1ba7d6628352fc2433abd91a41f6c8171 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 48c97fa1ba7d6628352fc2433abd91a41f6c8171

X86: Properly handle bad FPU opcode

Since Bad_Opcode and FGRPd9_2 were the same in i386-dis.c, all
Bad_Opcode entries in float_reg were displaced as FGRPd9_2.  This
patch adds an entry for Bad_Opcode in fgrps to avoid treating it
as FGRPd9_2.

gas/

	PR binutils/20775
	* testsuite/gas/i386/i386.exp: Run fpu-bad.
	* testsuite/gas/i386/fpu-bad.d: New file.
	* testsuite/gas/i386/fpu-bad.s: Likewise.

opcodes/

	PR binutils/20775
	* i386-dis.c (FGRPd9_2): Replace 0 with 1.
	(FGRPd9_4): Replace 1 with 2.
	(FGRPd9_5): Replace 2 with 3.
	(FGRPd9_6): Replace 3 with 4.
	(FGRPd9_7): Replace 4 with 5.
	(FGRPda_5): Replace 5 with 6.
	(FGRPdb_4): Replace 6 with 7.
	(FGRPde_3): Replace 7 with 8.
	(FGRPdf_4): Replace 8 with 9.
	(fgrps): Add an entry for Bad_Opcode.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix ext lang calls to value_struct_elt.
@ 2016-11-08  1:46 sergiodj+buildbot
  2016-11-12  6:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  1:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5996220cfa24ef6fddb782617720cd56913b1bb7 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 5996220cfa24ef6fddb782617720cd56913b1bb7

Fix ext lang calls to value_struct_elt.

gdb/ChangeLog:

	* guile/scm-value.c (gdbscm_value_field): Fix call to value_struct_elt.
	* python/py-value.c (valpy_getitem): Ditto.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] i386-tdep.c (i386_gdbarch_init): Add comments.
@ 2016-11-08  0:39 sergiodj+buildbot
  2016-11-12  1:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad9eb1fdda263cd91ee8fb36292fb29d546b0076 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: ad9eb1fdda263cd91ee8fb36292fb29d546b0076

i386-tdep.c (i386_gdbarch_init): Add comments.

gdb/ChangeLog:

	* i386-tdep.c (i386_gdbarch_init): Add comments.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.
@ 2016-11-07 23:37 sergiodj+buildbot
  2016-11-11 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-07 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc71081e53e3c0a52a28d5874e65a54194e2205f ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: bc71081e53e3c0a52a28d5874e65a54194e2205f

python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.

gdb/ChangeLog:

	* python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync config.sub,config.guess with upstream.
@ 2016-11-07 21:48 sergiodj+buildbot
  2016-11-11 11:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-07 21:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ada5c6fca335963b0b9fb9e91c999fcdaab2f89 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 5ada5c6fca335963b0b9fb9e91c999fcdaab2f89

Sync config.sub,config.guess with upstream.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix a few typos
@ 2016-11-05  4:41 sergiodj+buildbot
  2016-11-10 13:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-05  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b

Fix a few typos

gdb/ChangeLog:

	* maint.c (scoped_command_stats::scoped_command_stats): Fix typo.
	* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
	* ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
	* ui-out.c (ui_out_new): Likewise.
	* utils.c (init_page_info): Likewise.
	(reset_prompt_for_continue_wait_time): Likewise.
	* windows-nat.c (windows_init_thread_list): Likewise.
	* xtensa-tdep.c (call0_analyze_prologue): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc/nps400: Validate address type operands correctly
@ 2016-11-04 23:14 sergiodj+buildbot
  2016-11-10 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 23:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b437d035ddf4e4c0c566c577ee059790ed28ad9b ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: b437d035ddf4e4c0c566c577ee059790ed28ad9b

arc/nps400: Validate address type operands correctly

When we match against an address type operand within an instruction it
is important that we match exactly the right address type operand early
on, during the opcode selection phase.  If we wait until the operand
insertion phase to check that we have the correct address operand, then
it is too late to select an alternative opcode.  This becomes important
only when we have multiple opcodes with the same mnemonic, and operand
lists that differ only in the type of the address operands.

This commit fixes this issue, and adds some example instructions that
require this issue to be fixed (the instructions are identical except
for the address type operand).

gas/ChangeLog:

	* config/tc-arc.c (find_opcode_match): Use insert function to
	validate matching address type operands.
	* testsuite/gas/arc/nps400-10.d: New file.
	* testsuite/gas/arc/nps400-10.s: New file.

opcodes/ChangeLog:

	* arc-opc.c (arc_flag_operands): Add F_DI14.
	(arc_flag_classes): Add C_DI14.
	* arc-nps400-tbl.h: Add new exc instructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for ARM Cortex-M33 processor
@ 2016-11-04 17:12 sergiodj+buildbot
  2016-11-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b19ea8d28b1c06c2973738c1cda076f895ac3ad0 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: b19ea8d28b1c06c2973738c1cda076f895ac3ad0

Add support for ARM Cortex-M33 processor

2016-11-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (cortex-m33): Declare new processor.
	* doc/c-arm.texi (-mcpu ARM command line option): Document new
	Cortex-M33 processor.
	* NEWS: Mention ARM Cortex-M33 support.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.
@ 2016-11-04 14:52 sergiodj+buildbot
  2016-11-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 14:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1

Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.

	* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
	when supporting 64-bit BFD targets.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for the sizeof function in Rust
@ 2016-11-03 23:26 sergiodj+buildbot
  2016-11-10 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6

Add support for the sizeof function in Rust

2016-10-29  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`

gdb/testsuite/ChangeLog:
    * gdb.rust/simple.exp: Add tests for `sizeof(expr)`


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for untagged unions in Rust
@ 2016-11-03 23:17 sergiodj+buildbot
  2016-11-10 13:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9

Add support for untagged unions in Rust

2016-10-28  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_union_is_untagged): Add function to
    check if a union is an untagged unioni
    (rust_val_print): Handle printing of untagged union values
    (rust_print_type): Handle printing of untagged union types
    (rust_evaluate_subexp): Handle evaluating field
    access on untagged unions


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums
@ 2016-11-03 23:05 sergiodj+buildbot
  2016-11-10 13:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51a789c3bf3d9b04d3d81493fda7f2514ae43add ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: 51a789c3bf3d9b04d3d81493fda7f2514ae43add

Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums

2016-10-27  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_get_disr_info): Treat univariant enums
    without discriminants as encoded enums with a real field
    * rust-lang.c (rust_evaluate_subexp): Handle field access
    on encoded struct-like enums

gdb/testsuite/ChangeLog:
    * simple.rs: Add test for univariant enums without discriminants
    and for encoded struct-like enums
    * simple.exp: Add test expectations


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Implement NPS-400 dcmac instruction
@ 2016-11-03 18:59 sergiodj+buildbot
  2016-11-10 13:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a736821eff3aa4a8da237778526f9f700759c7a ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 5a736821eff3aa4a8da237778526f9f700759c7a

arc: Implement NPS-400 dcmac instruction

gas/ChangeLog:

       * testsuite/gas/arc/nps-400-9.d: Added.
       * testsuite/gas/arc/nps-400-9.s: Added.

include/ChangeLog:

       * opcode/arc.h: Add PROTOCOL_DECODE to insn_class_t.

opcodes/ChangeLog:

       * arc-dis.c (arc_insn_length): Return length 8 for instructions with
       major opcode 0xa.
       * arc-nps-400-tbl.h: Add dcmac instruction.
       * arc-opc.c (arc_operands): Added operands for dcmac instruction.
       (insert_nps_rbdouble_64): Added.
       (extract_nps_rbdouble_64): Added.
       (insert_nps_proto_size): Added.
       (extract_nps_proto_size): Added.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Change max instruction length to 64-bits
@ 2016-11-03 18:26 sergiodj+buildbot
  2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63

arc: Change max instruction length to 64-bits

The current handling for arc instructions longer than 32-bits is all
handled as a special case in both the assembler and disassembler.

The problem with this approach is that it leads to code duplication,
selecting a long instruction is exactly the same process as selecting a
short instruction, except over more bits, in both cases we select based
on bit comparison, and initial operand insertion and extraction.

This commit unifies both the long and short instruction worlds,
converting the core opcodes library from being largely 32-bit focused,
to being largely 64-bit focused.

The changes are, on the whole, not too much.  There's obviously a lot of
type changes but otherwise the bulk of the code just works.  Most of the
actual functional changes are to code that previously handled the longer
48 or 64 bit instructions.  The insert/extract handlers for these have
now been brought into line with the short instruction insert/extract
handlers.

All of the special case handling code that was previously added has now
been removed again.  Overall, this commit reduces the amount of code in
the arc assembler and disassembler.

gas/ChangeLog:

	* config/tc-arc.c (struct arc_insn): Change type of insn field.
	(md_number_to_chars_midend): Support 6- and 8-byte values.
	(emit_insn0): Update debug output.
	(find_opcode_match): Likewise.
	(build_fake_opcode_hash_entry): Delete.
	(find_special_case_long_opcode): Delete.
	(find_special_case): Remove long format special case handling.
	(insert_operand): Change instruction type and update debug print
	format.
	(assemble_insn): Change instruction type, update debug print
	formats, and remove unneeded assert.

include/ChangeLog:

	* opcode/arc.h (struct arc_opcode): Change type of opcode and mask
	fields.
	(struct arc_long_opcode): Delete.
	(struct arc_operand): Change types for insert and extract
	handlers.

opcodes/ChangeLog:

	* arc-dis.c (struct arc_operand_iterator): Remove all fields
	relating to long instruction processing, add new limm field.
	(OPCODE): Rename to...
	(OPCODE_32BIT_INSN): ...this.
	(OPCODE_AC): Delete.
	(skip_this_opcode): Handle different instruction lengths, update
	macro name.
	(special_flag_p): Update parameter type.
	(find_format_from_table): Update for more instruction lengths.
	(find_format_long_instructions): Delete.
	(find_format): Update for more instruction lengths.
	(arc_insn_length): Likewise.
	(extract_operand_value): Update for more instruction lengths.
	(operand_iterator_next): Remove code relating to long
	instructions.
	(arc_opcode_to_insn_type): New function.
	(print_insn_arc):Update for more instructions lengths.
	* arc-ext.c (extInstruction_t): Change argument type.
	* arc-ext.h (extInstruction_t): Change argument type.
	* arc-fxi.h: Change type unsigned to unsigned long long
	extensively throughout.
	* arc-nps400-tbl.h: Add long instructions taken from
	arc_long_opcodes table in arc-opc.c.
	* arc-opc.c: Update parameter types on insert/extract handlers.
	(arc_long_opcodes): Delete.
	(arc_num_long_opcodes): Delete.
	(arc_opcode_len): Update for more instruction lengths.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Swap highbyte and lowbyte in print_insn_arc
@ 2016-11-03 18:15 sergiodj+buildbot
  2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90f61cceac73fe40dcd21b3590c247bfa624ac00 ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 90f61cceac73fe40dcd21b3590c247bfa624ac00

arc: Swap highbyte and lowbyte in print_insn_arc

highbyte and lowbyte actually refer to the low byte and the high
byte respectively, but are used consistently in this swapped
order. This commit swaps them round so that highbyte refers to the
high byte and lowbyte refers to the low byte.

There should be no functional change after this commit.

opcodes/ChangeLog:

   * arc-dis.c (print_insn_arc): Swap highbyte and lowbyte.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] opcodes/arc: Make some macros 64-bit safe
@ 2016-11-03 18:03 sergiodj+buildbot
  2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e27220211249bfeb38b10e630b33fbd170fce6c ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 2e27220211249bfeb38b10e630b33fbd170fce6c

opcodes/arc: Make some macros 64-bit safe

In preparation to moving to a world where arc instructions can be 2, 4,
6, or 8 bytes long, make some macros 64-bit safe.

There should be no functional change after this commit.

include/ChangeLog:

	* opcode/arc.h: Make macros 64-bit safe.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Replace ARC_SHORT macro with arc_opcode_len function
@ 2016-11-03 17:51 sergiodj+buildbot
  2016-11-10 13:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 06fe285fd293e999481ec8f5c619658aa5e3b48b ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 06fe285fd293e999481ec8f5c619658aa5e3b48b

arc: Replace ARC_SHORT macro with arc_opcode_len function

In preparation for moving to a world where arc instructions can be 2, 4,
6, or 8 bytes in length, replace the ARC_SHORT macro (which is either
true of false) with an arc_opcode_len function that returns a length in
bytes.

There should be no functional change after this commit.

gas/ChangeLog:

	* config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
	arc_opcode_len.

include/ChangeLog:

	* opcode/arc.h (arc_opcode_len): Declare.
	(ARC_SHORT): Delete.

opcodes/ChangeLog:

	* arc-dis.c (find_format_from_table): Replace use of ARC_SHORT
	with arc_opcode_len.
	(find_format_long_instructions): Likewise.
	* arc-opc.c (arc_opcode_len): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks
@ 2016-11-03 17:39 sergiodj+buildbot
  2016-11-10 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecf64ec654afe916099f0fe482c2dae417913905 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: ecf64ec654afe916099f0fe482c2dae417913905

arc/opcodes/nps400: Fix some instruction masks

A few masks were incorrect, there were opcode bits that lives outside of
the instruction mask, the effected instructions are decode1, zncv, and
efabgt.

Previously these instructions would assemble and disassemble correctly,
and a correctly encoded binary should behave no differently.  The only
difference would be seen in a few incorrectly encoded binaries,
previously these would have decoded to the above instructions, while now
they will not.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Fix some instruction masks.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82
@ 2016-11-03 17:33 sergiodj+buildbot
  2016-11-10 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d039fef395c1b5fd781acaf1c611f96f654f5f91 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: d039fef395c1b5fd781acaf1c611f96f654f5f91

X86: Reuse opcode 0x80 decoder for opcode 0x82

Since opcode 0x82 is an alias of opcode 0x80, we can reuse opcode 0x80
decoder.

	* i386-dis.c (REG_82): Removed.
	(X86_64_82_REG_0): Likewise.
	(X86_64_82_REG_1): Likewise.
	(X86_64_82_REG_2): Likewise.
	(X86_64_82_REG_3): Likewise.
	(X86_64_82_REG_4): Likewise.
	(X86_64_82_REG_5): Likewise.
	(X86_64_82_REG_6): Likewise.
	(X86_64_82_REG_7): Likewise.
	(X86_64_82): New.
	(dis386): Use X86_64_82 instead of REG_82.
	(reg_table): Remove REG_82.
	(x86_64_table): Add X86_64_82.  Remove X86_64_82_REG_0,
	X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3,
	X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and
	X86_64_82_REG_7.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode
@ 2016-11-03 17:21 sergiodj+buildbot
  2016-11-10 13:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b89fe14b522cd6e5d160ff17defa8ecec243b11 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 8b89fe14b522cd6e5d160ff17defa8ecec243b11

X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode

Update x86 disassembler to treat opcode 0x82 as an aliase of opcode 0x80
in 32-bit mode.

gas/

	PR binutils/20754
	* testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
	* testsuite/gas/i386/opcode-intel.d: Updated.
	* testsuite/gas/i386/opcode.d: Likewise.

opcodes/

	PR binutils/20754
	* i386-dis.c (REG_82): New.
	(X86_64_82_REG_0): Likewise.
	(X86_64_82_REG_1): Likewise.
	(X86_64_82_REG_2): Likewise.
	(X86_64_82_REG_3): Likewise.
	(X86_64_82_REG_4): Likewise.
	(X86_64_82_REG_5): Likewise.
	(X86_64_82_REG_6): Likewise.
	(X86_64_82_REG_7): Likewise.
	(dis386): Use REG_82.
	(reg_table): Add REG_82.
	(x86_64_table): Add X86_64_82_REG_0, X86_64_82_REG_1,
	X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4,
	X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Replace YY_NULL with YY_NULLPTR in LANG-exp.c
@ 2016-11-03 17:04 sergiodj+buildbot
  2016-11-10 13:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 722bcb33bf0383487c1af0e7d401e30301e94e2b ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 722bcb33bf0383487c1af0e7d401e30301e94e2b

Replace YY_NULL with YY_NULLPTR in LANG-exp.c

As we require c++11, GDB fails to build if bison is not new enough.
I see the following error on the system (fedora 19) that bison is
2.6.4,

g++ -std=gnu++11 .... \
	-c -o ada-exp.o -MT ada-exp.o -MMD -MP -MF .deps/ada-exp.Tpo 'if test -f ada-exp.c; then echo ada-exp.c; else echo ../../binutils-gdb/gdb/ada-exp.c; fi`
In file included from ../../binutils-gdb/gdb/ada-exp.y:731:0:
ada-lex.c:113:0: error: "YY_NULL" redefined [-Werror]
 #define YY_NULL 0
 ^
ada-exp.c:158:0: note: this is the location of the previous definition
 #   define YY_NULL nullptr
 ^
cc1plus: all warnings being treated as errors
make: *** [ada-exp.o] Error 1

Both ada-exp.c and ada-lex.c has macro YY_NULL, like this,

 $ cat 1.c
 # ifndef YY_NULL
 #  if defined __cplusplus && 201103L <= __cplusplus
 #   define YY_NULL nullptr
 #  else
 #   define YY_NULL 0
 #  endif
 # endif

 #define YY_NULL 0

as we can see, YY_NULL is defined differently (nullptr vs 0)

$ g++ -std=c++11 -Wall 1.c -c
1.c:9:0: warning: "YY_NULL" redefined
 #define YY_NULL 0
 ^
1.c:3:0: note: this is the location of the previous definition
 #   define YY_NULL nullptr
 ^
$ g++ -Wall 1.c -c

bison renames YY_NULL to YY_NULLPTR in 2013 Nov,
https://lists.gnu.org/archive/html/bison-patches/2013-11/msg00002.html
and bison released later than 2013 Nov have this patch.  Bison 3.0.2,
released on 2013 Dec, is OK.

The fix is to replace YY_NULL with YY_NULLPTR via sed.  With old bison,
YY_NULL becomes YY_NULLPTR; with new bison, YY_NULLPTR becomes
YY_NULLPTRPTR,

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (.y.c): Replace YY_NULL with YY_NULLPTR.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Deprecate old platforms
@ 2016-11-03 16:59 sergiodj+buildbot
  2016-11-10 13:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 034b77cf7875c4ea5aaf3d06dfea2e422abc47db ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 034b77cf7875c4ea5aaf3d06dfea2e422abc47db

Deprecate old platforms

bfd/
	* config.bfd: Deprecate many old triplets.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] X86: Rename REG_82 to REG_83
@ 2016-11-03 16:43 sergiodj+buildbot
  2016-11-10 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7148c36989ee64f15ac9618543309cd7311b6015 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7148c36989ee64f15ac9618543309cd7311b6015

X86: Rename REG_82 to REG_83

The REG_82 entry in x86 disassembler is for opcode 0x83, not opcode
0x82.

	* i386-dis.c (REG_82): Renamed to ...
	(REG_83): This.
	(dis386): Updated.
	(reg_table): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
@ 2016-11-03 16:27 sergiodj+buildbot
  2016-11-10 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 04180708eff91ddd3a9572bd4b517ccce5850db0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 04180708eff91ddd3a9572bd4b517ccce5850db0

Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION

Both of them are used in conversion.  We can remove them since the
conversion is done.

There are many architectures only have one breakpoint instruction,
so their gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind look very similar.  Instead of macro, we
use template "template <size_t, const gdb_byte *> struct bp_manipulation"
for these architectures.  In order to use template, I also change
breakpoint instruction of type "static const gdb_byte[]" to
"constexpr gdb_byte[]", and rename them to ARCH_break_insn.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves <palves@redhat.com>

	* aarch64-tdep.c (aarch64_default_breakpoint): Change it to
	constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(aarch64_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* alpha-tdep.c (break_insn): Rename to alpha_break_insn.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(alpha_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* arc-tdep.c (arc_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Remove.
	(struct bp_manipulation): New.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): Remove.
	(struct bp_manipulation_endian): New.
	(BP_MANIPULATION): New.
	(BP_MANIPULATION_ENDIAN): New.
	* arm-tdep.c (arm_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* avr-tdep.c (avr_break_insn): Change it constexpr.
	(avr_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* bfin-tdep.c (bfin_gdbarch_init): Likewise.
	* cris-tdep.c (cris_gdbarch_init): Likewise.
	* frv-tdep.c (breakpoint): Rename it to frv_break_insn, and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(frv_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* ft32-tdep.c (breakpoint): Rename it to ft32_break_insn and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(ft32_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* h8300-tdep.c (breakpoint): Rename it to h8300_break_insn.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(h8300_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* hppa-tdep.c (breakpoint): Rename it to h8300_break_insn.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(hppa_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* i386-tdep.c (break_insn): Rename it to i386_break_insn.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(i386_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* iq2000-tdep.c (iq2000_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* lm32-tdep.c (breakpoint): Rename it to lm32_break_insn and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(lm32_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* m32c-tdep.c (break_insn): Rename it to m32c_break_insn and change
	its type to constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(m32c_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* m32r-tdep.c (m32r_gdbarch_init): Likewise.
	* m68hc11-tdep.c (breakpoint): Rename it to m68hc11_break_insn and
	change its type to constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(m68hc11_gdbarch_init): Don't use SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* m68k-tdep.c (break_insn): Rename it to m68k_break_insn and change
	its type to constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(m68k_gdbarch_init):  Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* m88k-tdep.c (break_insn): Rename it to m88k_break_insn and change
	its type to constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(m88k_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* mep-tdep.c (breakpoint): Rename it to mep_break_insn and change
	its type to constexpr.  Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(mep_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* microblaze-tdep.c (break_insn): Rename it to
	microblaze_break_insn and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(microblaze_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* mips-tdep.c (mips_gdbarch_init): Likewise.
	* mn10300-tdep.c (breakpoint): Rename it to mn10300_break_insn and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(mn10300_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* moxie-tdep.c (breakpoint): Rename it to moxie_break_insn and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(moxie_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* msp430-tdep.c (breakpoint): Rename it to msp430_break_insn
	and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(msp430_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* mt-tdep.c (mt_gdbarch_init): Likewise.
	* nds32-tdep.c (break_insn): Rename it to nds32_break_insn
	and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(nds32_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* nios2-tdep.c (nios2_gdbarch_init): Likewise.
	* rl78-tdep.c (breakpoint): Rename it to rl78_break_ins
	and change its type to rl78_break_insn.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(rl78_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* rs6000-tdep.c (big_breakpoint): Change its type to
	constexpr.
	(little_breakpoint): Likewise.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN.
	(rs6000_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* rx-tdep.c (breakpoint): Rename it to rx_break_insn and
	change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(rx_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* s390-linux-tdep.c (breakpoint): Rename it to s390_break_insn
	and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION
	(s390_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* score-tdep.c (score_gdbarch_init): Likewise.
	* sh-tdep.c (sh_gdbarch_init): Likewise.
	* sh64-tdep.c (sh64_gdbarch_init): Likewise.
	* sparc-tdep.c (break_insn): Rename it to sparc_break_insn
	and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(sparc32_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* spu-tdep.c (breakpoint): Rename it to spu_break_insn and change
	its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(spu_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* tic6x-tdep.c (tic6x_gdbarch_init): Likewise.
	* tilegx-tdep.c (breakpoint): Rename it to tilegx_break_insn
	and change its type to constexpr.  Don't use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(tilegx_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* v850-tdep.c (v850_gdbarch_init): Likewise.
	* vax-tdep.c (break_insn): Rename it to vax_break_insn and
	change its type to constexpr.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(vax_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* xstormy16-tdep.c (breakpoint): Rename it to
	xstormy16_break_insn and change its type to constexpr.
	Don't use GDBARCH_BREAKPOINT_MANIPULATION.
	(xstormy16_gdbarch_init): Don't use
	SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* xtensa-tdep.c (xtensa_gdbarch_init): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove arm_override_mode
@ 2016-11-03 16:26 sergiodj+buildbot
  2016-11-10 13:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a97c97e8d7c818886f0f7beb3fd5dee0042b4a07 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a97c97e8d7c818886f0f7beb3fd5dee0042b4a07

Remove arm_override_mode

GDB can determine the kind of single step breakpoint by gdbarch
breakpoint_kind_from_current_state, so global variable
arm_override_mode is no longer needed.  This patch removes it.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (arm_override_mode): Remove.
	(arm_pc_is_thumb): Update.
	(arm_insert_single_step_breakpoint): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Determine the kind of single step breakpoint
@ 2016-11-03 16:16 sergiodj+buildbot
  2016-11-10 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 833b7ab5008b769dca6db6d5ee1d21d33e730132 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 833b7ab5008b769dca6db6d5ee1d21d33e730132

Determine the kind of single step breakpoint

This patch adds a new gdbarch method breakpoint_kind_from_current_state
for single step breakpoint, and uses it in breakpoint_kind.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_breakpoint_kind_from_current_state):
	New function.
	* arch-utils.h (default_breakpoint_kind_from_current_state):
	Declare.
	* arm-tdep.c (arm_breakpoint_kind_from_current_state): New
	function.
	(arm_gdbarch_init): Call
	set_gdbarch_breakpoint_kind_from_current_state.
	* breakpoint.c (breakpoint_kind): Call
	gdbarch_breakpoint_kind_from_current_state for single step
	breakpoint.  Update comments.
	* gdbarch.sh (breakpoint_kind_from_current_state): New.
	* gdbarch.c, gdbarch.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add default_breakpoint_from_pc
@ 2016-11-03 16:05 sergiodj+buildbot
  2016-11-10 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22f13eb869197fc45a0da2a8a96b03d39809862e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 22f13eb869197fc45a0da2a8a96b03d39809862e

Add default_breakpoint_from_pc

This patch adds the default implementation of gdbarch breakpoint_from_pc,
which is,

const gdb_byte *
default_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr,
                           int *lenptr)
{
  int kind = gdbarch_breakpoint_kind_from_pc (gdbarch, pcptr);

  return gdbarch_sw_breakpoint_from_kind (gdbarch, kind, lenptr);
}

so gdbarch can only defines sw_breakpoint_from_kind and
breakpoint_kind_from_pc.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_breakpoint_from_pc): New function.
	* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): Remove.
	(GDBARCH_BREAKPOINT_MANIPULATION): Don't use
	GDBARCH_BREAKPOINT_FROM_PC.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): Don't call
	set_gdbarch_breakpoint_from_pc.
	(default_breakpoint_from_pc): Remove declaration.
	* gdbarch.sh (breakpoint_from_pc): Add its default implementation.
	* gdbarch.c, gdbarch.h: Regenerate.
	* arm-tdep.c: Don't use GDBARCH_BREAKPOINT_FROM_PC.
	* arc-tdep.c, bfin-tdep.c, cris-tdep.c, iq2000-tdep.c: Likewise.
	* m32r-tdep.c, mips-tdep.c, mt-tdep.c: Likewise.
	* nios2-tdep.c, score-tdep.c, sh-tdep.c: Likewise.
	* sh64-tdep.c, tic6x-tdep.c, v850-tdep.c, xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename placed_size to kind
@ 2016-11-03 15:46 sergiodj+buildbot
  2016-11-10 13:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 579c6ad9830058ccebf9c592d692c25fac6285c7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 579c6ad9830058ccebf9c592d692c25fac6285c7

Rename placed_size to kind

This patch renames placed_size to kind.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* breakpoint.h (struct bp_target_info) <placed_size>: Remove.
	<kind>: New field.
	Update all users.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
@ 2016-11-03 15:35 sergiodj+buildbot
  2016-11-10  8:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d19280adb5b2d1470dc39756ccac8a8fa2af8321 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d19280adb5b2d1470dc39756ccac8a8fa2af8321

Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind

We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc
and ARCH_sw_breakpoint_from_kind.  Note that gdbarch doesn't have methods
breakpoint_kind_from_pc and sw_breakpoint_from_kind so far.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro.
	(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro.
	* arm-tdep.c (arm_breakpoint_from_pc): Remove.
	(arm_breakpoint_kind_from_pc): New function.
	(arm_sw_breakpoint_from_kind): New function.
	(arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc
	and arm_sw_breakpoint_from_kind.
	Use GDBARCH_BREAKPOINT_FROM_PC.
	(arm_remote_breakpoint_from_pc): Call
	arm_breakpoint_kind_from_pc.
	(arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
	with SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* arc-tdep.c: Likewise.
	* bfin-tdep.c: Likewise.
	* cris-tdep.c: Likewise.
	* iq2000-tdep.c: Likewise.
	* m32r-tdep.c: Likewise.
	* mips-tdep.c: Likewise.
	* mt-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* rs6000-tdep.c: Likewise.
	* score-tdep.c: Likewise.
	* sh-tdep.c: Likewise.
	* sh64-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* v850-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add enum for mips breakpoint kinds
@ 2016-11-03 15:21 sergiodj+buildbot
  2016-11-10  6:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356

Add enum for mips breakpoint kinds

This patch adds an enum mips_breakpoint_kind to avoid using magic
numbers as much as possible.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* mips-tdep.c (mips_breakpoint_kind): New enum.
	(mips_breakpoint_from_pc): Use it.
	(mips_remote_breakpoint_from_pc): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
@ 2016-11-03 15:14 sergiodj+buildbot
  2016-11-10  3:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620

GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION

Many archs have only one kind of breakpoint, so their breakpoint_from_pc
implementations are quite similar.  This patch uses macro
GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
for breakpoint_from_pc, so that we can easily switch from
breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
later.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): New macro.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): New macro.
	aarch64-tdep.c (aarch64_breakpoint_from_pc): Remove.  Use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(aarch64_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
	with SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* alpha-tdep.c: Likewise.
	* avr-tdep.c: Likewise.
	* frv-tdep.c: Likewise.
	* ft32-tdep.c: Likewise.
	* h8300-tdep.c: Likewise.
	* hppa-tdep.c: Likewise.
	* i386-tdep.c: Likewise.
	* lm32-tdep.c: Likewise.
	* m32c-tdep.c: Likewise.
	* m68hc11-tdep.c: Likewise.
	* m68k-tdep.c: Likewise.
	* m88k-tdep.c: Likewise.
	* mep-tdep.c: Likewise.
	* microblaze-tdep.c: Likewise.
	* mn10300-tdep.c: Likewise.
	* moxie-tdep.c: Likewise.
	* msp430-tdep.c: Likewise.
	* rl78-tdep.c: Likewise.
	* rx-tdep.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* sparc-tdep.c: Likewise.
	* spu-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* vax-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbarch_breakpoint_from_pc doesn't return NULL
@ 2016-11-03 15:00 sergiodj+buildbot
  2016-11-09 23:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf

gdbarch_breakpoint_from_pc doesn't return NULL

gdbarch_breakpoint_from_pc doesn't return NULL except for
ia64_breakpoint_from_pc, and we checked its return value in three
places. In microblaze_linux_memory_remove_breakpoint and
ppc_linux_memory_remove_breakpoint, gdbarch_breakpoint_from_pc never
returns NULL, so we can remove the NULL checking.  In
default_memory_insert_breakpoint, gdbarch_breakpoint_from_pc can't
returns NULL too because ia64 defines its own memory_insert_breakpoint.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (default_memory_insert_breakpoint): Don't check
	'bp' against NULL.
	* microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint):
	Likewise.
	* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Updated Danish translation for the BFD library.
@ 2016-11-03 11:46 sergiodj+buildbot
  2016-11-09 19:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 225b362d1036121a611f3dd17fdb6780070ba51f ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 225b362d1036121a611f3dd17fdb6780070ba51f

Updated Danish translation for the BFD library.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix dwarf_expr_context method regressions
@ 2016-11-02 22:29 sergiodj+buildbot
  2016-11-09 15:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-02 22:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d5697f9e27f79e1decc1215f33088cee9f7d863 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7d5697f9e27f79e1decc1215f33088cee9f7d863

Fix dwarf_expr_context method regressions

This fixes some regressions found in the patch to convert
dwarf_expr_context to use methods.  Specifically:

* get_base_type could erroneously throw; this was rewritten to move
  the size checks into the only spot needing them.
* Previously the "symbol needs frame" implementation reused th
  "cfa" function for the get_frame_pc slot; this reimplements
  it under the correct name.
* Not enough members were saved and restored in one implementation
  of push_dwarf_reg_entry_value; this patch fixes this oversight
  and also takes the opportunity to remove an extraneous structure
  definition.

2016-11-02  Tom Tromey  <tom@tromey.com>

	* dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type): Rename
	from impl_get_base_type.  Rewrite.
	(struct dwarf_expr_baton): Remove.
	(dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Save and
	restore more fields.
	(symbol_needs_eval_context::get_frame_pc): New method.
	* dwarf2expr.h (dwarf_expr_context::get_base_type): Now public,
	virtual.
	(dwarf_expr_context::impl_get_base_type): Remove.
	* dwarf2expr.c (dwarf_expr_context::get_base_type): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Enable Intel AVX512_4VNNIW instructions
@ 2016-11-02 19:49 sergiodj+buildbot
  2016-11-09 11:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-02 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 47acf0bd9faef8634d242e19ec3b7f784d10ba76 ***

Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Branch: master
Commit: 47acf0bd9faef8634d242e19ec3b7f784d10ba76

Enable Intel AVX512_4VNNIW instructions

gas/

	* config/tc-i386.c: (cpu_arch) Add .avx512_4vnniw.
	(cpu_noarch): Add noavx512_4vnniw.
	* doc/c-i386.texi: Document avx512_4vnniw, noavx512_4vnniw.
	* testsuite/gas/i386/i386.exp: Run AVX512_4VNNIW tests.
	* testsuite/gas/i386/avx512_4vnniwd_vl-intel.d: New test.
	* testsuite/gas/i386/avx512_4vnniwd_vl.d: Ditto.
	* testsuite/gas/i386/avx512_4vnniwd_vl.s: Ditto.
	* testsuite/gas/i386/avx512_4vnniwd-intel.d: Ditto.
	* testsuite/gas/i386/avx512_4vnniwd.d: Ditto.
	* testsuite/gas/i386/avx512_4vnniwd.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4vnniwd.s: Ditto.

opcodes/

	* i386-dis.c (enum): Add PREFIX_EVEX_0F3852, PREFIX_EVEX_0F3853.
	* i386-dis-evex.h (evex_table): Updated.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4VNNIW_FLAGS,
	CPU_ANY_AVX512_4VNNIW_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
	(cpu_flags): Add CpuAVX512_4VNNIW.
	* i386-opc.h (enum): (AVX512_4VNNIW): New.
	(i386_cpu_flags): Add cpuavx512_4vnniw.
	* i386-opc.tbl: Add Intel AVX512_4VNNIW instructions.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Ditto.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Enable Intel AVX512_4FMAPS instructions
@ 2016-11-02 19:39 sergiodj+buildbot
  2016-11-09  7:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-02 19:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 920d2ddccb72a366140ed28283165b274f7a9045 ***

Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Branch: master
Commit: 920d2ddccb72a366140ed28283165b274f7a9045

Enable Intel AVX512_4FMAPS instructions

gas/

	* config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
	(cpu_noarch): Add noavx512_4fmaps.
	(process_operands): Handle implicit quad group.
	* doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
	* testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
	* testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
	* testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.

opcodes/

	* i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
	PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
	* i386-dis-evex.h (evex_table): Updated.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
	CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
	(cpu_flags): Add CpuAVX512_4FMAPS.
	(opcode_modifiers): Add ImplicitQuadGroup modifier.
	* i386-opc.h (AVX512_4FMAP): New.
	(i386_cpu_flags): Add cpuavx512_4fmaps.
	(ImplicitQuadGroup): New.
	(i386_opcode_modifier): Add implicitquadgroup.
	* i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Ditto.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup'
@ 2016-11-01 23:28 sergiodj+buildbot
  2016-11-09  4:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-01 23:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af955fe696088e69b436947b4a6f134567d31793 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: af955fe696088e69b436947b4a6f134567d31793

BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup'

Break out of the outer switch statement once the inner switch for the
BFD_RELOC_CTOR relocation has been processed, preventing double BFD_FAIL
calls from being made, once from the inner switch and then again from
the default case of the outer switch.

Noticed with a `-Wimplicit-fallthrough' build error reported by a recent
GCC version:

In file included from .../bfd/reloc.c:52:0:
.../bfd/reloc.c: In function 'bfd_default_reloc_type_lookup':
.../bfd/libbfd.h:779:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
   do { bfd_assert(__FILE__,__LINE__); } while (0)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../bfd/reloc.c:7780:4: note: in expansion of macro 'BFD_FAIL'
    BFD_FAIL ();
    ^~~~~~~~
.../bfd/reloc.c:7782:5: note: here
     default:
     ^~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [reloc.lo] Error 1

	bfd/
	* reloc.c (bfd_default_reloc_type_lookup) <BFD_RELOC_CTOR>: Do
	not fall through to the default case.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add support for RISC-V architecture.
@ 2016-11-01 17:00 sergiodj+buildbot
  2016-11-09  1:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-11-01 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e23eba971dd409b999dd83d8df0f842680c1c642 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e23eba971dd409b999dd83d8df0f842680c1c642

Add support for RISC-V architecture.

bfd	* Makefile.am: Add entries for riscv32-elf and riscv64-elf.
	* config.bdf: Likewise.
	* configure.ac: Likewise.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* archures.c: Add bfd_riscv_arch.
	* reloc.c: Add riscv relocs.
	* targets.c: Add riscv_elf32_vec and riscv_elf64_vec.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elf-bfd.h: Add RISCV_ELF_DATA to enum elf_target_id.
	* elfnn-riscv.c: New file.
	* elfxx-riscv.c: New file.
	* elfxx-riscv.h: New file.

binutils* readelf.c (guess_is_rela): Add EM_RISCV.
	(get_machine_name): Likewise.
	(dump_relocations): Add support for riscv relocations.
	(get_machine_flags): Add support for riscv flags.
	(is_32bit_abs_reloc): Add R_RISCV_32.
	(is_64bit_abs_reloc): Add R_RISCV_64.
	(is_none_reloc): Add R_RISCV_NONE.
	* testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
	Expect the debug_ranges test to fail.

gas	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this architecture.
	* configure.in: Define a default architecture.
	* configure: Regenerate.
	* configure.tgt: Add entries for riscv.
	* doc/as.texinfo: Likewise.
	* testsuite/gas/all/gas.exp: Expect the redef tests to fail.
	* testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
	* config/tc-riscv.c: New file.
	* config/tc-riscv.h: New file.
	* doc/c-riscv.texi: New file.
	* testsuite/gas/riscv: New directory.
	* testsuite/gas/riscv/riscv.exp: New file.
	* testsuite/gas/riscv/t_insns.d: New file.
	* testsuite/gas/riscv/t_insns.s: New file.

ld	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this target.
	* configure.tgt: Add riscv entries.
	* emulparams/elf32lriscv-defs.sh: New file.
	* emulparams/elf32lriscv.sh: New file.
	* emulparams/elf64lriscv-defs.sh: New file.
	* emulparams/elf64lriscv.sh: New file.
	* emultempl/riscvelf.em: New file.

opcodes	* configure.ac: Add entry for bfd_riscv_arch.
	* configure: Regenerate.
	* disassemble.c (disassembler): Add support for riscv.
	(disassembler_usage): Likewise.
	* riscv-dis.c: New file.
	* riscv-opc.c: New file.

include	* dis-asm.h: Add prototypes for print_insn_riscv and
	print_riscv_disassembler_options.
	* elf/riscv.h: New file.
	* opcode/riscv-opc.h: New file.
	* opcode/riscv.h: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
@ 2016-10-31 19:02 sergiodj+buildbot
  2016-11-08 21:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 19:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c50730217d606814cda69a2bb6975730c0f1ee63 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c50730217d606814cda69a2bb6975730c0f1ee63

Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround

Complement commit 3831839c089c ("Delete IRIX support") and remove the
IRIX 5 <sys/proc.h> _KMEMUSER workaround from the `configure' script, as
IRIX is no longer a supported host configuration.

	gdb/
	* configure.ac <mips-sgi-irix5*>: Remove <sys/proc.h> _KMEMUSER
	workaround.
	* configure: Regenerate.
	* config.in: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS: Remove remains of legacy remote target support
@ 2016-10-31 18:27 sergiodj+buildbot
  2016-11-08 18:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8

MIPS: Remove remains of legacy remote target support

Complement commit f7c382926d78 ("Remove support for "target m32rsdi" and
"target mips/pmon/ddb/rockhopper/lsi"") and remove dead MIPS target code
which used to support these legacy remote targets.

	gdb/
	* mips-tdep.c (mips_r3041_reg_names): Remove.
	(mips_breakpoint_from_pc): Remove IDT and PMON breakpoint
	encodings.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] MIPS: Remove remains of IRIX OS ABI support
@ 2016-10-31 17:24 sergiodj+buildbot
  2016-11-08 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de4bfa865e5ea54f2ab5b7af53e4abe825da699e ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: de4bfa865e5ea54f2ab5b7af53e4abe825da699e

MIPS: Remove remains of IRIX OS ABI support

Complement commit 3831839c089c ("Delete IRIX support") and remove dead
MIPS target IRIX OS ABI support code.

	gdb/
	* defs.h (gdb_osabi): Remove GDB_OSABI_IRIX enum value.
	* osabi.c (gdb_osabi_names): Remove "Irix" entry.
	* mips-tdep.c (mips_irix_reg_names): Remove.
	(mips_register_type): Remove GDB_OSABI_IRIX code.
	(mips_pseudo_register_type): Likewise.
	(mips_breakpoint_from_pc): Likewise.
	(mips_gdbarch_init): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Revert part "Set dynamic tag VMA and size from dynamic section when possible"
@ 2016-10-31  4:04 sergiodj+buildbot
  2016-11-08 11:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-31  4:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c646b02fdcae5f37bd88f33a0c4683ef13ad5c82 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: c646b02fdcae5f37bd88f33a0c4683ef13ad5c82

Revert part "Set dynamic tag VMA and size from dynamic section when possible"

	PR 20748
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Revert
	2016-05-13 change.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/NEWS: Clarify C++ requirement
@ 2016-10-29 17:56 sergiodj+buildbot
  2016-11-08  2:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6485aafde098bf182b46cb187d8fd049f309e29 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: e6485aafde098bf182b46cb187d8fd049f309e29

gdb/NEWS: Clarify C++ requirement

gdb/ChangeLog:
2016-10-29  Pedro Alves  <palves@redhat.com>

	* NEWS: Clarify C++ requirement.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Support command-line redirection in native MS-Windows debugging
@ 2016-10-29 16:13 sergiodj+buildbot
  2016-11-07 21:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ba42bc5da8015fd0bd9e7f021af9cb0ef252005 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 8ba42bc5da8015fd0bd9e7f021af9cb0ef252005

Support command-line redirection in native MS-Windows debugging

gdb/ChangeLog
2016-10-29  Eli Zaretskii  <eliz@gnu.org>

	* NEWS: Mention support for redirection on MS-Windows.

	* windows-nat.c (redir_open, redir_set_redirection)
	(redirect_inferior_handles) [!__CYGWIN__]: New functions.
	(windows_create_inferior) [!__CYGWIN__]: Use
	'redirect_inferior_handles' to redirect standard handles of the
	debuggee if the command line requests that.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive
@ 2016-10-28 16:20 sergiodj+buildbot
  2016-11-07 18:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 16:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87106a7b0a3c403832f15aa316d5d6d2434e323f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 87106a7b0a3c403832f15aa316d5d6d2434e323f

gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive

This macro throws C++11 code at the compiler in order to check whether
it supports C++11.  final/override, rvalue references, static_assert,
decltype, auto, constexpr, etc., and adds -std=gnu++11 to CXX if
necessary.

Nothing uses the macro yet.  Simply adding it as separate preliminary
step because we'll need local changes.

gdb/ChangeLog
2016-10-28  Pedro Alves  <palves@redhat.com>

	* ax_cxx_compile_stdcxx.m4: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp'
@ 2016-10-28 15:46 sergiodj+buildbot
  2016-11-07 10:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 15:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725

gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp'

Fixes:

 PASS: gdb.base/maint.exp: maint w/o args
 ERROR: internal buffer is full.
 UNRESOLVED: gdb.base/maint.exp: maint info line-table w/o a file name

The problem is just many symtabs and long line tables, enough to
overflow the expect buffer.  Fix this by matching input incrementally.

gdb/testsuite/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* gdb.base/maint.exp <maint info line-table w/o a file name>: Use
	gdb_test_multiple, tighten regexps and match symtabs and line
	tables incrementally.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make gdb.base/foll-exec.exp test pattern more general
@ 2016-10-28 15:01 sergiodj+buildbot
  2016-11-07  5:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 15:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b129b0cacd4c8e982605b7c8d99e96c74155882a ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: b129b0cacd4c8e982605b7c8d99e96c74155882a

Make gdb.base/foll-exec.exp test pattern more general

Testing a powerpc toolchain running gdbserver on the other end i noticed a
failure in gdb.base/foll-exec.exp.  Turns out gdb is outputting a slightly
different pattern due to the presence of debug information.

--
foll-exec is about to execlp(execd-prog)...^M
Continuing.^M
process 21222 is executing new program: gdb.d/outputs/gdb.base/foll-exec/execd-prog^M
^M
Catchpoint 2 (exec'd gdb.d/outputs/gdb.base/foll-exec/execd-prog), _start () at ../sysdeps/powerpc/powerpc32/dl-start.S:32^M
--

Notice the presence of source file information.

Now, on my local machine, i get this:

--
foll-exec is about to execlp(execd-prog)...^M
Continuing.^M
process 9285 is executing new program: gdb/testsuite/outputs/gdb.base/foll-exec/execd-prog^M
^M
Catchpoint 2 (exec'd gdb/testsuite/outputs/gdb.base/foll-exec/execd-prog), 0x00007ffff7dd7cc0 in ?? () from /lib64/ld-linux-x86-64.so.2^M
--

So the output differs slightly and the testcase is actually expecting only
the second form with the "in" anchor.

This patch removes the "in" pattern and lets the test match both kinds of
output.

gdb/testsuite/ChangeLog:

2016-10-28  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
	general.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix gdb.base/maint.exp regressions
@ 2016-10-28 14:01 sergiodj+buildbot
  2016-11-07  1:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44d83468ec8e5fccf904d66b752ac36e07d66c56 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 44d83468ec8e5fccf904d66b752ac36e07d66c56

Fix gdb.base/maint.exp regressions

This commit fixes these regressions:

 FAIL: gdb.base/maint.exp: mt set per on for expand-symtabs
 FAIL: gdb.base/maint.exp: maint set per-command on

caused by commit 1e3b796d58ac ("Change command stats reporting to use
class").

gdb.log shows that the command stats are now printing garbage:

 (gdb) mt set per on
 Command execution time: -6.-419590 (cpu), 1467139648.-7706296840 (wall)
 Space used: 9809920 (-33276528 for this command)
 (gdb) FAIL: gdb.base/maint.exp: mt set per on for expand-symtabs

while there should have been no output at all.

The stats printing is done from within the scoped_command_stats's
destructor, depending on whether some flags in the object are set.
The problem is simply that scoped_command_stats's ctor misses clearing
those flags on some paths.

Since scoped_command_stats objects are allocated on the stack, whether
you'll see the regression simply depends on whatever happens to
already be on the stack space the object occupies.

gdb/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* maint.c (scoped_command_stats::scoped_command_stats): Clear
	m_space_enabled, m_time_enabled and m_symtab_enabled.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: bridge gaps
@ 2016-10-28 12:51 sergiodj+buildbot
  2016-11-06 21:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d87fdac3591d57c1a667b9d2dfeb05e3198b0b53 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: d87fdac3591d57c1a667b9d2dfeb05e3198b0b53

btrace: bridge gaps

Most of the time, the trace should be in one piece.  This case is handled fine
by GDB.  In some cases, however, there may be gaps in the trace.  They result
from trace decode errors or from overflows.

A gap in the trace means we lost an unknown amount of trace.  Gaps can be very
small, such as a few instructions in the same function, or they can be rather
big.  We may, for example, lose a few function calls or returns.  The trace may
continue in a different function and we likely don't know how we got there.

Even though we can't say how the program executed across a gap, higher levels
may not be impacted too much by it.  Let's assume we have functions a-e and a
trace that looks roughly like this:

  a
   \
    b                    b
     \                  /
      c   <gap>        c
                      /
                 d   d
                  \ /
                   e

Even though we can't say for sure, it is likely that b and c are the same
function instance before and after the gap.  This patch is trying to connect
the c and b function segments across the gap.

This will add a to the back trace of b on the right hand side.  The changes are
reflected in GDB's internal representation of the trace and will improve:

  - the output of "record function-call-history /c"
  - the output of "backtrace" in replay mode
  - source stepping in replay mode
    will be improved indirectly via the improved back trace

I don't have an automated test for this patch; decode errors will be fixed and
overflows occur sporadically and are quite rare.  I tested it by hacking GDB to
provoke a decode error and on the expected gap in the gdb.btrace/dlopen.exp
test.

The issue is that we can't predict where we will be able to re-sync in case of
errors.  For the expected decode error in gdb.btrace/dlopen.exp, for example, we
may be able to re-sync somewhere in dlclose, in test, in main, or not at all.

Here's one example run of gdb.btrace/dlopen.exp with and without this patch.

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Non-contiguous trace at instruction 66608 (offset = 0xa83, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66652 (offset = 0xa9b, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66770 (offset = 0xacb, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66966 (offset = 0xb60, pc = 0xb7ff5ee4).
    warning: Non-contiguous trace at instruction 66994 (offset = 0xb74, pc = 0xb7ff5f24).
    warning: Non-contiguous trace at instruction 67334 (offset = 0xbac, pc = 0xb7ff5e6d).
    warning: Non-contiguous trace at instruction 69022 (offset = 0xc04, pc = 0xb7ff60b3).
    warning: Non-contiguous trace at instruction 69116 (offset = 0xc1c, pc = 0xb7ff60b3).
    warning: Non-contiguous trace at instruction 69504 (offset = 0xc74, pc = 0xb7ff605d).
    warning: Non-contiguous trace at instruction 83648 (offset = 0xecc, pc = 0xb7ff6134).
    warning: Decode error (-13) at instruction 83876 (offset = 0xf48, pc = 0xb7fd6380): no memory mapped at this address.
    warning: Non-contiguous trace at instruction 83876 (offset = 0x11b7, pc = 0xb7ff1c70).
    Recorded 83948 instructions in 912 functions (12 gaps) for thread 1 (process 12996).
    (gdb) record instruction-history 83876, +2
    83876   => 0xb7fec46f <call_init.part.0+95>:    call   *%eax
    [decode error (-13): no memory mapped at this address]
    [disabled]
    83877      0xb7ff1c70 <_dl_close_worker.part.0+1584>:   nop

Without the patch, the trace is disconnected and the backtrace is short:

    (gdb) record goto 83876
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    #1  0xb7fec5d0 in _dl_init () from /lib/ld-linux.so.2
    #2  0xb7ff0fe3 in dl_open_worker () from /lib/ld-linux.so.2
    Backtrace stopped: not enough registers or memory available to unwind further
    (gdb) record goto 83877
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    #1  0xb7ff287a in _dl_close () from /lib/ld-linux.so.2
    #2  0xb7fc3d5d in dlclose_doit () from /lib/libdl.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #5  0xb7fc3d98 in dlclose () from /lib/libdl.so.2
    #6  0x0804860a in test ()
    #7  0x08048628 in main ()

With the patch, GDB is able to connect the trace pieces and we get a full
backtrace.

    (gdb) record goto 83876
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    #1  0xb7fec5d0 in _dl_init () from /lib/ld-linux.so.2
    #2  0xb7ff0fe3 in dl_open_worker () from /lib/ld-linux.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7ff02e2 in _dl_open () from /lib/ld-linux.so.2
    #5  0xb7fc3c65 in dlopen_doit () from /lib/libdl.so.2
    #6  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #7  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #8  0xb7fc3d0e in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
    #9  0xb7ff28ee in _dl_runtime_resolve () from /lib/ld-linux.so.2
    #10 0x0804841c in ?? ()
    #11 0x08048470 in dlopen@plt ()
    #12 0x080485a3 in test ()
    #13 0x08048628 in main ()
    (gdb) record goto 83877
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    #1  0xb7ff287a in _dl_close () from /lib/ld-linux.so.2
    #2  0xb7fc3d5d in dlclose_doit () from /lib/libdl.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #5  0xb7fc3d98 in dlclose () from /lib/libdl.so.2
    #6  0x0804860a in test ()
    #7  0x08048628 in main ()

It worked nicely in this case but it may, of course, also lead to weird
connections; it is a heuristic, after all.

It works best when the gap is small and the trace pieces are long.

gdb/
	* btrace.c (bfun_s): New typedef.
	(ftrace_update_caller): Print caller in debug dump.
	(ftrace_get_caller, ftrace_match_backtrace, ftrace_fixup_level)
	(ftrace_compute_global_level_offset, ftrace_connect_bfun)
	(ftrace_connect_backtrace, ftrace_bridge_gap, btrace_bridge_gaps): New.
	(btrace_compute_ftrace_bts): Pass vector of gaps.  Collect gaps.
	(btrace_compute_ftrace_pt): Likewise.
	(btrace_compute_ftrace): Split into this, ...
	(btrace_compute_ftrace_1): ... this, and ...
	(btrace_finalize_ftrace): ... this.  Call btrace_bridge_gaps.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: preserve function level for unexpected returns
@ 2016-10-28 12:08 sergiodj+buildbot
  2016-11-06 18:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 259ba1e8acfd5ade4b6fa81e68a5e694e438fa28 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 259ba1e8acfd5ade4b6fa81e68a5e694e438fa28

btrace: preserve function level for unexpected returns

When encountering a return for which we have not seen a corresponding call, GDB
starts a new back trace from level -1, i.e. from the level of the first function
in the trace.

In the presence of trace gaps, this may cause some rather big jump.

    (gdb) record function-call-history /c 192, +8
    192	                                          sbrk
    193	                                            brk
    194	                                              __x86.get_pc_thunk.bx
    195	                                            brk
    196	                                              __kernel_vsyscall
    197	[disabled]
    198	                                              __kernel_vsyscall
    199	        brk
    200	      sbrk

This doesn't help to make things more clear.  Let's remain on the same level
instead.

    (gdb) record function-call-history /c 192, +8
    192	      sbrk
    193	        brk
    194	          __x86.get_pc_thunk.bx
    195	        brk
    196	          __kernel_vsyscall
    197	[disabled]
    198	          __kernel_vsyscall
    199	        brk
    200	      sbrk

In this case it will look like we were able to connect the trace parts across
the disabled gap.  We were not.  More work is required to achieve this.

In the general case, the function-call history for the two trace parts won't
match.  They may be off by a few levels or they may be entirely different.  All
this patch does is to preserve the indentation level of the record
function-call-history command.

The disabled gap is caused by a sysenter not returning to the next instruction.

    (gdb) record function-call-history /i 196, +1
    196     __kernel_vsyscall       inst 66515,66519
    (gdb) record instruction-history 66515
    66515      0xb7fdcbf8 <__kernel_vsyscall+0>:    push   %ecx
    66516      0xb7fdcbf9 <__kernel_vsyscall+1>:    push   %edx
    66517      0xb7fdcbfa <__kernel_vsyscall+2>:    push   %ebp
    66518      0xb7fdcbfb <__kernel_vsyscall+3>:    mov    %esp,%ebp
    66519      0xb7fdcbfd <__kernel_vsyscall+5>:    sysenter
    [disabled]
    66520      0xb7fdcc08 <__kernel_vsyscall+16>:   pop    %ebp
    66521      0xb7fdcc09 <__kernel_vsyscall+17>:   pop    %edx
    66522      0xb7fdcc0a <__kernel_vsyscall+18>:   pop    %ecx
    66523      0xb7fdcc0b <__kernel_vsyscall+19>:   ret
    66524      0xb7e8e09e <brk+30>: xchg   %ecx,%ebx
    (gdb) disassemble 0xb7fdcbf8, 0xb7fdcc0c
    Dump of assembler code from 0xb7fdcbf8 to 0xb7fdcc0c:
       0xb7fdcbf8 <__kernel_vsyscall+0>:    push   %ecx
       0xb7fdcbf9 <__kernel_vsyscall+1>:    push   %edx
       0xb7fdcbfa <__kernel_vsyscall+2>:    push   %ebp
       0xb7fdcbfb <__kernel_vsyscall+3>:    mov    %esp,%ebp
       0xb7fdcbfd <__kernel_vsyscall+5>:    sysenter
       0xb7fdcbff <__kernel_vsyscall+7>:    nop
       0xb7fdcc00 <__kernel_vsyscall+8>:    nop
       0xb7fdcc01 <__kernel_vsyscall+9>:    nop
       0xb7fdcc02 <__kernel_vsyscall+10>:   nop
       0xb7fdcc03 <__kernel_vsyscall+11>:   nop
       0xb7fdcc04 <__kernel_vsyscall+12>:   nop
       0xb7fdcc05 <__kernel_vsyscall+13>:   nop
       0xb7fdcc06 <__kernel_vsyscall+14>:   int    $0x80
       0xb7fdcc08 <__kernel_vsyscall+16>:   pop    %ebp
       0xb7fdcc09 <__kernel_vsyscall+17>:   pop    %edx
       0xb7fdcc0a <__kernel_vsyscall+18>:   pop    %ecx
       0xb7fdcc0b <__kernel_vsyscall+19>:   ret
    End of assembler dump.

I've seen this on 32-bit Fedora 23.  I have not investigated what causes this
and whether we can avoid the gap in the first place.  Let's first try to make
GDB handle such gaps more gracefully.

gdb/
	* btrace.c (ftrace_new_return): Start from the previous function's level
	if we can't find a matching call for a return.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: update tail call heuristic
@ 2016-10-28 11:31 sergiodj+buildbot
  2016-11-06 13:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 11:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2dfdb47abd418aac05380482093a87e763ab0a05 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 2dfdb47abd418aac05380482093a87e763ab0a05

btrace: update tail call heuristic

An unconditional jump to the start of a function typically indicates a tail
call.

If we can't determine the start of the function at the destination address, we
used to treat it as a tail call, as well.  This results in lots of tail calls
for code for which we don't have symbol information.

Restrict the heuristic to only consider jumps as tail calls that switch
functions in the case where we can't determine the start of a function.  This
effectively disables tail call detection for code without symbol information.

gdb/
	* btrace.c (ftrace_update_function): Update tail call heuristic.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: allow leading trace gaps
@ 2016-10-28 10:04 sergiodj+buildbot
  2016-11-06 12:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 10:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b61ce85cc54bf4acc86714cacd10d6f9f7e89d1b ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: b61ce85cc54bf4acc86714cacd10d6f9f7e89d1b

btrace: allow leading trace gaps

GDB ignores trace gaps from decode errors or overflows at the beginning of the
trace.  There isn't really a gap in the trace; the trace just starts a bit
later than expected.

In cases where there is no trace at all or where the trace is smaller than
expected, this may hide the reason for the missing trace.

Allow leading trace gaps.  They will be shown as decode warnings and by the
record function-call-history command.

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Decode error (-6) at instruction 0 (offset = 0x58, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 0 (offset = 0xb0, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 0 (offset = 0x168, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xe08, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xe60, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xed8, pc = 0x0): unexpected packet context.
    Recorded 91582 instructions in 1111 functions (6 gaps) for thread 1 (process 15710).
    (gdb) record function-call-history /c 1
    1       [decode error (-6): unexpected packet context]
    2       [decode error (-6): unexpected packet context]
    3       [decode error (-6): unexpected packet context]
    4           _dl_addr
    5             ??
    6           _dl_addr
    7         ??
    8           ??
    9         ??
    10      ??

Leading trace gaps will not be shown by the record instruction-history command
without further changes.

gdb/
	* btrace.c (btrace_compute_ftrace_bts, ftrace_add_pt): Allow leading gaps.
	* record-btrace.c (record_btrace_single_step_forward)
	(record_btrace_single_step_backward): Jump back to last instruction if
	step ends at a gap.
	(record_btrace_goto_begin): Skip gaps.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: fix gap indication
@ 2016-10-28  9:54 sergiodj+buildbot
  2016-11-06  7:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-28  9:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63ab433e29b2715f429551cdbec72dab0d752c20 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 63ab433e29b2715f429551cdbec72dab0d752c20

btrace: fix gap indication

Trace gaps due to overflows or non-contiguous trace are ignored in the 'info
record' command.  Fix that.

Also add a warning when decoding the trace and print the instruction number
preceding the trace gap in that warning message.  It looks like this:

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Decode error (-13) at instruction 101044 (offset = 0x29f0, pc = 0x7ffff728a642): no memory mapped at this address.
    Recorded 101044 instructions in 2093 functions (1 gaps) for thread 1 (process 5360).
    (gdb) record instruction-history 101044
    101044     0x00007ffff728a640:  pop    %r13
    [decode error (-13): no memory mapped at this address]

Remove the dead code that was supposed to print a gaps warning at the end of
trace decode.  This isn't really needed since we now print a warning for each
gap.

gdb/
	* btrace.c (ftrace_add_pt): Fix gap indication.  Add warning for non-
	contiguous trace and overflow.  Rephrase trace decode warning and print
	instruction number.  Remove dead gaps warning.
	(btrace_compute_ftrace_bts): Rephrase warnings and print instruction
	number.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Enable range stepping if software single step is supported
@ 2016-10-27 17:39 sergiodj+buildbot
  2016-11-06  4:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c38058942ececeb32c381a838a10277ba43be94c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c38058942ececeb32c381a838a10277ba43be94c

Enable range stepping if software single step is supported

If the target can do software single step, it can do range
stepping.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_supports_agent): Return true if
	can_software_single_step return true.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Get pending events in random
@ 2016-10-27 17:15 sergiodj+buildbot
  2016-11-06  1:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 17:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 89342618773b64db3e67701c0cd9dd89cdbbc18a ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 89342618773b64db3e67701c0cd9dd89cdbbc18a

Get pending events in random

Nowadays, we select events to be reported to GDB in random, however
that is not enough when many GDBserver internal events (not reported
to GDB) are generated.

GDBserver pulls all events out of kernel via waitpid, and leave them
pending.  When goes through threads which have pending events,
GDBserver uses find_inferior to find the first thread which has
pending event, and consumes it.  Note that find_inferior always
iterate threads in a fixed order.  If multiple threads keep hitting
GDBserver breakpoints, range stepping with single-step breakpoint for
example, threads in the head of the thread list are more likely to be
processed and threads in the tail are starved.  This causes some timeout
fails in gdb.threads/non-stop-fair-events.exp when range stepping is
enabled on arm-linux.

This patch fixes this issue by randomly selecting pending events.  It
adds a new function find_inferior_in_random, which iterates threads
which have pending events randomly.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* inferiors.c (find_inferior_in_random): New function.
	* inferiors.h (find_inferior_in_random): Declare.
	* linux-low.c (linux_wait_for_event_filtered): Call
	find_inferior_in_random instead of find_inferior.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove single-step breakpoint for GDBserver internal event
@ 2016-10-27 15:49 sergiodj+buildbot
  2016-11-05 21:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 15:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3652c8460a6247f50e24deaca1c1c1c0e2a2573 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: e3652c8460a6247f50e24deaca1c1c1c0e2a2573

Remove single-step breakpoint for GDBserver internal event

This patch removes single-step breakpoints if the event is only
GDBserver internal, IOW, isn't reported back to GDB.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_wait_1): If single-step breakpoints are
	inserted, remove them.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Coalesce/aggregate (async) vCont packets/actions
@ 2016-10-27 13:09 sergiodj+buildbot
  2016-11-05  4:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 13:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 85ad3aaf403d2104c82010494d3d4a93a36e2e6f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 85ad3aaf403d2104c82010494d3d4a93a36e2e6f

gdb: Coalesce/aggregate (async) vCont packets/actions

Currently, with "maint set target-non-stop on", that is, when gdb
connects with the non-stop/asynchronous variant of the remote
protocol, even with "set non-stop off", GDB always sends one vCont
packet per thread resumed.  This patch makes GDB aggregate and
coalesce vCont packets, so we send vCont packets like "vCont;s:p1.1;c"
in non-stop mode too.

Basically, this is done by:

  - Adding a new target method target_commit_resume that is called
    after calling target_resume one or more times.  When resuming a
    batch of threads, we'll only call target_commit_resume once after
    calling target_resume for all threads.

  - Making the remote target defer sending the actual vCont packet to
    target_commit_resume.

Special care must be taken to avoid sending a vCont action with a
"wildcard" thread-id (all threads of process / all threads) when that
would resume threads/processes that should not be resumed.  See
remote_commit_resume comments for details.

Unlike all-stop's remote_resume implementation, this handles the case
of too many actions resulting in a too-big vCont packet, by flushing
the vCont packet and starting a new one.

E.g., imagining that the "c" action in:

  vCont;s:1;c

overflows the packet buffer, we split the actions like:

  vCont;s:1
  vCont;c

Tested on x86_64 Fedora 20, with and without "maint set
target-non-stop on".

Also tested with a hack that makes remote_commit_resume flush the vCont
packet after every action appended (which caught a few bugs).

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* inferior.h (ALL_NON_EXITED_INFERIORS): New macro.
	* infrun.c (do_target_resume): Call target_commit_resume.
	(proceed): Defer target_commit_resume while looping over threads,
	resuming them.  Call target_commit_resume at the end.
	* record-btrace.c (record_btrace_commit_resume): New function.
	(init_record_btrace_ops): Install it as to_commit_resume method.
	* record-full.c (record_full_commit_resume): New function.
	(record_full_wait_1): Call the beneath target's to_commit_resume
	method.
	(init_record_full_ops): Install record_full_commit_resume as
	to_commit_resume method.
	* remote.c (struct private_thread_info) <last_resume_step,
	last_resume_sig, vcont_resumed>: New fields.
	(remote_add_thread): Set the new thread's vcont_resumed flag.
	(demand_private_info): Delete.
	(get_private_info_thread, get_private_info_ptid): New functions.
	(remote_update_thread_list): Adjust.
	(process_initial_stop_replies): Clear the thread's vcont_resumed
	flag.
	(remote_resume): If connected in non-stop mode, record the resume
	request and return early.
	(struct private_inferior): New.
	(struct vcont_builder): New.
	(vcont_builder_restart, vcont_builder_flush)
	(vcont_builder_push_action): New functions.
	(MAX_ACTION_SIZE): New macro.
	(remote_commit_resume): New function.
	(thread_pending_fork_status, is_pending_fork_parent_thread): New
	functions.
	(check_pending_event_prevents_wildcard_vcont_callback)
	(check_pending_events_prevent_wildcard_vcont): New functions.
	(process_stop_reply): Adjust.  Clear the thread's vcont_resumed
	flag.
	(init_remote_ops): Install remote_commit_resume.
	* target-delegates.c: Regenerate.
	* target.c (defer_target_commit_resume): New global.
	(target_commit_resume, make_cleanup_defer_target_commit_resume):
	New functions.
	* target.h (struct target_ops) <to_commit_resume>: New field.
	(target_resume): Update comments.
	(target_commit_resume): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gas/arc: Don't rely on bfd list of cpu type for cpu selection
@ 2016-10-27 12:23 sergiodj+buildbot
  2016-11-05 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 12:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb65a718b601ecfebd1ebe5be71728d5c359c31f ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: bb65a718b601ecfebd1ebe5be71728d5c359c31f

gas/arc: Don't rely on bfd list of cpu type for cpu selection

In the ARC assembler, when a cpu type is specified using the .cpu
directive, we rely on the bfd list of arc machine types in order to
validate the cpu name passed in.

This validation is only used in order to check that the cpu type passed
to the .cpu directive matches any machine type selected earlier on the
command line.  Once that initial check has passed a full check is
performed using the assemblers internal list of know cpu types.

The problem is that the assembler knows about more cpu types than bfd,
some cpu types known by the assembler are actually aliases for a base
cpu type plus a specific set of assembler extensions.  One such example
is NPS400, though more could be added later.

This commit removes the need for the assembler to use the bfd list of
machine types for validation.  Instead the error checking, to ensure
that any value passed to a '.cpu' directive matches any earlier command
line selection, is moved into the function arc_select_cpu.

I have taken the opportunity to bundle the 4 separate static globals
that describe the currently selected machine type into a single
structure (called selected_cpu).

gas/ChangeLog:

	* config/tc-arc.c (arc_target): Delete.
	(arc_target_name): Delete.
	(arc_features): Delete.
	(arc_mach_type): Delete.
	(mach_type_specified_p): Delete.
	(enum mach_selection_type): New enum.
	(mach_selection_mode): New static global.
	(selected_cpu): New static global.
	(arc_eflag): Rename to ...
	(arc_initial_eflag): ...this, and make const.
	(arc_select_cpu): Update comment, new parameter, check how
	previous machine type selection was made, and record this
	selection.  Use selected_cpu instead of old globals.
	(arc_option): Remove use of arc_get_mach, instead use
	arc_select_cpu to validate machine type selection.  Use
	selected_cpu over old globals.
	(allocate_tok): Use selected_cpu over old globals.
	(find_opcode_match): Likewise.
	(assemble_tokens): Likewise.
	(arc_cons_fix_new): Likewise.
	(arc_extinsn): Likewise.
	(arc_extcorereg): Likewise.
	(md_begin): Update default machine type selection, use
	selected_cpu over old globals.
	(md_parse_option): Update machine type selection option handling,
	use selected_cpu over old globals.
	* testsuite/gas/arc/nps400-0.s: Add .cpu directive.

bfd/ChangeLog:

	* cpu-arc.c (arc_get_mach): Delete.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR 20569, segv in follow_exec
@ 2016-10-26 23:05 sergiodj+buildbot
  2016-11-05 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 23:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecf45d2cc7667ed4692d07e52fc77a2c9a8adf1c ***

Author: Sandra Loosemore <sandra@codesourcery.com>
Branch: master
Commit: ecf45d2cc7667ed4692d07e52fc77a2c9a8adf1c

PR 20569, segv in follow_exec

The following testcases make GDB crash whenever an invalid sysroot is
provided, when GDB is unable to find a valid path to the symbol file:

 gdb.base/catch-syscall.exp
 gdb.base/execl-update-breakpoints.exp
 gdb.base/foll-exec-mode.exp
 gdb.base/foll-exec.exp
 gdb.base/foll-vfork.exp
 gdb.base/pie-execl.exp
 gdb.multi/bkpt-multi-exec.exp
 gdb.python/py-finish-breakpoint.exp
 gdb.threads/execl.exp
 gdb.threads/non-ldr-exc-1.exp
 gdb.threads/non-ldr-exc-2.exp
 gdb.threads/non-ldr-exc-3.exp
 gdb.threads/non-ldr-exc-4.exp
 gdb.threads/thread-execl.exp

The immediate cause of the segv is that follow_exec is passing a NULL
argument (the result of exec_file_find) to strlen.

However, the problem is deeper than that: follow_exec simply isn't
prepared for the case where sysroot translation fails to locate the
new executable.  Actually all callers of exec_file_find have bugs due
to confusion between host and target pathnames.  This commit attempts
to fix all that.

In terms of the testcases that were formerly segv'ing, GDB now prints
a warning but continues execution of the new program, so that the
tests now mostly FAIL instead.  You could argue the FAILs are due to a
legitimate problem with the test environment setting up the sysroot
translation incorrectly.

A new representative test is added which exercises the ne wwarning
code path even with native testing.

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2016-10-25  Sandra Loosemore  <sandra@codesourcery.com>
	    Luis Machado  <lgustavo@codesourcery.com>
	    Pedro Alves  <palves@redhat.com>

	PR gdb/20569
	* exceptions.c (exception_print_same): Moved here from exec.c.
	* exceptions.h (exception_print_same): Declare.
	* exec.h: Include "symfile-add-flags.h".
	(try_open_exec_file): New declaration.
	* exec.c (exception_print_same): Moved to exceptions.c.
	(try_open_exec_file): New function.
	(exec_file_locate_attach): Rename exec_file and full_exec_path
	variables to avoid confusion between target and host pathnames.
	Move pathname processing logic to exec_file_find.  Do not return
	early if pathname lookup fails; Call try_open_exec_file.
	* infrun.c (follow_exec): Split and rename execd_pathname variable
	to avoid confusion between target and host pathnames.  Warn if
	pathname lookup fails.  Pass target pathname to
	target_follow_exec, not hostpathname.  Call try_open_exec_file.
	* main.c (symbol_file_add_main_adapter): New function.
	(captured_main_1): Use it.
	* solib-svr4.c (open_symbol_file_object): Adjust to pass
	symfile_add_flags to symbol_file_add_main.
	* solib.c (exec_file_find): Incorporate fallback logic for relative
	pathnames formerly in exec_file_locate_attach.
	* symfile.c (symbol_file_add_main, symbol_file_add_main_1):
	Replace 'from_tty' parameter with a symfile_add_file.
	(symbol_file_command): Adjust to pass symfile_add_flags to
	symbol_file_add_main.
	* symfile.h (symbol_file_add_main): Replace 'from_tty' parameter
	with a symfile_add_file.

gdb/testsuite/ChangeLog:
2016-10-25  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/exec-invalid-sysroot.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make symfile_add_flags and objfile->flags strongly typed
@ 2016-10-26 21:33 sergiodj+buildbot
  2016-11-05 10:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 21:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b15cc25cbe7c13e450f77b4a309223b9b3da3936 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b15cc25cbe7c13e450f77b4a309223b9b3da3936

Make symfile_add_flags and objfile->flags strongly typed

This makes these flag types be "enum flag" types.  The benefit is
making use of C++'s stronger typing -- mixing the flags types by
mistake errors at compile time.

This caught one old bug in symbol_file_add_main_1 already, fixed by
this patch as well:

  @@ -1318,7 +1326,7 @@ symbol_file_add_main_1 (const char *args, int from_tty, int flags)
	what is frameless.  */
     reinit_frame_cache ();

  -  if ((flags & SYMFILE_NO_READ) == 0)
  +  if ((add_flags & SYMFILE_NO_READ) == 0)
       set_initial_language ();
   }

Above, "flags" are objfile flags, not symfile_add_flags.  So that was
actually checking for "flag & OBJF_PSYMTABS_READ", which has the same
value as SYMFILE_NO_READ...

I moved the flags definitions to separate files to break circular
dependencies.

Built with --enable-targets=all and tested on x86-64 Fedora 23.

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* coffread.c (coff_symfile_read): Use symfile_add_flags.
	* dbxread.c (dbx_symfile_read): Ditto.
	* elfread.c (elf_symfile_read): Ditto.
	* inferior.h: Include symfile-add-flags.h.
	(struct inferior) <symfile_flags>: Now symfile_add_flags.
	* machoread.c (macho_add_oso_symfile, macho_symfile_read_all_oso)
	(macho_symfile_read, mipscoff_symfile_read): Use
	symfile_add_flags.
	* objfile-flags.h: New file.
	* objfiles.c (allocate_objfile): Use objfile_flags.
	* objfiles.h: Include objfile-flags.h.
	(struct objfile) <flags>: Now an objfile_flags.
	(OBJF_REORDERED, OBJF_SHARED, OBJF_READNOW, OBJF_USERLOADED)
	(OBJF_PSYMTABS_READ, OBJF_MAINLINE, OBJF_NOT_FILENAME): Delete.
	Converted to an enum-flags in objfile-flags.h.
	(allocate_objfile): Use objfile_flags.
	* python/py-objfile.c (objfpy_add_separate_debug_file): Remove
	unnecessary local.
	* solib.c (solib_read_symbols, solib_add)
	(reload_shared_libraries_1): Use symfile_add_flags.
	* solib.h: Include "symfile-add-flags.h".
	(solib_read_symbols): Use symfile_add_flags.
	* symfile-add-flags.h: New file.
	* symfile-debug.c (debug_sym_read): Use symfile_add_flags.
	* symfile-mem.c (symbol_file_add_from_memory): Use
	symfile_add_flags.
	* symfile.c (read_symbols, syms_from_objfile_1)
	(syms_from_objfile, finish_new_objfile): Use symfile_add_flags.
	(symbol_file_add_with_addrs): Use symfile_add_flags and
	objfile_flags.
	(symbol_file_add_separate): Use symfile_add_flags.
	(symbol_file_add_from_bfd, symbol_file_add): Use symfile_add_flags
	and objfile_flags.
	(symbol_file_add_main_1): : Use objfile_flags.  Fix add_flags vs
	flags confusion.
	(symbol_file_command): Use objfile_flags.
	(add_symbol_file_command): Use symfile_add_flags and
	objfile_flags.
	(clear_symtab_users): Use symfile_add_flags.
	* symfile.h: Include "symfile-add-flags.h" and "objfile-flags.h".
	(struct sym_fns) <sym_read>: Use symfile_add_flags.
	(clear_symtab_users): Use symfile_add_flags.
	(enum symfile_add_flags): Delete, moved to symfile-add-flags.h and
	converted to enum-flags.
	(symbol_file_add, symbol_file_add_from_bfd)
	(symbol_file_add_separate): Use symfile_add_flags.
	* xcoffread.c (xcoff_initial_scan): Use symfile_add_flags.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Free inferior->priv when inferior exits
@ 2016-10-26 20:33 sergiodj+buildbot
  2016-11-04 23:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 20:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef4a339527a41802fbab70af25d6e4788f35dcc8 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ef4a339527a41802fbab70af25d6e4788f35dcc8

gdb: Free inferior->priv when inferior exits

(Where "exits" includes being killed or detached.)

Nothing is clearing inferior->priv currently.  This is a problem if we
change the inferior's process_stratum targets in a single debug
session.  This field is currently only used by darwin-nat.c, but a
follow up patch will make remote.c use it too.  Without the fix,
remote.c might end up mistaking the priv object allocated by
darwin-nat.c with its own.

(Found by inspection.)

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* inferior.c (exit_inferior_1): Free 'priv'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdbserver: Leave already-vCont-resumed threads as they were
@ 2016-10-26 18:48 sergiodj+buildbot
  2016-11-05  2:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a04c4cf5df6d13596e79e7b84520cbe245a5a4d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5a04c4cf5df6d13596e79e7b84520cbe245a5a4d

gdbserver: Leave already-vCont-resumed threads as they were

Currently GDB never sends more than one action per vCont packet, when
connected in non-stop mode.  A follow up patch will change that, and
it exposed a gdbserver problem with the vCont handling.

For example, this in non-stop mode:

  => vCont;s:p1.1;c
  <= OK

Should be equivalent to:

  => vCont;s:p1.1
  <= OK
  => vCont;c
  <= OK

But gdbserver currently doesn't handle this.  In the latter case,
"vCont;c" makes gdbserver clobber the previous step request.  This
patch fixes that.

Note the server side must ignore resume actions for the thread that
has a pending %Stopped notification (and any other threads with events
pending), until GDB acks the notification with vStopped.  Otherwise,
e.g., the following case is mishandled:

 #1 => g  (or any other packet)
 #2 <= [registers]
 #3 <= %Stopped T05 thread:p1.2
 #4 => vCont s:p1.1;c
 #5 <= OK

Above, the server must not resume thread p1.2 when it processes the
vCont.  GDB can't know that p1.2 stopped until it acks the %Stopped
notification.  (Otherwise it wouldn't send a default "c" action.)

(The vCont documentation already specifies this.)

Finally, special care must also be given to handling fork/vfork
events.  A (v)fork event actually tells us that two processes stopped
-- the parent and the child.  Until we follow the fork, we must not
resume the child.  Therefore, if we have a pending fork follow, we
must not send a global wildcard resume action (vCont;c).  We can still
send process-wide wildcards though.

(The comments above will be added as code comments to gdb in a follow
up patch.)

gdb/gdbserver/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* linux-low.c (handle_extended_wait): Link parent/child fork
	threads.
	(linux_wait_1): Unlink them.
	(linux_set_resume_request): Ignore resume requests for
	already-resumed and unhandled fork child threads.
	* linux-low.h (struct lwp_info) <fork_relative>: New field.
	* server.c (in_queued_stop_replies_ptid, in_queued_stop_replies):
	New functions.
	(handle_v_requests) <vCont>: Don't call require_running.
	* server.h (in_queued_stop_replies): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Clean up remote.c:remote_resume
@ 2016-10-26 16:05 sergiodj+buildbot
  2016-10-26 19:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b68ffbb32645c5383e74f27248a1c1c7ecd241a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7b68ffbb32645c5383e74f27248a1c1c7ecd241a

gdb: Clean up remote.c:remote_resume

Just some refactoring / TLC.  Mainly split the old c/s/C/S packet
handling to a separate function.

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* remote.c (remote_resume_with_hc): New function, factored out
	from ...
	(remote_resume): ... this.  Always try vCont first.
	(remote_vcont_resume): Rename to ...
	(remote_resume_with_vcont): ... this.  Bail out if execution
	direction is reverse.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs'
@ 2016-10-25  6:28 sergiodj+buildbot
  2016-10-26  1:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-25  6:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea

NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs'

Fix an aliasing build error:

cc1: warnings being treated as errors
.../bfd/elf32-nds32.c: In function 'nds32_elf_check_relocs':
.../bfd/elf32-nds32.c:6644: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [elf32-nds32.lo] Error 1

in a way following commit 6edfbbad0864 ("Fix up gcc4.1 aliasing
warnings"), <https://sourceware.org/ml/binutils/2005-10/msg00071.html>.

	bfd/
	* elf32-nds32.c (nds32_elf_check_relocs): Avoid aliasing warning
	from GCC.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ARM/BFD: Correct an `index' global shadowing error
@ 2016-10-25  5:31 sergiodj+buildbot
  2016-10-25 22:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-25  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c48182bfe408e06e3301ee887fd9a7b06bedff37 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c48182bfe408e06e3301ee887fd9a7b06bedff37

ARM/BFD: Correct an `index' global shadowing error

Fix a commit 5025eb7c0d87 ("Delete relocations associatesd with deleted
exidx entries.") build regression:

cc1: warnings being treated as errors
.../bfd/elf32-arm.c: In function 'elf32_arm_update_relocs':
.../bfd/elf32-arm.c:14951: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[3]: *** [elf32-arm.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	bfd/
	* elf32-arm.c (elf32_arm_update_relocs): Rename `index' local
	variable to `reloc_index'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix duplicate test message in mi-trace-save.exp
@ 2016-10-17 23:24 sergiodj+buildbot
  2016-10-18 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 23:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e42b25a0407fbbf3529815f69bd56a61b1821295 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: e42b25a0407fbbf3529815f69bd56a61b1821295

Fix duplicate test message in mi-trace-save.exp

gdb/testsuite/ChangeLog:

	* gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
	Change test message.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix comment in mi-trace-save.exp
@ 2016-10-17 21:50 sergiodj+buildbot
  2016-10-18  7:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ccdb4324b0dc9fa46ee7cad9b370f8c7c370c3b ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 3ccdb4324b0dc9fa46ee7cad9b370f8c7c370c3b

Fix comment in mi-trace-save.exp

This fixes a comment I forgot to update in the previous patch.

gdb/testsuite/ChangeLog:

	* gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
	Update comment.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix -trace-save crash when argument is missing
@ 2016-10-17 21:05 sergiodj+buildbot
  2016-10-18  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 21:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5bad3170301060ee0801a739ffc213abae664973 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 5bad3170301060ee0801a739ffc213abae664973

Fix -trace-save crash when argument is missing

-trace-save doesn't check whether an argument is passed, leading to a
segfault if you pass nothing.

I added a small test, which only tests the error conditions of
-trace-save.

gdb/ChangeLog:

	* mi/mi-main.c (mi_cmd_trace_save): Check if argument is present
	before using it.

gdb/testsuite/ChangeLog:

	* gdb.trace/mi-trace-save.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix phony iconv build
@ 2016-10-17 16:34 sergiodj+buildbot
  2016-10-18  0:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5562a44eb490b5777c9e786971907c0727d88495 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5562a44eb490b5777c9e786971907c0727d88495

gdb: Fix phony iconv build

Cross building gdb for mingw32 on Fedora 23 fails with:

  x86_64-w64-mingw32-g++ -g -O2  [...]  ../../src/gdb/charset.c
  In file included from ../../src/gdb/charset.c:21:0:
  ../../src/gdb/charset.h:134:3: error: 'iconv_t' does not name a type
     iconv_t m_desc;
     ^
  ../../src/gdb/charset.c: In constructor 'wchar_iterator::wchar_iterator(const gdb_byte*, size_t, const char*, size_t)':
  ../../src/gdb/charset.c:600:3: error: 'm_desc' was not declared in this scope
     m_desc = iconv_open (INTERMEDIATE_ENCODING, charset);
     ^
  ../../src/gdb/charset.c: In destructor 'wchar_iterator::~wchar_iterator()':
  ../../src/gdb/charset.c:607:7: error: 'm_desc' was not declared in this scope
     if (m_desc != (iconv_t) -1)
	 ^
  ../../src/gdb/charset.c: In member function 'int wchar_iterator::iterate(wchar_iterate_result*, gdb_wchar_t**, const gdb_byte**, size_t*)':
  ../../src/gdb/charset.c:633:25: error: 'm_desc' was not declared in this scope
	 size_t r = iconv (m_desc, &inptr, &m_bytes, &outptr, &out_avail);
			   ^

This is a regression caused by commit cda6c55bd399 (Turn wchar
iterator into a class).  The problem is that iconv_t is now exposed in
gdb/charset.h, while before it was only used in gdb/charset.c.

gdb/charset.c, under #ifdef PHONY_ICONV, does:

 #undef iconv_t
 #define iconv_t int

So it seems the simplest is to use 'int' in the header file too.

gdb/ChangeLog:
2016-10-17  Pedro Alves  <palves@redhat.com>

	* charset.h (class wchar_iterator) [PHONY_ICONV] <m_desc>: Use
	'int' as type.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Removed pseudo invalid instructions opcodes.
@ 2016-10-17 13:56 sergiodj+buildbot
  2016-10-17 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT decf5bd1570be3de10aeab99869a9548d17b1354 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: decf5bd1570be3de10aeab99869a9548d17b1354

Removed pseudo invalid instructions opcodes.

The disassember was generating invXXX instructions for cases when in reality we
had llockd or scondd instrutions.

opcodes/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
	arc-tbl.h: Removed any "inv.+" instructions from the table.

gas/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
        testsuite/arc/dis-inv.s: Test to validate patch.
        testsuite/arc/dis-inv.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update list of ELF machine numbers.
@ 2016-10-17 11:03 sergiodj+buildbot
  2016-10-17 16:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d91379408b87b6d0c1cd4bc2880b530cc4ec721 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6d91379408b87b6d0c1cd4bc2880b530cc4ec721

Update list of ELF machine numbers.

include	* elf/common.h (DT_SYMTAB_SHNDX): Define.
	(EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_OPEN8): Define.
	(EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2, EM_XCORE): Define.
	(EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8): Define.
	(EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC): Define.
	(EM_CSR_KALIMBA, EM_Z80, EM_AMDGPU, EM_RISCV): Define.
	(ELFOSABI_OPENVOS): Define.
	(GRP_MASKOS, GRP_MASKPROC): Define.

binutils	* readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
	(get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
	EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
	EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
	EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
	EM_Z80, EM_AMDGPU, EM_RISCV.
	(get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
	(get_group_flags): Update to handle flags in the
	GRP_MASKOS and GRP_MASKPROC ranges.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Sync libiberty sources with gcc mainline.
@ 2016-10-17  9:46 sergiodj+buildbot
  2016-10-17 11:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-17  9:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41f225defe891ff71d3c8a149cdc1ed8f3a64c5c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 41f225defe891ff71d3c8a149cdc1ed8f3a64c5c

Sync libiberty sources with gcc mainline.

2016-09-19  Andrew Stubbs  <ams@codesourcery.com>

	* pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
	* testsuite/test-pexecute.c (main): Insert check for zero-length parameters.

2016-09-10  Mark Wielaard  <mjw@redhat.com>

	* cp-demangle.c (d_substitution): Change struct demangle_component
	variable name from c to dc.

2016-08-12  Marek Polacek  <polacek@redhat.com>

	PR c/7652
	* cp-demangle.c (d_print_mod): Add FALLTHRU.

2016-08-04  Marcel B?hme  <boehme.marcel@gmail.com>

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] FINAL/OVERRIDE: Define to empty on g++ < 4.7
@ 2016-10-14 16:54 sergiodj+buildbot
  2016-10-15 15:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 16:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b4f6af8ee2ea97b8c6f2bca1c2fd728683e68ef5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b4f6af8ee2ea97b8c6f2bca1c2fd728683e68ef5

FINAL/OVERRIDE: Define to empty on g++ < 4.7

final/override were only implemented in g++ 4.7.

include/ChangeLog
2016-10-14  Pedro Alves  <palves@redhat.com>

	* ansidecl.h [__cplusplus >= 201103 && GCC_VERSION < 4007] (FINAL,
	OVERRIDE): Define as empty.
	[__cplusplus < 201103 && GCC_VERSION < 4007] (FINAL): Define as
	__final.
	[__cplusplus < 201103 && GCC_VERSION >= 4007] (OVERRIDE): Define as
	empty.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h
@ 2016-10-14 16:29 sergiodj+buildbot
  2016-10-15 12:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 16:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d118ee3761bcf0c861a75e454d0c2b741fccb956 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d118ee3761bcf0c861a75e454d0c2b741fccb956

Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h

So that GDB and other projects that share the top level can use them.

Bootstrapped with all default languages + jit on x86-64 Fedora 23.

gcc/ChangeLog:
2016-10-14  Pedro Alves  <palves@redhat.com>

	* coretypes.h (OVERRIDE, FINAL): Delete, moved to
	include/ansidecl.h.

include/ChangeLog:
2016-10-14  Pedro Alves  <palves@redhat.com>

	* ansidecl.h (GCC_FINAL): Delete.
	(OVERRIDE, FINAL): New, moved from gcc/coretypes.h.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix set sysroot command on AIX
@ 2016-10-14 13:25 sergiodj+buildbot
  2016-10-15  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 13:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 754c39c2f32a796ad9983836deb7c4429c808e48 ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 754c39c2f32a796ad9983836deb7c4429c808e48

Fix set sysroot command on AIX

set sysroot command on AIX has no effect if a program depends on shared
library archives (.a).  Fixed by using solib_find and solib_bfd_fopen
instead of gdb_bfd_open in solib_aix_bfd_open.

gdb/
2016-10-14  Sangamesh Mallayya  <sangamesh.swamy@in.ibm.com>
	    Ulrich Weigand  <uweigand@de.ibm.com>

	* solib-aix.c (solib_aix_bfd_open): Call solib_find so that sysroot
	path is set properly if program has a dependency on .a archive and
	sysroot is set via set sysroot command.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] Disassembler: fix LIMM detection for short instructions.
@ 2016-10-14 12:37 sergiodj+buildbot
  2016-10-15  4:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 12:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e5b06ef06b062f0626462abb182ee5470cf798bc ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: e5b06ef06b062f0626462abb182ee5470cf798bc

[ARC] Disassembler: fix LIMM detection for short instructions.

The ARC (short) instructions are using a special register number to
indicate is the instruction uses a long immediate (LIMM).  In the case
of short instruction, this LIMM indicator depends on the ISA version
used. Thus, for ARCv1 processors, the LIMM indicator is 0x3E, the same
value used in "long" instructions.  However, for the ARCv2 processors,
this LIMM indicator is 0x1E.

This patch fixes the LIMM detection for ARCv1 ISA and adds two tests.

gas/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/shortlimm_a7.d: New file.
	* testsuite/gas/arc/shortlimm_a7.s: Likewise.
	* testsuite/gas/arc/shortlimm_hs.d: Likewise.
	* testsuite/gas/arc/shortlimm_hs.s: Likewise.

include/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (ARC_OPCODE_ARCV2): New define.

opcodes/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-dis.c (find_format_from_table): Discriminate LIMM indicator
	usage on ISA basis.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] btrace: remove leftover comment
@ 2016-10-14  9:25 sergiodj+buildbot
  2016-10-15  1:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14  9:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT afb1110bfa4fe150cb2f2c58329551bd82cb3627 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: afb1110bfa4fe150cb2f2c58329551bd82cb3627

btrace: remove leftover comment

Remove a leftover comment on a function that was removed with commit
0568462bbf0f666d5bf9f720e16147da71eec46a.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Include strings.h where available
@ 2016-10-14  7:30 sergiodj+buildbot
  2016-10-14 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-14  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ffc1bb12a22e548835c9291871ad0eb68b7f6f0 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 8ffc1bb12a22e548835c9291871ad0eb68b7f6f0

Include strings.h where available

gdb/ChangeLog

2016-10-14  Eli Zaretskii  <eliz@gnu.org>

	* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
	available, to get prototypes of 'strcasecmp' and 'strncasecmp'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Share proc get_var_address
@ 2016-10-13 15:27 sergiodj+buildbot
  2016-10-13 16:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13 15:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ad9dba7519caa3e6193c87699ae37e24d0fe05c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5ad9dba7519caa3e6193c87699ae37e24d0fe05c

Share proc get_var_address

This patch moves proc get_var_address into lib/gdb.exp, and remove the
duplicate copy in gdb.base/*.exp files.

gdb/testsuite:

2016-10-13  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/code_elim.exp (get_var_address): Remove.
	* gdb.base/relocate.exp: Likewise.
	* gdb.base/shreloc.exp: Likewise.
	* lib/gdb.exp (get_var_address): New.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Skip testing structures with floating points
@ 2016-10-13 14:54 sergiodj+buildbot
  2016-10-13 15:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13 14:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 62df7e210ebf096dc09ad14d9316fcda0f6217f7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 62df7e210ebf096dc09ad14d9316fcda0f6217f7

Skip testing structures with floating points

This patch skips some tests related to floating point in structs.exp
if gdb_skip_float_test return false.

gdb/testsuite:

2016-10-13  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
	floating point tests if $skip_float_test is false.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in macho_symfile_read_all_oso
@ 2016-10-13  5:24 sergiodj+buildbot
  2016-10-13  7:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  5:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af533a5f8b149bfa1394ab04c3947e97dd507a33 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: af533a5f8b149bfa1394ab04c3947e97dd507a33

Use std::string in macho_symfile_read_all_oso

This changes macho_symfile_read_all_oso to use std::string.  This
avoids a cleanup.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* machoread.c (macho_symfile_read_all_oso): Use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove unnecessary null_cleanup
@ 2016-10-13  4:50 sergiodj+buildbot
  2016-10-13  5:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  4:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1a760cbb796b62f18ff6b81a189fd261809ef74 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d1a760cbb796b62f18ff6b81a189fd261809ef74

Remove unnecessary null_cleanup

This patch removes an unnecessary null_cleanup.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* tracepoint.c (trace_dump_command): Remove unnecessary
	null_cleanup.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Turn wchar iterator into a class
@ 2016-10-13  2:59 sergiodj+buildbot
  2016-10-13  4:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  2:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cda6c55bd399a8892d62178d4daeb074def909e0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: cda6c55bd399a8892d62178d4daeb074def909e0

Turn wchar iterator into a class

This changes wchar_iterator from charset.c into a real C++ class, then
updates the users to use the class.  This lets us remove some cleanups
in favor of the class' destructor.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* valprint.c (generic_emit_char, count_next_character)
	(generic_printstr): Update.
	* charset.c (struct wchar_iterator): Move to charset.h.
	(wchar_iterator::wchar_iterator): Rename from
	make_wchar_iterator, turn into a constructor.
	(wchar_iterator::~wchar_iterator): Rename from
	do_cleanup_iterator, turn into a destructor.
	(make_cleanup_wchar_iterator): Remove.
	(wchar_iterator::iterate): Rename from wchar_iterate.  Remove
	"iter" argument.  Update.
	* charset.h: Include <vector>.
	(class wchar_iterator): New class, from old struct
	wchar_iterator.
	(make_wchar_iterator, make_cleanup_wchar_iterator): Don't
	declare.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Change selttest.c to use use std::vector
@ 2016-10-13  2:25 sergiodj+buildbot
  2016-10-13  3:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  2:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 816d7b53047bca81c226990bc9248d59d80d4b8b ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 816d7b53047bca81c226990bc9248d59d80d4b8b

Change selttest.c to use use std::vector

This patch changes selftest.c to use std::vector rather than VEC.
I think this is a small net plus.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* selftest.c: Include <vector>, not "vec.h".
	(self_test_function_ptr): Remove.
	(tests): Now a std::vector.
	(register_self_test, run_self_tests): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Convert tid_range_parser and get_number_or_range to classes
@ 2016-10-13  1:21 sergiodj+buildbot
  2016-10-13  2:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bfd282882d534cd4f48e2fc29d4ce0923c52352b ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: bfd282882d534cd4f48e2fc29d4ce0923c52352b

Convert tid_range_parser and get_number_or_range to classes

This converts tid_range_parser and get_number_or_range to be classes.
The various tid_range_parser_* and get_number_or_range_* functions
become methods on the respective classes.  Then it updates the users
to follow.

The rationale for the change is that this provides better
encapsulation.  For example, this forced me to think of a better
interface between tid_range_parser and get_number_or_range, since the
former peeked into the latter's internals a bit too much.  That ended
up resulting mostly in these two not-just-straight-1-1 changes:

  void
 -tid_range_parser_skip (struct tid_range_parser *parser)
 +tid_range_parser::skip_range ()
  {
 ...

 -  tid_range_parser_init (parser, parser->range_parser.end_ptr,
 -			 parser->default_inferior);
 +  m_range_parser.skip_range ();
 +  init (m_range_parser.string (), m_default_inferior);
  }

 and:

    /* If we successfully parsed a thread number or finished parsing a
       thread range, switch back to assuming the next TID is
       inferior-qualified.  */
 -  if (parser->range_parser.end_ptr == NULL
 -      || parser->range_parser.string == parser->range_parser.end_ptr)
 +  if (!m_range_parser.in_range ())
      {

For the same reason (encapsulation), this moves the enum
tid_range_state definition to within the tid_parser class's scope,
since that is private implementation detail.

While at it, switch to use "bool" for booleans.

gdb/ChangeLog:
2016-10-13  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* tid-parse.h (tid_range_parser): New class.
	(enum tid_range_state): Move into tid_range_parser's scope.
	Remove TID_RANGE_ prefix from all values.
	(tid_range_parser_get_tid, tid_range_parser_get_tid_range)
	(tid_range_parser_star_range, tid_range_parser_finished)
	(tid_range_parser_skip, tid_range_parser_qualified): Don't
	declare.
	(tid_is_in_list): Update comment.
	* tid-parse.c (tid_range_parser::tid_range_parser): New.
	(init, finished, get_string, skip, tid_is_qualified)
	(get_tid_or_range, get_tid_range, get_tid, star_range): Rename;
	turn into methods.
	(tid_is_in_list): Adjust.
	* cli/cli-utils.h (number_or_range_parser): New class.
	(init_number_or_range, get_number_or_range)
	(number_range_setup_range): Don't declare.
	* cli/cli-utils.c
	(number_or_range_parser::number_or_range_parser): New.
	(init_number_or_range, get_number_or_range)
	(number_range_setup_range): Rename; turn into methods.
	(number_is_in_list): Adjust.
	* breakpoint.c (map_breakpoint_numbers): Adjust.  Use bool.
	(trace_pass_command, get_tracepoint_by_number): Adjust.
	* breakpoint.h (get_tracepoint_by_number): Adjust.
	* inferior.c (detach_inferior_command, kill_inferior_command)
	(remove_inferior_command): Adjust.
	* linespec.c (decode_line_2): Adjust.
	* memattr.c (mem_enable_command, mem_disable_command)
	(mem_delete_command): Adjust.
	* printcmd.c (map_display_numbers): Adjust.
	* reverse.c (delete_bookmark_command, bookmarks_info): Adjust.
	* thread.c (thread_apply_command): Adjust.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add support for Newlib
@ 2016-10-12 16:00 sergiodj+buildbot
  2016-10-12 17:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 16:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a2f4826907de97b089295000a67d2497aa94c99 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 4a2f4826907de97b089295000a67d2497aa94c99

arc: Add support for Newlib

Add support for Newlib as an OS/ABI.  The only thing that is specific to it
relatively to "generic" baremetal target is location of PC register in jump
buffer for longjump support.

Sniffer uses .ivt section to decide if ELF file is for ARC Newlib or not.

gdb/ChangeLog:

	* arc-newlib-tdep.c: New file.
	* configure.tgt: Add newlib support for ARC.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fixup gdb.python/py-value.exp for bare-metal aarch64-elf
@ 2016-10-12 15:51 sergiodj+buildbot
  2016-10-12 18:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4dac951e11030b43b17f52df8bdfa7432e4bf73c ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 4dac951e11030b43b17f52df8bdfa7432e4bf73c

Fixup gdb.python/py-value.exp for bare-metal aarch64-elf

I noticed that testing aarch64-elf gdb with a physical board
ran into issues with gdb.python/py-value.exp. Further investigation showed
that we were actually trying to dereference a NULL pointer (argv) when trying
to access argv[0].

Being bare-metal, argv is not guaranteed to be valid. So we need to make sure
argv is sane before accessing argv[0].

The following patch fixes up the test program to check for a NULL argv and also
improves the testcase a bit so it doesn't have to work with a hardcoded argc
value.

Regression-tested on x86-64 Ubuntu 16.04.

gdb/testsuite/ChangeLog:

2016-10-12  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.python/py-value.c (main): Check if argv is NULL before using it.
	* gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
	argc values.
	Add 1 to argc so we guarantee distinct initial/modified argc values.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add evaluation of long jump targets
@ 2016-10-12 13:32 sergiodj+buildbot
  2016-10-12 16:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 13:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaf43c4882f827d9f778b40dcdb93566f765f5f9 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: aaf43c4882f827d9f778b40dcdb93566f765f5f9

arc: Add evaluation of long jump targets

Standard get_longjmp_target implementation, similar to what is in arm-tdep.c.
Actual value of jb_pc should be set in init_osabi methods of particular OS/ABI
implementations.

gdb/ChangeLog:

	* arc-tdep.h (struct gdbarch_tdep) <jb_pc>: New field.
	* arc-tdep.c (arc_get_longjmp_target): New function.
	(arc_gdbarch_init): Set get_longjmp_target if jb_pc is non-negative.
	(arc_dump_tdep): Print jb_pc.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Add a gdbarch_tdep structure
@ 2016-10-12 13:03 sergiodj+buildbot
  2016-10-12 15:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 13:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b845c31ecc4fe2677f1d938b0d8a3dc98397158e ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: b845c31ecc4fe2677f1d938b0d8a3dc98397158e

arc: Add a gdbarch_tdep structure

Add target-specific structure gdbarch_tdep for ARC.

gdb/ChangeLog:

	* arc-tdep.h (struct gdbarch_tdep): New.
	* arc-tdep.c (arc_gdbarch_init): Allocate gdbarch_tdep.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Track FP registers in prologue analyzer
@ 2016-10-12 11:51 sergiodj+buildbot
  2016-10-12 12:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 187f5d00acf0ffe5390f282fd4d6285bcd6fccb9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 187f5d00acf0ffe5390f282fd4d6285bcd6fccb9

[AArch64] Track FP registers in prologue analyzer

We don't track FP registers in aarch64 prologue analyzer, so this causes
an internal error when FP registers are saved by "stp" instruction in
prologue (stp	d8, d9, [sp,#128]),

 tbreak _Unwind_RaiseException^M
 aarch64-tdep.c:335: internal-error: CORE_ADDR aarch64_analyze_prologue(gdbarch*, CORE_ADDR, CORE_ADDR, aarch64_prologue_cache*): Assertion `inst.operands[0].type == AARCH64_OPND_Rt' failed.^M
 A problem internal to GDB has been detected,

This patch teaches GDB to track FP registers (D registers) in prologue
analyzer.

gdb:

2016-10-12  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20682
	* aarch64-tdep.c: Replace 32 with AARCH64_D_REGISTER_COUNT.
	(aarch64_analyze_prologue): Extend array 'regs' for D registers.
	Assert that operand 0 and 1 can be X or D registers.  Update
	register number for D registers.  Update registers in frame
	cache.
	* aarch64-tdep.h (AARCH64_D_REGISTER_COUNT): New macro.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] BFD_FAKE_SECTION macro params
@ 2016-10-11 23:35 sergiodj+buildbot
  2016-10-12  0:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 23:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 821e6ff6299aa39e841ca50e1ae8a98e3554fd5f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 821e6ff6299aa39e841ca50e1ae8a98e3554fd5f

BFD_FAKE_SECTION macro params

Order NAME, IDX, FLAGS as per STD_SECTION macro.

	* section.c (BFD_FAKE_SECTION): Reorder parameters.  Formatting.
	(STD_SECTION): Adjust to suit.
	* elf.c (_bfd_elf_large_com_section): Likewise.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation
@ 2016-10-11 17:27 sergiodj+buildbot
  2016-10-11 18:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 17:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f1a8fc4df2244f548d55fbecce20b7cd6f90e16 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 8f1a8fc4df2244f548d55fbecce20b7cd6f90e16

testsuite: Fix gdb.arch/powerpc-prologue.c compilation

gcc-6.2.1

gdb compile failed, gdb/testsuite/gdb.arch/powerpc-prologue.c: In function 'main':
gdb/testsuite/gdb.arch/powerpc-prologue.c:32:3: warning: implicit declaration of function 'optimized_1' [-Wimplicit-function-declaration]
   optimized_1 ();
   ^~~~~~~~~~~

gdb/testsuite/ChangeLog
2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/powerpc-prologue.c (optimized_1): New declaration.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: Use standard_output_file
@ 2016-10-11 15:00 sergiodj+buildbot
  2016-10-11 15:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16c85b5d14a04c275d3cb39b2029f3dc0f708531 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 16c85b5d14a04c275d3cb39b2029f3dc0f708531

testsuite: Use standard_output_file

gdb/testsuite/ChangeLog
2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/powerpc-prologue.exp: Use standard_output_file.
	* gdb.arch/ppc64-symtab-cordic.exp: Likewise.
	* gdb.arch/vsx-regs.exp: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
@ 2016-10-11 10:42 sergiodj+buildbot
  2016-10-11 11:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 10:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93562a343c26f67d2bd0e93cceb18a0a793087c2 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 93562a343c26f67d2bd0e93cceb18a0a793087c2

[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo

opcode/
	PR target/20666
	* aarch64-asm.c (convert_bfc_to_bfm): Fix dest index.

gas/
	* testsuite/gas/aarch64/alias-2.d: Update expected results.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Always descend into output section statements in lang_do_assignments
@ 2016-10-11  7:59 sergiodj+buildbot
  2016-10-11  8:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-11  7:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f02cb058822459ea29a9fdaa928c2623df435908 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f02cb058822459ea29a9fdaa928c2623df435908

Always descend into output section statements in lang_do_assignments

See https://sourceware.org/ml/binutils/2016-07/msg00091.html
This patch stop --gc-sections elf_gc_sweep_symbol localizing symbols
that ought to remain global.

The difficulty with always descending into output section statements
is that symbols defined by the script in such statements don't have
a bfd section when lang_do_assignments runs early in the link process.
There are two approaches to curing this problem.  Either we can
create the bfd section early, or we can use a special section.  This
patch takes the latter approach and uses bfd_und_section.  (Creating
bfd sections early results in changed output section order, and thus
lots of testsuite failures.  You can't create all output sections
early to ensure proper ordering as KEEP then stops empty sections
from being stripped.)

The wrinkle with this approach is that some code that runs at
gc-sections time needs to be made aware of the odd defined symbols
using bfd_und_section.

bfd/
	* elf64-x86-64.c (elf_x86_64_convert_load_reloc): Handle symbols
	defined temporarily with bfd_und_section.
	* elflink.c (_bfd_elf_gc_keep): Don't set SEC_KEEP for bfd_und_section.
	* elfxx-mips.c (mips_elf_local_pic_function_p): Exclude defined
	symbols with bfd_und_section.
ld/
	* ldlang.c (lang_do_assignments_1): Descend into output section
	statements that do not yet have bfd sections.  Set symbol section
	temporarily for symbols defined in such statements to the undefined
	section.  Don't error on data or reloc statements until final phase.
	* ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
	in expld.section.
	* testsuite/ld-mmix/bpo-10.d: Adjust.
	* testsuite/ld-mmix/bpo-11.d: Adjust.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Share enum arm_breakpoint_kinds
@ 2016-10-10 11:41 sergiodj+buildbot
  2016-10-10 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-10 11:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1078bea751d48e8846b91542d91647f1e0aed8d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a1078bea751d48e8846b91542d91647f1e0aed8d

Share enum arm_breakpoint_kinds

This patch shares "enum arm_breakpoint_kinds", and use ARM_BP_KIND_THUMB2
in GDB.

gdb:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* arch/arm.h (enum arm_breakpoint_kinds): New.
	* arm-tdep.c (arm_remote_breakpoint_from_pc): Use
	ARM_BP_KIND_THUMB2.

gdb/gdbserver:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init
@ 2016-10-10 10:37 sergiodj+buildbot
  2016-10-10 11:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-10 10:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5

Rename 'arch' by 'gdbarch' in m32c_gdbarch_init

This patch renames local 'arch' by 'gdbarch' in m32c_gdbarch_init, so
that I can use macros in the following patch.

gdb:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* m32c-tdep.c (m32c_gdbarch_init): Rename local 'arch' by
	'gdbarch'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove v850_dbtrap_breakpoint_from_pc
@ 2016-10-10  9:44 sergiodj+buildbot
  2016-10-10 10:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-10  9:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff12a6593a1675aa9ba5340aa2984af19cf8966c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ff12a6593a1675aa9ba5340aa2984af19cf8966c

Remove v850_dbtrap_breakpoint_from_pc

v850 has two functions to install to gdbarch_breakpoint_from_pc,
and it selects one according to info.bfd_arch_info->mach.  However,
we can select the kind/length of breakpoint instruction inside
v850_breakpoint_from_pc by gdbarch_bfd_arch_info (gdbarch)->mach.
This patch is to do that, and remove v850_dbtrap_breakpoint_from_pc.

gdb:

2016-08-30  Yao Qi  <yao.qi@linaro.org>

	* v850-tdep.c (v850_breakpoint_from_pc): Use the right
	breakpoint instruction.
	(v850_dbtrap_breakpoint_from_pc): Remove.
	(v850_gdbarch_init): Update.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ui-out.c: Remove unused parameter to push_level
@ 2016-10-09  0:26 sergiodj+buildbot
  2016-10-09  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-09  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49d06418ada11004ca1cdc0ec5847358e83fc67a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 49d06418ada11004ca1cdc0ec5847358e83fc67a

ui-out.c: Remove unused parameter to push_level

The parameter "id" is unused.

gdb/ChangeLog:

	* ui-out.c (push_level): Remove "id" parameter.
	(ui_out_begin): Update call.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Set regdir in tdesc-regs.exp or arm
@ 2016-10-07 10:50 sergiodj+buildbot
  2016-10-08 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d0e042a8321cca82cce521afd276a8494385ae3 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1d0e042a8321cca82cce521afd276a8494385ae3

Set regdir in tdesc-regs.exp or arm

0a69eedb (Clean up the XML files for ARM) moves arm-*.xml files to
arm/ directory, so need update gdb.xml/tdesc-regs.exp accordingly.

gdb/testsuite:

2016-10-07  Yao Qi  <yao.qi@linaro.org>

	* gdb.xml/tdesc-regs.exp: Set regdir to "arm/".


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi"
@ 2016-10-07 10:19 sergiodj+buildbot
  2016-10-09  1:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07 10:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 362c0c4d9cc9f320d1e85755404879a13ebed91a ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 362c0c4d9cc9f320d1e85755404879a13ebed91a

[AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi"

gas/
	PR target/20667
	* testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions
	using SYS_Rt reg.
	* testsuite/gas/aarch64/sys-rt-reg.d: New testcase.

opcodes/
	PR target/20667
	* aarch64-opc.c (aarch64_print_operand): Always print operand if
	it's available.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd_merge_private_bfd_data tidy
@ 2016-10-07  7:33 sergiodj+buildbot
  2016-10-08 19:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  7:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1047201fd0f402428bb3331638a198413f97f476 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 1047201fd0f402428bb3331638a198413f97f476

bfd_merge_private_bfd_data tidy

bfd_merge_private_bfd_data and _bfd_generic_verify_endian_match are
linker functions, so move them to linker.c.

bfd/
	* Makefile.am (LIBBFD_H_FILES): Update.
	* doc/Makefile.am (LIBBFD_H_DEP): Likewise.
	* cpu-sh.c (sh_merge_bfd_arch): Move to..
	* elf32-sh.c: ..here, and make static.
	* elf32-arc.c (arc_elf_merge_private_bfd_data): Delete extraneous
	error.
	* elf32-cris.c (cris_elf_merge_private_bfd_data): Don't call
	_bfd_generic_verify_endian_match.
	* elf32-microblaze.c (microblaze_elf_merge_private_bfd_data): Delete.
	(bfd_elf32_bfd_merge_private_bfd_data): Define as
	_bfd_generic_verify_endian_match.
	* elf32-mt.c (mt_elf_merge_private_bfd_data): Don't test
	boolean == FALSE.
	* elf32-xgate.c (_bfd_xgate_elf_merge_private_bfd_data): Delete.
	(bfd_elf32_bfd_merge_private_bfd_data): Don't define.
	* elf32-xgate.h (_bfd_xgate_elf_merge_private_bfd_data): Delete.
	* libbfd-in.h (_bfd_generic_verify_endian_match): Delete.
	* libbfd.c (_bfd_generic_verify_endian_match): Move to..
	* linker.c: ..here, and make internal.
	* bfd.c (bfd_merge_private_bfd_data): Move to..
	* linker.c: ..here.
	* Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
opcodes/
	* sh-opc.h (sh_merge_bfd_arch): Delete prototype.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] python: accept address and explicit locations in gdb.decode_line
@ 2016-10-07  7:22 sergiodj+buildbot
  2016-10-08 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  7:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68dadef54c216f7ec75c27d74193897b18c5f9ab ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 68dadef54c216f7ec75c27d74193897b18c5f9ab

python: accept address and explicit locations in gdb.decode_line

The gdb.decode_line python function is documented to support the same location
expressions as the "break" command.  It currently expects a linespec location.

Instead of creating a linespec location directly, create the location via
string_to_event_location_basic.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix gdb.Value->python conversion for large unsigned ints.
@ 2016-10-07  4:51 sergiodj+buildbot
  2016-10-08 11:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  4:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33fa2c6e1b1e63599156f7d79de8c0a6ea69c8af ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 33fa2c6e1b1e63599156f7d79de8c0a6ea69c8af

Fix gdb.Value->python conversion for large unsigned ints.

gdb/ChangeLog:

	* python/py-value.c (valpy_long): Handle unsigned values.

gdb/testsuite/ChangeLog:

	* gdb.python/py-value.exp (test_value_creation): Add test for large
	unsigned 64-bit value.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data
@ 2016-10-07  2:07 sergiodj+buildbot
  2016-10-08 21:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50e03d47b77d5730f96f6b6bb66187654e66c797 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 50e03d47b77d5730f96f6b6bb66187654e66c797

Pass link_info to _bfd_merge_private_bfd_data

Most BFD linker functions take a bfd_link_info param, which reinforces
the fact that they are linker functions and allow access to linker
callbacks, eg. einfo for printing errors.  I was going to use einfo
for --fatal-warnings support before I decided a better way was the
patch commit 4519d071.

bfd/
	* targets.c (bfd_target <_bfd_merge_private_bfd_data>): Replace
	obfd param with struct bfd_link_info param.  Update all callers.
	* linker.c (bfd_merge_private_bfd_data): Likewise.
	(_bfd_generic_verify_endian_match): Likewise.
	* aoutf1.h (sunos_merge_private_bfd_data): Likewise.
	* coff-arm.c (coff_arm_merge_private_bfd_data): Likewise.
	* elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
	* elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Likewise.
	(_bfd_elf_merge_object_attributes): Likewise.
	* elf-m10300.c (_bfd_mn10300_elf_merge_private_bfd_data): Likewise.
	* elf-s390-common.c (elf_s390_merge_obj_attributes): Likewise.
	* elf32-arc.c (arc_elf_merge_private_bfd_data): Likewise.
	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Likewise.
	(elf32_arm_merge_private_bfd_data): Likewise.
	* elf32-bfin.c (elf32_bfin_merge_private_bfd_data): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_merge_private_bfd_data): Likewise.
	* elf32-cris.c (cris_elf_merge_private_bfd_data): Likewise.
	* elf32-frv.c (frv_elf_merge_private_bfd_data): Likewise.
	* elf32-h8300.c (elf32_h8_merge_private_bfd_data): Likewise.
	* elf32-i370.c (i370_elf_merge_private_bfd_data): Likewise.
	* elf32-iq2000.c (iq2000_elf_merge_private_bfd_data): Likewise.
	* elf32-m32c.c (m32c_elf_merge_private_bfd_data): Likewise.
	* elf32-m32r.c (m32r_elf_merge_private_bfd_data): Likewise.
	* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Likewise.
	* elf32-m68hc1x.h (_bfd_m68hc11_elf_merge_private_bfd_data): Likewise.
	* elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Likewise.
	* elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
	* elf32-mep.c (mep_elf_merge_private_bfd_data): Likewise.
	* elf32-msp430.c (elf32_msp430_merge_mspabi_attributes): Likewise.
	(elf32_msp430_merge_private_bfd_data): Likewise.
	* elf32-mt.c (mt_elf_merge_private_bfd_data): Likewise.
	* elf32-nds32.c (nds32_elf_merge_private_bfd_data): Likewise.
	* elf32-nios2.c (nios2_elf32_merge_private_bfd_data): Likewise.
	* elf32-or1k.c (elf32_or1k_merge_private_bfd_data): Likewise.
	* elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Likewise.
	(ppc_elf_merge_obj_attributes): Likewise.
	(ppc_elf_merge_private_bfd_data): Likewise.
	* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Likewise.
	* elf32-rx.c (rx_elf_merge_private_bfd_data): Likewise.
	* elf32-s390.c (elf32_s390_merge_private_bfd_data): Likewise.
	* elf32-score.c (s3_elf32_score_merge_private_bfd_data): Likewise.
	(elf32_score_merge_private_bfd_data): Likewise.
	* elf32-score.h (s7_elf32_score_merge_private_bfd_data): Likewise.
	* elf32-score7.c (s7_elf32_score_merge_private_bfd_data): Likewise.
	* elf32-sh.c (sh_merge_bfd_arch, sh_elf_merge_private_data): Likewise.
	* elf32-sh64.c (sh64_elf_merge_private_data): Likewise.
	* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise.
	* elf32-tic6x.c (elf32_tic6x_merge_attributes): Likewise.
	(elf32_tic6x_merge_private_bfd_data): Likewise.
	* elf32-v850.c (v850_elf_merge_private_bfd_data): Likewise.
	* elf32-vax.c (elf32_vax_merge_private_bfd_data): Likewise.
	* elf32-visium.c (visium_elf_merge_private_bfd_data): Likewise.
	* elf32-xtensa.c (elf_xtensa_merge_private_bfd_data): Likewise.
	* elf64-ia64-vms.c (elf64_ia64_merge_private_bfd_data): Likewise.
	* elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Likewise.
	* elf64-s390.c (elf64_s390_merge_private_bfd_data): Likewise.
	* elf64-sh64.c (sh_elf64_merge_private_data): Likewise.
	* elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise.
	* elfnn-aarch64.c (elfNN_aarch64_merge_private_bfd_data): Likewise.
	* elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): Likewise.
	* elfxx-mips.c (mips_elf_merge_obj_e_flags): Likewise.
	(mips_elf_merge_obj_attributes): Likewise.
	(_bfd_mips_elf_merge_private_bfd_data): Likewise.
	* elfxx-mips.h (_bfd_mips_elf_merge_private_bfd_data): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Likewise.
	* elfxx-sparc.h (_bfd_sparc_elf_merge_private_bfd_data): Likewise.
	* elfxx-target.h (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
	* elfxx-tilegx.c (_bfd_tilegx_elf_merge_private_bfd_data): Likewise.
	* elfxx-tilegx.h (_bfd_tilegx_elf_merge_private_bfd_data): Likewise.
	* libbfd-in.h (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
ld/
	* ldlang.c (lang_check): Update bfd_merge_private_bfd_data call.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Consolidate API of target_supports_multi_process
@ 2016-10-06 23:56 sergiodj+buildbot
  2016-10-08 16:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 23:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1fb77080fd74d11c0dbccf812ed98ffa0b3edc4e ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 1fb77080fd74d11c0dbccf812ed98ffa0b3edc4e

Consolidate API of target_supports_multi_process

This simple commit consolidates the API of
target_supports_multi_process.  Since both GDB and gdbserver use the
same function prototype, all that was needed was to move create this
prototype on gdb/target/target.h and turn the macros declared on
gdb/{,gdbserver/}target.h into actual functions.

Regtested (clean pass) on the BuildBot.

gdb/ChangeLog:
2016-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (target_supports_multi_process): New function, moved
	from...
	* target.h (target_supports_multi_process): ... here.  Remove
	macro.
	* target/target.h (target_supports_multi_process): New prototype.

gdb/gdbserver/ChangeLog:
2016-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (target_supports_multi_process): New function, moved
	from...
	* target.h (target_supports_multi_process): ... here.  Remove
	macro.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Remove some C compiler support leftovers
@ 2016-10-06 23:29 sergiodj+buildbot
  2016-10-08 14:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 23:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddb6d633875b76f9d772af901118233fc498253a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: ddb6d633875b76f9d772af901118233fc498253a

gdb: Remove some C compiler support leftovers

Remove some __cplusplus checks, inline EXPORTED_CONST, and update some comments.

gdb/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* cp-valprint.c (vtbl_ptr_name): Write "extern const" instead of
	EXPORTED_CONST.
	* stub-termcap.c: Remove __cplusplus checks.
	* common/common-defs.h [!__cplusplus] (EXTERN_C, EXTERN_C_PUSH,
	EXTERN_C_POP): Delete.
	* common/common-exceptions.h (GDB_XCPT_SJMP): Update comments.
	(GDB_XCPT) [!__cplusplus]: Delete.
	(throw_exception, throw_exception_sjlj): Update comments.
	* guile/guile-internal.h (as_a_scm_t_subr) [!__cplusplus]: Delete.
	* guile/guile.c (extension_language_guile): Write "extern const"
	instead of EXPORTED_CONST.
	* features/feature_to_c.sh: Don't emit !__cplusplus code.  Write
	"extern const" instead of EXPORTED_CONST.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] frame.h: Forward-declare struct ui_out
@ 2016-10-06 22:11 sergiodj+buildbot
  2016-10-08  9:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 22:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d73f9c4bab1a0ec82007f9d36b8a7bf5d34f7bf6 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d73f9c4bab1a0ec82007f9d36b8a7bf5d34f7bf6

frame.h: Forward-declare struct ui_out

Fixes this failure when building in C mode.  I think it's relevant for master
as well, since it's a good practice to include (or forward-declare) what you
use.

In file included from ../../binutils-gdb/gdb/gdbarch.h:38:0,
                 from ../../binutils-gdb/gdb/defs.h:653,
                 from ../../binutils-gdb/gdb/dictionary.c:23:
../../binutils-gdb/gdb/frame.h:710:48: warning: struct ui_out declared inside parameter list will not be visible outside of this definition or declaration
 extern void print_stack_frame_to_uiout (struct ui_out *uiout,

gdb/ChangeLog:

	* frame.h: Forward-declare struct ui_out.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove Java support
@ 2016-10-06 21:27 sergiodj+buildbot
  2016-10-07 21:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c37b5aed98e5996a9777a366bfcc371c0e1a92d ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9c37b5aed98e5996a9777a366bfcc371c0e1a92d

Remove Java support

This patch removes the Java support from gdb.  gcj has not seen much
development or use for years now, and was recently removed from GCC.
This patch changes gdb to follow; in the unlikely event that there are
still users using gcj, they can continue to use an older gdb to debug.
Or, they can debug in C++ mode.

Built and regtested on x86-64 Fedora 24.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* MAINTAINERS: Remove Java test maintainer.
	* varobj.h (java_varobj_ops): Don't declare.
	* valprint.h (struct value_print_options)
	<pascal_static_field_print>: Update comment.
	* utils.c (producer_is_gcc): Remove java reference.
	* symtab.h (struct general_symbol_info): Remove java references.
	(SYMBOL_SEARCH_NAME): Likewise.
	* objfiles.c (allocate_objfile): Update comment.
	* linespec.c (find_linespec_symbols): Remove java references.
	* gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_baseclass_offset): Remove
	java references.
	* gdbtypes.h (struct cplus_struct_type) <is_java>: Remove.
	(TYPE_CPLUS_REALLY_JAVA): Remove.
	* c-varobj.c (enum vsections): Update comment.
	* symtab.c (symbol_set_language, symbol_set_names)
	(symbol_natural_name, symbol_demangled_name)
	(demangle_for_lookup, symbol_matches_domain)
	(default_make_symbol_completion_list_break_on_1): Remove java
	references.
	(JAVA_PREFIX, JAVA_PREFIX_LEN): Remove.
	* psymtab.c (match_partial_symbol, psymtab_search_name)
	(lookup_partial_symbol): Remove java references.
	* dwarf2read.c (find_slot_in_mapped_hash): Remove java references.
	(add_partial_symbol, dwarf2_compute_name, dwarf2_physname)
	(dwarf2_add_member_fn, is_vtable_name, read_structure_type)
	(process_structure_scope, read_subroutine_type)
	(read_subrange_type, load_partial_dies)
	(new_symbol_full, determine_prefix, typename_concat)
	(dwarf2_name): Remove java references.
	(set_cu_language): Treat Java as C++.
	* c-typeprint.c (c_type_print_args): Remove java reference.
	* defs.h (enum language) <language_java>: Remove.
	* Makefile.in (SFILES, HFILES_NO_SRCDIR, COMMON_OBS, YYFILES)
	(YYOBJ, local-maintainer-clean): Don't mention java files.
	* jv-exp.y, jv-lang.c, jv-lang.h, jv-typeprint.c, jv-valprint.c,
	jv-varobj.c: Remove.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* guile.texi (Types In Guile): Remove Java mentions.
	* python.texi (Types In Python): Remove Java mentions.
	* gdb.texinfo (Address Locations, Supported Languages)
	(Index Section Format): Remove Java mentions.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* gdb.compile/compile.exp: Change java tests to rust.
	* gdb.base/setshow.exp: Change java tests to rust.
	* gdb.base/default.exp: Remove java from language list.
	* README (Examples): Update language example.
	* gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
	test.
	* lib/gdb.exp (skip_java_tests): Remove.
	* lib/java.exp: Remove.
	* gdb.java: Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] mips-tdep: Make FCRs always 32-bit
@ 2016-10-06 17:57 sergiodj+buildbot
  2016-10-07 18:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 17:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78b86327b5301231005b08a7c589b2b58e6b4322 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 78b86327b5301231005b08a7c589b2b58e6b4322

mips-tdep: Make FCRs always 32-bit

Fix a regression from commit f8b73d13b7ca ("Target-described register
support for MIPS"),
<https://sourceware.org/ml/gdb-patches/2007-05/msg00340.html>,
<https://sourceware.org/ml/gdb-patches/2007-06/msg00256.html>, which
caused Floating Point Control Registers (FCRs) to be shown as 64-bit
with 64-bit targets.

This came from the legacy register format where all raw registers
matched the width of the architecture regardless of their actual size.
The correct size was then set in `mips_register_type' for cooked
registers presented to the user, which in the case of FCRs meant the
cooked size was always forced to 32 bits, reflecting their actual
hardware size, even though the raw format carried them in 64-bit
quantities on 64-bit targets.  The upper 32 bits carried in the raw FCR
format have always been don't-cares, not actually retrieved from
hardware and never written back.

With the introduction of XML register descriptions the layout of
previously defined raw registers has been preserved, so as to keep
existing register handling code unchanged and make it easier for GDB and
`gdbserver' to interact with each other whether neither, either or both
parties talking over RSP support XML register descriptions.  For the
XML-described case however `mips_register_type' is not used in raw to
cooked register conversion, so any special cases coded there are not
taken into account.

Instead a new function, `mips_pseudo_register_type', has been introduced
to handle size conversion, however lacking the special case for FCRs for
the Linux and the now defunct IRIX target.  The correct size has been
maintained for embedded targets however, due to the bundling of FCRs
with the embedded registers under the `rawnum >= MIPS_EMBED_FP0_REGNUM +
32' condition.

Add the missing case to `mips_pseudo_register_type' then, referring to
the FCR indices explicitly, and observing that between
`MIPS_EMBED_FP0_REGNUM + 32' and `MIPS_FIRST_EMBED_REGNUM' there is an
unused register slot whose contents are ignored so with the removal of
embedded FCRs from under that condition we don't have to care about it
and we can refer to the embedded registers starting from
MIPS_FIRST_EMBED_REGNUM instead.

Add a test case too so that we have means to check automatically that
the correct user-visible size of FCRs is maintained.

	gdb/
	* mips-tdep.c (mips_pseudo_register_type): Make FCRs always
	32-bit.

	gdb/testsuite/
	* gdb.arch/mips-fcr.exp: New test.
	* gdb.arch/mips-fcr.c: Source for the new test.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] mips-tdep: Rearrange comments in `mips_pseudo_register_type'
@ 2016-10-06 17:15 sergiodj+buildbot
  2016-10-07 16:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 17:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6912260f813b1493efefd27cbcb6a73d933accc ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: a6912260f813b1493efefd27cbcb6a73d933accc

mips-tdep: Rearrange comments in `mips_pseudo_register_type'

Rearrange comments throughout `mips_pseudo_register_type', placing them
ahead the condtionals they apply to consistently.

	gdb/
	* mips-tdep.c (mips_pseudo_register_type): Rearrange comments
	throughout.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: solib-disc: Use `standard_output_file'
@ 2016-10-06 16:49 sergiodj+buildbot
  2016-10-07 14:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7470adbb872d5363580eb5e0a8dbb231c286ee4c ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 7470adbb872d5363580eb5e0a8dbb231c286ee4c

testsuite: solib-disc: Use `standard_output_file'

Correct a commit 2151ccc56c74 ("Always organize test artifacts in a
directory hierarchy") regression causing:

Running .../gdb/testsuite/gdb.base/solib-disc.exp ...
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.base/so-disc-shr.c.o: No such file or directory

by using `standard_output_file' to construct output file names
throughout.

	gdb/testsuite/
	* gdb.base/solib-disc.exp: Use `standard_output_file'
	throughout.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression
@ 2016-10-06 15:03 sergiodj+buildbot
  2016-10-07  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 15:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c620c3e48d01e70c435c146905cab1a50382ce89 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: c620c3e48d01e70c435c146905cab1a50382ce89

stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression

Commit a038fa3e14a4 stack: check frame_unwind_caller_id adds a frame_id check to
frame_info and treats a missing frame_id as NOT_AVAILABLE_ERROR.  This causes a
regression in gdb.dwarf2/dw2-undefined-ret-addr.exp.

Treat a missing frame_id as OPTIMIZED_OUT_ERROR instead.

See also https://sourceware.org/ml/gdb-patches/2016-07/msg00273.html.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR11094: JIT breakpoint is not properly recreated on reruns
@ 2016-10-06 13:14 sergiodj+buildbot
  2016-10-07  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 13:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a556533cf0256613c412b9627fa8b8edfa7674a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4a556533cf0256613c412b9627fa8b8edfa7674a

Fix PR11094: JIT breakpoint is not properly recreated on reruns

Even though this was supposedly in the gdb 7.2 timeframe, the testcase
in PR11094 crashes current GDB with a segfault:

  Program received signal SIGSEGV, Segmentation fault.
  0x00000000005ee894 in event_location_to_string (location=0x0) at
  src/gdb/location.c:412
  412       if (EL_STRING (location) == NULL)
  (top-gdb) bt
  #0  0x00000000005ee894 in event_location_to_string (location=0x0) at
  src/gdb/location.c:412
  #1  0x000000000057411a in print_breakpoint_location (b=0x18288e0, loc=0x0) at
  src/gdb/breakpoint.c:6201
  #2  0x000000000057483f in print_one_breakpoint_location (b=0x18288e0,
  loc=0x182cf10, loc_number=0, last_loc=0x7fffffffd258, allflag=1)
      at src/gdb/breakpoint.c:6473
  #3  0x00000000005751e1 in print_one_breakpoint (b=0x18288e0,
  last_loc=0x7fffffffd258, allflag=1) at
  src/gdb/breakpoint.c:6707
  #4  0x000000000057589c in breakpoint_1 (args=0x0, allflag=1, filter=0x0) at
  src/gdb/breakpoint.c:6947
  #5  0x0000000000575aa8 in maintenance_info_breakpoints (args=0x0, from_tty=0)
  at src/gdb/breakpoint.c:7026
  [...]

This is GDB trying to print the location spec of the JIT event
breakpoint, but that's an internal breakpoint without one.

If I add a NULL check, then we see that the JIT breakpoint is now
pending (because its location has shlib_disabled set):

  (gdb) maint info breakpoints
  Num     Type           Disp Enb Address            What
  [...]
  -8      jit events     keep y   <PENDING>           inf 1
  [...]

But that's incorrect.  GDB should have managed to recreate the JIT
breakpoint's location for the second run.  So the problem is
elsewhere.

The problem is that if the JIT loads at the same address on the second
run, we never recreate the JIT breakpoint, because we hit this early
return:

  static int
  jit_breakpoint_re_set_internal (struct gdbarch *gdbarch,
				  struct jit_program_space_data *ps_data)
  {
    [...]
    if (ps_data->cached_code_address == addr)
      return 0;

    [...]
      delete_breakpoint (ps_data->jit_breakpoint);
    [...]
    ps_data->jit_breakpoint = create_jit_event_breakpoint (gdbarch, addr);

Fix this by deleting the breakpoint and discarding the cached code
address when the objfile where the previous JIT breakpoint was found
is deleted/unloaded in the first place.

The test that was originally added for PR11094 doesn't trip on this
because:

  #1 - It doesn't test the case of the JIT descriptor's address _not_
       changing between reruns.

  #2 - And then it doesn't do "maint info breakpoints", or really
       anything with the JIT at all.

  #3 - and even then, to trigger the problem the JIT descriptor needs
       to be in a separate library, while the current test puts it in
       the main program.

The patch extends the test to cover all combinations of these
scenarios.

gdb/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* jit.c (free_objfile_data): Delete the JIT breakpoint and clear
	the cached code address.

gdb/testsuite/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* gdb.base/jit-simple-dl.c: New file.
	* gdb.base/jit-simple-jit.c: New file, factored out from ...
	* gdb.base/jit-simple.c: ... this.
	* gdb.base/jit-simple.exp (jit_run): Delete.
	(build_jit): New proc.
	(jit_test_reread): Recompile either the main program or the shared
	library, depending on what is being tested.  Skip changing address
	if caller wants to.  Compare before/after addresses.  If testing
	standalone, explicitly load the binary.  Test "maint info
	breakpoints".
	(top level): Add "standalone vs shared lib" and "change address"
	vs "same address" axes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix a few gdb.base/jit-simple.exp problems
@ 2016-10-06 12:17 sergiodj+buildbot
  2016-10-06 23:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 12:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a122fbc307f35093b8fe038a8e6caa51b4d0dae ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5a122fbc307f35093b8fe038a8e6caa51b4d0dae

Fix a few gdb.base/jit-simple.exp problems

I noticed that we sometimes get this:

  (gdb) print &__jit_debug_descriptor
  $1 = (struct jit_descriptor *) 0x601040 <__jit_debug_descriptor>
  (gdb) PASS: gdb.base/jit-simple.exp: blah 1
  [...]
  (gdb) run
  [...]
  Starting program: build/gdb/testsuite/outputs/gdb.base/jit-simple/jit-simple
  Unsupported JIT protocol version 4 in descriptor (expected 1)

  Breakpoint 2, main () at src/gdb/testsuite/gdb.base/jit-simple.c:36
  36        return 0;
  (gdb) print &__jit_debug_descriptor
  $2 = (struct jit_descriptor *) 0x601040 <__jit_debug_descriptor>
  (gdb) PASS: gdb.base/jit-simple.exp: blah 1

All tests PASSed, but note the "Unsupported JIT protocol version 4"
message.

Also notice that "__jit_debug_descriptor" has the same address before
and after the rerun, while the test is built in a way that should make
that address change between runs.

The test doesn't catch any of this because it doesn't compare
before/after addresses.

And then notice the "blah 1" test messages.  "blah" is clearly a WIP
message, but it should be at least "blah 2" the second time.  :-)

The reason this sometimes happens is that the test recompiles the
program and expects gdb to reload it automaticallyt on "run".  However,
if the original program and the new recompilation happen to be in the
same second, then gdb does not realize that the binary needs to be
reloaded.  (This is an old problem out of scope of this series.)  If
that happens, then GDB ends up using the wrong symbols for the program
that it spawns, reads the JIT descriptor out of the wrong address,
finds garbage, and prints that "unsupported version" notice.

Fix that in the same way gdb.base/reread.exp handles it -- by sleeping
one second before recompiling.

gdb/testsuite/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* gdb.base/jit-simple.exp (top level) Delete get_compiler_info
	call.
	(jit_run): Delete.
	(jit_test_reread): Use with_test_prefix.  Reload the main binary
	explicitly.  Compare the before/after addresses of the JIT
	descriptor.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make "end" field in feature specs required again.
@ 2016-10-06 11:32 sergiodj+buildbot
  2016-10-06 21:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 11:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee8da4b8396d9a74d27cb9bb0f3aa43d6d23b8ea ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: ee8da4b8396d9a74d27cb9bb0f3aa43d6d23b8ea

Make "end" field in feature specs required again.

Newer gdbservers may be talking to older gdbs,
and older gdbs will flag a missing "end" as an error.
So just make "end" required again, and for compatibility
change the default field type to "bool".

gdb/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* features/aarch64-core.xml (cpsr_flags): Elide "type" and specify
	"end" in all fields.
	* features/aarch64.c: Regenerate.
	* features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields. Correct size of "enabled" field.
	* features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields.
	* features/i386/i386-avx-mpx-linux.c: Regenerate.
	* features/i386/i386-avx-mpx.c: Regenerate.
	* features/i386/i386-avx512-linux.c: Regenerate.
	* features/i386/i386-avx512.c: Regenerate.
	* features/i386/i386-mpx-linux.c: Regenerate.
	* features/i386/i386-mpx.c: Regenerate.
	* features/arc-arcompact.c: Regenerate.
	* features/arc-v2.c: Regenerate.
	* xml-tdesc.c (tdesc_start_field): Require "end" spec.  Single bit
	fields default to "bool" type.

	Revert 2016-03-15  Doug Evans  <dje@google.com>
	* features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
	* features/i386/32bit-sse.xml (i386_eflags): Ditto.
	* features/i386/64bit-core.xml (i386_eflags): Ditto.
	* features/i386/64bit-sse.xml (i386_eflags): Ditto.
	* features/i386/x32-core.xml (i386_eflags): Ditto.

gdb/doc/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.texinfo (Target Description Format): Update docs on "end"
	field spec and field default type.

gdb/testsuite/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.xml/extra-regs.xml: Update, end field now required, default type
	for single bitfields is bool.
	* gdb.xml/tdesc-regs.exp: Ditto.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough warning fixes
@ 2016-10-06  1:07 sergiodj+buildbot
  2016-10-06 19:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  1:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a0670f37442b7ae904932b347353046126b990c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 1a0670f37442b7ae904932b347353046126b990c

-Wimplicit-fallthrough warning fixes

Comment changes.

bfd/
	* coff-h8300.c: Spell fall through comments consistently.
	* coffgen.c: Likewise.
	* elf32-hppa.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-score.c: Likewise.
	* elf32-score7.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elfxx-aarch64.c: Likewise.
	* elfxx-mips.c: Likewise.
	* cpu-ns32k.c: Add missing fall through comments.
	* elf-m10300.c: Likewise.
	* elf32-arm.c: Likewise.
	* elf32-avr.c: Likewise.
	* elf32-bfin.c: Likewise.
	* elf32-frv.c: Likewise.
	* elf32-i386.c: Likewise.
	* elf32-microblaze.c: Likewise.
	* elf32-nds32.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-rl78.c: Likewise.
	* elf32-rx.c: Likewise.
	* elf32-s390.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-tic6x.c: Likewise.
	* elf64-ia64-vms.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elf64-s390.c: Likewise.
	* elf64-x86-64.c: Likewise.
	* elflink.c: Likewise.
	* elfnn-aarch64.c: Likewise.
	* elfnn-ia64.c: Likewise.
	* ieee.c: Likewise.
	* oasys.c: Likewise.
	* pdp11.c: Likewise.
	* srec.c: Likewise.
	* versados.c: Likewise.
opcodes/
	* aarch64-opc.c: Spell fall through comments consistently.
	* i386-dis.c: Likewise.
	* aarch64-dis.c: Add missing fall through comments.
	* aarch64-opc.c: Likewise.
	* arc-dis.c: Likewise.
	* arm-dis.c: Likewise.
	* i386-dis.c: Likewise.
	* m68k-dis.c: Likewise.
	* mep-asm.c: Likewise.
	* ns32k-dis.c: Likewise.
	* sh-dis.c: Likewise.
	* tic4x-dis.c: Likewise.
	* tic6x-dis.c: Likewise.
	* vax-dis.c: Likewise.
binutils/
	* dlltool.c: Spell fall through comments consistently.
	* objcopy.c: Likewise.
	* readelf.c: Likewise.
	* dwarf.c: Add missing fall through comments.
	* elfcomm.c: Likewise.
	* sysinfo.y: Likewise.
	* readelf.c: Likewise.  Also remove extraneous comments.
gas/
	* app.c: Add missing fall through comments.
	* dw2gencfi.c: Likewise.
	* expr.c: Likewise.
	* config/tc-alpha.c: Likewise.
	* config/tc-arc.c: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-cr16.c: Likewise.
	* config/tc-crx.c: Likewise.
	* config/tc-dlx.c: Likewise.
	* config/tc-h8300.c: Likewise.
	* config/tc-hppa.c: Likewise.
	* config/tc-i370.c: Likewise.
	* config/tc-i386.c: Likewise.
	* config/tc-i960.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-m68hc11.c: Likewise.
	* config/tc-m68k.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-metag.c: Likewise.
	* config/tc-microblaze.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-ns32k.c: Likewise.
	* config/tc-rx.c: Likewise.
	* config/tc-score.c: Likewise.
	* config/tc-score7.c: Likewise.
	* config/tc-sh.c: Likewise.
	* config/tc-tic4x.c: Likewise.
	* config/tc-vax.c: Likewise.
	* config/tc-xstormy16.c: Likewise.
	* config/tc-z80.c: Likewise.
	* config/tc-z8k.c: Likewise.
	* config/obj-elf.c: Likewise.
	* config/tc-i386.c: Likewise.
	* depend.c: Spell fall through comments consistently.
	* config/tc-arm.c: Likewise.
	* config/tc-d10v.c: Likewise.
	* config/tc-i960.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-m68k.c: Likewise.
	* config/tc-mcore.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-ns32k.c: Likewise.
	* config/tc-visium.c: Likewise.
	* config/tc-xstormy16.c: Likewise.
	* config/tc-z8k.c: Likewise.
gprof/
	* gprof.c: Add missing fall through comments.
ld/
	* lexsup.c: Spell fall through comments consistently and add
	missing fall through comments.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough error fixes
@ 2016-10-06  0:52 sergiodj+buildbot
  2016-10-06 16:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  0:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b804145796e948fa4c025c07eb201e700281e6b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2b804145796e948fa4c025c07eb201e700281e6b

-Wimplicit-fallthrough error fixes

Well, not all are errors, but a little more substantive than just
fiddling with comments.

bfd/
	* coffcode.h (coff_slurp_symbol_table): Revert accidental commit
	made 2015-01-08.
	* elf32-nds32.c (nds32_elf_grok_psinfo): Add missing break.
	* reloc.c (bfd_default_reloc_type_lookup): Add missing breaks.
opcodes/
	* arc-ext.c (create_map): Add missing break.
	* msp430-decode.opc (encode_as): Likewise.
	* msp430-decode.c: Regenerate.
binutils/
	* coffdump.c (dump_coff_where): Add missing break.
	* stabs.c (stab_xcoff_builtin_type): Likewise.
gas/
	* config/tc-arc.c (find_opcode_match): Add missing break.
	* config/tc-i960.c (get_cdisp): Likewise.
	* config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
	* config/tc-mt.c (md_parse_option): Likewise.
	* config/tc-nds32.c (nds32_apply_fix): Likewise.
	* config/tc-hppa.c (pa_ip): Assert rather than testing last
	condition of multiple if statements.
	* config/tc-s390.c (s390_exp_compare): Return 0 on error.
	* config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
	out of case rather than falling into next case.  Formatting.
ld/
	* plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
	by adding return.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Don't use boolean OR in arithmetic expressions
@ 2016-10-06  0:04 sergiodj+buildbot
  2016-10-06 14:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  0:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 616ec3583b7b6ba0a4e581c426b700b0664a3027 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 616ec3583b7b6ba0a4e581c426b700b0664a3027

Don't use boolean OR in arithmetic expressions

bfd/
	* elf32-epiphany.c (epiphany_final_link_relocate): Use bitwise
	OR in arithmetic expression, not boolean OR.
opcodes/
	* cr16-dis.c (print_insn_cr16): Don't use boolean OR in arithmetic.
	* crx-dis.c (print_insn_crx): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp
@ 2016-10-05 20:50 sergiodj+buildbot
  2016-10-06 11:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 20:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f389f6fef76d7cf8e8beb7061edff2155c284898 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: f389f6fef76d7cf8e8beb7061edff2155c284898

testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp

gcc-6.2.1-2.fc24.x86_64

(gdb) backtrace 10^M
(gdb) FAIL: gdb.arch/i386-signal.exp: backtrace 10

(gdb) disas/s
Dump of assembler code for function main:
.../gdb/testsuite/gdb.arch/i386-signal.c:
30      {
   0x000000000040057f <+0>:     push   %rbp
   0x0000000000400580 <+1>:     mov    %rsp,%rbp
31        setup ();
   0x0000000000400583 <+4>:     callq  0x400590 <setup>
=> 0x0000000000400588 <+9>:     mov    $0x0,%eax
32      }
   0x000000000040058d <+14>:    pop    %rbp
   0x000000000040058e <+15>:    retq
End of assembler dump.

The .exp patch is an obvious typo fix I think.  The regex was written to
accept "ADDR in main" and I find it OK as checking .debug_line validity is not
the purpose of this testfile.

gcc-4.8.5-11.el7.x86_64 did not put the 'mov $0x0,%eax' instruction there at
all so there was no problem with .debug_line.

gdb/testsuite/ChangeLog
2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR remote/20655 - small fix in handle_tracepoint_bkpts
@ 2016-10-05 19:49 sergiodj+buildbot
  2016-10-06  9:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39b5a3b9b3aadac723de719f3c27f8462ed49af7 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 39b5a3b9b3aadac723de719f3c27f8462ed49af7

PR remote/20655 - small fix in handle_tracepoint_bkpts

handle_tracepoint_bkpts has two parallel "if"s.  This changes the
second one to check ipa_error_tracepoint, which seems to be what was
intended.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR remote/20655:
	* tracepoint.c (handle_tracepoint_bkpts): Check
	ipa_error_tracepoint, not ipa_stopping_tracepoint.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/20653 - small cleanup in string_to_explicit_location
@ 2016-10-05 17:55 sergiodj+buildbot
  2016-10-06  7:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e742d386c480efa5229bc8b1887a7718f840a457 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: e742d386c480efa5229bc8b1887a7718f840a457

PR gdb/20653 - small cleanup in string_to_explicit_location

This bug points out that string_to_explicit_location compares a char*
against '\0'; whereas comparing against NULL is more normal.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR breakpoints/20653:
	* location.c (string_to_explicit_location): Use NULL, not '\0'.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR symtab/20652 - fix psymbol_compare
@ 2016-10-05 17:49 sergiodj+buildbot
  2016-10-06  4:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e611445bf05fa20e0befa41afa42651d1983734 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3e611445bf05fa20e0befa41afa42651d1983734

PR symtab/20652 - fix psymbol_compare

This fixes an oversight in psymbol_compare.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR symtab/20652:
	* psymtab.c (psymbol_compare): Correctly compare "ginfo.value"
	fields.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Skip complex types tests if gdb_skip_float_test
@ 2016-10-05 16:25 sergiodj+buildbot
  2016-10-06  2:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdebf1a415f565fc4606f9139d10d1e9393999c0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fdebf1a415f565fc4606f9139d10d1e9393999c0

Skip complex types tests if gdb_skip_float_test

If the target doesn't support float, we don't run float complex types
tests.

gdb/testsuite:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* lib/gdb.exp (support_complex_tests): Return zero if
	gdb_skip_float_test return true.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Remove annoying debug message
@ 2016-10-05 14:41 sergiodj+buildbot
  2016-10-05 21:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed2f09e183df513e9616c53cdace32cf8b824b98 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: ed2f09e183df513e9616c53cdace32cf8b824b98

arc: Remove annoying debug message

The logging message is called too often - once for each register when it's
value has to be evaluated. This floods the screen for commands like "info
register all", but doesn't give really any help at debugging GDB issues.
Between increasing the debug level of this message and removing it altogether I
think that removing it is preferable.

gdb/ChangeLog:

	arc-tdep.c (arc_frame_prev_register): Remove annoying log message.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition
@ 2016-10-05 13:07 sergiodj+buildbot
  2016-10-06  0:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 13:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f206f69cb43e420f92a63464036b342386963261 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: f206f69cb43e420f92a63464036b342386963261

Allow DW_OP_GNU_uninit in dwarf_expr_require_composition

In DWARF expression handling, some operators are required to be either
at the end of an expression or followed by a composition operator.  So
far only the operators DW_OP_reg0-31 were allowed to be followed by
DW_OP_GNU_uninit instead, and particularly DW_OP_regx was not, which is
obviously inconsistent.

This patch allows DW_OP_GNU_uninit after all operators requiring a
composition, to simplify the code and make it more consistent.  This
policy may be more permissive than necessary, but in the worst case just
leads to a DWARF location description resulting in an uninitialized
value instead of an error message.

gdb/ChangeLog:

	* dwarf2expr.c (dwarf_expr_require_composition): Allow
	DW_OP_GNU_uninit.
	(execute_stack_op): Use dwarf_expr_require_composition instead of
	copying its logic.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update the path arm-*.xml files for aarch64
@ 2016-10-05 11:11 sergiodj+buildbot
  2016-10-05 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 11:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1d0b70ae517512a77eed778c6dd7d8a941962fc ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c1d0b70ae517512a77eed778c6dd7d8a941962fc

Update the path arm-*.xml files for aarch64

0a69eedb (Clean up the XML files for ARM) breaks the GDBserver build
on aarch64 because some arm-*.xml files can't be found.

This patch is to fix the build failure.

gdb/gdbserver:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* configure.srv: Update the path of arm-*.xml files.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Regenerate some regformats/rs6000/*.dat files
@ 2016-10-05  9:34 sergiodj+buildbot
  2016-10-05 17:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5878efd48016e091cb19dc09345cd7f73d791c6f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5878efd48016e091cb19dc09345cd7f73d791c6f

Regenerate some regformats/rs6000/*.dat files

If I remove all regformats/*.dat files and run
make GDB=/scratch/yao/gdb/build-git/all-targets/gdb/gdb all, some
powerpc .dat files are not generated.

This patch fixes it by adding them to WHICH, so these .dat files can
be generated.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile (WHICH): Add
	rs6000/powerpc-isa205-32l, rs6000/powerpc-isa205-64l,
	rs6000/powerpc-isa205-altivec32l, rs6000/powerpc-isa205-altivec64l,
	rs6000/powerpc-isa205-vsx32l and rs6000/powerpc-isa205-vsx64l.
	* regformats/rs6000/powerpc-isa205-32l.dat: Regenerated.
	* regformats/rs6000/powerpc-isa205-64l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-altivec32l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-altivec64l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-vsx32l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-vsx64l.dat: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Generate s390 target description c files
@ 2016-10-05  9:18 sergiodj+buildbot
  2016-10-05 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT defaaad59909ead1722f978463fc2e4bdeb0629c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: defaaad59909ead1722f978463fc2e4bdeb0629c

Generate s390 target description c files

If I delete all target description c files under features/ directory,
and run make GDB=/scratch/yao/gdb/build-git/all-targets/gdb/gdb cfiles,
some s390 target description c files are not generated.

This patch adds these s390 xml files to XMLTOC, so these c files can
be generated.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile (XMLTOC): Add s390-tevx-linux64.xml,
	s390-vx-linux64.xml, s390x-tevx-linux64.xml and
	s390x-vx-linux64.xml.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Simplify i386, amd64 and x32 expedite registers
@ 2016-10-05  9:01 sergiodj+buildbot
  2016-10-05 12:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 414c838a722efedb0f787b64629db13d88c9ef7c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 414c838a722efedb0f787b64629db13d88c9ef7c

Simplify i386, amd64 and x32 expedite registers

Nowadays, there are a lot of duplication about
i386/{i386, amd64, x32}*-expedite in features/Makefile.  However,
in features/Makefile, we have

 echo "expedite:$(if $($*-expedite),$($*-expedite),$($(firstword $(subst -, ,$(notdir $*)))-expedite))" \
	  >> $(outdir)/$*.tmp

which means for a given bar/foo-baz.xml, we'll look for either
bar/foo-baz-expedite or foo-expedite.  In x86 expedite registers, we
use the former now, but it will be much simpler if we use the latter.
This is what this patch does.  This patch removes them, and defines
three generic expedite.  Re-run 'make GDB=/path/build/gdb all' to
regenerate regformats/*.dat files, and they are not changed.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile: Remove i386/*-expedite. Add i386-expedite,
	amd64-expedite, and x32-expedite.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Clean up the XML files for ARM
@ 2016-10-05  8:44 sergiodj+buildbot
  2016-10-05  9:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  8:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31

Clean up the XML files for ARM

This patch is move features/arm-*.xml to features/arm/, and it is based
on Terry's patch posted here
https://sourceware.org/ml/gdb-patches/2014-06/msg00794.html

One comment to Terry's patch is about losing "arm" prefix, and the new
patch fixes this problem.

gdb:

2016-10-05  Terry Guo  <terry.guo@arm.com>
	    Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c: Adjust includes.
	* features/Makefile (WHICH): Add "arm/" directory to arm
	target descriptions.
	(XMLTOC): Likewise.
	(arm/arm-with-iwmmxt.dat): Adjust the path for
	dependencies.
	* features/arm-core.xml: Moved to ...
	* features/arm/arm-core.xml: ... it.
	* features/arm-fpa.xml: Moved to ...
	* features/arm/arm-fpa.xml: ... it.
	* features/arm-m-profile.xml: Moved to ...
	* features/arm/arm-m-profile.xm: ... it.
	* features/arm-vfpv2.xml: Moved to ...
	* features/arm/arm-vfpv2.xm: ... it.
	* features/arm-vfpv3.xml: Moved to ...
	* features/arm/arm-vfpv3.xml: ... it.
	* features/arm-with-iwmmxt.c: Moved to ...
	* features/arm/arm-with-iwmmxt.c: ... it.
	* features/arm-with-iwmmxt.xml: Moved to ...
	* features/arm/arm-with-iwmmxt.xml: ... it.
	* features/arm-with-m-fpa-layout.c: Moved to ...
	* features/arm/arm-with-m-fpa-layout.c: ... it.
	* features/arm-with-m-fpa-layout.xml: Moved to ...
	* features/arm/arm-with-m-fpa-layout.xml: ... it.
	* features/arm-with-m-vfp-d16.c: Moved to ...
	* features/arm/arm-with-m-vfp-d16.c: ... it.
	* features/arm-with-m-vfp-d16.xml: Moved to ...
	* features/arm/arm-with-m-vfp-d16.xml: ... it.
	* features/arm-with-m.c: Moved to ...
	* features/arm/arm-with-m.c: ... it.
	* features/arm-with-m.xml: Moved to ...
	* features/arm/arm-with-m.xm: ... it.
	* features/arm-with-neon.c: Moved to ...
	* features/arm/arm-with-neon.c: ... it.
	* features/arm-with-neon.xml: Moved to ...
	* features/arm/arm-with-neon.xml: ... it.
	* features/arm-with-vfpv2.c: Moved to ...
	* features/arm/arm-with-vfpv2.c: ... it.
	* features/arm-with-vfpv2.xml: Moved to ...
	* features/arm/arm-with-vfpv2.xml: ... it.
	* features/arm-with-vfpv3.c: Moved to ...
	* features/arm/arm-with-vfpv3.c: ... it.
	* features/arm-with-vfpv3.xml: Moved to ...
	* features/arm/arm-with-vfpv3.xml: ... it.
	* features/xscale-iwmmxt.xml: Moved to ...
	* features/arm/xscale-iwmmxt.xml: ... it.

gdb/gdbserver:

2016-10-05  Terry Guo  <terry.guo@arm.com>
	    Yao Qi  <yao.qi@linaro.org>

	* Makefile.in: Adjust the path of rules.
	* configure.srv: Update the path of xml files.
	* regformats/arm-with-iwmmxt.dat: Regenerated.
	* regformats/arm-with-neon.dat: Likewise.
	* regformats/arm-with-vfpv2.dat: Likewise.
	* regformats/arm-with-vfpv3.dat Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add test for user context selection sync
@ 2016-10-03 22:01 sergiodj+buildbot
  2016-10-04  0:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-03 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c36d9544f0987cbd840a19552af3343252d28a0 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 9c36d9544f0987cbd840a19552af3343252d28a0

Add test for user context selection sync

This patch adds a test to verify that events are sent properly to all
UIs when the user selection context (inferior, thread, frame) changes.

The goal of the C test file is to provide two threads that are stopped with the
same predictable backtrace (so that we can test frame switching).  The barrier
helps us know when the child threads are started.  Then, scheduler-locking is
used to bring each thread one by one to the position we expect them to be
during the test.

gdb/testsuite/ChangeLog:

YYYY-MM-DD  Antoine Tremblay  <antoine.tremblay@ericsson.com>
YYYY-MM-DD  Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20487
	* gdb.mi/user-selected-context-sync.exp: New file.
	* gdb.mi/user-selected-context-sync.c: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Emit inferior, thread and frame selection events to all UIs
@ 2016-10-03 21:15 sergiodj+buildbot
  2016-10-03 22:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-10-03 21:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4034d0ff52b0f346efedd2d335ccbc672466da45 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 4034d0ff52b0f346efedd2d335ccbc672466da45

Emit inferior, thread and frame selection events to all UIs

With this patch, when an inferior, thread or frame is explicitly
selected by the user, notifications will appear on all CLI and MI UIs.
When a GDB console is integrated in a front-end, this allows the
front-end to follow a selection made by the user ont he CLI, and it
informs the user about selection changes made behind the scenes by the
front-end.

This patch addresses PR gdb/20487.

In order to communicate frame changes to the front-end, this patch adds
a new field to the =thread-selected event for the selected frame.  The
idea is that since inferior/thread/frame can be seen as a composition,
it makes sense to send them together in the same event.  The vision
would be to eventually send the inferior information as well, if we find
that it's needed, although the "=thread-selected" event would be
ill-named for that job.

Front-ends need to handle this new field if they want to follow the
frame selection changes that originate from the console.  The format of
the frame attribute is the same as what is found in the *stopped events.

Here's a detailed example for each command and the events they generate:

thread
------

1. CLI command:

     thread 1.3

   MI event:

     =thread-selected,id="3",frame={...}

2. MI command:

     -thread-select 3

   CLI event:

     [Switching to thread 1.3 ...]

3. MI command (CLI-in-MI):

     thread 1.3

   MI event/reply:

     &"thread 1.3\n"
     ~"#0  child_sub_function () ...
     =thread-selected,id="3",frame={level="0",...}
     ^done

frame
-----

1. CLI command:

     frame 1

   MI event:

     =thread-selected,id="3",frame={level="1",...}

2. MI command:

     -stack-select-frame 1

   CLI event:

     #1  0x00000000004007f0 in child_function...

3. MI command (CLI-in-MI):

     frame 1

   MI event/reply:

     &"frame 1\n"
     ~"#1  0x00000000004007f9 in ..."
     =thread-selected,id="3",frame={level="1"...}
     ^done

inferior
--------

Inferior selection events only go from the console to MI, since there's
no way to select the inferior in pure MI.

1. CLI command:

     inferior 2

   MI event:

     =thread-selected,id="3"

Note that if the user selects an inferior that is not started or exited,
the MI doesn't receive a notification.  Since there is no threads to
select, the =thread-selected event does not apply...

2. MI command (CLI-in-MI):

     inferior 2

   MI event/reply:

     &"inferior 2\n"
     ~"[Switching to inferior 2 ...]"
     =thread-selected,id="4",frame={level="0"...}
     ^done

Internal implementation detail: this patch makes it possible to suppress
notifications caused by a CLI command, like what is done in mi-interp.c.
This means that it's now possible to use the
add_com_suppress_notification function to register a command with some
event suppressed.  It is used to implement the select-frame command in
this patch.

The function command_notifies_uscc_observer was added to extract
the rather complicated logical expression from the if statement.  It is
also now clearer what that logic does: if the command used by the user
already notifies the user_selected_context_changed observer, there is
not need to notify it again.  It therefore protects again emitting the
event twice.

No regressions, tested on ubuntu 14.04 x86 with target boards unix and
native-extended-gdbserver.

gdb/ChangeLog:

YYYY-MM-DD  Antoine Tremblay  <antoine.tremblay@ericsson.com>
YYYY-MM-DD  Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20487
	* NEWS: Mention new frame field of =thread-selected event.
	* cli/cli-decode.c (add_cmd): Initialize c->suppress_notification.
	(add_com_suppress_notification): New function definition.
	(cmd_func): Set and restore the suppress_notification flag.
	* cli/cli-deicode.h (struct cmd_list_element)
	<suppress_notification>: New field.
	* cli/cli-interp.c (cli_suppress_notification): New global variable.
	(cli_on_user_selected_context_changed): New function.
	(_initialize_cli_interp): Attach to user_selected_context_changed
	observer.
	* command.h (struct cli_suppress_notification): New structure.
	(cli_suppress_notification): New global variable declaration.
	(add_com_suppress_notification): New function declaration.
	* defs.h (enum user_selected_what_flag): New enum.
	(user_selected_what): New enum flag type.
	* frame.h (print_stack_frame_to_uiout): New function declaration.
	* gdbthread.h (print_selected_thread_frame): New function declaration.
	* inferior.c (print_selected_inferior): New function definition.
	(inferior_command): Remove printing of inferior/thread/frame switch
	notifications, notify user_selected_context_changed observer.
	* inferior.h (print_selected_inferior): New function declaration.
	* mi/mi-cmds.c (struct mi_cmd): Add user_selected_context
	suppression to stack-select-frame and thread-select commands.
	* mi/mi-interp.c (struct mi_suppress_notification)
	<user_selected_context>: Initialize.
	(mi_user_selected_context_changed): New function definition.
	(_initialize_mi_interp): Attach to user_selected_context_changed.
	* mi/mi-main.c (mi_cmd_thread_select): Print thread selection reply.
	(mi_execute_command): Handle notification suppression.  Notify
	user_selected_context_changed observer on thread change instead of printing
	event directly.  Don't send it if command already sends the notification.
	(command_notifies_uscc_observer): New function.
	(mi_cmd_execute): Don't handle notification suppression.
	* mi/mi-main.h (struct mi_suppress_notification)
	<user_selected_context>: New field.
	* stack.c (print_stack_frame_to_uiout): New function definition.
	(select_frame_command): Notify user_selected_context_changed
	observer.
	(frame_command): Call print_selected_thread_frame if there's no frame
	change or notify user_selected_context_changed observer if there is.
	(up_command): Notify user_selected_context_changed observer.
	(down_command): Likewise.
	(_initialize_stack): Suppress user_selected_context notification for
	command select-frame.
	* thread.c (thread_command): Notify
	user_selected_context_changed if the thread has changed, print
	thread info directly if it hasn't.
	(do_captured_thread_select): Do not print thread switch event.
	(print_selected_thread_frame): New function definition.
	* tui/tui-interp.c (tui_on_user_selected_context_changed):
	New function definition.
	(_initialize_tui_interp): Attach to user_selected_context_changed
	observer.

gdb/doc/ChangeLog:

	PR gdb/20487
	* gdb.texinfo (Context management): Update mention of frame
	change notifications.
	(gdb/mi Async Records): Document frame field in
	=thread-select event.
	* observer.texi (GDB Observers): New user_selected_context_changed
	observer.

gdb/testsuite/ChangeLog:

	PR gdb/20487
	* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
	=thread-select-event check.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] PR target/20553, fix opcode mask for SIMD multiply by element
@ 2016-09-30 17:36 sergiodj+buildbot
  2016-09-30 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 17:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 744ce3025e82a59c13642c57e38febd8ff531f9b ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 744ce3025e82a59c13642c57e38febd8ff531f9b

[AArch64] PR target/20553, fix opcode mask for SIMD multiply by element

opcode/
	PR target/20553
        * aarch64-tbl.h (fmla, fmls, fmul, fmulx): Fix opcode mask field.

gas/
        * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
        testcases for H and S variants.  New low index testcases for D variant.
        * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove syntactic sugar
@ 2016-09-30 15:11 sergiodj+buildbot
  2016-09-30 17:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4eca02287cf48e60ee89338ddd35f8d0d8257a51 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4eca02287cf48e60ee89338ddd35f8d0d8257a51

Remove syntactic sugar

Now that _bfd_error_handler is not a function pointer.

	* aout-adobe.c: Replace (*_bfd_error_handler) (...) with
	_bfd_error_handler (...) throughout.
	* aout-cris.c, * aoutx.h, * archive.c, * bfd.c, * binary.c,
	* cache.c, * coff-alpha.c, * coff-arm.c, * coff-h8300.c,
	* coff-i860.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
	* coff-sh.c, * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c,
	* coff64-rs6000.c, * coffcode.h, * coffgen.c, * cofflink.c,
	* coffswap.h, * cpu-arm.c, * cpu-m68k.c, * cpu-sh.c, * dwarf2.c,
	* ecoff.c, * elf-eh-frame.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
	* elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, * elf32-cr16.c,
	* elf32-cris.c, * elf32-crx.c, * elf32-dlx.c, * elf32-frv.c,
	* elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-lm32.c,
	* elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
	* elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, * elf32-microblaze.c,
	* elf32-mips.c, * elf32-nds32.c, * elf32-nios2.c, * elf32-or1k.c,
	* elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-s390.c,
	* elf32-score.c, * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c,
	* elf32-sparc.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c,
	* elf32-v850.c, * elf32-vax.c, * elf32-xtensa.c, * elf64-alpha.c,
	* elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
	* elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c,
	* elf64-x86-64.c, * elfcode.h, * elfcore.h, * elflink.c,
	* elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, * elfxx-mips.c,
	* elfxx-sparc.c, * elfxx-tilegx.c, * hpux-core.c, * i386linux.c,
	* ieee.c, * ihex.c, * libbfd.c, * linker.c, * m68klinux.c,
	* mach-o.c, * merge.c, * mmo.c, * oasys.c, * osf-core.c, * pdp11.c,
	* pe-mips.c, * peXXigen.c, * pef.c, * plugin.c, * reloc.c,
	* rs6000-core.c, * sco5-core.c, * som.c, * sparclinux.c, * srec.c,
	* stabs.c, * syms.c, * vms-alpha.c, * vms-lib.c, * vms-misc.c,
	* xcofflink.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Make bfd_error_handler_type like vprintf
@ 2016-09-30 14:26 sergiodj+buildbot
  2016-09-30 15:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52d45da3f275b5d1c8ef2e96a7760585c736133b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 52d45da3f275b5d1c8ef2e96a7760585c736133b

Make bfd_error_handler_type like vprintf

It was like printf, which means you can't use bfd_set_error_handler to
hook in a function to do something and then call the original handler.

The patch also deletes some unused functions and makes pointers local.

bfd/
	* bfd-in.h: Include stdarg.h.
	* bfd.c (bfd_error_handler_type): Make like vprintf.
	(_bfd_error_internal): Rename from _bfd_error_handler.  Make static.
	(error_handler_internal): New function, split out from..
	(_bfd_default_error_handler): ..here.  Rename to _bfd_error_handler.
	(bfd_set_error_handler): Update.
	(bfd_get_error_handler, bfd_get_assert_handler): Delete.
	(_bfd_assert_handler): Make static.
	* coffgen.c (null_error_handler): Update params.
	* elf-bfd.h (struct elf_backend_data <link_order_error_handler>):
	Don't use bfd_error_handler_type.
	* elf64-mmix.c (mmix_dump_bpo_gregs): Likewise.
	* elfxx-target.h (elf_backend_link_order_error_handler): Default
	to _bfd_error_handler.
	* libbfd-in.h (_bfd_default_error_handler): Don't declare.
	(bfd_assert_handler_type): Likewise.
	(_bfd_error_handler): Update.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
ld/
	* ldlang.c (ignore_bfd_errors): Update params.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update tests to account for the L operand being compulsory.
@ 2016-09-30 10:59 sergiodj+buildbot
  2016-09-30 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 10:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4297203ea1a1e4664b6f2b05efecd60f6437f46 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: a4297203ea1a1e4664b6f2b05efecd60f6437f46

Update tests to account for the L operand being compulsory.

	* gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
	the compulsory L operand changes.
	* gdb.arch/powerpc-power.s: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
@ 2016-09-29 21:17 sergiodj+buildbot
  2016-09-30  9:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-29 21:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb805577d2b212411fb7b0a2d01644567fac4e8d ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: bb805577d2b212411fb7b0a2d01644567fac4e8d

PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression

Regression: gdb --pid $(pidof qemu-system-x86_64) stopped working with gdb 7.11.1
https://sourceware.org/bugzilla/show_bug.cgi?id=20609

It was reported for qemu-system-x86_64 but it happens for any multithreaded
inferior with a JIT debugging hook.

136613ef0c6850427317e57be1b644080ff6decb is the first bad commit
Author: Pedro Alves <palves@redhat.com>
    Fix PR gdb/19828: gdb -p <process from a container>: internal error
Message-ID: <cbdf2e04-4fa8-872a-2a23-08c9c1b26e00@redhat.com>
https://sourceware.org/ml/gdb-patches/2016-05/msg00450.html

jit_breakpoint_re_set() is specific by trying to insert a breakpoint into the
main executable, not into a shared library.  During attachment GDB thinks it
needs to use 'breakpoint always-inserted' from
breakpoints_should_be_inserted_now() as a newly attached thread is
'thread_info->executing' due to 'lwp_info->must_set_ptrace_flags' enabled and
the task not yet stopped.  This did not happen before the 'bad commit' above
which adds tracking of such thread.

GDB then fails to insert the breakpoints to invalid address as PIE executable
gets properly relocated during later phase of attachment.  One can see in the
backtraces below:
 -> jit_breakpoint_re_set_internal()
later:
 -> svr4_exec_displacement()

One can suppress the initial breakpoint_re_set() call as there will be another
breakpoint_re_set() done from the final post_create_inferior() call in
setup_inferior().

BTW additionally 'threads_executing' cache bool is somehow stale (somewhere is
missing update_threads_executing()).  I was trying to deal with that in my
first/second attempt below but in my final third attempt (attached) I have
left it as it is.

First attempt trying not to falsely require 'breakpoint always-inserted':
  https://people.redhat.com/jkratoch/rhbz1375553-fix1.patch
Reduced first attempt:
  https://people.redhat.com/jkratoch/rhbz1375553-fix2.patch

The third attempt suppresses breakpoint insertion until PIE executable gets
relocated by svr4_exec_displacement().  Applied.

gdb/ChangeLog
2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
	* exec.c (exec_file_locate_attach): Add parameter defer_bp_reset.
	Use it.
	* gdbcore.h (exec_file_locate_attach): Add parameter defer_bp_reset.
	* infcmd.c (setup_inferior): Update caller.
	* remote.c (remote_add_inferior): Likewise.

gdb/testsuite/ChangeLog
2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
	* gdb.base/jit-attach-pie.c: New file.
	* gdb.base/jit-attach-pie.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64
@ 2016-09-29 17:39 sergiodj+buildbot
  2016-09-29 19:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-29 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5721ba270ddf860e0e5a45bba456214e8eac2be ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: a5721ba270ddf860e0e5a45bba456214e8eac2be

Disallow 3-operand cmp[l][i] for ppc64

cmp[l][o] get an optional L field only when generating 32-bit code.
dcbf, tlbie and tlbiel keep their optional L field, ditto for R field
of tbegin.  cmprb, tsr., wlcr[all] and mtsle all change to a
compulsory L field.

L field of dcbf and wclr is 2 bits.

	PR 20641
include/
	* opcode/ppc.h (PPC_OPERAND_OPTIONAL32): Define.
opcodes/
	* ppc-opc.c (L): Make compulsory.
	(LOPT): New, optional form of L.
	(HTM_R): Define as LOPT.
	(L0, L1): Delete.
	(L32OPT): New, optional for 32-bit L.
	(L2OPT): New, 2-bit L for dcbf.
	(SVC_LEC): Update.
	(L2): Define.
	(insert_l0, extract_l0, insert_l1, extract_l2): Delete.
	(powerpc_opcodes <cmpli, cmpi, cmpl, cmp>): Use L32OPT.
	<dcbf>: Use L2OPT.
	<tlbiel, tlbie>: Use LOPT.
	<wclr, wclrall>: Use L2.
gas/
	* config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
	* testsuite/gas/ppc/power8.s: Provide tbegin. operand.
	* testsuite/gas/ppc/power9.d: Update cmprb disassembly.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed
@ 2016-09-29  6:35 sergiodj+buildbot
  2016-09-29 16:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-29  6:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d61dee599fb314f0561c3bd0dd17ac0cfa05e35 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6d61dee599fb314f0561c3bd0dd17ac0cfa05e35

Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed

If you run an infcall from the command line, and immediately after run
some other command, GDB incorrectly processes the other command before
the infcall finishes.

The problem is that the fix for PR gdb/20418 (Problems with
synchronous commands and new-ui, git 3eb7562a983b) moved the
add_file_handler/delete_file_handler calls out of
target_terminal_$foo, and missed adjusting the infcall code.

gdb/ChangeLog:
2016-09-28  Pedro Alves  <palves@redhat.com>

	* infcall.c (run_inferior_call): Remove input from the event
	loop while running the infcall.

gdb/testsuite/ChangeLog:
2016-09-28  Pedro Alves  <palves@redhat.com>

	* gdb.base/infcall-input.c: New file.
	* gdb.base/infcall-input.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix seg-fault in the linker introduced by the previous delta.
@ 2016-09-28 23:53 sergiodj+buildbot
  2016-09-29  6:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 23:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9eaff8613893f063400fdae95bc382ab33685e3b ***

Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Branch: master
Commit: 9eaff8613893f063400fdae95bc382ab33685e3b

Fix seg-fault in the linker introduced by the previous delta.

	PR ld/20636
	* elf-bfd.h (struct elf_backend_data): Delete
	elf_backend_count_output_relocs callback and add
	elf_backend_update_relocs.
	* elf32-arm.c (elf32_arm_count_output_relocs): Deleted.
	(emit_relocs): Deleted.
	(elf32_arm_emit_relocs): Deleted.
	(elf_backend_emit_relocs): Updated not to use the old functions.
	(elf32_arm_update_relocs): New function.
	(elf_backend_update_relocs): New define.
	* elflink.c (bfd_elf_final_link): Add additional_reloc_count to the
	relocation count. Call elf_backend_emit_relocs.
	(_bfd_elf_size_reloc_section): Do not call
	elf_backend_count_output_relocs.
	* elfxx-target.h (elf_backend_count_output_relocs): Deleted.
	(elf_backend_update_relocs): New define.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry
@ 2016-09-28 22:44 sergiodj+buildbot
  2016-09-28 23:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 22:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2df2751d1927e1231bbe7d548139da98d6ca9b9a ***

Author: Christophe Lyon <christophe.lyon@linaro.org>
Branch: master
Commit: 2df2751d1927e1231bbe7d548139da98d6ca9b9a

[ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry

2016-09-28  Christophe Lyon  <christophe.lyon@linaro.org>

	PR ld/20608
	bfd/
	* elf32-arm.c (arm_type_of_stub): Handle the case when the pre-PLT
	Thumb-ARM stub is too far.

	ld
	* testsuite/ld-arm/arm-elf.exp: Handle new testcase.
	* testsuite/ld-arm/farcall-mixed-app2.d: New file.
	* testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
	* testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
	* testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add archives and make stamps to the .gitignore file.
@ 2016-09-28 12:00 sergiodj+buildbot
  2016-09-28 22:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 12:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07619d52fef6fda58cbc327512a4d8ec60ad5637 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 07619d52fef6fda58cbc327512a4d8ec60ad5637

Add archives and make stamps to the .gitignore file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Ensure that the timestamp in PE/COFF headers is always initialised.
@ 2016-09-28  0:56 sergiodj+buildbot
  2016-09-28 11:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-28  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c5f704fc035bc705dee887418f42cb8bca24b5d ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1c5f704fc035bc705dee887418f42cb8bca24b5d

Ensure that the timestamp in PE/COFF headers is always initialised.

	PR ld/20634
	* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Put 0 in the
	timestamp field if real time values are not being stored.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Detect the magic address of EXC_RETURN in ARM coretx-m profile
@ 2016-09-27 11:34 sergiodj+buildbot
  2016-09-28  0:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-27 11:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca90e76046d302a730629ecf39b425a8aaa590c2 ***

Author: Fredrik Hederstierna <fredrik.hederstierna@verisure.com>
Branch: master
Commit: ca90e76046d302a730629ecf39b425a8aaa590c2

Detect the magic address of EXC_RETURN in ARM coretx-m profile

On ARMv6-M and ARMv7-M, the exception return address is sort of magic
address defined by the manual.  This patch is to let GDB well handle
these magic addresses.

2016-09-27  Fredrik Hederstierna  <fredrik.hederstierna@verisure.com>

	* arm-tdep.c (arm_m_addr_is_magic): New function.
	(arm_addr_bits_remove): Call arm_m_addr_is_magic.
	(arm_m_exception_unwind_sniffer): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] When building target binaries, ensure that the warning flags selected for the command line match the target compiler.
@ 2016-09-27  2:10 sergiodj+buildbot
  2016-09-27 15:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-27  2:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5da193232ea0452f714dffee0d417d965590476 ***

Author: Vlad Zakharov <vzakhar@synopsys.com>
Branch: master
Commit: c5da193232ea0452f714dffee0d417d965590476

When building target binaries, ensure that the warning flags selected for the command line match the target compiler.

bfd	* warning.m4 (AC_EGREP_CPP_FOR_BUILD): Introduce macro
	to verify CC_FOR_BUILD compiler.
	(AM_BINUTILS_WARNINGS): Introduce ac_cpp_for_build variable
	and add CC_FOR_BUILD compiler checks.
	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

binutils	* Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
	when building with CC_FOR_BUILD compiler.
	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

gas	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

gold	* Makefile.in: Regenerate.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

gprof	* Makefile.in: Regenerate.
	* configure: Likewise.

ld	* Makefile.in: Regenerate.
	* configure: Likewise.

opcodes	* Makefile.in: Regenerate.
	* configure: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix the calculation of AMD64_PCRQUAD relocations.
@ 2016-09-26 22:57 sergiodj+buildbot
  2016-09-27  8:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 22:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 384f7503344b1d07561f801ced7493858cde6164 ***

Author: Awson <kyrab@mail.ru>
Branch: master
Commit: 384f7503344b1d07561f801ced7493858cde6164

Fix the calculation of AMD64_PCRQUAD relocations.

	PR ld/17955
	* coff-x86_64.c (coff_amd64_rtype_to_howto): Use an 8 byte offset
	for R_AMD64_PCRQUAD relocations.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [ARC] ISA alignment.
@ 2016-09-26 19:24 sergiodj+buildbot
  2016-09-27  6:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 19:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81

[ARC] ISA alignment.

include/
2016-09-26  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_class_t): Add two new classes.

opcodes/
2016-09-26  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-ext-tbl.h (EXTINSN2OPF): Define.
	(EXTINSN2OP): Use EXTINSN2OPF.
	(bspeekm, bspop, modapp): New extension instructions.
	* arc-opc.c (F_DNZ_ND): Define.
	(F_DNZ_D): Likewise.
	(F_SIZEB1): Changed.
	(C_DNZ_D): Define.
	(C_HARD): Changed.
	* arc-tbl.h (dbnz): New instruction.
	(prealloc): Allow it for ARC EM.
	(xbfu): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PowerPC .gnu.attributes
@ 2016-09-26 16:58 sergiodj+buildbot
  2016-09-27  3:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 16:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 005d79fd6101dae0aaf62a1b0cee399efcbd0e21 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 005d79fd6101dae0aaf62a1b0cee399efcbd0e21

PowerPC .gnu.attributes

This patch extends Tag_GNU_Power_ABI_FP to cover long double ABIs,
makes the assembler warn about undefined tag values, and removes
similar warnings from the linker.  I think it is better to not
warn in the linker about undefined tag values as future extensions to
the tags then won't result in likely bogus warnings.  This is
consistent with the fact that an older linker won't warn on an
entirely new tag.

include/
	* elf/ppc.h (Tag_GNU_Power_ABI_FP): Comment.
bfd/
	* elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Declare.
	* elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): New function.
	(ppc_elf_merge_obj_attributes): Use it.  Don't copy first file
	attributes, merge them.  Don't warn about undefined tag bits,
	or copy unknown values to output.
	* elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Call
	_bfd_elf_ppc_merge_fp_attributes.
binutils/
	* readelf.c (display_power_gnu_attribute): Catch truncated section
	for all powerpc attributes.  Display long double ABI.  Don't
	capitalize words, except for names.  Show known bits of tag values
	when some unknown bits are present.  Whitespace fixes.
gas/
	* config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
	(md_pseudo_table <ELF>): Handle "gnu_attribute".
ld/
	* testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
	* testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
	* testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Call debug_exit in linux_wait_1
@ 2016-09-26 11:09 sergiodj+buildbot
  2016-09-27  2:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 11:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edeeb6024373d865284903f0b96b9811afde0441 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: edeeb6024373d865284903f0b96b9811afde0441

Call debug_exit in linux_wait_1

When I read the GDBserver debug message, I find the "entering" of
linux_wait_1 doesn't match the "existing" of linux_wait_1.  Looks
we don't call debug_exit somewhere in linux_wait_1 on return.

gdb/gdbserver:

2016-09-26  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_wait_1): Call debug_exit.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix a use of target_mourn_inferior in windows-nat.c
@ 2016-09-25  5:08 sergiodj+buildbot
  2016-09-26 18:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-25  5:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9eee20eb5400345cab1952cbfc0426035ddf1140 ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: 9eee20eb5400345cab1952cbfc0426035ddf1140

Fix a use of target_mourn_inferior in windows-nat.c

One use of target_mourn_interior seems to have been missed in bc1e6c81

gdb/ChangeLog:

2016-09-23  Jon Turney  <jon.turney@dronecode.org.uk>

	* windows-nat.c (windows_delete_thread): Adjusting call to
	target_mourn_inferior to include ptid_t argument.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string rather than dyn-string
@ 2016-09-24  7:30 sergiodj+buildbot
  2016-09-26 16:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a97e29d248d51bb688cff677def657eb0cf82cca ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a97e29d248d51bb688cff677def657eb0cf82cca

Use std::string rather than dyn-string

This patch changes some code in cli-cmds.c to use std::string rather
than dyn-string, removing some cleanups.  Since this was the last use
of dyn-string in gdb, this patch also removes
make_cleanup_dyn_string_delete.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* utils.h (make_cleanup_dyn_string_delete): Remove declaration.
	* utils.c: Don't include dyn-string.h.
	(do_dyn_string_delete, make_cleanup_dyn_string_delete): Remove.
	* cli/cli-cmds.c: Include <string>.  Don't include dyn-string.h.
	(argv_to_string): Rename.  Change return type to std::string.
	(alias_command): Use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::vector in objfiles.c
@ 2016-09-24  4:16 sergiodj+buildbot
  2016-09-26 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  4:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cfe826d45ea2e15f0df4c039dfa4b9ea605831da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: cfe826d45ea2e15f0df4c039dfa4b9ea605831da

Use std::vector in objfiles.c

This patch changes a spot in objfiles.c to use a std::vector, removing
a cleanup.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* objfiles.c: Include <vector>.
	(objfile_relocate): Use std::vector.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string, std::vector in rust-lang.c
@ 2016-09-24  2:55 sergiodj+buildbot
  2016-09-26 10:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  2:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab8b80a88546eacb6e75004e8dd571e6bdf9505f ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ab8b80a88546eacb6e75004e8dd571e6bdf9505f

Use std::string, std::vector in rust-lang.c

This patch changes some spots in rust-lang.c to use std::string or
std::vector, removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* rust-lang.c: Include <string> and <vector>.
	(rust_evaluate_funcall): Use std::vector, std::string.
	(rust_evaluate_subexp): Use std::string.
	(rust_lookup_symbol_nonlocal): Use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in cp-namespace.c
@ 2016-09-24  0:14 sergiodj+buildbot
  2016-09-26 10:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 05d49c372d4689f8ca8baf4fdd32529ac40f297a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 05d49c372d4689f8ca8baf4fdd32529ac40f297a

Use std::string in cp-namespace.c

This changes a few spots in cp-namespace.c to use std::string,
removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* cp-namespace.c: Include <string>.
	(cp_search_static_and_baseclasses)
	(cp_lookup_symbol_imports_or_template, find_symbol_in_baseclass):
	Use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use std::string in break-catch-sig.c
@ 2016-09-23 23:51 sergiodj+buildbot
  2016-09-26 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5809899dad253e2fefcb6f7ae57a6f43cfa4e3c5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 5809899dad253e2fefcb6f7ae57a6f43cfa4e3c5

Use std::string in break-catch-sig.c

This changes one spot in break-catch-sig.c to use std::string,
removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* break-catch-sig.c: Include <string>.
	(signal_catchpoint_print_one): Use std::string.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Remove some unnecessary code
@ 2016-09-23 22:27 sergiodj+buildbot
  2016-09-26  9:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 22:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e25a500a1ba05587389737e7c617e5ae6dd2bcf ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3e25a500a1ba05587389737e7c617e5ae6dd2bcf

Remove some unnecessary code

This patch removes some unnecessary code.  In particular,
terminate_minimal_symbol_table is declared in minsyms.h, so it doesn't
need to be declared in objfiles.h as well.  And,
restore_ui_out_closure was rendered unnecessary by an earlier patch,
so the structure definition can be removed now.

I'm checking this in as obvious.

Tested by rebuilding on x86-64 Fedora 24 with --enable-targets=all;
which would notice any missing includes of minsyms.h.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* utils.c (struct restore_ui_out_closure): Remove.
	* objfiles.h (terminate_minimal_symbol_table): Don't declare.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Replace sprintf with xsnprintf in nat/linux-osdata.c
@ 2016-09-23 21:43 sergiodj+buildbot
  2016-09-26  8:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97e64e5ab19dbf6a9babd711e8deec5545520954 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 97e64e5ab19dbf6a9babd711e8deec5545520954

Replace sprintf with xsnprintf in nat/linux-osdata.c

I see the following build warning when I build GDB with GCC trunk.

../../binutils-gdb/gdb/nat/linux-osdata.c: In function LONGEST linux_xfer_osdata_fds(gdb_byte*, ULONGEST, ULONGEST):
../../binutils-gdb/gdb/nat/linux-osdata.c:767:1: error: %s directive writing between 0 and 255 bytes into a region of size 11 [-Werror=format-length=]
 linux_xfer_osdata_fds (gdb_byte *readbuf,
 ^~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/nat/linux-osdata.c:800:51: note: format output between 7 and 262 bytes into a destination of size 17
        sprintf (procentry, "/proc/%s", dp->d_name);
                                                   ^
../../binutils-gdb/gdb/nat/linux-osdata.c: In function LONGEST linux_xfer_osdata_threads(gdb_byte*, ULONGEST, ULONGEST):
../../binutils-gdb/gdb/nat/linux-osdata.c:555:1: error: %s directive writing between 0 and 255 bytes into a region of size 11 [-Werror=format-length=]
 linux_xfer_osdata_threads (gdb_byte *readbuf,
 ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/nat/linux-osdata.c:588:51: note: format output between 7 and 262 bytes into a destination of size 17
        sprintf (procentry, "/proc/%s", dp->d_name);
                                                   ^
cc1plus: all warnings being treated as errors

The warning is a false positive, but we can workaround it by replacing
sprintf with xsnprintf.  On the other hand, it is always preferred to
use xsnprintf.

gdb:

2016-09-23  Yao Qi  <yao.qi@linaro.org>

	* nat/linux-osdata.c (linux_xfer_osdata_threads): Replace
	sprintf with xsnprintf.
	(linux_xfer_osdata_fds): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Replace operator new / operator new[]
@ 2016-09-23 20:08 sergiodj+buildbot
  2016-09-26  5:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 503b1c39dc801389f7ae510fb1f7ee1e533b67ac ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 503b1c39dc801389f7ae510fb1f7ee1e533b67ac

gdb: Replace operator new / operator new[]

If xmalloc fails allocating memory, usually because something tried a
huge allocation, like xmalloc(-1) or some such, GDB asks the user what
to do:

  .../src/gdb/utils.c:1079: internal-error: virtual memory exhausted.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n)

If the user says "n", that throws a QUIT exception, which is caught by
one of the multiple CATCH(RETURN_MASK_ALL) blocks somewhere up the
stack.

The default implementations of operator new / operator new[] call
malloc directly, and on memory allocation failure throw
std::bad_alloc.  Currently, if that happens, since nothing catches it,
the exception escapes out of main, and GDB aborts from unhandled
exception.

This patch replaces the default operator new variants with versions
that, just like xmalloc:

 #1 - Raise an internal-error on memory allocation failure.

 #2 - Throw a QUIT gdb_exception, so that the exact same CATCH blocks
      continue handling memory allocation problems.

A minor complication of #2 is that operator new can _only_ throw
std::bad_alloc, or something that extends it:

  void* operator new (std::size_t size) throw (std::bad_alloc);

That means that if we let a gdb QUIT exception escape from within
operator new, the C++ runtime aborts due to unexpected exception
thrown.

So to bridge the gap, this patch adds a new gdb_quit_bad_alloc
exception type that inherits both std::bad_alloc and gdb_exception,
and throws _that_.

If we decide that we should be catching memory allocation errors in
fewer places than all the places we currently catch them (everywhere
we use RETURN_MASK_ALL currently), then we could change operator new
to throw plain std::bad_alloc then.  But I'm considering such a change
as separate matter from this one -- it'd make sense to do the same to
xmalloc at the same time, for instance.

Meanwhile, this allows using new/new[] instead of xmalloc/XNEW/etc.
without losing the "virtual memory exhausted" internal-error
safeguard.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2016-09-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/new-op.c.
	(COMMON_OBS): Add common/new-op.o.
	(new-op.o): New rule.
	* common/common-exceptions.h: Include <new>.
	(struct gdb_quit_bad_alloc): New type.
	* common/new-op.c: New file.

gdb/gdbserver/ChangeLog:
2016-09-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/new-op.c.
	(OBS): Add common/new-op.o.
	(new-op.o): New rule.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Delete relocations associatesd with deleted exidx entries.
@ 2016-09-23 19:06 sergiodj+buildbot
  2016-09-26  4:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 19:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5025eb7c0d87b01507116353b5d63b163d7add3d ***

Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Branch: master
Commit: 5025eb7c0d87b01507116353b5d63b163d7add3d

Delete relocations associatesd with deleted exidx entries.

	PR ld/20595
ld	* testsuite/ld-arm/unwind-4.d: Add -q option to linker command
	line and -r option to objdump command line.  Match emitted relocs
	to make sure that superflous relocs are not generated.

bfd	* elf-bfd.h (struct elf_backend_data): Add
	elf_backend_count_output_relocs callback to count relocations in
	the final output.
	* elf-arm.c (elf32_arm_add_relocation): Deleted.
	(elf32_arm_write_section): Move additional relocation to emit_relocs.
	(elf32_arm_count_output_relocs): New function.
	(emit_relocs): New function.
	(elf32_arm_emit_relocs): New function.
	(elf32_arm_vxworks_emit_relocs): New function.
	(elf_backend_emit_relocs): Updated to use the new functions.
	(elf_backend_count_output_relocs): New define.
	* bfd/elflink.c (bfd_elf_final_link): Do not add additional_reloc_count
	to the relocation count.
	(_bfd_elf_link_size_reloc_section): Use callback to count the
	relocations which will be in output.
	(_bfd_elf_default_count_output_relocs): New function.
	* bfd/elfxx-target.h (elf_backend_count_output_relocs): New define.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Close gdbserver in mi_gdb_exit
@ 2016-09-23  0:46 sergiodj+buildbot
  2016-09-26  3:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-23  0:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f73842fc847e297fd44542de9601a84b4d6b28d8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f73842fc847e297fd44542de9601a84b4d6b28d8

Close gdbserver in mi_gdb_exit

In commit 6423214f (testsuite: Don't use expect_background to reap
gdbserver), we override gdb_exit in lib/gdbserver-support.exp, so
that we can close gdbserver first.  However, we don't close gdbserver
in mi_gdb_exit.  This makes a problem in my aarch64 mulit-arch testing,
in which I run some mi tests, mi-watch.exp for example, in different
variations (aarch64 and arm),

Schedule of variations:
    junor0-2
    junor0-2-arm/-marm
    junor0-2-arm/-mthumb

When the test is done in the first variation (aarch64), test case is
recompiled for arm, but GDBserver with aarch64 program is still
running.  When the second variation is started, GDB loads arm program,
but GDBserver still loads aarch64 program because the old GDBserver
process is using it.  We'll get,

47-target-select remote junor0-2:2350^M
&"warning: Selected architecture arm is not compatible with reported target architecture aarch64\n"^M
&"warning: Architecture rejected target-supplied description\n"

This patch fixes this problem by closing GDBserver in mi_gdb_exit.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* lib/gdbserver-support.exp: Rename mi_gdb_exit.
	(gdb_exit): Rename it to ...
	(gdbserver_gdb_exit): ...  Close GDBserver.
	(gdb_exit): New proc, call gdbserver_gdb_exit.
	(mi_gdb_exit): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Fix build breakage from commit 6ec2b2
@ 2016-09-22 23:04 sergiodj+buildbot
  2016-09-26  3:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 23:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de6784544abc97d5e396cb1e83eda1ae09f63d40 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: de6784544abc97d5e396cb1e83eda1ae09f63d40

Fix build breakage from commit 6ec2b2

I was notified by buildbot that my patch (commit 6ec2b2) has broken the build
on x86_64:

../../binutils-gdb/gdb/rs6000-tdep.c: In function int ppc_process_record_op31(gdbarch*, regcache*, CORE_ADDR, uint32_t):
../../binutils-gdb/gdb/rs6000-tdep.c:4705:50: error: cannot convert CORE_ADDR* {aka long unsigned int*} to ULONGEST* {aka long long unsigned int*} for argument 3 to register_status regcache_raw_read_unsigned(regcache*, int, ULONGEST*)
         tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
                                                  ^
../../binutils-gdb/gdb/rs6000-tdep.c:4718:50: error: cannot convert CORE_ADDR* {aka long unsigned int*} to ULONGEST* {aka long long unsigned int*} for argument 3 to register_status regcache_raw_read_unsigned(regcache*, int, ULONGEST*)
         tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
                                                  ^
The patch below should fix it.

gdb/ChangeLog:
2016-09-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op31): Fix
	regcache_raw_read_unsigned call using the correct parameter type.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use gdbserver-base in remote-gdbserver-on-localhost.exp
@ 2016-09-22 21:20 sergiodj+buildbot
  2016-09-26  1:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 21:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90681dabc79316d382aae5e932303f61bd705b16 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 90681dabc79316d382aae5e932303f61bd705b16

Use gdbserver-base in remote-gdbserver-on-localhost.exp

This patch is to make remote-gdbserver-on-localhost.exp use gdbserver-base
and remove duplicated code.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
	path.
	* boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
	Remove duplication.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: Fix ARI warning for printf(%p)
@ 2016-09-22 20:53 sergiodj+buildbot
  2016-09-25 22:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 20:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa42dd2e8328560e65c888277ab146810c1763a8 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: fa42dd2e8328560e65c888277ab146810c1763a8

arc: Fix ARI warning for printf(%p)

Replace printf ("%p") with printf ("%s", host_address_to_string ()). Printing
host addrss might make sense here because pointers can be null and this would
affect how function behaves.

This particular warning is printed only when option -Wari is passed to
contrib/ari/gdb_ari.sh

gdb/ChangeLog:

	* arc-tdep.c: Fix ARI warning for printf(%p).


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Check the right proc name
@ 2016-09-22 19:54 sergiodj+buildbot
  2016-09-25 19:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 19:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c211fd8d6c7a600a7e55f272e21a967377a7c87 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 9c211fd8d6c7a600a7e55f272e21a967377a7c87

Check the right proc name

In lib/gdbserver-support.exp, we rename gdb_exit to
gdbserver_orig_gdb_exit, but we check the existence gdbserver_gdb_exit.
We should check gdbserver_orig_gdb_exit instead.  Looks it is a typo
or an oversight.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* lib/gdbserver-support.exp: Check the existence of
	gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Add myself as a write-after-approval GDB maintainer
@ 2016-09-22 17:56 sergiodj+buildbot
  2016-09-25 17:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 31da3f27d765612d3f067467ad39e386da7bacd7 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 31da3f27d765612d3f067467ad39e386da7bacd7

Add myself as a write-after-approval GDB maintainer

gdb/ChangeLog:

	* MAINTAINERS (Write After Approval): Add Anton Kolesov.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] arc: New Synopsys ARC port
@ 2016-09-22 17:43 sergiodj+buildbot
  2016-09-25 14:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 17:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad0a504f7e10ea11dbf58eb9990a5180f781b695 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: ad0a504f7e10ea11dbf58eb9990a5180f781b695

arc: New Synopsys ARC port

ARC is a family of licensable processors developed by Synopsys.

This is an initial patch that doesn't yet support some of the features, that
are already available in Synopsys' fork of GDB, namely:

  * longjmp support
  * signal frame handling
  * prologue analysis
  * Linux targets support
  * native Linux support

ARC cores are configurable and extensible, which means from debugger
perspective that some registers and debug capabilities are optional, therefore
it is up to the GDB stub to determine exact list of register available on
target and supply it to GDB via XML target descriptions.  List of registers
that is known to GDB and is required is intentionally kept small to simplify
requirements to GDB stub and implementation of a GDB client.

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Add arc-tdep.o.
	(HFILES_NO_SRCDIR): Add arc-tdep.h.
	(ALLDEPFILES): Add arc-tdep.c.
	* NEWS: Mention new ARC port.
	* configure.tgt: Add ARC.
	* arc-tdep.c: New file.
	* arc-tdep.h: New file.
	* features/Makefile (XMLTOC): Add arc-v2.xml and arc-arcompact.xml.
	* features/arc-v2.xml: New file.
	* features/arc-v2.c: New file (generated).
	* features/arc-arcompact.xml: New file.
	* features/arc-arcompact.c: New file (generated).

gdb/doc/ChangeLog:

	* gdb.texinfo (Embedded Processors): Document ARC.
	(Synopsys ARC): New section.
	(Standard Target Features): Document ARC features.
	(ARC Features): New section.

gdb/testsuite/ChangeLog:

	* gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ppc: Fix return of instruction handlers in ppc_process_record_op63
@ 2016-09-22 16:46 sergiodj+buildbot
  2016-09-25 12:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8aabe2e254e6a0419db9c6397c4068c69bfd95b0 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 8aabe2e254e6a0419db9c6397c4068c69bfd95b0

ppc: Fix return of instruction handlers in ppc_process_record_op63

some instruction handlers in ppc_process_record_op63() seem to be missing
return or incorrectly using break. This patch aims to fix that.

gdb/ChangeLog:
2016-09-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction
	handlers.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] PR gdb/20604 - fix "quit" when an invalid expression is used
@ 2016-09-22 14:56 sergiodj+buildbot
  2016-09-25  4:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 14:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36cf1806a87fdd208c704d0768af232ce35aae9f ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 36cf1806a87fdd208c704d0768af232ce35aae9f

PR gdb/20604 - fix "quit" when an invalid expression is used

This fixes PR gdb/20604.  The bug here is that passing an invalid
expression to "quit" -- e.g., "quit()" -- causes gdb to enter a
non-functioning state.

The immediate problem is that quit_force resets the terminal before
evaluating the expression.  However, it seemed to me that it doesn't
really make sense to pass the quit_force argument to kill_or_detach
(which passes it to to_detach), first because conflating the exit
status for "quit" and the signal to pass when detaching doesn't make
sense, and second because to_detach implementations generally only
accept a constant here, while "quit" accepts an expression.  So, I
removed that.

As an aside, I think the "detach SIGNO" functionality is not
documented.

Built and regtested on x86-64 Fedora 24.

2016-09-21  Tom Tromey  <tom@tromey.com>

	PR gdb/20604:
	* top.h (quit_force): Update.
	* top.c (quit_force): Changed type of first argument.  Don't
	evaluate expression.  Pass NULL to kill_or_detach.
	* cli/cli-cmds.c (quit_command): Evaluate "args".

2016-09-21  Tom Tromey  <tom@tromey.com>

	PR gdb/20604:
	* gdb.base/quit.exp: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Update and add .gitignore's
@ 2016-09-22 14:12 sergiodj+buildbot
  2016-09-24 23:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74172ecf37e5877085c5d01f335db94e8091ba97 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 74172ecf37e5877085c5d01f335db94e8091ba97

Update and add .gitignore's

This patch adds a bunch of generated files to gdb's gitignore files.
There are still a bunch of "stamp" files that are not ignored, but I
think the rule for them should be put in the top-level gitignore.

Users and developers are encouraged to build out-of-tree, but some
people prefer the simplicity to build in-tree, so it should be useful
for them.

gdb/ChangeLog:

	* .gitignore: Ignore more files.
	* data-directory/.gitignore: Likewise.

gdb/doc/ChangeLog:

	* .gitignore: New file.

gdb/gdbserver/ChangeLog:

	* .gitinore: Ignore more files.

gdb/testsuite/ChangeLog:

	* .gitignore: New file.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ppc: Add Power ISA 3.0/POWER9 instructions record support
@ 2016-09-22 13:27 sergiodj+buildbot
  2016-09-24 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 13:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec2b213de6962ceeb81bfa33354ea6e60c57049 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 6ec2b213de6962ceeb81bfa33354ea6e60c57049

ppc: Add Power ISA 3.0/POWER9 instructions record support

gdb/ChangeLog:
2016-09-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (PPC_DQ): New macro.
	(ppc_process_record_op4): Add Power ISA 3.0 instructions.
	(ppc_process_record_op19): Likewise.
	(ppc_process_record_op31): Likewise.
	(ppc_process_record_op59): Likewise.
	(ppc_process_record_op60): Likewise.
	(ppc_process_record_op63): Likewise.
	(ppc_process_record): Likewise.
	(ppc_process_record_op61): New function.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Print spaces after commas in addresses
@ 2016-09-22 12:46 sergiodj+buildbot
  2016-09-24 14:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 12:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad43e107eb233dcef8e76da6328aa4e4d74afd84 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: ad43e107eb233dcef8e76da6328aa4e4d74afd84

[AArch64] Print spaces after commas in addresses

I got an off-list request to make the AArch64 disassembler print
spaces after commas in addresses.  This patch does that.

The same code is used to print operands in "did you mean" errors,
so to keep things consistent, the patch also prints spaces between
operands in those messages.

opcodes/
	* aarch64-opc.c (print_immediate_offset_address): Print spaces
	after commas in addresses.
	(aarch64_print_operand): Likewise.

gas/
	* config/tc-aarch64.c (print_operands): Print spaces between
	operands.
	* testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
	in addresses.
	* testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
	* testsuite/gas/aarch64/reloc-insn.d: Likewise.
	* testsuite/gas/aarch64/sve.d: Likewise.
	* testsuite/gas/aarch64/symbol.d: Likewise.
	* testsuite/gas/aarch64/system.d: Likewise.
	* testsuite/gas/aarch64/tls-desc.d: Likewise.
	* testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
	in suggested alternatives.
	* testsuite/gas/aarch64/verbose-error.l: Likewise.

ld/
	* testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
	in addresses.
	* testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
	* testsuite/ld-aarch64/erratum835769.d: Likewise.
	* testsuite/ld-aarch64/erratum843419.d: Likewise.
	* testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
	* testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
	* testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
	* testsuite/ld-aarch64/ifunc-21.d: Likewise.
	* testsuite/ld-aarch64/ifunc-7c.d: Likewise.
	* testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
	* testsuite/ld-aarch64/tls-large-desc.d: Likewise.
	* testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
	* testsuite/ld-aarch64/tls-large-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-all.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
	* testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Use "must" rather than "should" in error messages
@ 2016-09-22 12:08 sergiodj+buildbot
  2016-09-24 10:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab3b8fcfdb06695d27eaec4eedb019ada4a5713e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: ab3b8fcfdb06695d27eaec4eedb019ada4a5713e

[AArch64] Use "must" rather than "should" in error messages

One of the review comments from the SVE series was that it would
be better to use "must" rather than "should" in error messages.
I think this patch fixes all cases in the AArch64 code.
It also uses "must be" instead of "expected to be".

opcodes/
	* aarch64-opc.c (operand_general_constraint_met_p): Use "must be"
	rather than "should be" or "expected to be" in error messages.

gas/
	* config/tc-aarch64.c (output_operand_error_record): Use "must be"
	rather than "should be" or "expected to be" in error messages.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/diagnostic.l: Likewise.
	* testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
	* testsuite/gas/aarch64/sve-invalid.l: Likewise.
	* testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64] Add SVE condition codes
@ 2016-09-22 11:51 sergiodj+buildbot
  2016-09-24  7:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb7eff5206e4795ac79c177a80fe9f4630aaf730 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: bb7eff5206e4795ac79c177a80fe9f4630aaf730

[AArch64] Add SVE condition codes

SVE defines new names for existing NZCV conditions, to reflect the
result of instructions like PTEST.  This patch adds support for these
names.

The patch also adds comments to the disassembly output to show the
alternative names of a condition code.  For example:

	cinv	x0, x1, cc

becomes:

     	cinv	x0, x1, cc  // cc = lo, ul, last

and:

	b.cc	f0 <...>

becomes:

     	b.cc	f0 <...>  // b.lo, b.ul, b.last

Doing this for the SVE names follows the practice recommended by the
SVE specification and is definitely useful when reading SVE code.
If the feeling is that it's too distracting elsewhere, we could add
an option to turn it off.

include/
	* opcode/aarch64.h (aarch64_cond): Bump array size to 4.

opcodes/
	* aarch64-dis.c (remove_dot_suffix): New function, split out from...
	(print_mnemonic_name): ...here.
	(print_comment): New function.
	(print_aarch64_insn): Call it.
	* aarch64-opc.c (aarch64_conds): Add SVE names.
	(aarch64_print_operand): Print alternative condition names in
	a comment.

gas/
	* config/tc-aarch64.c (opcode_lookup): Search for the end of
	a condition name, rather than assuming that it will have exactly
	2 characters.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/alias.d: Add new condition-code comments
	to the expected output.
	* testsuite/gas/aarch64/beq_1.d: Likewise.
	* testsuite/gas/aarch64/float-fp16.d: Likewise.
	* testsuite/gas/aarch64/int-insns.d: Likewise.
	* testsuite/gas/aarch64/no-aliases.d: Likewise.
	* testsuite/gas/aarch64/programmer-friendly.d: Likewise.
	* testsuite/gas/aarch64/reloc-insn.d: Likewise.
	* testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
	New test.

ld/
	* testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
	* testsuite/ld-aarch64/weak-undefined.d: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions
@ 2016-09-22 10:26 sergiodj+buildbot
  2016-09-24  1:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 10:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0890d26289c4dad0e2ddedb7822a32a0645d150 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: c0890d26289c4dad0e2ddedb7822a32a0645d150

[AArch64][SVE 31/32] Add SVE instructions

This patch adds the SVE instruction definitions and associated OP_*
enum values.

include/
	* opcode/aarch64.h (AARCH64_FEATURE_SVE): New macro.
	(OP_MOV_P_P, OP_MOV_Z_P_Z, OP_MOV_Z_V, OP_MOV_Z_Z, OP_MOV_Z_Zi)
	(OP_MOVM_P_P_P, OP_MOVS_P_P, OP_MOVZS_P_P_P, OP_MOVZ_P_P_P)
	(OP_NOTS_P_P_P_Z, OP_NOT_P_P_P_Z): New aarch64_ops.

opcodes/
	* aarch64-tbl.h (OP_SVE_B, OP_SVE_BB, OP_SVE_BBBU, OP_SVE_BMB)
	(OP_SVE_BPB, OP_SVE_BUB, OP_SVE_BUBB, OP_SVE_BUU, OP_SVE_BZ)
	(OP_SVE_BZB, OP_SVE_BZBB, OP_SVE_BZU, OP_SVE_DD, OP_SVE_DDD)
	(OP_SVE_DMD, OP_SVE_DMH, OP_SVE_DMS, OP_SVE_DU, OP_SVE_DUD, OP_SVE_DUU)
	(OP_SVE_DUV_BHS, OP_SVE_DUV_BHSD, OP_SVE_DZD, OP_SVE_DZU, OP_SVE_HB)
	(OP_SVE_HMD, OP_SVE_HMS, OP_SVE_HU, OP_SVE_HUU, OP_SVE_HZU, OP_SVE_RR)
	(OP_SVE_RURV_BHSD, OP_SVE_RUV_BHSD, OP_SVE_SMD, OP_SVE_SMH, OP_SVE_SMS)
	(OP_SVE_SU, OP_SVE_SUS, OP_SVE_SUU, OP_SVE_SZS, OP_SVE_SZU, OP_SVE_UB)
	(OP_SVE_UUD, OP_SVE_UUS, OP_SVE_VMR_BHSD, OP_SVE_VMU_SD)
	(OP_SVE_VMVD_BHS, OP_SVE_VMVU_BHSD, OP_SVE_VMVU_SD, OP_SVE_VMVV_BHSD)
	(OP_SVE_VMVV_SD, OP_SVE_VMV_BHSD, OP_SVE_VMV_HSD, OP_SVE_VMV_SD)
	(OP_SVE_VM_SD, OP_SVE_VPU_BHSD, OP_SVE_VPV_BHSD, OP_SVE_VRR_BHSD)
	(OP_SVE_VRU_BHSD, OP_SVE_VR_BHSD, OP_SVE_VUR_BHSD, OP_SVE_VUU_BHSD)
	(OP_SVE_VUVV_BHSD, OP_SVE_VUVV_SD, OP_SVE_VUV_BHSD, OP_SVE_VUV_SD)
	(OP_SVE_VU_BHSD, OP_SVE_VU_HSD, OP_SVE_VU_SD, OP_SVE_VVD_BHS)
	(OP_SVE_VVU_BHSD, OP_SVE_VVVU_SD, OP_SVE_VVV_BHSD, OP_SVE_VVV_SD)
	(OP_SVE_VV_BHSD, OP_SVE_VV_HSD_BHS, OP_SVE_VV_SD, OP_SVE_VWW_BHSD)
	(OP_SVE_VXX_BHSD, OP_SVE_VZVD_BHS, OP_SVE_VZVU_BHSD, OP_SVE_VZVV_BHSD)
	(OP_SVE_VZVV_SD, OP_SVE_VZV_SD, OP_SVE_V_SD, OP_SVE_WU, OP_SVE_WV_BHSD)
	(OP_SVE_XU, OP_SVE_XUV_BHSD, OP_SVE_XVW_BHSD, OP_SVE_XV_BHSD)
	(OP_SVE_XWU, OP_SVE_XXU): New macros.
	(aarch64_feature_sve): New variable.
	(SVE): New macro.
	(_SVE_INSN): Likewise.
	(aarch64_opcode_table): Add SVE instructions.
	* aarch64-opc.h (extract_fields): Declare.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.c (do_misc_encoding): Handle the new SVE aarch64_ops.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.c (extract_fields): Make global.
	(do_misc_decoding): Handle the new SVE aarch64_ops.
	* aarch64-dis-2.c: Regenerate.

gas/
	* doc/c-aarch64.texi: Document the "sve" feature.
	* config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
	(get_reg_expected_msg): Handle it.
	(parse_operands): When parsing operands of an SVE instruction,
	disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
	(aarch64_features): Add an entry for SVE.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 29/32] Add new SVE core & FP register operands
@ 2016-09-22  9:37 sergiodj+buildbot
  2016-09-23 19:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  9:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 047cd301d40288d13e44f3322541ac28ebe06078 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 047cd301d40288d13e44f3322541ac28ebe06078

[AArch64][SVE 29/32] Add new SVE core & FP register operands

SVE uses some new fields to store W, X and scalar FP registers.
This patch adds corresponding operands.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_Rm): New aarch64_opnd.
	(AARCH64_OPND_SVE_Rn_SP, AARCH64_OPND_SVE_VZn, AARCH64_OPND_SVE_Vd)
	(AARCH64_OPND_SVE_Vm, AARCH64_OPND_SVE_Vn): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE core
	and FP register operands.
	* aarch64-opc.h (FLD_SVE_Rm, FLD_SVE_Rn, FLD_SVE_Vd, FLD_SVE_Vm)
	(FLD_SVE_Vn): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	(aarch64_print_operand): Handle the new SVE core and FP register
	operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm-2.c: Likewise.
	* aarch64-dis-2.c: Likewise.

gas/
	* config/tc-aarch64.c (parse_operands): Handle the new SVE core
	and FP register operands.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 30/32] Add SVE instruction classes
@ 2016-09-22  9:31 sergiodj+buildbot
  2016-09-23 22:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  9:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 116b60193779ac65a29fb3688b753527980cb3e7 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 116b60193779ac65a29fb3688b753527980cb3e7

[AArch64][SVE 30/32] Add SVE instruction classes

The main purpose of the SVE aarch64_insn_classes is to describe how
an index into an aarch64_opnd_qualifier_seq_t is represented in the
instruction encoding.  Other instructions usually use flags for this
information, but (a) we're running out of those and (b) the iclass
would otherwise be unused for SVE.

include/
	* opcode/aarch64.h (sve_cpy, sve_index, sve_limm, sve_misc)
	(sve_movprfx, sve_pred_zm, sve_shift_pred, sve_shift_unpred)
	(sve_size_bhs, sve_size_bhsd, sve_size_hsd, sve_size_sd): New
	aarch64_insn_classes.

opcodes/
	* aarch64-opc.h (FLD_SVE_M_4, FLD_SVE_M_14, FLD_SVE_M_16)
	(FLD_SVE_sz, FLD_SVE_tsz, FLD_SVE_tszl_8, FLD_SVE_tszl_19): New
	aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	* aarch64-asm.c (aarch64_get_variant): New function.
	(aarch64_encode_variant_using_iclass): Likewise.
	(aarch64_opcode_encode): Call it.
	* aarch64-dis.c (aarch64_decode_variant_using_iclass): New function.
	(aarch64_opcode_decode): Call it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 28/32] Add SVE FP immediate operands
@ 2016-09-22  8:08 sergiodj+buildbot
  2016-09-23 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  8:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 165d4950855493dd904a7996e7fcf58880d54219 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 165d4950855493dd904a7996e7fcf58880d54219

[AArch64][SVE 28/32] Add SVE FP immediate operands

This patch adds support for the new SVE floating-point immediate
operands.  One operand uses the same 8-bit encoding as base AArch64,
but in a different position.  The others use a single bit to select
between two values.

One of the single-bit operands is a choice between 0 and 1, where 0
is not a valid 8-bit encoding.  I think the cleanest way of handling
these single-bit immediates is therefore to use the IEEE float encoding
itself as the immediate value and select between the two possible values
when encoding and decoding.

As described in the covering note for the patch that added F_STRICT,
we get better error messages by accepting unsuffixed vector registers
and leaving the qualifier matching code to report an error.  This means
that we carry on parsing the other operands, and so can try to parse FP
immediates for invalid instructions like:

	fcpy	z0, #2.5

In this case there is no suffix to tell us whether the immediate should
be treated as single or double precision.  Again, we get better error
messages by picking one (arbitrary) immediate size and reporting an error
for the missing suffix later.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_FPIMM8): New aarch64_opnd.
	(AARCH64_OPND_SVE_I1_HALF_ONE, AARCH64_OPND_SVE_I1_HALF_TWO)
	(AARCH64_OPND_SVE_I1_ZERO_ONE): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE FP
	immediate operands.
	* aarch64-opc.h (FLD_SVE_i1): New aarch64_field_kind.
	* aarch64-opc.c (fields): Add corresponding entry.
	(operand_general_constraint_met_p): Handle the new SVE FP immediate
	operands.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_float_half_one, ins_sve_float_half_two)
	(ins_sve_float_zero_one): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_float_half_one): New function.
	(aarch64_ins_sve_float_half_two): Likewise.
	(aarch64_ins_sve_float_zero_one): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_float_half_one, ext_sve_float_half_two)
	(ext_sve_float_zero_one): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_float_half_one): New function.
	(aarch64_ext_sve_float_half_two): Likewise.
	(aarch64_ext_sve_float_zero_one): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (double_precision_operand_p): New function.
	(parse_operands): Use it to calculate the dp_p input to
	parse_aarch64_imm_float.  Handle the new SVE FP immediate operands.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 27/32] Add SVE integer immediate operands
@ 2016-09-22  8:06 sergiodj+buildbot
  2016-09-23 17:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  8:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e950b3453948830c5ce9c2f70d114d0b38a4b4ac ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: e950b3453948830c5ce9c2f70d114d0b38a4b4ac

[AArch64][SVE 27/32] Add SVE integer immediate operands

This patch adds the new SVE integer immediate operands.  There are
three kinds:

- simple signed and unsigned ranges, but with new widths and positions.

- 13-bit logical immediates.  These have the same form as in base AArch64,
  but at a different bit position.

  In the case of the "MOV Zn.<T>, #<limm>" alias of DUPM, the logical
  immediate <limm> is not allowed to be a valid DUP immediate, since DUP
  is preferred over DUPM for constants that both instructions can handle.

- a new 9-bit arithmetic immediate, of the form "<imm8>{, LSL #8}".
  In some contexts the operand is signed and in others it's unsigned.
  As an extension, we allow shifted immediates to be written as a single
  integer, e.g. "#256" is equivalent to "#1, LSL #8".  We also use the
  shiftless form as the preferred disassembly, except for the special
  case of "#0, LSL #8" (a redundant encoding of 0).

include/
	* opcode/aarch64.h (AARCH64_OPND_SIMM5): New aarch64_opnd.
	(AARCH64_OPND_SVE_AIMM, AARCH64_OPND_SVE_ASIMM)
	(AARCH64_OPND_SVE_INV_LIMM, AARCH64_OPND_SVE_LIMM)
	(AARCH64_OPND_SVE_LIMM_MOV, AARCH64_OPND_SVE_SHLIMM_PRED)
	(AARCH64_OPND_SVE_SHLIMM_UNPRED, AARCH64_OPND_SVE_SHRIMM_PRED)
	(AARCH64_OPND_SVE_SHRIMM_UNPRED, AARCH64_OPND_SVE_SIMM5)
	(AARCH64_OPND_SVE_SIMM5B, AARCH64_OPND_SVE_SIMM6)
	(AARCH64_OPND_SVE_SIMM8, AARCH64_OPND_SVE_UIMM3)
	(AARCH64_OPND_SVE_UIMM7, AARCH64_OPND_SVE_UIMM8)
	(AARCH64_OPND_SVE_UIMM8_53): Likewise.
	(aarch64_sve_dupm_mov_immediate_p): Declare.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
	integer immediate operands.
	* aarch64-opc.h (FLD_SVE_immN, FLD_SVE_imm3, FLD_SVE_imm5)
	(FLD_SVE_imm5b, FLD_SVE_imm7, FLD_SVE_imm8, FLD_SVE_imm9)
	(FLD_SVE_immr, FLD_SVE_imms, FLD_SVE_tszh): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	(operand_general_constraint_met_p): Handle the new SVE integer
	immediate operands.
	(aarch64_print_operand): Likewise.
	(aarch64_sve_dupm_mov_immediate_p): New function.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_inv_limm, ins_sve_aimm, ins_sve_asimm)
	(ins_sve_limm_mov, ins_sve_shlimm, ins_sve_shrimm): New inserters.
	* aarch64-asm.c (aarch64_ins_limm_1): New function, split out from...
	(aarch64_ins_limm): ...here.
	(aarch64_ins_inv_limm): New function.
	(aarch64_ins_sve_aimm): Likewise.
	(aarch64_ins_sve_asimm): Likewise.
	(aarch64_ins_sve_limm_mov): Likewise.
	(aarch64_ins_sve_shlimm): Likewise.
	(aarch64_ins_sve_shrimm): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_inv_limm, ext_sve_aimm, ext_sve_asimm)
	(ext_sve_limm_mov, ext_sve_shlimm, ext_sve_shrimm): New extractors.
	* aarch64-dis.c (decode_limm): New function, split out from...
	(aarch64_ext_limm): ...here.
	(aarch64_ext_inv_limm): New function.
	(decode_sve_aimm): Likewise.
	(aarch64_ext_sve_aimm): Likewise.
	(aarch64_ext_sve_asimm): Likewise.
	(aarch64_ext_sve_limm_mov): Likewise.
	(aarch64_top_bit): Likewise.
	(aarch64_ext_sve_shlimm): Likewise.
	(aarch64_ext_sve_shrimm): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (parse_operands): Handle the new SVE integer
	immediate operands.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 26/32] Add SVE MUL VL addressing modes
@ 2016-09-22  7:02 sergiodj+buildbot
  2016-09-23 16:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  7:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98907a704908c5877d929c57b2ddb2e5f899d9a9 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 98907a704908c5877d929c57b2ddb2e5f899d9a9

[AArch64][SVE 26/32] Add SVE MUL VL addressing modes

This patch adds support for addresses of the form:

       [<base>, #<offset>, MUL VL]

This involves adding a new AARCH64_MOD_MUL_VL modifier, which is
why I split it out from the other addressing modes.

For LD2, LD3 and LD4, the offset must be a multiple of the structure
size, so for LD3 the possible values are 0, 3, 6, ....  The patch
therefore extends value_aligned_p to handle non-power-of-2 alignments.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4xVL): New aarch64_opnd.
	(AARCH64_OPND_SVE_ADDR_RI_S4x2xVL, AARCH64_OPND_SVE_ADDR_RI_S4x3xVL)
	(AARCH64_OPND_SVE_ADDR_RI_S4x4xVL, AARCH64_OPND_SVE_ADDR_RI_S6xVL)
	(AARCH64_OPND_SVE_ADDR_RI_S9xVL): Likewise.
	(AARCH64_MOD_MUL_VL): New aarch64_modifier_kind.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new MUL VL
	operands.
	* aarch64-opc.c (aarch64_operand_modifiers): Initialize
	the AARCH64_MOD_MUL_VL entry.
	(value_aligned_p): Cope with non-power-of-two alignments.
	(operand_general_constraint_met_p): Handle the new MUL VL addresses.
	(print_immediate_offset_address): Likewise.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_addr_ri_s4xvl, ins_sve_addr_ri_s6xvl)
	(ins_sve_addr_ri_s9xvl): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_addr_ri_s4xvl): New function.
	(aarch64_ins_sve_addr_ri_s6xvl): Likewise.
	(aarch64_ins_sve_addr_ri_s9xvl): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_s4xvl, ext_sve_addr_ri_s6xvl)
	(ext_sve_addr_ri_s9xvl): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_addr_reg_mul_vl): New function.
	(aarch64_ext_sve_addr_ri_s4xvl): Likewise.
	(aarch64_ext_sve_addr_ri_s6xvl): Likewise.
	(aarch64_ext_sve_addr_ri_s9xvl): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
	parse_shift_modes.
	(parse_shift): Handle SHIFTED_MUL_VL.
	(parse_address_main): Add an imm_shift_mode parameter.
	(parse_address, parse_sve_address): Update accordingly.
	(parse_operands): Handle MUL VL addressing modes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 25/32] Add support for SVE addressing modes
@ 2016-09-22  6:53 sergiodj+buildbot
  2016-09-23  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  6:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4df068de5214ff55b01ae320ec580f2928eb74e5 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 4df068de5214ff55b01ae320ec580f2928eb74e5

[AArch64][SVE 25/32] Add support for SVE addressing modes

This patch adds most of the new SVE addressing modes and associated
operands.  A follow-on patch adds MUL VL, since handling it separately
makes the changes easier to read.

The patch also introduces a new "operand-dependent data" field to the
operand flags, based closely on the existing one for opcode flags.
For SVE this new field needs only 2 bits, but it could be widened
in future if necessary.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_U6): New aarch64_opnd.
	(AARCH64_OPND_SVE_ADDR_RI_U6x2, AARCH64_OPND_SVE_ADDR_RI_U6x4)
	(AARCH64_OPND_SVE_ADDR_RI_U6x8, AARCH64_OPND_SVE_ADDR_RR)
	(AARCH64_OPND_SVE_ADDR_RR_LSL1, AARCH64_OPND_SVE_ADDR_RR_LSL2)
	(AARCH64_OPND_SVE_ADDR_RR_LSL3, AARCH64_OPND_SVE_ADDR_RX)
	(AARCH64_OPND_SVE_ADDR_RX_LSL1, AARCH64_OPND_SVE_ADDR_RX_LSL2)
	(AARCH64_OPND_SVE_ADDR_RX_LSL3, AARCH64_OPND_SVE_ADDR_RZ)
	(AARCH64_OPND_SVE_ADDR_RZ_LSL1, AARCH64_OPND_SVE_ADDR_RZ_LSL2)
	(AARCH64_OPND_SVE_ADDR_RZ_LSL3, AARCH64_OPND_SVE_ADDR_RZ_XTW_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW_22, AARCH64_OPND_SVE_ADDR_RZ_XTW1_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW1_22, AARCH64_OPND_SVE_ADDR_RZ_XTW2_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW2_22, AARCH64_OPND_SVE_ADDR_RZ_XTW3_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW3_22, AARCH64_OPND_SVE_ADDR_ZI_U5)
	(AARCH64_OPND_SVE_ADDR_ZI_U5x2, AARCH64_OPND_SVE_ADDR_ZI_U5x4)
	(AARCH64_OPND_SVE_ADDR_ZI_U5x8, AARCH64_OPND_SVE_ADDR_ZZ_LSL)
	(AARCH64_OPND_SVE_ADDR_ZZ_SXTW, AARCH64_OPND_SVE_ADDR_ZZ_UXTW):
	Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
	address operands.
	* aarch64-opc.h (FLD_SVE_imm6, FLD_SVE_msz, FLD_SVE_xs_14)
	(FLD_SVE_xs_22): New aarch64_field_kinds.
	(OPD_F_OD_MASK, OPD_F_OD_LSB, OPD_F_NO_ZR): New flags.
	(get_operand_specific_data): New function.
	* aarch64-opc.c (fields): Add entries for FLD_SVE_imm6, FLD_SVE_msz,
	FLD_SVE_xs_14 and FLD_SVE_xs_22.
	(operand_general_constraint_met_p): Handle the new SVE address
	operands.
	(sve_reg): New array.
	(get_addr_sve_reg_name): New function.
	(aarch64_print_operand): Handle the new SVE address operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_addr_ri_u6, ins_sve_addr_rr_lsl)
	(ins_sve_addr_rz_xtw, ins_sve_addr_zi_u5, ins_sve_addr_zz_lsl)
	(ins_sve_addr_zz_sxtw, ins_sve_addr_zz_uxtw): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_addr_ri_u6): New function.
	(aarch64_ins_sve_addr_rr_lsl): Likewise.
	(aarch64_ins_sve_addr_rz_xtw): Likewise.
	(aarch64_ins_sve_addr_zi_u5): Likewise.
	(aarch64_ins_sve_addr_zz): Likewise.
	(aarch64_ins_sve_addr_zz_lsl): Likewise.
	(aarch64_ins_sve_addr_zz_sxtw): Likewise.
	(aarch64_ins_sve_addr_zz_uxtw): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_u6, ext_sve_addr_rr_lsl)
	(ext_sve_addr_rz_xtw, ext_sve_addr_zi_u5, ext_sve_addr_zz_lsl)
	(ext_sve_addr_zz_sxtw, ext_sve_addr_zz_uxtw): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_add_reg_imm): New function.
	(aarch64_ext_sve_addr_ri_u6): Likewise.
	(aarch64_ext_sve_addr_rr_lsl): Likewise.
	(aarch64_ext_sve_addr_rz_xtw): Likewise.
	(aarch64_ext_sve_addr_zi_u5): Likewise.
	(aarch64_ext_sve_addr_zz): Likewise.
	(aarch64_ext_sve_addr_zz_lsl): Likewise.
	(aarch64_ext_sve_addr_zz_sxtw): Likewise.
	(aarch64_ext_sve_addr_zz_uxtw): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
	register types.
	(get_reg_expected_msg): Handle them.
	(aarch64_addr_reg_parse): New function, split out from
	aarch64_reg_parse_32_64.  Handle Z registers too.
	(aarch64_reg_parse_32_64): Call it.
	(parse_address_main): Add base_qualifier, offset_qualifier,
	base_type and offset_type parameters.  Handle SVE base and offset
	registers.
	(parse_address): Update call to parse_address_main.
	(parse_sve_address): New function.
	(parse_operands): Parse the new SVE address operands.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED
@ 2016-09-22  5:23 sergiodj+buildbot
  2016-09-23  7:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  5:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2442d8466e221ba6cf4ec4bd2a819fdcb1e5ea7e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 2442d8466e221ba6cf4ec4bd2a819fdcb1e5ea7e

[AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED

Some SVE instructions count the number of elements in a given vector
pattern and allow a scale factor of [1, 16] to be applied to the result.
This scale factor is written ", MUL #n", where "MUL" is a new operator.
E.g.:

	UQINCD	X0, POW2, MUL #2

This patch adds support for this kind of operand.

All existing operators were shifts of some kind, so there was a natural
range of [0, 63] regardless of context.  This was then narrowered further
by later checks (e.g. to [0, 31] when used for 32-bit values).

In contrast, MUL doesn't really have a natural context-independent range.
Rather than pick one arbitrarily, it seemed better to make the "shift"
amount a full 64-bit value and leave the range test to the usual
operand-checking code.  I've rearranged the fields of aarch64_opnd_info
so that this doesn't increase the size of the structure (although I don't
think its size is critical anyway).

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_PATTERN_SCALED): New
	aarch64_opnd.
	(AARCH64_MOD_MUL): New aarch64_modifier_kind.
	(aarch64_opnd_info): Make shifter.amount an int64_t and
	rearrange the fields.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add an entry for
	AARCH64_OPND_SVE_PATTERN_SCALED.
	* aarch64-opc.h (FLD_SVE_imm4): New aarch64_field_kind.
	* aarch64-opc.c (fields): Add a corresponding entry.
	(set_multiplier_out_of_range_error): New function.
	(aarch64_operand_modifiers): Add entry for AARCH64_MOD_MUL.
	(operand_general_constraint_met_p): Handle
	AARCH64_OPND_SVE_PATTERN_SCALED.
	(print_register_offset_address): Use PRIi64 to print the
	shift amount.
	(aarch64_print_operand): Likewise.  Handle
	AARCH64_OPND_SVE_PATTERN_SCALED.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_scale): New inserter.
	* aarch64-asm.c (aarch64_ins_sve_scale): New function.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_scale): New inserter.
	* aarch64-dis.c (aarch64_ext_sve_scale): New function.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
	(parse_shift): Handle it.  Reject AARCH64_MOD_MUL for all other
	shift modes.  Skip range tests for AARCH64_MOD_MUL.
	(process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
	(parse_operands): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 23/32] Add SVE pattern and prfop operands
@ 2016-09-22  4:41 sergiodj+buildbot
  2016-09-23  6:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 245d2e3fe8d9ff35c65ed1329609fb7e59034877 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 245d2e3fe8d9ff35c65ed1329609fb7e59034877

[AArch64][SVE 23/32] Add SVE pattern and prfop operands

The SVE instructions have two enumerated operands: one to select a
vector pattern and another to select a prefetch operation.  The latter
is a cut-down version of the base AArch64 prefetch operation.

Both types of operand can also be specified as raw enum values such as #31.
Reserved values can only be specified this way.

If it hadn't been for the pattern operand, I would have been tempted
to use the existing parsing for prefetch operations and add extra
checks for SVE.  However, since the patterns needed new enum parsing
code anyway, it seeemed cleaner to reuse it for the prefetches too.

Because of the small number of enum values, I don't think we'd gain
anything by using hash tables.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_PATTERN): New aarch64_opnd.
	(AARCH64_OPND_SVE_PRFOP): Likewise.
	(aarch64_sve_pattern_array): Declare.
	(aarch64_sve_prfop_array): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for
	AARCH64_OPND_SVE_PATTERN and AARCH64_OPND_SVE_PRFOP.
	* aarch64-opc.h (FLD_SVE_pattern): New aarch64_field_kind.
	(FLD_SVE_prfop): Likewise.
	* aarch64-opc.c: Include libiberty.h.
	(aarch64_sve_pattern_array): New variable.
	(aarch64_sve_prfop_array): Likewise.
	(fields): Add entries for FLD_SVE_pattern and FLD_SVE_prfop.
	(aarch64_print_operand): Handle AARCH64_OPND_SVE_PATTERN and
	AARCH64_OPND_SVE_PRFOP.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/
	* config/tc-aarch64.c (parse_enum_string): New function.
	(po_enum_or_fail): New macro.
	(parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
	AARCH64_OPND_SVE_PRFOP.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication
@ 2016-09-22  4:21 sergiodj+buildbot
  2016-09-23  4:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d50c751e00b5336b4604b92271ab84615fdb0d27 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: d50c751e00b5336b4604b92271ab84615fdb0d27

[AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication

This patch adds qualifiers to represent /z and /m suffixes on
predicate registers.

include/
	* opcode/aarch64.h (AARCH64_OPND_QLF_P_Z): New aarch64_opnd_qualifier.
	(AARCH64_OPND_QLF_P_M): Likewise.

opcodes/
	* aarch64-opc.c (aarch64_opnd_qualifiers): Add entries for
	AARCH64_OPND_QLF_P_[ZM].
	(aarch64_print_operand): Print /z and /m where appropriate.

gas/
	* config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
	(parse_vector_type_for_operand): Assert that the skipped character
	is a '.'.
	(parse_predication_for_operand): New function.
	(parse_typed_reg): Parse /z and /m suffixes for predicate registers.
	(vectype_to_qualifier): Handle NT_zero and NT_merge.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 21/32] Add Zn and Pn registers
@ 2016-09-22  2:34 sergiodj+buildbot
  2016-09-23  0:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  2:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f11ad6bc0fc44b94c6970115bb6984b497b967e7 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: f11ad6bc0fc44b94c6970115bb6984b497b967e7

[AArch64][SVE 21/32] Add Zn and Pn registers

This patch adds the Zn and Pn registers, and associated fields and
operands.

include/
	* opcode/aarch64.h (AARCH64_OPND_CLASS_SVE_REG): New
	aarch64_operand_class.
	(AARCH64_OPND_CLASS_PRED_REG): Likewise.
	(AARCH64_OPND_SVE_Pd, AARCH64_OPND_SVE_Pg3, AARCH64_OPND_SVE_Pg4_5)
	(AARCH64_OPND_SVE_Pg4_10, AARCH64_OPND_SVE_Pg4_16)
	(AARCH64_OPND_SVE_Pm, AARCH64_OPND_SVE_Pn, AARCH64_OPND_SVE_Pt)
	(AARCH64_OPND_SVE_Za_5, AARCH64_OPND_SVE_Za_16, AARCH64_OPND_SVE_Zd)
	(AARCH64_OPND_SVE_Zm_5, AARCH64_OPND_SVE_Zm_16, AARCH64_OPND_SVE_Zn)
	(AARCH64_OPND_SVE_Zn_INDEX, AARCH64_OPND_SVE_ZnxN)
	(AARCH64_OPND_SVE_Zt, AARCH64_OPND_SVE_ZtxN): New aarch64_opnds.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new SVE operands.
	* aarch64-opc.h (FLD_SVE_Pd, FLD_SVE_Pg3, FLD_SVE_Pg4_5)
	(FLD_SVE_Pg4_10, FLD_SVE_Pg4_16, FLD_SVE_Pm, FLD_SVE_Pn, FLD_SVE_Pt)
	(FLD_SVE_Za_5, FLD_SVE_Za_16, FLD_SVE_Zd, FLD_SVE_Zm_5, FLD_SVE_Zm_16)
	(FLD_SVE_Zn, FLD_SVE_Zt, FLD_SVE_tzsh): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries here.
	(operand_general_constraint_met_p): Check that SVE register lists
	have the correct length.  Check the ranges of SVE index registers.
	Check for cases where p8-p15 are used in 3-bit predicate fields.
	(aarch64_print_operand): Handle the new SVE operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_index, ins_sve_reglist): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_index): New function.
	(aarch64_ins_sve_reglist): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_index, ext_sve_reglist): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_index): New function.
	(aarch64_ext_sve_reglist): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
	(AARCH64_REG_TYPES): Add ZN and PN.
	(get_reg_expected_msg): Handle them.
	(parse_vector_type_for_operand): Add a reg_type parameter.
	Skip the width for Zn and Pn registers.
	(parse_typed_reg): Extend vector handling to Zn and Pn.  Update the
	call to parse_vector_type_for_operand.  Set HASVARTYPE for Zn and Pn,
	expecting the width to be 0.
	(parse_vector_reg_list): Restrict error about [BHSD]nn operands to
	REG_TYPE_VN.
	(vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
	(parse_operands): Handle the new Zn and Pn operands.
	(REGSET16): New macro, split out from...
	(REGSET31): ...here.
	(reg_names): Add Zn and Pn entries.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 20/32] Add support for tied operands
@ 2016-09-22  2:10 sergiodj+buildbot
  2016-09-22 19:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  2:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c608d6b62f9164203685ab125b4b3ad113eb26e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 0c608d6b62f9164203685ab125b4b3ad113eb26e

[AArch64][SVE 20/32] Add support for tied operands

SVE has some instructions in which the same register appears twice
in the assembly string, once as an input and once as an output.
This patch adds a general mechanism for that.

The patch needs to add new information to the instruction entries.
One option would have been to extend the flags field of the opcode
to 64 bits (since we already rely on 64-bit integers being available
on the host).  However, the *_INSN macros mean that it's easy to add
new information as top-level fields without affecting the existing
table entries too much.  Going for that option seemed to give slightly
neater code.

include/
	* opcode/aarch64.h (aarch64_opcode): Add a tied_operand field.
	(AARCH64_OPDE_UNTIED_OPERAND): New aarch64_operand_error_kind.

opcodes/
	* aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN, CRYP_INSN)
	(_CRC_INSN, _LSE_INSN, _LOR_INSN, RDMA_INSN, FP16_INSN, SF16_INSN)
	(V8_2_INSN, aarch64_opcode_table): Initialize tied_operand field.
	* aarch64-opc.c (aarch64_match_operands_constraint): Check for
	tied operands.

gas/
	* config/tc-aarch64.c (output_operand_error_record): Handle
	AARCH64_OPDE_UNTIED_OPERAND.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 19/32] Refactor address-printing code
@ 2016-09-22  1:25 sergiodj+buildbot
  2016-09-22 18:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01dbfe4c0e2b832c6b1076e8d373b162e2faa376 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 01dbfe4c0e2b832c6b1076e8d373b162e2faa376

[AArch64][SVE 19/32] Refactor address-printing code

SVE adds addresses in which the base or offset are vector registers.
The addresses otherwise have the same kind of form as normal AArch64
addresses, including things like SXTW with or without a shift, UXTW
with or without a shift, and LSL.

This patch therefore refactors the address-printing code so that it
can cope with both scalar and vector registers.

opcodes/
	* aarch64-opc.c (get_offset_int_reg_name): New function.
	(print_immediate_offset_address): Likewise.
	(print_register_offset_address): Take the base and offset
	registers as parameters.
	(aarch64_print_operand): Update caller accordingly.  Use
	print_immediate_offset_address.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg
@ 2016-09-22  0:34 sergiodj+buildbot
  2016-09-22 14:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72e9f31937f063ed6f5991a2b8c00068fa2dc8fc ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 72e9f31937f063ed6f5991a2b8c00068fa2dc8fc

[AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg

Use a macro to define 31 regular registers followed by a supplied
value for 0b11111.  The SVE code will also use this for vector base
and offset registers.

opcodes/
	* aarch64-opc.c (BANK): New macro.
	(R32, R64): Take a register number as argument
	(int_reg): Use BANK.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 16/32] Use specific insert/extract methods for fpimm
@ 2016-09-21 23:35 sergiodj+buildbot
  2016-09-22  9:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 23:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa2aa4c69429444836821a92cb99396d02dcb996 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: aa2aa4c69429444836821a92cb99396d02dcb996

[AArch64][SVE 16/32] Use specific insert/extract methods for fpimm

FPIMM used the normal "imm" insert/extract methods, with a specific
test for FPIMM in the extract method.  SVE needs to use the same
extractors, so rather than add extra checks for specific operand types,
it seemed cleaner to use a separate insert/extract method.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERNADS): Use fpimm rather than imm
	for FPIMM.
	* aarch64-asm.h (ins_fpimm): New inserter.
	* aarch64-asm.c (aarch64_ins_fpimm): New function.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_fpimm): New extractor.
	* aarch64-dis.c (aarch64_ext_imm): Remove fpimm test.
	(aarch64_ext_fpimm): New function.
	* aarch64-dis-2.c: Regenerate.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 15/32] Add {insert, extract}_all_fields helpers
@ 2016-09-21 21:52 sergiodj+buildbot
  2016-09-22  7:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 21:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4

[AArch64][SVE 15/32] Add {insert,extract}_all_fields helpers

Several of the SVE operands use the aarch64_operand fields array
to store the fields that make up the operand, rather than hard-coding
the names in the C code.  This patch adds helpers for inserting and
extracting those fields.

opcodes/
	* aarch64-asm.c: Include libiberty.h.
	(insert_fields): New function.
	(aarch64_ins_imm): Use it.
	* aarch64-dis.c (extract_fields): New function.
	(aarch64_ext_imm): Use it.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size
@ 2016-09-21 21:23 sergiodj+buildbot
  2016-09-22  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 21:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 42408347b86745fdbd4bec9ee3a6a3fee31c4dee ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 42408347b86745fdbd4bec9ee3a6a3fee31c4dee

[AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size

SVE supports logical immediate operations on 8-bit, 16-bit and 32-bit
elements, treating them as aliases of operations on 64-bit elements in
which the immediate is replicated.  This patch therefore replaces the
"32-bit/64-bit" input to aarch64_logical_immediate_p with a more
general "number of bytes" input.

opcodes/
	* aarch64-opc.c (aarch64_logical_immediate_p): Replace is32
	with an esize parameter.
	(operand_general_constraint_met_p): Update accordingly.
	Fix misindented code.
	* aarch64-asm.c (aarch64_ins_limm): Update call to
	aarch64_logical_immediate_p.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] [AArch64][SVE 02/32] Avoid hard-coded limit in indented_print
@ 2016-09-21 19:48 sergiodj+buildbot
  2016-09-21 23:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd11d5d83775e6d05c8e49f2233fb1cf883ff5b4 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: bd11d5d83775e6d05c8e49f2233fb1cf883ff5b4

[AArch64][SVE 02/32] Avoid hard-coded limit in indented_print

The maximum indentation needed by aarch64-gen.c grows as more
instructions are added to aarch64-tbl.h.  Rather than having to
increase the indentation limit to a higher value, it seemed better
to replace it with "%*s".

opcodes/
	* aarch64-gen.c (indented_print): Avoid hard-coded indentation limit.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Keep reserved bits in CPSR on write
@ 2016-09-21 15:44 sergiodj+buildbot
  2016-09-21 17:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 15:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b

Keep reserved bits in CPSR on write

In patch https://sourceware.org/ml/gdb-patches/2016-04/msg00529.html
I cleared reserved bits when reading CPSR.  It makes a problem that
these bits (zero) are written back to kernel through ptrace, and it
changes the state of the processor on some recent kernel, which is
unexpected.

In this patch, I keep these reserved bits when write CPSR back to
hardware.

gdb:

2016-09-21  Yao Qi  <yao.qi@linaro.org>

	* aarch32-linux-nat.c (aarch32_gp_regcache_collect): Keep
	bits 20 to 23.

gdb/gdbserver:

2016-09-21  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to
	23.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Avoid -Wduplicated-cond warnings in gdb/python
@ 2016-09-20 21:40 sergiodj+buildbot
  2016-09-21 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12c58cd4dc805cbac97a6d93c971c2496313dce4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 12c58cd4dc805cbac97a6d93c971c2496313dce4

Avoid -Wduplicated-cond warnings in gdb/python

I tried building gdb with -Wduplicated-cond.  This patch fixes the
simpler issue that was found.

In Python 3, "int" and "long" are synonyms, so code like:

      else if (PyLong_Check (obj))
...
      else if (PyInt_Check (obj))

.... will trigger this warning.  The fix is to conditionalize the
PyInt_Check branches on Python 2.

Tested by rebuilding, with both version of Python, on x86-64 Fedora 24.

2016-09-20  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (convert_value_from_python): Make PyInt_Check
	conditional on Python 2.
	* python/py-arch.c (archpy_disassemble): Make PyInt_Check
	conditional on Python 2.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] ppc: Fix record support of Store String Word instructions
@ 2016-09-20 20:52 sergiodj+buildbot
  2016-09-21 12:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f7efd5bf76aa5065298d13aefb109ecfd7a825a ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 9f7efd5bf76aa5065298d13aefb109ecfd7a825a

ppc: Fix record support of Store String Word instructions

gdb/ChangeLog
2016-09-20  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op31): Fix record of Store String
	Word instructions.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit)
@ 2016-09-20 17:47 sergiodj+buildbot
  2016-09-20 20:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d5adfe3118050243e85469ad891c7813e4db68a ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 7d5adfe3118050243e85469ad891c7813e4db68a

Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit)

Pedro pointed out a regression happening on gdb.mi/mi-exec-run.exp,
and as it turned out, this was a thinko when dealing with some events
on startup_inferior.  Basically, one needs to pass 'event_ptid' to
target_mourn_inferior, but I mistakenly passed 'resume_ptid'.

This commit fixes it.

Built and regtested on BuildBot, now with fixed e-mail notifications!

gdb/ChangeLog:
2016-09-20  Sergio Durigan Junior  <sergiodj@redhat.com>

	* fork-inferior.c (startup_inferior): Pass 'event_ptid' instead of
	'resume_ptid' to 'target_mourn_inferior'.  Fix regression
	introduced by my last commit.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix build breakage with GCC 4.1 and --disable-nls
@ 2016-09-20  9:06 sergiodj+buildbot
  2016-09-20 17:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-20  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6679754127e51d9c3bd0e387fabbe4e71038c8ce ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6679754127e51d9c3bd0e387fabbe4e71038c8ce

gdb: Fix build breakage with GCC 4.1 and --disable-nls

Ref: https://sourceware.org/ml/gdb-patches/2016-09/msg00203.html

The std::{min,max} patch caused build failures when configuring GDB
with with --disable-nls and using GCC 4.1.

The reason is this bit in common/gdb_locale.h:

 #ifdef ENABLE_NLS
 ...
 #else
 # define gettext(Msgid) (Msgid)
 ...
 #endif

This causes problems if the <libintl.h> header is first included at
any point after "gdb_locale.h".

Specifically, the gettext&co declarations in libintl.h:

 extern char *gettext (__const char *__msgid)
      __THROW __attribute_format_arg__ (1);

end up broken after preprocessing:

 extern char *(__const char *__msgid)
      throw () __attribute__ ((__format_arg__ (1)));

After the std::min/std::max change to include <algorithm>, this now
happens with at least the GCC 4.1 copy of <algorithm>, which includes
<libintl.h> via <bits/stl_algobase.h>, <iosfwd>, and
<bits/c++locale.h>.

The fix is to simply remove the troublesome *gettext and *textdomain
macros, leaving only the _ and N_ ones.

gdb/ChangeLog:
2016-09-19  Pedro Alves  <palves@redhat.com>

	* common/gdb_locale.h [!ENABLE_NLS] (gettext, dgettext, dcgettext,
	textdomain, bindtextdomain): Delete macros.
	* main.c (captured_main) [!ENABLE_NLS]: Skip bintextdomain and
	textdomain calls.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC
@ 2016-09-19 23:22 sergiodj+buildbot
  2016-09-20 17:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 23:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b19753ce31da347605dfa903c6fd2158e2444f0d ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: b19753ce31da347605dfa903c6fd2158e2444f0d

bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC

The code compiled with the -fpic model in SPARC uses 13-bit signed
immediate PC-relative loads to fetch entries from the GOT table.  In
theory this would allow using a GOT table (.got section) containing up
to 1024 entries in elf32 or 512 entries in elf64.

However, in elf64 sparc GNU targets _GLOBAL_OFFSET_TABLE_ is always
placed at the beginning of the .got section, making it impossible to use
negative offsets.  This limits the usage of -fpic to GOT tables
containing a maximum of 257 entries in elf64.

This patch activates an optimization that is already used in sparc-elf32
also in sparc-elf64, that sets _GLOBAL_OFFSET_TABLE_ to point 0x1000
into the .got section if the section size is bigger than 0x1000.

2016-09-19  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Allow
	negative offsets to _GLOBAL_OFFSET_TABLE_ if the .got section is
	bigger than 0x1000 bytes.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver
@ 2016-09-19 16:45 sergiodj+buildbot
  2016-09-20 17:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc1e6c81d5b77d78282c47f6fd7f697e564a6eb6 ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: bc1e6c81d5b77d78282c47f6fd7f697e564a6eb6

Consolidate target_mourn_inferior between GDB and gdbserver

This patch consolidates the API of target_mourn_inferior between GDB
and gdbserver, in my continuing efforts to make sharing the
fork_inferior function possible between both.

GDB's version of the function did not care about the inferior's ptid
being mourned, but gdbserver's needed to know this information.  Since
it actually makes sense to pass the ptid as an argument, instead of
depending on a global value directly (which GDB's version did), I
decided to make the generic API to accept it.  I then went on and
extended all calls being made on GDB to include a ptid argument (which
ended up being inferior_ptid most of the times, anyway), and now we
have a more sane interface.

On GDB's side, after talking to Pedro a bit about it, we decided that
just an assertion to make sure that the ptid being passed is equal to
inferior_ptid would be enough for now, on the GDB side.  We can remove
the assertion and perform more operations later if we ever pass
anything different than inferior_ptid.

Regression tested on our BuildBot, everything OK.

I'd appreciate a special look at gdb/windows-nat.c's modification
because I wasn't really sure what to do there.  It seemed to me that
maybe I should build a ptid out of the process information there, but
then I am almost sure the assertion on GDB's side would trigger.

gdb/ChangeLog:
2016-09-19  Sergio Durigan Junior  <sergiodj@redhat.com>

	* darwin-nat.c (darwin_kill_inferior): Adjusting call to
	target_mourn_inferior to include ptid_t argument.
	* fork-child.c (startup_inferior): Likewise.
	* gnu-nat.c (gnu_kill_inferior): Likewise.
	* inf-ptrace.c (inf_ptrace_kill): Likewise.
	* infrun.c (handle_inferior_event_1): Likewise.
	* linux-nat.c (linux_nat_attach): Likewise.
	(linux_nat_kill): Likewise.
	* nto-procfs.c (interrupt_query): Likewise.
	(procfs_interrupt): Likewise.
	(procfs_kill_inferior): Likewise.
	* procfs.c (procfs_kill_inferior): Likewise.
	* record.c (record_mourn_inferior): Likewise.
	* remote-sim.c (gdbsim_kill): Likewise.
	* remote.c (remote_detach_1): Likewise.
	(remote_kill): Likewise.
	* target.c (target_mourn_inferior): Change declaration to accept
	new ptid_t argument; use gdb_assert on it.
	* target.h (target_mourn_inferior): Move function prototype from
	here...
	* target/target.h (target_mourn_inferior): ... to here.  Adjust it
	to accept new ptid_t argument.
	* windows-nat.c (get_windows_debug_event): Adjusting call to
	target_mourn_inferior to include ptid_t argument.

gdb/gdbserver/ChangeLog:
2016-09-19  Sergio Durigan Junior  <sergiodj@redhat.com>

	* server.c (start_inferior): Call target_mourn_inferior instead of
	mourn_inferior; pass ptid_t argument to it.
	(resume): Likewise.
	(handle_target_event): Likewise.
	* target.c (target_mourn_inferior): New function.
	* target.h (mourn_inferior): Delete macro.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb/s390: Fix build breakage due to std::min/std::max usage without header
@ 2016-09-19 12:42 sergiodj+buildbot
  2016-09-20 16:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 12:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93689493b376c4e5616c1679733619f96202c369 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 93689493b376c4e5616c1679733619f96202c369

gdb/s390: Fix build breakage due to std::min/std::max usage without header

  [...]
  .../gdb/s390-linux-nat.c: In function 'void s390_prepare_to_resume(lwp_info*)':
  .../gdb/s390-linux-nat.c:703:20: error: 'min' is not a member of 'std'
      watch_lo_addr = std::min (watch_lo_addr, area->lo_addr);
  [...]

gdb/ChangeLog:
2016-09-18  Pedro Alves  <palves@redhat.com>

	* s390-linux-nat.c: Include <algorithm>.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Fix std::{min, max}-related build breakage on 32-bit hosts
@ 2016-09-19  6:16 sergiodj+buildbot
  2016-09-20 16:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-19  6:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 768adc05c44c7e8b5c0f9ca5ad3ca96657715293 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 768adc05c44c7e8b5c0f9ca5ad3ca96657715293

gdb: Fix std::{min, max}-related build breakage on 32-bit hosts

Building on a 32-bit host fails currently with errors like:

  .../src/gdb/exec.c: In function target_xfer_status section_table_read_available_memory(gdb_byte*, ULONGEST, ULONGEST, ULONGEST*):
  .../src/gdb/exec.c:801:54: error: no matching function for call to min(ULONGEST, long unsigned int)
      end = std::min (offset + len, r->start + r->length);
							^
  In file included from /usr/include/c++/5.3.1/algorithm:61:0,
		   from .../src/gdb/exec.c:46:
  /usr/include/c++/5.3.1/bits/stl_algobase.h:195:5: note: candidate: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
       min(const _Tp& __a, const _Tp& __b)
       ^
  /usr/include/c++/5.3.1/bits/stl_algobase.h:195:5: note:   template argument deduction/substitution failed:
  .../src/gdb/exec.c:801:54: note:   deduced conflicting types for parameter const _Tp (long long unsigned int and long unsigned int)
      end = std::min (offset + len, r->start + r->length);
							^
  In file included from /usr/include/c++/5.3.1/algorithm:61:0,
		   from .../src/gdb/exec.c:46:
  /usr/include/c++/5.3.1/bits/stl_algobase.h:243:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
       min(const _Tp& __a, const _Tp& __b, _Compare __comp)
       ^

The problem is that the std::min/std::max function templates use the
same type for both parameters.  When the argument types are different,
the compiler can't automatically deduce which template specialization
to pick from the arguments' types.

Fix that by specifying the specialization we want explicitly.

gdb/ChangeLog:
2016-09-18  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (hardware_watchpoint_inserted_in_range): Explicitly
	specify the std:min/std::max specialization.
	* exec.c (section_table_read_available_memory): Likewise.
	* remote.c (remote_read_qxfer): Likewise.
	* target.c (simple_verify_memory): Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Improve MinGW support in Readline
@ 2016-09-18 23:24 sergiodj+buildbot
  2016-09-20  6:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-18 23:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7f3c5ec870943f7f32c946ff9459dfd04fcb8e07 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 7f3c5ec870943f7f32c946ff9459dfd04fcb8e07

Improve MinGW support in Readline

These changes were already accepted upstream in Readline,
but GDB did not yet import a newer Readline version.

readline/Changelog.gdb:

	* util.c: Include rlshell.h.
	(_rl_tropen) [_WIN32 && !__CYGWIN__]: Open the trace file in the
	user's temporary directory.
	* tcap.h [HAVE_NCURSES_TERMCAP_H]: Include ncurses/termcap.h.
	* input.c (w32_isatty) [_WIN32 && !__CYGWIN__]: New function, to
	replace isatty that is not reliable enough on MS-Windows.
	(isatty) [_WIN32 && !__CYGWIN__]: Redirect to w32_isatty.
	(rl_getc): Call _getch, not getch, which could be an ncurses
	function when linked with ncurses, in which case getch will return
	EOF for any keystroke, because there's no curses window.
	* tilde.c (tilde_expand_word) [_WIN32]:
	* histfile.c (history_filename) [_WIN32]: Windows-specific
	environment variable to replace HOME if that is undefined.
	* funmap.c (default_funmap): Compile rl_paste_from_clipboard on
	all Windows platforms, not just Cygwin.
	* readline.h (rl_paste_from_clipboard): Include declaration for
	all Windows platforms.
	* display.c (insert_some_chars, delete_chars): Don't use the
	MinGW-specific code if linked with ncurses.
	* configure.in:
	* config.h.in: Support ncurses/termcap.h.  The configure script
	was updated accordingly.
	* complete.c [_WIN32 && !__CYGWIN__]: Initialize
	_rl_completion_case_fold to 1.
	(printable_part, rl_filename_completion_function)
	[_WIN32 && !__CYGWIN__]: Handle the drive letter.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] Introduce cleanup to restore current_uiout
@ 2016-09-17  5:15 sergiodj+buildbot
  2016-09-19  5:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  5:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd94f6d535d1ebd8f252185cd84d21fe0df3c893 ***

Author: Simon Marchi <simark@simark.ca>
Branch: master
Commit: cd94f6d535d1ebd8f252185cd84d21fe0df3c893

Introduce cleanup to restore current_uiout

Make a globally available cleanup from a pre-existing one in infrun.c.
This is used in a following patch.

gdb/ChangeLog:

	* infrun.c (restore_current_uiout_cleanup): Move to ui-out.c.
	(print_stop_event): Use make_cleanup_restore_current_uiout.
	* python/python.c (execute_gdb_command): Likewise.
	* ui-out.c (restore_current_uiout_cleanup): Move from infrun.c.
	(make_cleanup_restore_current_uiout): New function definition.
	* ui-out.h (make_cleanup_restore_current_uiout): New function
	declaration.
	* utils.c (do_restore_ui_out): Remove.
	(make_cleanup_restore_ui_out): Remove.
	* utils.h (make_cleanup_restore_ui_out): Remove.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] gdb: Use std::min and std::max throughout
@ 2016-09-17  3:34 sergiodj+buildbot
  2016-09-19  4:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  3:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 325fac504a327de9c46a4e5cf9c88ece9d9d7701 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 325fac504a327de9c46a4e5cf9c88ece9d9d7701

gdb: Use std::min and std::max throughout

Otherwise including <string> or some other C++ header is broken.
E.g.:

  In file included from /opt/gcc/include/c++/7.0.0/bits/char_traits.h:39:0,
		   from /opt/gcc/include/c++/7.0.0/string:40,
		   from /home/pedro/gdb/mygit/cxx-convertion/src/gdb/infrun.c:68:
  /opt/gcc/include/c++/7.0.0/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2
       min(const _Tp& __a, const _Tp& __b, _Compare __comp)
							  ^
  /opt/gcc/include/c++/7.0.0/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2
       max(const _Tp& __a, const _Tp& __b, _Compare __comp)
							  ^
  In file included from .../src/gdb/infrun.c:21:0:

To the best of my grepping abilities, I believe I adjusted all min/max
calls.

gdb/ChangeLog:
2016-09-16  Pedro Alves  <palves@redhat.com>

	* defs.h (min, max): Delete.
	* aarch64-tdep.c: Include <algorithm> and use std::min and
	std::max throughout.
	* aarch64-tdep.c: Likewise.
	* alpha-tdep.c: Likewise.
	* amd64-tdep.c: Likewise.
	* amd64-windows-tdep.c: Likewise.
	* arm-tdep.c: Likewise.
	* avr-tdep.c: Likewise.
	* breakpoint.c: Likewise.
	* btrace.c: Likewise.
	* ctf.c: Likewise.
	* disasm.c: Likewise.
	* doublest.c: Likewise.
	* dwarf2loc.c: Likewise.
	* dwarf2read.c: Likewise.
	* environ.c: Likewise.
	* exec.c: Likewise.
	* f-exp.y: Likewise.
	* findcmd.c: Likewise.
	* ft32-tdep.c: Likewise.
	* gcore.c: Likewise.
	* hppa-tdep.c: Likewise.
	* i386-darwin-tdep.c: Likewise.
	* i386-tdep.c: Likewise.
	* linux-thread-db.c: Likewise.
	* lm32-tdep.c: Likewise.
	* m32r-tdep.c: Likewise.
	* m88k-tdep.c: Likewise.
	* memrange.c: Likewise.
	* minidebug.c: Likewise.
	* mips-tdep.c: Likewise.
	* moxie-tdep.c: Likewise.
	* nds32-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* nto-procfs.c: Likewise.
	* parse.c: Likewise.
	* ppc-sysv-tdep.c: Likewise.
	* probe.c: Likewise.
	* record-btrace.c: Likewise.
	* remote.c: Likewise.
	* rs6000-tdep.c: Likewise.
	* rx-tdep.c: Likewise.
	* s390-linux-nat.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* ser-tcp.c: Likewise.
	* sh-tdep.c: Likewise.
	* sh64-tdep.c: Likewise.
	* source.c: Likewise.
	* sparc-tdep.c: Likewise.
	* symfile.c: Likewise.
	* target-memory.c: Likewise.
	* target.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* tracefile-tfile.c: Likewise.
	* tracepoint.c: Likewise.
	* valprint.c: Likewise.
	* value.c: Likewise.
	* xtensa-tdep.c: Likewise.
	* cli/cli-cmds.c: Likewise.
	* compile/compile-object-load.c: Likewise.


^ permalink raw reply	[flat|nested] 4012+ messages in thread
* [binutils-gdb] S390: Hardware breakpoint support
@ 2016-09-17  1:02 sergiodj+buildbot
  2016-09-19  1:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4012+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  1:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8193adea2f86e37423a5d0acffb69b80bde05d52 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 8193adea2f86e37423a5d0acffb69b80bde05d52

S390: Hardware breakpoint support

Add hardware breakpoint support for S390 targets.

gdb/ChangeLog:

	* s390-linux-nat.c (PER_BIT, PER_EVENT_BRANCH, PER_EVENT_IFETCH)
	(PER_EVENT_STORE, PER_EVENT_NULLIFICATION)
	(PER_CONTROL_BRANCH_ADDRESS, PER_CONTROL_SUSPENSION)
	(PER_CONTROL_ALTERATION): New macros.
	(struct s390_debug_reg_state) <break_areas>: New member.
	(s390_forget_process): Free break_areas as well.
	(s390_linux_new_fork): Copy break_areas as well.
	(s390_prepare_to_resume): Install hardware breakpoints.
	(s390_can_use_hw_breakpoint): Indicate support for hardware
	breakpoints.
	(s390_insert_hw_breakpoint, s390_remove_hw_breakpoint): New
	linux_nat target methods.
	(_initialize_s390_nat): Register them.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp: No longer skip hardware breakpoint tests on s390.


^ permalink raw reply	[flat|nested] 4012+ messages in thread

end of thread, other threads:[~2017-12-14  6:24 UTC | newest]

Thread overview: 4012+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-03 15:50 [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc sergiodj+buildbot
2016-11-03 15:54 ` *** COMPILATION FAILED *** Failures on Debian-i686, branch master *** BREAKAGE *** sergiodj+buildbot
2016-11-03 15:54 ` *** COMPILATION FAILED *** Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-11-03 20:16 ` *** COMPILATION FAILED *** Failures on Fedora-i686, " sergiodj+buildbot
2016-11-03 22:30 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 22:46 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot
2016-11-09 23:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-11-10  1:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-11-10 13:23 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2016-11-10 13:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-11-10 13:23 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2016-11-10 13:24 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
  -- strict thread matches above, loose matches on Subject: below --
2017-10-10  0:15 [binutils-gdb] bfin: Don't create .interp section for info->nointerp sergiodj+buildbot
2017-12-13 10:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 22:40 [binutils-gdb] mn10300: Don't free cached internal symbol table sergiodj+buildbot
2017-12-14  6:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 21:45 [binutils-gdb] Multi-arch exec, more register reading avoidance sergiodj+buildbot
2017-12-03  8:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 19:41 [binutils-gdb] gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64 sergiodj+buildbot
2017-12-12 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 19:00 [binutils-gdb] Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t sergiodj+buildbot
2017-12-02 12:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 18:14 [binutils-gdb] Don't try building gdb against guile-2.2 sergiodj+buildbot
2017-11-29 19:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 17:56 [binutils-gdb] S/390: Sync with latest POP - 3 new instructions sergiodj+buildbot
2017-11-28 21:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 17:35 [binutils-gdb] S/390: Sync with IBM z14 POP - SI_RD format sergiodj+buildbot
2017-11-28  1:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 16:13 [binutils-gdb] Fix automatic dependency tracking sergiodj+buildbot
2017-11-25 15:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 15:34 [binutils-gdb] Make cp_remove_params return a gdb::unique_xmalloc_ptr sergiodj+buildbot
2017-11-24 18:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 12:16 [binutils-gdb] Fix gdb.base/print-file-var-main.c value check logic sergiodj+buildbot
2017-11-23 19:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  8:52 [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer sergiodj+buildbot
2017-11-21 22:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  7:27 [binutils-gdb] Remove some cleanups from dwarf2read.c sergiodj+buildbot
2017-11-22 18:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:51 [binutils-gdb] Remove make_cleanup_value_free sergiodj+buildbot
2017-11-21 13:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:31 [binutils-gdb] Change search_symbols to return std::vector sergiodj+buildbot
2017-11-20 12:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:11 [binutils-gdb] PR22212, memory leak in nm sergiodj+buildbot
2017-11-19 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  1:20 [binutils-gdb] sh: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-11-18 19:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  0:35 [binutils-gdb] sparc: Remove a strayed comment sergiodj+buildbot
2017-11-17 21:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08 21:53 [binutils-gdb] tilegx: Set this_hdr.sh_entsize only if section size > 0 sergiodj+buildbot
2017-11-16 23:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08 20:47 [binutils-gdb] Reformat elf_x86_allocate_dynrelocs sergiodj+buildbot
2017-11-16  4:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08  0:51 [binutils-gdb] sparc: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-11-14  6:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-07  1:04 [binutils-gdb] x86: Use zero_undefweak in elf_x86_link_hash_entry sergiodj+buildbot
2017-11-12 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-07  0:08 [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments sergiodj+buildbot
2017-11-13  8:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 22:49 [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts sergiodj+buildbot
2017-11-11 15:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 21:43 [binutils-gdb] Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes sergiodj+buildbot
2017-11-10 18:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:56 [binutils-gdb] Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c sergiodj+buildbot
2017-11-09 22:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:38 [binutils-gdb] Move arm.o arm-get-next-pcs.o arm-linux.o to arch/ sergiodj+buildbot
2017-11-09  2:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:11 [binutils-gdb] Move i386.o to arch/i386.o sergiodj+buildbot
2017-11-08  5:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 12:54 [binutils-gdb] Add "do/while(0); " to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC sergiodj+buildbot
2017-11-07  7:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 11:06 [binutils-gdb] Fix more GDB build breakage on mingw32 sergiodj+buildbot
2017-11-06 11:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:53 [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit sergiodj+buildbot
2017-11-05  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:23 [binutils-gdb] Share code updating gdb_target_obs sergiodj+buildbot
2017-11-03  5:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:17 [binutils-gdb] [RFC] Replicate src dir in build dir sergiodj+buildbot
2017-11-02  8:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  9:53 [binutils-gdb] gdb: Fix decoding of ARM neon memory hint insns sergiodj+buildbot
2017-11-01 10:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:54 [binutils-gdb] x86: Add VERIFY_COPY_RELOC sergiodj+buildbot
2017-10-31 14:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:51 [binutils-gdb] x86: Add VERIFY_PLT_ENTRY sergiodj+buildbot
2017-10-30 17:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:49 [binutils-gdb] x86: Add COPY_INPUT_RELOC_P sergiodj+buildbot
2017-10-29 20:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:44 [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-29  0:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:42 [binutils-gdb] x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P sergiodj+buildbot
2017-10-28  3:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:36 [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P sergiodj+buildbot
2017-10-27  7:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:30 [binutils-gdb] Add RESOLVED_LOCALLY_P sergiodj+buildbot
2017-10-26 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:26 [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-25 14:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:18 [binutils-gdb] x86: Add TLS_TRANSITION_IE_TO_LE_P sergiodj+buildbot
2017-10-24 18:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  1:11 [binutils-gdb] powerpc: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-10-23 22:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:35 [binutils-gdb] Fix fork-related regressions on GNU/Linux sergiodj+buildbot
2017-10-23  2:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up some DFP interfaces sergiodj+buildbot
2017-10-21  6:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up includes of doublest.h and floatformat.h sergiodj+buildbot
2017-10-20  9:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Remove unused "union agent_val" from ax.h sergiodj+buildbot
2017-10-22  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Handle the NT_ARM_VFP core dump note on FreeBSD sergiodj+buildbot
2017-10-18 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32 sergiodj+buildbot
2017-10-19 12:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types sergiodj+buildbot
2017-10-17 15:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 13:02 [binutils-gdb] tile: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-10-16 18:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  4:45 [binutils-gdb] Update my email address sergiodj+buildbot
2017-10-15 17:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:42 [binutils-gdb] bfd_set_input_error sergiodj+buildbot
2017-10-14 21:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:09 [binutils-gdb] bfd_error_on_input is for archives sergiodj+buildbot
2017-10-14  1:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 23:08 [binutils-gdb] PR21167, relocation sections not included in groups sergiodj+buildbot
2017-10-12 21:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Reimplement support for "maint print registers" with no running inferior yet sergiodj+buildbot
2017-10-09 20:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Fix "Remote 'g' packet reply is too long" problems with multiple inferiors sergiodj+buildbot
2017-10-11 21:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Redesign mock environment for gdbarch selftests sergiodj+buildbot
2017-10-05 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-09-01  5:02 [binutils-gdb] PR gdb/22046: Fix T-stopped detach regression on old Linux kernels sergiodj+buildbot
2017-10-04  4:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31 22:00 [binutils-gdb] Implement the ability to set/unset environment variables to GDBserver when starting the inferior sergiodj+buildbot
2017-10-03  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31 16:43 [binutils-gdb] Fix buffer read overrun by ensuring that DWARF sections containing strings always end in a NUL byte sergiodj+buildbot
2017-10-02 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31 14:24 [binutils-gdb] Add updated French translations for opcodes and gprof sergiodj+buildbot
2017-10-02  2:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31  4:27 [binutils-gdb] PR22048, Incorrect .eh_frame section in libc.so sergiodj+buildbot
2017-09-28  8:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31  4:05 [binutils-gdb] Add elf64.lo together with elfxx-x86.lo for 64-bit BFD sergiodj+buildbot
2017-09-27 14:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31  3:38 [binutils-gdb] FT32: improve disassembly readability sergiodj+buildbot
2017-09-26 13:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31  3:19 [binutils-gdb] FT32: Permit R_FT32_18 overflow sergiodj+buildbot
2017-09-25 14:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-31  1:26 [binutils-gdb] bfd_close_all_done calling _close_and_cleanup sergiodj+buildbot
2017-09-25  6:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>
2017-08-30 21:12 ` sergiodj+buildbot
2017-08-30 19:49 [binutils-gdb] x86: Add _bfd_x86_elf_get_synthetic_symtab sergiodj+buildbot
2017-09-23 21:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 18:41 [binutils-gdb] x86: Check target_id instead of elf_machine_code sergiodj+buildbot
2017-09-23  8:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 16:30 [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create sergiodj+buildbot
2017-09-22  9:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 15:38 [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation sergiodj+buildbot
2017-09-21  9:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 13:41 [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done sergiodj+buildbot
2017-09-20 13:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 12:51 [binutils-gdb] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2 sergiodj+buildbot
2017-09-19 19:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 12:05 [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization sergiodj+buildbot
2017-09-18 20:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 11:36 [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization sergiodj+buildbot
2017-09-18  9:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 23:07 [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register sergiodj+buildbot
2017-09-17 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 22:11 [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c sergiodj+buildbot
2017-09-14 19:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 21:02 [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c sergiodj+buildbot
2017-09-14  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 18:56 [binutils-gdb] x86: Simplify bad return in get_synthetic_symtab sergiodj+buildbot
2017-09-13 10:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 18:16 [binutils-gdb] x86: Check valid PLT sections before checking dynamic relocations sergiodj+buildbot
2017-09-12  0:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 13:35 [binutils-gdb] Fix simulation of MSP430's open system call sergiodj+buildbot
2017-09-11  7:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>
2017-08-29 13:20 ` sergiodj+buildbot
2017-08-28 23:21 [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab sergiodj+buildbot
2017-09-10  1:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 22:28 [binutils-gdb] gdb.base/commands.exp: Remove unused global references sergiodj+buildbot
2017-09-09 12:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 21:32 [binutils-gdb] define_command: Don't convert command name to lower case sergiodj+buildbot
2017-09-07 11:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 18:53 [binutils-gdb] x86: Check for valid PLT section size sergiodj+buildbot
2017-09-06 14:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>
2017-08-28 18:38 ` sergiodj+buildbot
2017-08-27  2:54 [binutils-gdb] Disallow copy relocation against protected data symbol sergiodj+buildbot
2017-09-05  1:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-26 11:54 [binutils-gdb] PowerPC TPREL reloc handling sergiodj+buildbot
2017-09-04  3:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>
2017-08-26 11:53 ` sergiodj+buildbot
2017-08-26  1:01 [binutils-gdb] remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type sergiodj+buildbot
2017-09-03  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-26  0:39 [binutils-gdb] x86: Remove redundant "symbol" in comments sergiodj+buildbot
2017-09-02 12:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-25  9:18 [binutils-gdb] gdbserver: Rename some functions, thread -> inferior sergiodj+buildbot
2017-09-01 13:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <74081948353b117fcbe870fc3cc9ebe0f18fdcf8@gdb-build>
2017-08-24 21:58 ` sergiodj+buildbot
2017-08-24 21:53 [binutils-gdb] Remove unused function set_inferior_target_data sergiodj+buildbot
2017-08-31 21:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06 14:16 [binutils-gdb] -Wwrite-strings: Remove -Wno-write-strings sergiodj+buildbot
2017-08-22  6:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06 12:43 [binutils-gdb] -Wwrite-strings: More Solaris sergiodj+buildbot
2017-08-20  2:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06 11:16 [binutils-gdb] -Wwrite-strings: Fix Solaris "set procfs-file" sergiodj+buildbot
2017-08-19 12:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  4:14 [binutils-gdb] ptid_{lwp,tid}_p: Remove unnecessary checks sergiodj+buildbot
2017-08-22 16:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  3:09 [binutils-gdb] -Wwrite-strings: The Rest sergiodj+buildbot
2017-08-21  2:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  1:50 [binutils-gdb] -Wwrite-strings: Some constification in gdb/breakpoint.c sergiodj+buildbot
2017-08-18  8:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  1:31 [binutils-gdb] -Wwrite-strings: execute_command calls with string literals sergiodj+buildbot
2017-08-16 21:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  1:14 [binutils-gdb] -Wwrite-strings: Add a PyArg_ParseTupleAndKeywords "const char *" overload sergiodj+buildbot
2017-08-16  7:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  1:07 [binutils-gdb] -Wwrite-strings: Constify word break character arrays sergiodj+buildbot
2017-08-09 18:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  0:27 [binutils-gdb] -Wwrite-strings: Wrap PyGetSetDef for construction with string literals sergiodj+buildbot
2017-08-15  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  0:12 [binutils-gdb] -Wwrite-strings: More fix-old-Python-API wrappers sergiodj+buildbot
2017-08-14  4:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-06  0:07 [binutils-gdb] -Wwrite-strings: Constify target_pid_to_str and target_thread_extra_thread_info sergiodj+buildbot
2017-08-08 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 23:25 [binutils-gdb] -Wwrite-strings: gdbserver/win32-low.c and TARGET_WAITKIND_EXECD sergiodj+buildbot
2017-08-13  5:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 23:10 [binutils-gdb] -Wwrite-strings: gdbserver's 'port' parsing sergiodj+buildbot
2017-08-12  6:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 22:55 [binutils-gdb] -Wwrite-strings: MI -info-os sergiodj+buildbot
2017-08-11 10:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 22:41 [binutils-gdb] -Wwrite-strings: Constify mi_cmd_argv_ftype's 'command' parameter sergiodj+buildbot
2017-08-10 14:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 21:07 [binutils-gdb] -Wwrite-strings: Don't initialize string command variables to empty string sergiodj+buildbot
2017-08-06  9:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 20:52 [binutils-gdb] -Wwrite-strings: Constify warning_pre_print sergiodj+buildbot
2017-08-08  2:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 20:34 [binutils-gdb] -Wwrite-strings: Constify shell_escape and plug make_command leak sergiodj+buildbot
2017-08-07  5:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 19:30 [binutils-gdb] -Wwrite-strings: Constify macroexp.c:init_shared_buffer sergiodj+buildbot
2017-08-05 13:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 19:07 [binutils-gdb] -Wwrite-strings: Constify struct disassemble_info's disassembler_options field sergiodj+buildbot
2017-08-04 16:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 17:31 [binutils-gdb] PR 21352: Add testsuite for "tsave -r" command sergiodj+buildbot
2017-08-03 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 16:56 [binutils-gdb] Fix PR 21352: Command tsave does not support -r argument sergiodj+buildbot
2017-08-03  0:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 15:20 [binutils-gdb] Use frame_unwind_register_value in frame_unwind_register_unsigned sergiodj+buildbot
2017-08-02  3:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 14:11 [binutils-gdb] Fix racy test in gdb.threads/thread-specific-bp.exp sergiodj+buildbot
2017-08-01  7:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05 12:49 [binutils-gdb] PowerPC64le PLT reference counting sergiodj+buildbot
2017-07-31 10:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05  9:19 [binutils-gdb] New global maintainer - Simon Marchi sergiodj+buildbot
2017-07-30 13:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-05  1:01 [binutils-gdb] Initialize gdb::optional empty payload to quiet false -Wmaybe-uninitialized warnings sergiodj+buildbot
2017-07-29 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 23:00 [binutils-gdb] Remove support for FreeBSD/alpha sergiodj+buildbot
2017-07-28  0:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 22:09 [binutils-gdb] Remove support for using the bsd-uthread target on FreeBSD sergiodj+buildbot
2017-07-28 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 21:39 [binutils-gdb] Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-27  4:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 21:21 [binutils-gdb] dwarf2read.c: C++fy lnp_state_machine sergiodj+buildbot
2017-07-26  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 21:06 [binutils-gdb] Make sect_offset and cu_offset strong typedefs instead of structs sergiodj+buildbot
2017-07-25 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 20:48 [binutils-gdb] dwarf2read.c: Make dir_index and file_name_index strong typedefs sergiodj+buildbot
2017-07-24 14:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 20:33 [binutils-gdb] gdb::optional: Add observers sergiodj+buildbot
2017-07-23 17:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 20:11 [binutils-gdb] dwarf2read.c: Some C++fycation, use std::vector, std::unique_ptr sergiodj+buildbot
2017-07-22 21:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 18:37 [binutils-gdb] Use symbolic constants instead of magic numbers with add_data_entry() sergiodj+buildbot
2017-07-22  1:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 18:09 [binutils-gdb] Support ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX sergiodj+buildbot
2017-07-21  5:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 16:13 [binutils-gdb] RISC-V: Resurrect GP-relative disassembly hints sergiodj+buildbot
2017-07-20  8:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 16:07 [binutils-gdb] gdbserver: Clear .deps on clean sergiodj+buildbot
2017-07-19 11:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 14:49 [binutils-gdb] remote.c: Use ptid_t instead of struct ptid sergiodj+buildbot
2017-07-18 15:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04 10:51 [binutils-gdb] Fix null pointer dereferences when using a link built with clang sergiodj+buildbot
2017-07-17 17:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-04  8:09 [binutils-gdb] Remove MAX_REGISTER_SIZE from frame.c sergiodj+buildbot
2017-07-16 17:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-03 16:30 [binutils-gdb] IA16 support sergiodj+buildbot
2017-07-15  9:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-04-03 15:34 [binutils-gdb] ld: Support ELF GNU program properties sergiodj+buildbot
2017-07-14 11:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-31 17:09 [binutils-gdb] RISC-V: Add physical memory protection CSRs sergiodj+buildbot
2017-07-10 12:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-30 10:20 [binutils-gdb] Add support for the WebAssembly file format and the wasm32 ELF conversion to gas and the binutils sergiodj+buildbot
2017-07-08 20:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-30  9:38 [binutils-gdb] Fix classification of `module.type' in D lexer sergiodj+buildbot
2017-07-08  0:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-29 20:26 [binutils-gdb] Fix warning: Invalid entry in .debug_gdb_scripts section sergiodj+buildbot
2017-07-07  4:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-29 19:38 [binutils-gdb] opcodes: sparc: support missing SPARC ASIs from UA2005, UA2007, OSA2011, & OSA2015 sergiodj+buildbot
2017-07-06  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-29 16:25 [binutils-gdb] Add constructor and destructor to thread_info sergiodj+buildbot
2017-07-05 11:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-29 13:12 [binutils-gdb] PowerPC -Mraw disassembly sergiodj+buildbot
2017-07-04  9:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-29 11:54 [binutils-gdb] Improve the speed of scanning PE binaries for line number information sergiodj+buildbot
2017-07-03 13:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28 23:16 [binutils-gdb] Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency sergiodj+buildbot
2017-07-02 17:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28 20:37 [binutils-gdb] arc: Add prologue analysis sergiodj+buildbot
2017-07-01 21:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28 20:23 [binutils-gdb] arc: Add disassembler helper sergiodj+buildbot
2017-07-01  1:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28 20:15 [binutils-gdb] arc: Add "maintenance print arc" command prefix sergiodj+buildbot
2017-06-30  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28 18:58 [binutils-gdb] arc: Align internal regnums with architectural regnums sergiodj+buildbot
2017-06-29  9:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28  1:43 [binutils-gdb] gdb: xtensa-linux: support THREADPTR register sergiodj+buildbot
2017-06-27 17:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-28  0:44 [binutils-gdb] gdb: xtensa: fix test for privileged register number sergiodj+buildbot
2017-06-26 21:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 22:23 [binutils-gdb] gdbserver: xtensa: support THREADPTR register sergiodj+buildbot
2017-06-28 14:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 21:13 [binutils-gdb] gdbserver: xtensa: add call0 support sergiodj+buildbot
2017-06-26  8:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 20:58 [binutils-gdb] gdb: xtensa-linux: add call0 support sergiodj+buildbot
2017-06-25  5:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 20:43 [binutils-gdb] gdb: gdbserver: xtensa: make C0_NREGS available sergiodj+buildbot
2017-06-24  9:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 20:27 [binutils-gdb] gdb: xtensa: clean up xtensa_default_isa initialization sergiodj+buildbot
2017-06-23 13:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 15:51 [binutils-gdb] Add support for the WebAssembly backend to the BFD library sergiodj+buildbot
2017-06-20  3:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 15:49 [binutils-gdb] dwarf2read.c: Clean up out of bounds handling sergiodj+buildbot
2017-06-22 16:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 15:29 [binutils-gdb] gdb/cp-name-parser.y: Eliminate make_empty, use cplus_demangle_fill_component sergiodj+buildbot
2017-06-21 20:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 15:09 [binutils-gdb] cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE sergiodj+buildbot
2017-06-21 10:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 12:36 [binutils-gdb] Fix gdb_xml_debug/gdb_xml_error ATTRIBUTE_PRINTF use sergiodj+buildbot
2017-06-19 11:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 11:50 [binutils-gdb] PR21303, objdump doesn't show e200z4 insns sergiodj+buildbot
2017-06-18  3:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 11:49 [binutils-gdb] Add minimal support for WebAssembly backend to the BFD library sergiodj+buildbot
2017-06-16 10:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 11:31 [binutils-gdb] gdb: Make ldirname return a std::string sergiodj+buildbot
2017-06-17  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-27 10:32 [binutils-gdb] Implement ARC NPS-400 Ultra Ip and Miscellaneous instructions sergiodj+buildbot
2017-06-15 14:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-26  3:50 [binutils-gdb] Fix bug with cmn/adds where C flag was incorrectly set sergiodj+buildbot
2017-06-14  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-25 10:49 [binutils-gdb] Remove some unnecessary inferior_ptid setting/restoring when fetching/storing registers sergiodj+buildbot
2017-06-11 17:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-25  4:31 [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial sergiodj+buildbot
2017-06-05 11:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-25  1:28 [binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py sergiodj+buildbot
2017-06-02 20:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 21:27 [binutils-gdb] arc/nps400: Add cp16/cp32 instructions to opcodes library sergiodj+buildbot
2017-05-30  7:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 18:26 [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-27 14:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 17:14 [binutils-gdb] Remove MAX_REGISTER_SIZE from target.c sergiodj+buildbot
2017-06-13 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 16:24 [binutils-gdb] Add rvalue reference tests and docs sergiodj+buildbot
2017-05-25 22:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 15:38 [binutils-gdb] Avoid segfault on invalid directory table sergiodj+buildbot
2017-06-12 15:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 14:23 [binutils-gdb] Convert lvalue reference type check to general reference type check sergiodj+buildbot
2017-05-24  6:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 13:22 [binutils-gdb] Support rvalue references in the gdb python module (includes doc/) sergiodj+buildbot
2017-05-23  8:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 11:12 [binutils-gdb] Implement printing of rvalue reference types and values sergiodj+buildbot
2017-05-21  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  9:10 [binutils-gdb] Support rvalue reference type in parser sergiodj+buildbot
2017-05-19 13:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  7:12 [binutils-gdb] Change {lookup,make}_reference_type API sergiodj+buildbot
2017-05-17 18:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  3:12 [binutils-gdb] Remove unused parameter in solib_add and update_solib_list sergiodj+buildbot
2017-05-14  6:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 16:19 [binutils-gdb] Remove MAX_REGISTER_SIZE from sol-thread.c sergiodj+buildbot
2017-06-10 20:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:36 [binutils-gdb] Handle PRFM in AArch64 process record sergiodj+buildbot
2017-06-09 20:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:19 [binutils-gdb] Fix code indentation sergiodj+buildbot
2017-06-08 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:04 [binutils-gdb] Remove AARCH64_RECORD_FAILURE sergiodj+buildbot
2017-06-08  1:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 12:14 [binutils-gdb] Remove constness of libdir in do_start_initialization sergiodj+buildbot
2017-06-07  4:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 11:28 [binutils-gdb] Fix memory leak in python.c:do_start_initialization sergiodj+buildbot
2017-06-06  7:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  8:41 [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_stack_value sergiodj+buildbot
2017-04-27 17:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  7:41 [binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef sergiodj+buildbot
2017-04-26 20:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  6:29 [binutils-gdb] Sync top level config files with master versions in the FSF config project sergiodj+buildbot
2017-06-04 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  6:14 [binutils-gdb] Wrap locally used classes in anonymous namespace sergiodj+buildbot
2017-06-03 17:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:45 [binutils-gdb] windows: Use ptid from regcache in register fetch/store sergiodj+buildbot
2017-06-02  0:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:40 [binutils-gdb] Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record sergiodj+buildbot
2017-04-24 21:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:30 [binutils-gdb] Remove remaining reference to struct serial::current_timeout sergiodj+buildbot
2017-06-01  2:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:15 [binutils-gdb] S/390: Remove vx2 facility flag sergiodj+buildbot
2017-05-31  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:21 [binutils-gdb] Decode properly flags of %ccr register on sparc64 sergiodj+buildbot
2017-05-29  8:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:06 [binutils-gdb] Fix break on Python 2 sergiodj+buildbot
2017-05-28 10:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  3:08 [binutils-gdb] Use ptid from regcache in almost all remaining nat files sergiodj+buildbot
2017-05-26 18:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  2:39 [binutils-gdb] Copy lazy string handling fixes from Python sergiodj+buildbot
2017-04-22  4:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:42 [binutils-gdb] Add rvalue references to overloading resolution sergiodj+buildbot
2017-05-25  2:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:38 [binutils-gdb] Fix various python lazy string bugs sergiodj+buildbot
2017-04-21  8:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  0:29 [binutils-gdb] Support DW_TAG_rvalue_reference type sergiodj+buildbot
2017-05-22  7:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 23:58 [binutils-gdb] Implement demangling for rvalue reference type names sergiodj+buildbot
2017-05-20 12:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 23:28 [binutils-gdb] Add ability to return rvalue reference values from value_ref sergiodj+buildbot
2017-05-18 15:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 22:25 [binutils-gdb] Add definitions for rvalue reference types sergiodj+buildbot
2017-05-16 19:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 22:07 [binutils-gdb] RISC-V: Fix assembler for c.li, c.andi and c.addiw sergiodj+buildbot
2017-04-17 21:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 21:43 [binutils-gdb] Add -file-list-shared-libraries MI command sergiodj+buildbot
2017-05-15 23:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 21:28 [binutils-gdb] Add a better diagnostic message in mi_gdb_test sergiodj+buildbot
2017-05-15  2:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:51 [binutils-gdb] Fix spurious FAILs with examine-backward.exp sergiodj+buildbot
2017-05-13 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:41 [binutils-gdb] RISC-V: Fix assembler for c.addi, rd can be x0 sergiodj+buildbot
2017-04-17  1:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:36 [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns sergiodj+buildbot
2017-05-12 13:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:08 [binutils-gdb] Add DW_OP_GNU_variable_value sergiodj+buildbot
2017-04-16  4:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:52 [binutils-gdb] PR 21266, unstable qsort in bfd/elf64-ppc.c sergiodj+buildbot
2017-05-11 12:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:37 [binutils-gdb] DT_TEXTREL vs IFUNC sergiodj+buildbot
2017-05-10 15:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:22 [binutils-gdb] i386-gnu-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-09 19:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:06 [binutils-gdb] i386-darwin-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-08 22:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 18:49 [binutils-gdb] i386-bsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-08  1:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 17:59 [binutils-gdb] hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-07  6:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 17:03 [binutils-gdb] hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-06  9:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:41 [binutils-gdb] Make length_of_subexp static sergiodj+buildbot
2017-04-13 15:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:39 [binutils-gdb] hppa-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-05 14:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:13 [binutils-gdb] corelow: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-04 10:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 15:42 [binutils-gdb] Add test name argument to get_valueof, get_integer_valueof and get_sizeof sergiodj+buildbot
2017-04-12 18:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 15:22 [binutils-gdb] bsd-uthread: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-03 14:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:42 [binutils-gdb] linux-nat: Exploit /proc/<pid>/mem for writing sergiodj+buildbot
2017-04-11 21:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:26 [binutils-gdb] arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-02 13:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:08 [binutils-gdb] arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-01 17:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:41 [binutils-gdb] Restore test-cp-name-parser build sergiodj+buildbot
2017-04-11  0:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:24 [binutils-gdb] PR remote/21188: Fix remote serial timeout sergiodj+buildbot
2017-04-30 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:04 [binutils-gdb] Fix PR gdb/19637: bound_registers.py: Add support for Python 3 sergiodj+buildbot
2017-04-30  0:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 12:43 [binutils-gdb] E6500 spr mnemonics sergiodj+buildbot
2017-04-28 15:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 12:42 [binutils-gdb] alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-10  4:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:54 [binutils-gdb] Add support for a GNU BUILD note type to record the enum size sergiodj+buildbot
2017-04-25 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:25 [binutils-gdb] Fix arm process record for some instructions sergiodj+buildbot
2017-04-24  0:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:10 [binutils-gdb] Add instruction_reader to arm process record sergiodj+buildbot
2017-04-23  1:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  8:23 [binutils-gdb] New function tyscm_scm_to_type sergiodj+buildbot
2017-04-20 13:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  8:05 [binutils-gdb] [Patch] Fix variable type glitch in inf-ptrace.c sergiodj+buildbot
2017-04-19 16:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  7:47 [binutils-gdb] Fix expect for gdb.cp/m-static.exp sergiodj+buildbot
2017-04-18 18:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:40 [binutils-gdb] gdbserver: Use pattern rule for the remaining %-ipa.o objects sergiodj+buildbot
2017-04-05  0:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:21 [binutils-gdb] inf-ptrace: Do not stop memory transfers after a single word sergiodj+buildbot
2017-04-15  8:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:11 [binutils-gdb] RISC-V: Fix [dis]assembly of srai/srli sergiodj+buildbot
2017-04-14 12:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:39 [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-09  7:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:38 [binutils-gdb] gdbserver: Use pattern rule for objects from arch/ sergiodj+buildbot
2017-04-02 12:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:26 [binutils-gdb] aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-08 10:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:36 [binutils-gdb] amd64-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-07 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:21 [binutils-gdb] Add asserts in target_fetch/store_registers sergiodj+buildbot
2017-04-06 17:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:06 [binutils-gdb] Introduce regcache_get_ptid sergiodj+buildbot
2017-04-05 20:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  1:38 [binutils-gdb] gdbserver: Use pattern rule for objects from common/ sergiodj+buildbot
2017-03-31 15:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  1:03 [binutils-gdb] gdbserver: Use pattern rule for IPA objects from common/ sergiodj+buildbot
2017-04-04  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  0:48 [binutils-gdb] gdbserver: Use pattern rule for IPA objects from gdbserver/ sergiodj+buildbot
2017-04-03  8:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  0:39 [binutils-gdb] gdbserver: Use pattern rule for objects from target/ sergiodj+buildbot
2017-03-30 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 23:46 [binutils-gdb] gdbserver: Use pattern rule for objects from nat/ sergiodj+buildbot
2017-04-01 16:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 22:27 [binutils-gdb] gdbserver: Use pattern rule for regformats source file generation sergiodj+buildbot
2017-03-29 23:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 21:41 [binutils-gdb] testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus sergiodj+buildbot
2017-03-29  3:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 21:25 [binutils-gdb] testsuite: Introduce dejagnu_version sergiodj+buildbot
2017-03-28  6:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-13 20:46 [binutils-gdb] Merge libiberty: Initialize d_printing in all cplus_demangle_fill_* functions sergiodj+buildbot
2017-03-26 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-13 18:10 [binutils-gdb] Sync libiberty sources with GCC sergiodj+buildbot
2017-03-25 13:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-13 10:26 [binutils-gdb] Rename R_AARCH64_TLSDESC_LD64_LO12_NC to R_AARCH64_TLSDESC_LD64_LO12 and R_AARCH64_TLSDESC_ADD_LO12_NC to R_AARCH64_TLSDESC_ADD_LO12 sergiodj+buildbot
2017-03-24 17:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-11 13:40 [binutils-gdb] Remove bogus ATTRIBUTE_UNUSED sergiodj+buildbot
2017-03-22 21:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-10 18:58 [binutils-gdb] c++/8218: Destructors w/arguments sergiodj+buildbot
2017-03-22  1:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-10 11:14 [binutils-gdb] Add basic recognition of new EM_ ELF machine numbers sergiodj+buildbot
2017-03-17 17:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 18:26 [binutils-gdb] X86: Add pseudo prefixes to control encoding sergiodj+buildbot
2017-03-16 20:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 16:53 [binutils-gdb] Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c sergiodj+buildbot
2017-03-16  1:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 16:05 [binutils-gdb] Use CpuCET on rdsspq sergiodj+buildbot
2017-03-14 10:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09  3:06 [binutils-gdb] Update -maltivec and -mvsx options to only enable their oldest instructions sergiodj+buildbot
2017-03-13 14:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 22:52 [binutils-gdb] Avoid unstable test message in gdb.base/step-over-exit.exp sergiodj+buildbot
2017-03-12 18:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 20:33 [binutils-gdb] Add support for the new 'lnia' extended mnemonic sergiodj+buildbot
2017-03-11 22:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 20:16 [binutils-gdb] Fix PR18360 - internal error when using "interrupt -a" sergiodj+buildbot
2017-03-11  1:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 17:58 [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage sergiodj+buildbot
2017-03-10  5:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 15:51 [binutils-gdb] gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique sergiodj+buildbot
2017-03-09 21:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 14:07 [binutils-gdb] gdb: Fix a few unstable test names sergiodj+buildbot
2017-03-09 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 13:00 [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command sergiodj+buildbot
2017-03-09  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  2:52 [binutils-gdb] Fix PR tui/21216: TUI line breaks regression sergiodj+buildbot
2017-03-09  5:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  1:27 [binutils-gdb] Move TUI completion tests to gdb.tui/completion.exp sergiodj+buildbot
2017-03-09  1:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  0:56 [binutils-gdb] Move TUI testcases to new gdb/testsuite/gdb.tui/ directory sergiodj+buildbot
2017-03-08 21:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 21:08 [binutils-gdb] Share gdb/environ.[ch] with gdbserver sergiodj+buildbot
2017-03-08 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 18:49 [binutils-gdb] GDB: Fix some null pointer dereferences due to disassembler-options patch sergiodj+buildbot
2017-03-08 12:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 17:42 [binutils-gdb] Remove use of the no longer needed -mminimal-toc option sergiodj+buildbot
2017-03-08  8:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 15:07 [binutils-gdb] Rename gdb.base/tui-layout.exp -> gdb.base/tui-disasm-long-lines.exp sergiodj+buildbot
2017-03-07 23:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 13:27 [binutils-gdb] amd64-mpx: initialize BND register before performing inferior calls sergiodj+buildbot
2017-03-07 15:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07  2:46 [binutils-gdb] PowerPC64 abort due to dynamic relocs on hidden undefweak sergiodj+buildbot
2017-03-07  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-06 23:51 [binutils-gdb] Add support for Intel CET instructions sergiodj+buildbot
2017-03-07  4:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-06 21:27 [binutils-gdb] Remove const in xtensa-linux-nat.c:fetch_gregs sergiodj+buildbot
2017-03-07  0:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-06 11:56 [binutils-gdb] Don't decode powerpc insns with invalid fields sergiodj+buildbot
2017-03-06 14:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-05  4:44 [binutils-gdb] Align eh_frame FDEs according to their encoding sergiodj+buildbot
2017-03-05  7:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 21:27 [binutils-gdb] Fix umulh and smulh bugs. Fix bugs in last week's sumov.s testsuite sergiodj+buildbot
2017-03-04  4:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 18:22 [binutils-gdb] Use range-based for loop in remote_add_target_side_commands sergiodj+buildbot
2017-03-04  0:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 17:35 [binutils-gdb] Fetch lazy value before calling val_print sergiodj+buildbot
2017-03-03 20:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-02 15:11 [binutils-gdb] Disable warning message about a program header with no associated sections when that header's file size is non-zero sergiodj+buildbot
2017-03-02 22:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-02  0:24 [binutils-gdb] PowerPC VLE typo fix sergiodj+buildbot
2017-03-02 18:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-01 11:25 [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs sergiodj+buildbot
2017-03-02 10:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 18:48 [binutils-gdb] GDB: Add support for the new set/show disassembler-options commands sergiodj+buildbot
2017-03-02  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 14:32 [binutils-gdb] PowerPC addpcis fix again sergiodj+buildbot
2017-03-02  3:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 10:17 [binutils-gdb] x86: fix handling of 64-bit operand size VPCMPESTR{I, M} sergiodj+buildbot
2017-03-01 23:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  5:23 [binutils-gdb] Nios2 dynobj handling fixes sergiodj+buildbot
2017-03-01 19:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  4:22 [binutils-gdb] PowerPC addpcis fix sergiodj+buildbot
2017-03-01 15:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  3:19 [binutils-gdb] Don't make dynamic .data.rel.ro SEC_READONLY sergiodj+buildbot
2017-03-01 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  0:57 [binutils-gdb] MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR sergiodj+buildbot
2017-03-01  7:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 19:30 [binutils-gdb] Remove struct keyword from range-based for loop sergiodj+buildbot
2017-03-01  2:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 18:58 [binutils-gdb] Use range-based for loop in remote_add_target_side_condition sergiodj+buildbot
2017-02-28 22:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 17:42 [binutils-gdb] Fix array out of bound access sergiodj+buildbot
2017-02-28 18:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 11:51 [binutils-gdb] Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT sergiodj+buildbot
2017-02-28 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26 16:22 [binutils-gdb] DWARF-5: Initialization due to a false compiler warning sergiodj+buildbot
2017-02-28  7:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26  5:34 [binutils-gdb] Add missing smov support, and clean up existing umov support sergiodj+buildbot
2017-02-27 18:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26  4:21 [binutils-gdb] Add missing cnt (popcount) instruction support sergiodj+buildbot
2017-02-27 14:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-25  9:00 [binutils-gdb] ARC naughtiness causing assertion fail at elf-strtab.c:302 sergiodj+buildbot
2017-02-27 10:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 23:37 [binutils-gdb] [AArch64] Add a "compnum" feature sergiodj+buildbot
2017-02-27  2:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 21:09 [binutils-gdb] symtab.c: Small refactor sergiodj+buildbot
2017-02-26 22:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 19:30 [binutils-gdb] [AArch64] Additional SVE instructions sergiodj+buildbot
2017-02-27  6:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 19:18 [binutils-gdb] Add new counter-enable CSRs sergiodj+buildbot
2017-02-26 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 16:45 [binutils-gdb] Remove use of MAX_REGISTER_SIZE sergiodj+buildbot
2017-02-26  9:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 16:32 [binutils-gdb] Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE sergiodj+buildbot
2017-02-26  5:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  9:18 [binutils-gdb] x86: also correctly support TEST opcode aliases sergiodj+buildbot
2017-02-26  1:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  1:21 [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling sergiodj+buildbot
2017-02-25 21:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  0:15 [binutils-gdb] MIPS/BFD: Discard ineligible JALR relocations right away sergiodj+buildbot
2017-02-25 17:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 21:46 [binutils-gdb] PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c sergiodj+buildbot
2017-02-25 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 20:15 [binutils-gdb] S/390: Add support for new cpu architecture - arch12 sergiodj+buildbot
2017-02-25  9:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 19:28 [binutils-gdb] Use gdb::function_view in iterate_over_symtabs & co sergiodj+buildbot
2017-02-25  5:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 19:06 [binutils-gdb] Introduce gdb::function_view sergiodj+buildbot
2017-02-25  2:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 17:16 [binutils-gdb] opcodes, gas: associate SPARC ASIs with an architecture level sergiodj+buildbot
2017-02-24 22:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 15:54 [binutils-gdb] Fix usage of inferior_ptid in two thread_alive implementations sergiodj+buildbot
2017-02-24 18:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 12:12 [binutils-gdb] Use xfree rather than delete for varobj_iter sergiodj+buildbot
2017-02-24 13:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 11:39 [binutils-gdb] Use delete instead of xfree for varobj_item sergiodj+buildbot
2017-02-24  9:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 10:18 [binutils-gdb] x86: drop stray VEX opcode 82 references sergiodj+buildbot
2017-02-24  5:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23  4:16 [binutils-gdb] Correct VLE 16D and SDAREL relocations sergiodj+buildbot
2017-02-24  0:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22 19:04 [binutils-gdb] PR ld/20828: Move symbol version processing ahead of GC symbol sweep sergiodj+buildbot
2017-02-23 20:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22 17:45 [binutils-gdb] Align .gnu_debuglink sections on a 4-byte boundary sergiodj+buildbot
2017-02-23 17:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22  9:55 [binutils-gdb] aarch64: actually copy first operand in convert_bfc_to_bfm() sergiodj+buildbot
2017-02-23 13:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22  0:26 [binutils-gdb] Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback sergiodj+buildbot
2017-02-23  9:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 23:12 [binutils-gdb] PowerPC ld segfault on script discarding dynamic sections sergiodj+buildbot
2017-02-23  5:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 17:22 [binutils-gdb] Default initialize enum flags to 0 sergiodj+buildbot
2017-02-23  1:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 15:39 [binutils-gdb] [ppc64] Add POWER8/ISA 2.07 atomic sequences single-stepping support sergiodj+buildbot
2017-02-22 21:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 14:17 [binutils-gdb] Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp sergiodj+buildbot
2017-02-22 17:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21  8:59 [binutils-gdb] Fix recent compiler warnings sergiodj+buildbot
2017-02-22 12:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 22:02 [binutils-gdb] Code cleanup: Refactor abbrev_table_read_table cycle sergiodj+buildbot
2017-02-22  6:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 20:58 [binutils-gdb] Code cleanup: Split dwarf2_ranges_read to a callback sergiodj+buildbot
2017-02-22  2:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 20:29 [binutils-gdb] Code cleanup: Split create_debug_types_hash_table sergiodj+buildbot
2017-02-21 22:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 13:23 [binutils-gdb] Fix thinko on last commit sergiodj+buildbot
2017-02-21 17:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 10:47 [binutils-gdb] Alpha executables segfault when linked with -z,now sergiodj+buildbot
2017-02-21 12:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-19 21:43 [binutils-gdb] Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv sergiodj+buildbot
2017-02-21  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 15:09 [binutils-gdb] Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer sergiodj+buildbot
2017-02-21  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 13:45 [binutils-gdb] Add target description for avx-avx512 sergiodj+buildbot
2017-02-20 21:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 12:37 [binutils-gdb] Rename target descriptions to reflect actual content of description sergiodj+buildbot
2017-02-20 17:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 11:43 [binutils-gdb] Add support for Intel PKRU register to GDB and GDBserver sergiodj+buildbot
2017-02-21  1:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 11:06 [binutils-gdb] Change xstate_bv handling to use 8 bytes of data sergiodj+buildbot
2017-02-20 14:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 10:39 [binutils-gdb] Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch sergiodj+buildbot
2017-02-20 10:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  5:50 [binutils-gdb] bfd: Rename Chunk and S3Forced sergiodj+buildbot
2017-02-20  6:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  4:25 [binutils-gdb] bfd: Rename bsd_write_armap and coff_write_armap sergiodj+buildbot
2017-02-20  2:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  3:05 [binutils-gdb] bfd: Rename warn_deprecated sergiodj+buildbot
2017-02-19 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  1:56 [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen} sergiodj+buildbot
2017-02-19 18:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 16:18 [binutils-gdb] bfd: Improve lookup of file / line information for errors sergiodj+buildbot
2017-02-19 14:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 15:13 [binutils-gdb] bfd/dwarf: Improve use of previously loaded dwarf information sergiodj+buildbot
2017-02-19 11:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 13:04 [binutils-gdb] PR21132, hppa-linux pie support doesn't work sergiodj+buildbot
2017-02-19  3:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 10:47 [binutils-gdb] [Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED sergiodj+buildbot
2017-02-18 23:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16  1:11 [binutils-gdb] PR gdb/21164: maint print {symbols, msymbols, psymbols} without args crash sergiodj+buildbot
2017-02-18 20:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 21:34 [binutils-gdb] i386: Allow "lea foo@GOT, %reg" in PIC sergiodj+buildbot
2017-02-18 15:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 20:09 [binutils-gdb] Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error sergiodj+buildbot
2017-02-18 11:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 18:56 [binutils-gdb] Add SFENCE.VMA instruction sergiodj+buildbot
2017-02-18  7:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 17:26 [binutils-gdb] [AArch64] Add SVE system registers sergiodj+buildbot
2017-02-18  3:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 14:09 [binutils-gdb] PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages sergiodj+buildbot
2017-02-17 23:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 11:36 [binutils-gdb] [ARC] Fix assembler relaxation sergiodj+buildbot
2017-02-17 15:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  9:17 [binutils-gdb] Distinguish some of the registers different on ARC700 and HS38 cpus sergiodj+buildbot
2017-02-17 11:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  3:18 [binutils-gdb] Add self to aarch64 maintainers. Fix mla instruction sergiodj+buildbot
2017-02-17  7:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  2:56 [binutils-gdb] Fix bit/bif instructions sergiodj+buildbot
2017-02-17  4:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  1:30 [binutils-gdb] Add ldn/stn single support, fix ldnr support sergiodj+buildbot
2017-02-17  0:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 23:42 [binutils-gdb] PR python/13598 - add before_prompt event sergiodj+buildbot
2017-02-16 19:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 23:03 [binutils-gdb] Big-endian targets: Fix implptrpiece.exp sergiodj+buildbot
2017-02-16 15:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 20:47 [binutils-gdb] PowerPC register expression checks sergiodj+buildbot
2017-02-16 12:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 19:24 [binutils-gdb] Update ppc64_elf_gc_mark_dynamic_ref sergiodj+buildbot
2017-02-16  8:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 19:15 [binutils-gdb] Add documentation for new record Python bindings sergiodj+buildbot
2017-02-16  4:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 17:55 [binutils-gdb] python: Add tests for record Python bindings sergiodj+buildbot
2017-02-16  0:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 17:02 [binutils-gdb] python: Implement btrace Python bindings for record history sergiodj+buildbot
2017-02-15 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 15:41 [binutils-gdb] python: Create Python bindings for record history sergiodj+buildbot
2017-02-15 15:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 14:37 [binutils-gdb] Add method to query current recording method to target_ops sergiodj+buildbot
2017-02-15 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 13:41 [binutils-gdb] Add record_start and record_stop functions sergiodj+buildbot
2017-02-15  6:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 12:24 [binutils-gdb] btrace: Use binary search to find instruction sergiodj+buildbot
2017-02-15  2:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 10:44 [binutils-gdb] btrace: Export btrace_decode_error function sergiodj+buildbot
2017-02-14 22:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 10:42 [binutils-gdb] btrace: Count gaps as one instruction explicitly sergiodj+buildbot
2017-02-14 17:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14  9:47 [binutils-gdb] btrace: preserve call stack on function switch sergiodj+buildbot
2017-02-14 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 18:49 [binutils-gdb] Fix invalid memory access in the BFD library's DWARF parser sergiodj+buildbot
2017-02-14  5:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 15:27 [binutils-gdb] Improve load command's help text sergiodj+buildbot
2017-02-14  0:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 14:23 [binutils-gdb] Fix gdb.linespec/explicit.exp sergiodj+buildbot
2017-02-13 20:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 13:29 [binutils-gdb] Make gdb.arch/i386-biarch-core.exp more robust sergiodj+buildbot
2017-02-13 16:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13  6:43 [binutils-gdb] sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations sergiodj+buildbot
2017-02-13 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  7:43 [binutils-gdb] Fix use after free in cgen instruction lookup sergiodj+buildbot
2017-02-12 22:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  5:11 [binutils-gdb] Remove unused variable in rust-lang.c sergiodj+buildbot
2017-02-12 10:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  2:51 [binutils-gdb] Fix Python test to use lowercase command sergiodj+buildbot
2017-02-12  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove unnecessary local variables sergiodj+buildbot
2017-02-12  2:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove some gotos from Python sergiodj+buildbot
2017-02-11 21:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 23:51 [binutils-gdb] Do not send queries on secondary UIs sergiodj+buildbot
2017-02-12 18:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 23:27 [binutils-gdb] Change one more spot to use gdbpy_ref sergiodj+buildbot
2017-02-11 17:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 22:25 [binutils-gdb] Use gdbpy_ref to simplify some logic sergiodj+buildbot
2017-02-11 14:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 21:03 [binutils-gdb] Turn gdbpy_ref into a template sergiodj+buildbot
2017-02-11  9:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 20:08 [binutils-gdb] Remove some ui_out-related cleanups from Python sergiodj+buildbot
2017-02-11  5:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 18:09 [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address sergiodj+buildbot
2017-02-11  0:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 16:54 [binutils-gdb] PR gdb/21122: Fix documentation mistakes for breakpoint commands sergiodj+buildbot
2017-02-10 19:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10  8:52 [binutils-gdb] POWER9 add scv/rfscv instruction support sergiodj+buildbot
2017-02-10 12:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-09 22:32 [binutils-gdb] Remove return in function returning void sergiodj+buildbot
2017-02-10  1:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-09 15:56 [binutils-gdb] Fix NULL pointer dereference sergiodj+buildbot
2017-02-09 19:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 20:52 [binutils-gdb] Eliminate interp::quiet_p sergiodj+buildbot
2017-02-09  5:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 19:25 [binutils-gdb] Command abbreviation in define sergiodj+buildbot
2017-02-09  1:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08  2:16 [binutils-gdb] Fix segfault when .plt section does not exist sergiodj+buildbot
2017-02-08  4:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-07 21:40 [binutils-gdb] gdb: fix ARI warning in sparc-tdep.c sergiodj+buildbot
2017-02-08  0:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-07 14:25 [binutils-gdb] bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names sergiodj+buildbot
2017-02-07 17:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06 10:53 [binutils-gdb] [ARC] Provide an interface to decode ARC instructions sergiodj+buildbot
2017-02-07  4:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06  9:31 [binutils-gdb] [BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay sergiodj+buildbot
2017-02-07  0:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06  8:01 [binutils-gdb] gdb: provide and use sparc{32, 64} target description XML files sergiodj+buildbot
2017-02-06 20:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-04  6:28 [binutils-gdb] Fix ptype of single-member Rust enums sergiodj+buildbot
2017-02-06  7:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03 16:50 [binutils-gdb] C++-fy struct interp/cli_interp/tui_interp/mi_interp sergiodj+buildbot
2017-02-06  3:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  9:19 [binutils-gdb] Fix compile time warning messages when compiling binutils with gcc 7.0.1 sergiodj+buildbot
2017-02-05 23:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  6:34 [binutils-gdb] Use std::string in Rust code sergiodj+buildbot
2017-02-05 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  5:37 [binutils-gdb] Use bool in Rust code sergiodj+buildbot
2017-02-05 19:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  4:54 [binutils-gdb] Reindent rust-lang.c sergiodj+buildbot
2017-02-05 15:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  4:25 [binutils-gdb] struct mi_interp: Remove unused fields sergiodj+buildbot
2017-02-05  2:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  2:37 [binutils-gdb] MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices sergiodj+buildbot
2017-02-04 18:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  0:38 [binutils-gdb] Fix "maintenance selftest" printing stray instructions sergiodj+buildbot
2017-02-05  7:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  0:13 [binutils-gdb] MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement sergiodj+buildbot
2017-02-04 23:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 23:37 [binutils-gdb] MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table' sergiodj+buildbot
2017-02-04 10:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 23:22 [binutils-gdb] BFD: Wrap overlong error handler call line in `elf_gc_sweep' sergiodj+buildbot
2017-02-04  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 22:23 [binutils-gdb] Move "tee" building down to interpreter::set_logging_proc sergiodj+buildbot
2017-02-04  3:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 14:53 [binutils-gdb] Fix "-gdb-set logging redirect on" crash sergiodj+buildbot
2017-02-03 22:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 13:57 [binutils-gdb] Tweak pretty_print_disassembler's intro comment sergiodj+buildbot
2017-02-03 19:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 13:22 [binutils-gdb] Reuse buffers across gdb_pretty_print_insn calls sergiodj+buildbot
2017-02-03 14:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 12:25 [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy sergiodj+buildbot
2017-02-03 11:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 11:42 [binutils-gdb] Add back gdb_pretty_print_insn sergiodj+buildbot
2017-02-03  6:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02  4:29 [binutils-gdb] Remove unused file_string parameter in gdb_disassembly sergiodj+buildbot
2017-02-03  3:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 16:37 [binutils-gdb] btrace, testsuite: fix extended-remote fail sergiodj+buildbot
2017-02-02 15:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 16:25 [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_implicit_value sergiodj+buildbot
2017-02-02 23:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 15:42 [binutils-gdb] btrace, testsuite: fix extended-remote non-stop test sergiodj+buildbot
2017-02-02 11:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 15:06 [binutils-gdb] btrace: add unsupported/untested messages when skipping tests sergiodj+buildbot
2017-02-02  7:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 14:54 [binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests sergiodj+buildbot
2017-02-02 19:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 14:07 [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads sergiodj+buildbot
2017-02-02  3:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 13:56 [binutils-gdb] thread: add can_access_registers_ptid sergiodj+buildbot
2017-02-01 23:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  1:15 [binutils-gdb] gdb/mi/mi-interp.c: Fix typos sergiodj+buildbot
2017-02-01 15:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  0:56 [binutils-gdb] gdb/stack.c: Remove unused mem_fileopen sergiodj+buildbot
2017-02-01 11:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  0:40 [binutils-gdb] gdb/varobj.c: Fix leak sergiodj+buildbot
2017-02-01  7:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-31 23:53 [binutils-gdb] gdb: make_scoped_restore and types convertible to T sergiodj+buildbot
2017-02-01  3:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-30 17:32 [binutils-gdb] MIPS: Add options to control branch ISA checks sergiodj+buildbot
2017-01-30 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 16:49 [binutils-gdb] amd64-linux: expose system register FS_BASE and GS_BASE for Linux sergiodj+buildbot
2017-01-28 17:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 16:10 [binutils-gdb] amd64: simplify addition of new general registers sergiodj+buildbot
2017-01-28 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 14:35 [binutils-gdb] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver sergiodj+buildbot
2017-01-28  5:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 12:25 [binutils-gdb] Fix disassembling of TIC6X parallel instructions where the previous fetch packet ended with a 32-bit insn sergiodj+buildbot
2017-01-28  1:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 11:41 [binutils-gdb] Fix PTRACE_GETREGSET failure for compat inferiors on arm64 sergiodj+buildbot
2017-01-27 21:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27  8:31 [binutils-gdb] Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol sergiodj+buildbot
2017-01-27 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  5:21 [binutils-gdb] Use gdbpy_ref in invoke_match_method sergiodj+buildbot
2017-01-16 16:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:38 [binutils-gdb] Use gdbpy_enter in py-progspace.c sergiodj+buildbot
2017-01-15  1:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:18 [binutils-gdb] Introduce gdbpy_enter_varobj and use it sergiodj+buildbot
2017-01-16 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:07 [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c sergiodj+buildbot
2017-01-14 12:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:03 [binutils-gdb] Use gdbpy_enter in py-xmethod.c sergiodj+buildbot
2017-01-16 20:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 18:31 [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers sergiodj+buildbot
2017-01-16 12:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 18:16 [binutils-gdb] Use gdbpy_enter in python_interactive_command sergiodj+buildbot
2017-01-16  8:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 17:26 [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook sergiodj+buildbot
2017-01-16  4:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 17:11 [binutils-gdb] Use gdbpy_enter in py-prettyprint.c sergiodj+buildbot
2017-01-16  0:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 16:56 [binutils-gdb] Introduce htab_up and use gdbpy_enter in py-framefilter.c sergiodj+buildbot
2017-01-15 20:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 16:05 [binutils-gdb] Use gdbpy_enter in py-unwind.c sergiodj+buildbot
2017-01-15 16:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 15:49 [binutils-gdb] Use gdbpy_enter in py-xmethods.c sergiodj+buildbot
2017-01-15 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:59 [binutils-gdb] Use gdbpy_enter in py-type.c sergiodj+buildbot
2017-01-15  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:45 [binutils-gdb] Use gdbpy_ref in py-prettyprint.c sergiodj+buildbot
2017-01-13  8:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:43 [binutils-gdb] Use gdbpy_enter in python.c sergiodj+buildbot
2017-01-15  5:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:12 [binutils-gdb] Use gdbpy_enter in py-objfile.c sergiodj+buildbot
2017-01-14 21:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 13:26 [binutils-gdb] Use gdbpy_ref in py-linetable.c sergiodj+buildbot
2017-01-12 23:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 13:22 [binutils-gdb] Use gdbpy_enter in py-inferior.c sergiodj+buildbot
2017-01-14 16:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 12:51 [binutils-gdb] Use gdbpy_enter in py-cmd.c sergiodj+buildbot
2017-01-14  8:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 12:35 [binutils-gdb] Use gdbpy_enter in py-breakpoint.c sergiodj+buildbot
2017-01-14  4:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:46 [binutils-gdb] Introduce gdbpy_enter sergiodj+buildbot
2017-01-14  0:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:29 [binutils-gdb] Use gdbpy_ref in gdbpy_lookup_symbol sergiodj+buildbot
2017-01-13 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:23 [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors sergiodj+buildbot
2017-01-12 12:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:14 [binutils-gdb] Use gdbpy_ref in py-value.c sergiodj+buildbot
2017-01-13 16:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 10:38 [binutils-gdb] Use gdbpy_ref in py-function.c sergiodj+buildbot
2017-01-12  8:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 10:24 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-13 12:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  9:54 [binutils-gdb] Use gdbpy_ref in call_doc_function sergiodj+buildbot
2017-01-13  4:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  8:42 [binutils-gdb] Use gdbpy_ref in gdbpy_string_to_argv sergiodj+buildbot
2017-01-12  4:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:59 [binutils-gdb] Use gdbpy_ref in py-framefilter.c sergiodj+buildbot
2017-01-12 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:18 [binutils-gdb] Change event code to use gdbpy_ref sergiodj+buildbot
2017-01-11 19:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:09 [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints sergiodj+buildbot
2017-01-12 15:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  6:08 [binutils-gdb] Use gdbpy_ref in py-type.c sergiodj+buildbot
2017-01-11 23:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  5:41 [binutils-gdb] Introduce py-ref.h sergiodj+buildbot
2017-01-11 15:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 22:48 [binutils-gdb] i386/x32: Align .eh_frame section to 4 bytes sergiodj+buildbot
2017-01-11 11:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 21:52 [binutils-gdb] i386/x86-64: Add unwind info for .plt.got section sergiodj+buildbot
2017-01-11  7:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 19:51 [binutils-gdb] Don't use elf_i386_eh_frame_plt directly sergiodj+buildbot
2017-01-11  3:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 16:47 [binutils-gdb] Change return type of ui_out redirect to void sergiodj+buildbot
2017-01-10 22:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 15:35 [binutils-gdb] Update help of the "frame" command sergiodj+buildbot
2017-01-10 18:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10  0:02 [binutils-gdb] Fix problems with the implementation of the uzp1 and uzp2 instructions sergiodj+buildbot
2017-01-10  9:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09 17:56 [binutils-gdb] Fix inferior memory reading in GDBServer for arm/aarch32 sergiodj+buildbot
2017-01-10  5:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09  9:47 [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table sergiodj+buildbot
2017-01-09 22:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-08 10:52 [binutils-gdb] [D] Fix crash when debug expression enabled sergiodj+buildbot
2017-01-09 18:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-07 21:17 [binutils-gdb] S/390: Issue error for overflowing relocs sergiodj+buildbot
2017-01-09  7:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 19:51 [binutils-gdb] Include serial.h in ser-base.h sergiodj+buildbot
2017-01-08 23:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 19:22 [binutils-gdb] Include ppc-tdep.h in ppc-linux-tdep.h sergiodj+buildbot
2017-01-08 19:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 18:31 [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h sergiodj+buildbot
2017-01-08 15:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 17:58 [binutils-gdb] Include break-common.h in nat/aarch64-linux-hw-point.h sergiodj+buildbot
2017-01-08 12:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 17:08 [binutils-gdb] Include mi-cmds.h in mi-parse.h sergiodj+buildbot
2017-01-08  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 15:35 [binutils-gdb] Include doublest.h and expression.h in dfp.h sergiodj+buildbot
2017-01-08  0:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 15:00 [binutils-gdb] Include ax.h in ax-gdb.h sergiodj+buildbot
2017-01-07 20:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 14:17 [binutils-gdb] Update gdb_ptrace.h in HFILES_NO_SRCDIR sergiodj+buildbot
2017-01-07 17:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05 15:02 [binutils-gdb] Fix ARI warning sergiodj+buildbot
2017-01-07 12:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05  9:19 [binutils-gdb] Prevent an abort in the FRV disassembler if the target bfd name is unknown sergiodj+buildbot
2017-01-07  8:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05  0:23 [binutils-gdb] Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul sergiodj+buildbot
2017-01-07  4:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 20:32 [binutils-gdb] Use correct OSABI constant for FreeBSD/mips binaries sergiodj+buildbot
2017-01-07  0:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 16:08 [binutils-gdb] [DWARF] Sync GCC dwarf.def change on AArch64 sergiodj+buildbot
2017-01-06 20:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 14:42 [binutils-gdb] Sync libiberty from gcc sergiodj+buildbot
2017-01-06 11:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 13:51 [binutils-gdb] picflag.m4 high bit set in comment sergiodj+buildbot
2017-01-06  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 12:49 [binutils-gdb] [AArch64] Add separate feature flag for weaker release consistent load insns sergiodj+buildbot
2017-01-06  4:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 10:10 [binutils-gdb] Fix an internal error on writing pieced value sergiodj+buildbot
2017-01-06  0:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  5:38 [binutils-gdb] Fix generation of GOT table when only GOT-relative relocs are used sergiodj+buildbot
2017-01-05 11:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:56 [binutils-gdb] bfd: alpha: Fix crash caused by double free with --no-keep-memory sergiodj+buildbot
2017-01-05 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:42 [binutils-gdb] Add support for the Q extension to the RISCV ISA sergiodj+buildbot
2017-01-05 16:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:11 [binutils-gdb] Add fall through comment sergiodj+buildbot
2017-01-05  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  2:25 [binutils-gdb] Add new Serbian translation for the opcodes library sergiodj+buildbot
2017-01-05  4:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  2:06 [binutils-gdb] Regen opcodes cgen files sergiodj+buildbot
2017-01-04 17:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:38 [binutils-gdb] Fix compile time warning about using a possibly uninitialised variable sergiodj+buildbot
2017-01-05  0:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:22 [binutils-gdb] Don't make symbols dynamic other than undef weak sergiodj+buildbot
2017-01-04 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:22 [binutils-gdb] Sync dwarf headers with master versions in gcc repository sergiodj+buildbot
2017-01-04 20:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:00 [binutils-gdb] Set SHF_INFO_LINK for .PARISC.unwind sergiodj+buildbot
2017-01-04  9:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  0:14 [binutils-gdb] Update year range in copyright notice of all files sergiodj+buildbot
2017-01-04  2:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-01  8:25 [binutils-gdb] update copyright year range in GDB files sergiodj+buildbot
2017-01-01 14:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-01  7:09 [binutils-gdb] Rotate GDB main ChangeLog for 2017 sergiodj+buildbot
2017-01-01 10:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  9:11 [binutils-gdb] Create sdynrelro for elfn32 mips too sergiodj+buildbot
2016-12-31 21:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  4:19 [binutils-gdb] PRU Opcode Port sergiodj+buildbot
2016-12-31 16:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  3:06 [binutils-gdb] PRU BFD support sergiodj+buildbot
2016-12-31 11:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  2:44 [binutils-gdb] Import config.sub sergiodj+buildbot
2016-12-31  8:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-29 16:30 [binutils-gdb] Return 'int' rather than 'unsigned short' in avrdis_opcode sergiodj+buildbot
2016-12-31  1:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-29 14:37 [binutils-gdb] link_hash_copy_indirect and symbol flags sergiodj+buildbot
2016-12-30 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-28 13:44 [binutils-gdb] Check bfd support for bfd_mips_elf_get_abiflags in mips make rule sergiodj+buildbot
2016-12-30 13:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-28 12:52 [binutils-gdb] Use dynrelro for symbols in relro sections too sergiodj+buildbot
2016-12-30  6:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-26  6:54 [binutils-gdb] dynrelro section for read-only dynamic symbols copied into executable sergiodj+buildbot
2016-12-30  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-26  6:26 [binutils-gdb] Put .dynbss and .rel.bss shortcuts in main elf hash table sergiodj+buildbot
2016-12-30  0:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  3:33 [binutils-gdb] MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support sergiodj+buildbot
2016-12-29 14:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  1:33 [binutils-gdb] MIPS16: Add ASMACRO instruction support sergiodj+buildbot
2016-12-29  7:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  0:33 [binutils-gdb] MIPS16: Reassign `0' and `4' operand codes sergiodj+buildbot
2016-12-29  1:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 22:25 [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling sergiodj+buildbot
2016-12-28 14:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 22:22 [binutils-gdb] MIPS16: Simplify extended operand handling sergiodj+buildbot
2016-12-29  5:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:54 [binutils-gdb] MIPS16: Handle non-extensible instructions correctly sergiodj+buildbot
2016-12-28 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:34 [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling sergiodj+buildbot
2016-12-28 12:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:30 [binutils-gdb] opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD sergiodj+buildbot
2016-12-28  7:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 20:03 [binutils-gdb] Fix more cases of improper test names sergiodj+buildbot
2016-12-28  5:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 18:37 [binutils-gdb] Fix incorrect reference to source files sergiodj+buildbot
2016-12-27 23:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 16:53 [binutils-gdb] Call target specific add_symbols function sergiodj+buildbot
2016-12-27 19:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 14:34 [binutils-gdb] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized sergiodj+buildbot
2016-12-27 16:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 12:50 [binutils-gdb] Updated email address sergiodj+buildbot
2016-12-27  6:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  9:49 [binutils-gdb] Bump version to 2.28.51 sergiodj+buildbot
2016-12-27  4:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  9:35 [binutils-gdb] Regenerate pot files sergiodj+buildbot
2016-12-27  0:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  1:16 [binutils-gdb] infrun.c (set_step_over_info): Add comment sergiodj+buildbot
2016-12-26 16:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  0:18 [binutils-gdb] New syntax for mt print symbols,msymbols,psymbols sergiodj+buildbot
2016-12-26  9:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-22 22:01 [binutils-gdb] Class-ify ui_out sergiodj+buildbot
2016-12-26  5:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 21:24 [binutils-gdb] Fix bugs with float compare and Inf operands sergiodj+buildbot
2016-12-26  1:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 15:21 [binutils-gdb] Don't make_bfd_vms_lib archive functions NULL sergiodj+buildbot
2016-12-25 22:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 14:46 [binutils-gdb] Avoid creating symbol table entries for registers sergiodj+buildbot
2016-12-25 18:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 13:59 [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode sergiodj+buildbot
2016-12-25 14:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 11:51 [binutils-gdb] Remove high bit set characters sergiodj+buildbot
2016-12-25 10:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 23:46 [binutils-gdb] MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership sergiodj+buildbot
2016-12-24  2:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 19:34 [binutils-gdb] gdb: Constify solib_find sergiodj+buildbot
2016-12-25  2:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 17:00 [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains sergiodj+buildbot
2016-12-24 21:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 16:15 [binutils-gdb] Set emacs default mode for the GDB directory to C++ sergiodj+buildbot
2016-12-24 19:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 15:08 [binutils-gdb] MIPS16/opcodes: Respect ISA and ASE in disassembly sergiodj+buildbot
2016-12-24 15:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 14:32 [binutils-gdb] MIPS16: Switch to 32-bit opcode table interpretation sergiodj+buildbot
2016-12-24 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 14:09 [binutils-gdb] MIPS16/opcodes: Correct 64-bit macros' ISA membership sergiodj+buildbot
2016-12-24  7:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:07 [binutils-gdb] Re-work RISC-V gas flags: now we just support -mabi and -march sergiodj+buildbot
2016-12-23  9:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:07 [binutils-gdb] Add canonical JALR for RISC-V sergiodj+buildbot
2016-12-23 14:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:07 [binutils-gdb] Rework RISC-V relocations sergiodj+buildbot
2016-12-23  1:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:06 [binutils-gdb] Correct assembler mnemonic for RISC-V aqrl AMOs sergiodj+buildbot
2016-12-23 23:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:06 [binutils-gdb] Fix disassembly of RISC-V CSR instructions under -Mno-aliases sergiodj+buildbot
2016-12-23 17:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:03 [binutils-gdb] Fix an integer overflow in RISC-V relocation handling sergiodj+buildbot
2016-12-23  6:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:03 [binutils-gdb] Formatting changes for RISC-V sergiodj+buildbot
2016-12-22 21:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-04  2:02 [binutils-gdb] Fix bugs with tbnz/tbz instructions sergiodj+buildbot
2016-12-17 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 13:35 [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes sergiodj+buildbot
2016-12-17  5:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 13:02 [binutils-gdb] Tidy ppc64_elf_hide_symbol sergiodj+buildbot
2016-12-17  0:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 12:21 [binutils-gdb] PowerPC64 add_symbol_adjust sergiodj+buildbot
2016-12-16 21:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 11:55 [binutils-gdb] Indirect and warning symbols sergiodj+buildbot
2016-12-16 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 11:13 [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix sergiodj+buildbot
2016-12-16 15:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 21:50 [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp sergiodj+buildbot
2016-12-16  9:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 21:13 [binutils-gdb] Support an "unlimited" number of user-defined arguments sergiodj+buildbot
2016-12-16  6:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 20:34 [binutils-gdb] Test user-defined gdb commands and arguments stack sergiodj+buildbot
2016-12-16  2:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 18:56 [binutils-gdb] Fix seg-fault in linker when passed a corrupt binary input file sergiodj+buildbot
2016-12-15 20:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 18:11 [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp sergiodj+buildbot
2016-12-15 18:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 16:48 [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram sergiodj+buildbot
2016-12-15 13:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 16:03 [binutils-gdb] Rename some trace functions sergiodj+buildbot
2016-12-15 10:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 15:26 [binutils-gdb] Remove mi_out_data::suppress_output sergiodj+buildbot
2016-12-15  6:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 12:02 [binutils-gdb] Always pass a valid section header offset to elf_parse_notes sergiodj+buildbot
2016-12-15  3:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 11:30 [binutils-gdb] Add support for Fushia OS sergiodj+buildbot
2016-12-14 23:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 10:50 [binutils-gdb] [AArch64] Recognize STR instruction in prologue sergiodj+buildbot
2016-12-14 21:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 10:11 [binutils-gdb] Add unit test to aarch64 prologue analyzer sergiodj+buildbot
2016-12-14 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  6:01 [binutils-gdb] Don't handle timeout inside gdb_test_multiple sergiodj+buildbot
2016-12-14 14:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  5:34 [binutils-gdb] Class-ify ui_out_table sergiodj+buildbot
2016-12-14 11:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  5:00 [binutils-gdb] ui_out_table: Replace boolean flag with enum sergiodj+buildbot
2016-12-14  8:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  4:41 [binutils-gdb] Simplify ui-out level code sergiodj+buildbot
2016-12-14  5:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  3:57 [binutils-gdb] Class-ify ui_out_level sergiodj+buildbot
2016-12-14  3:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:49 [binutils-gdb] Class-ify ui_out_hdr sergiodj+buildbot
2016-12-14  0:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:11 [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator sergiodj+buildbot
2016-12-13 17:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  1:27 [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages sergiodj+buildbot
2016-12-13 15:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  0:34 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_multiple sergiodj+buildbot
2016-12-13 12:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  0:06 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_no_output sergiodj+buildbot
2016-12-13  9:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 23:25 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test sergiodj+buildbot
2016-12-13  6:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 23:01 [binutils-gdb] Fix test names starting with uppercase using gdb_test_multiple sergiodj+buildbot
2016-12-13  4:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 22:09 [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output sergiodj+buildbot
2016-12-12 23:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 21:50 [binutils-gdb] Fix test names starting with uppercase using gdb_test on a single line sergiodj+buildbot
2016-12-12 21:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 21:12 [binutils-gdb] Fix test names starting with uppercase output by basic functions sergiodj+buildbot
2016-12-12 18:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 17:48 [binutils-gdb] Fix bug with FP stur instructions sergiodj+buildbot
2016-12-12 16:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 14:12 [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode sergiodj+buildbot
2016-12-12 11:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 13:18 [binutils-gdb] Fix handling of MIPS16 HI16 relocs sergiodj+buildbot
2016-12-12  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 12:29 [binutils-gdb] Fix a seg-fault disassembling a corrupt binary sergiodj+buildbot
2016-12-12  6:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 12:11 [binutils-gdb] Fix abort in x86 disassembler sergiodj+buildbot
2016-12-12  3:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 10:32 [binutils-gdb] Fix seg-fault running addr2line on a corrupt binary sergiodj+buildbot
2016-12-12  0:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  5:58 [binutils-gdb] Use std::string in ui_out_table sergiodj+buildbot
2016-12-11 20:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  5:08 [binutils-gdb] Use std::vector for cli_ui_out_data::streams sergiodj+buildbot
2016-12-11 20:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  4:21 [binutils-gdb] Use std::vector for mi_ui_out_data::streams sergiodj+buildbot
2016-12-11 16:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  3:47 [binutils-gdb] Use std::vector for ui_out::levels sergiodj+buildbot
2016-12-11 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  3:08 [binutils-gdb] Use new/delete instead of malloc/free-based functions sergiodj+buildbot
2016-12-11  9:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 21:56 [binutils-gdb] Makefiles: Disable suffix rules and implicit rules sergiodj+buildbot
2016-12-11  6:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 12:13 [binutils-gdb] Revert accidental elf.c change sergiodj+buildbot
2016-12-10 22:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30  7:01 [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs sergiodj+buildbot
2016-12-10 18:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29 12:01 [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting sergiodj+buildbot
2016-12-10 16:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29 11:20 [binutils-gdb] [ARC] Fix disassembler option sergiodj+buildbot
2016-12-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29  3:18 [binutils-gdb] Fix debug output in record_full_open_1 sergiodj+buildbot
2016-12-10  9:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 21:09 [binutils-gdb] X86: Ignore REX_B bit for 32-bit XOP instructions sergiodj+buildbot
2016-12-10  4:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 20:51 [binutils-gdb] Partially revert patch for PR 20815 - do not sort the PT_LOAD segments. Non-ordered segments are needed by the Linux kernel sergiodj+buildbot
2016-12-10  6:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 19:38 [binutils-gdb] Restrict checking value.lval on using address sergiodj+buildbot
2016-12-10  0:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 19:26 [binutils-gdb] Adjust Value.location for lval_register sergiodj+buildbot
2016-12-09 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 17:50 [binutils-gdb] Move computed value's frame id to piece_closure sergiodj+buildbot
2016-12-09 19:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 16:35 [binutils-gdb] Properly hide hidden versioned symbol in executable sergiodj+buildbot
2016-12-09 15:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  8:30 [binutils-gdb] Remove verbosity from ui_out_message and friends sergiodj+buildbot
2016-12-09  6:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  8:16 [binutils-gdb] Constify wrap_here/wrap_hint code path sergiodj+buildbot
2016-12-09  3:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  5:56 [binutils-gdb] Fix return value of uo_redirect sergiodj+buildbot
2016-12-08 23:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  5:37 [binutils-gdb] Remove ui_out_destroy sergiodj+buildbot
2016-12-08 20:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  4:20 [binutils-gdb] Remove unused functions and declarations sergiodj+buildbot
2016-12-08 14:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-26 15:59 [binutils-gdb] Remove stale comments sergiodj+buildbot
2016-12-08 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 21:27 [binutils-gdb] Remove check requiring void argument to functions with no parameters sergiodj+buildbot
2016-12-08  8:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 17:47 [binutils-gdb] Fix typo in Makefile sergiodj+buildbot
2016-12-08  6:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 16:29 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-12-08  0:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 15:36 [binutils-gdb] Fix typos in comment sergiodj+buildbot
2016-12-08  3:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 10:36 [binutils-gdb] Prevent problems with section alignment by not shrinking the .rsrc section sergiodj+buildbot
2016-12-07 21:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 21:27 [binutils-gdb] Do not use std::move when assigning an anonymous object to a unique_ptr sergiodj+buildbot
2016-12-07 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 21:00 [binutils-gdb] Add noexcept to custom non-throwing new operators sergiodj+buildbot
2016-12-07 14:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 19:17 [binutils-gdb] Optimize byte-aligned copies in copy_bitwise() sergiodj+buildbot
2016-12-07 11:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 19:13 [binutils-gdb] Add unit test for copy_bitwise sergiodj+buildbot
2016-12-07  9:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 18:47 [binutils-gdb] Fix copy_bitwise() sergiodj+buildbot
2016-12-07  6:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 17:53 [binutils-gdb] Fix PR12616 - gdb does not implement DW_AT_data_bit_offset sergiodj+buildbot
2016-12-07  3:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 14:48 [binutils-gdb] [ARM] Bind defined symbol locally in PIE sergiodj+buildbot
2016-12-07  0:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24  3:59 [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8 sergiodj+buildbot
2016-12-06 21:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 17:24 [binutils-gdb] gdb: Use C++11 std::chrono sergiodj+buildbot
2016-12-06 17:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 17:10 [binutils-gdb] Minor formatting fixups in Makefiles sergiodj+buildbot
2016-12-06 14:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 16:36 [binutils-gdb] Normalize names of some source files sergiodj+buildbot
2016-12-06 12:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 15:19 [binutils-gdb] Makefiles: Flatten and sort file lists sergiodj+buildbot
2016-12-06  7:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 11:55 [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries sergiodj+buildbot
2016-12-06  6:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  9:06 [binutils-gdb] elf_backend_dtrel_excludes_plt sergiodj+buildbot
2016-12-06  3:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  8:40 [binutils-gdb] Delete duplicate target short-cuts to dynamic sections sergiodj+buildbot
2016-12-06  0:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  7:46 [binutils-gdb] Regen POTFILES.in sergiodj+buildbot
2016-12-05 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  3:21 [binutils-gdb] Fix spelling mistakes in comments in configure scripts sergiodj+buildbot
2016-12-05  9:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  1:51 [binutils-gdb] gdbserver: Use debug_printf for debug output sergiodj+buildbot
2016-12-05 14:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  0:36 [binutils-gdb] gdbarch software_single_step frame_info to regcache: tic6x sergiodj+buildbot
2016-12-05  2:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  0:03 [binutils-gdb] Change gdbarch software_single_step frame_info to regcache sergiodj+buildbot
2016-12-05  5:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 22:40 [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu sergiodj+buildbot
2016-12-05  3:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 21:00 [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000 sergiodj+buildbot
2016-12-04 23:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 20:47 [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390 sergiodj+buildbot
2016-12-04 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 20:15 [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc sergiodj+buildbot
2016-12-04 15:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 19:25 [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2 sergiodj+buildbot
2016-12-04 12:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 18:47 [binutils-gdb] gdbarch software_single_step frame_info to regcache: moxie sergiodj+buildbot
2016-12-04 10:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 17:49 [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips sergiodj+buildbot
2016-12-04  6:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 17:26 [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris sergiodj+buildbot
2016-12-04  3:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 16:56 [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha sergiodj+buildbot
2016-12-04  1:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 15:55 [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64 sergiodj+buildbot
2016-12-03 22:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 15:10 [binutils-gdb] New regcache_raw_get_signed sergiodj+buildbot
2016-12-03 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 14:50 [binutils-gdb] [ARC] Fix printing 'b' mnemonics sergiodj+buildbot
2016-12-03 12:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 13:53 [binutils-gdb] gas, opcodes: fix hardware capabilities bumping in the sparc assembler sergiodj+buildbot
2016-12-03 15:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 11:18 [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs sergiodj+buildbot
2016-12-03 10:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 10:39 [binutils-gdb] Use input_bfd in relocate_section sergiodj+buildbot
2016-12-03  8:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 10:10 [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component sergiodj+buildbot
2016-12-03  5:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 21:38 [binutils-gdb] Add missing POSTCOMPILE step to mi/ file generation rules sergiodj+buildbot
2016-12-03  1:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 17:38 [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error sergiodj+buildbot
2016-12-02 22:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 14:37 [binutils-gdb] Create subobject value in pretty printer sergiodj+buildbot
2016-12-02 19:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19 19:14 [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma sergiodj+buildbot
2016-12-02 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19 13:29 [binutils-gdb] Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC" sergiodj+buildbot
2016-12-02  7:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  3:34 [binutils-gdb] Makefile: fix typo sergiodj+buildbot
2016-12-02  3:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  1:25 [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component sergiodj+buildbot
2016-12-01 20:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  0:43 [binutils-gdb] bfd: fix negative GOT offsets for non-local references on sparc64 sergiodj+buildbot
2016-12-02  1:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 19:31 [binutils-gdb] libiberty: Add Rust symbol demangling sergiodj+buildbot
2016-12-01 22:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 18:18 [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input sergiodj+buildbot
2016-12-01 16:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 18:01 [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported) sergiodj+buildbot
2016-12-01 13:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:45 [binutils-gdb] Implement P0012R1, Make exception specifications part of the type system sergiodj+buildbot
2016-12-01 10:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:19 [binutils-gdb] libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled sergiodj+buildbot
2016-12-01  1:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:06 [binutils-gdb] Implement P0136R1, Rewording inheriting constructors sergiodj+buildbot
2016-12-01  4:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 14:01 [binutils-gdb] PR c++/71696 testcase sergiodj+buildbot
2016-11-30 22:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 13:05 [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions sergiodj+buildbot
2016-11-30 20:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 12:49 [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions sergiodj+buildbot
2016-11-30 17:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 11:34 [binutils-gdb] [AArch64] Add ARMv8.3 javascript floating-point conversion instruction sergiodj+buildbot
2016-11-30 14:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 11:23 [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions sergiodj+buildbot
2016-11-30 11:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18  9:59 [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries sergiodj+buildbot
2016-11-30  8:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 20:10 [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules sergiodj+buildbot
2016-11-30  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 18:49 [binutils-gdb] Remove code that checks for GNU/non-GNU make sergiodj+buildbot
2016-11-30  0:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 18:31 [binutils-gdb] Document new hard requirement on GNU make sergiodj+buildbot
2016-11-29 21:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 16:49 [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf sergiodj+buildbot
2016-11-29 17:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 15:56 [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition sergiodj+buildbot
2016-11-29 15:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 14:41 [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]> sergiodj+buildbot
2016-11-29 11:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17  1:28 [binutils-gdb] gdb/tracepoint.c: Don't use printf_vma sergiodj+buildbot
2016-11-29  7:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17  0:20 [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame sergiodj+buildbot
2016-11-29  3:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 22:59 [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers sergiodj+buildbot
2016-11-29  2:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 22:04 [binutils-gdb] Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID sergiodj+buildbot
2016-11-28 20:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 21:50 [binutils-gdb] Distinguish sentinel frame from null frame sergiodj+buildbot
2016-11-28 16:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 20:03 [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp sergiodj+buildbot
2016-11-27  3:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 20:01 [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs sergiodj+buildbot
2016-11-27  0:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16  0:24 [binutils-gdb] gdb: update gnulib to pull in C++ namespace support fixes sergiodj+buildbot
2016-11-26 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 22:01 [binutils-gdb] Delete gdb::unique_ptr/gdb::move sergiodj+buildbot
2016-11-26 15:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 20:54 [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move} sergiodj+buildbot
2016-11-26 15:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 20:24 [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition sergiodj+buildbot
2016-11-26 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14 19:27 [binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64 sergiodj+buildbot
2016-11-26  6:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14 10:28 [binutils-gdb] btrace: read entire aux buffer sergiodj+buildbot
2016-11-26  4:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14  9:18 [binutils-gdb] Fix typo "Faal through" should be "Fall through" sergiodj+buildbot
2016-11-26  1:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-12 20:45 [binutils-gdb] Remove some cleanups from the rust code sergiodj+buildbot
2016-11-25  8:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-12 19:05 [binutils-gdb] Use std::string in rust_get_disr_info sergiodj+buildbot
2016-11-25  5:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 21:18 [binutils-gdb] Don't handle unavailable/optimized-out in spu_software_single_step sergiodj+buildbot
2016-11-25  2:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 20:35 [binutils-gdb] Identify verilog dump tests as such sergiodj+buildbot
2016-11-24 21:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 19:33 [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication branch instructions sergiodj+buildbot
2016-11-24 18:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 18:47 [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction sergiodj+buildbot
2016-11-24 14:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 16:38 [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers sergiodj+buildbot
2016-11-24  8:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 15:42 [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space sergiodj+buildbot
2016-11-24  6:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 14:42 [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen sergiodj+buildbot
2016-11-24  3:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 13:30 [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag sergiodj+buildbot
2016-11-23 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 12:40 [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols sergiodj+buildbot
2016-11-23 19:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 12:02 [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr sergiodj+buildbot
2016-11-23 16:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 10:40 [binutils-gdb] Remove parameter valaddr from c print functions sergiodj+buildbot
2016-11-23 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 10:09 [binutils-gdb] sim: mips: fix dv-tx3904cpu build error sergiodj+buildbot
2016-11-23  8:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11  9:01 [binutils-gdb] sim: mips: fix builds for r3900 cpus due to missing check_u64 sergiodj+buildbot
2016-11-23  5:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10 12:31 [binutils-gdb] Provide a more helpful error message when the BFD library is unable to load an extremely large section sergiodj+buildbot
2016-11-22 16:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  9:30 [binutils-gdb] [AArch64] Bind defined symbol locally in PIE sergiodj+buildbot
2016-11-22 13:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  8:07 [binutils-gdb] tui-disasm: Fix window content buffer overrun sergiodj+buildbot
2016-11-20  8:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:49 [binutils-gdb] Use unique_xmalloc_ptr in Python code sergiodj+buildbot
2016-11-22  9:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:48 [binutils-gdb] Further cleanup/modernization of gdb.base/commands.exp sergiodj+buildbot
2016-11-21 22:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:47 [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw sergiodj+buildbot
2016-11-22  4:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:47 [binutils-gdb] X86: Merge AVX512F vmovq sergiodj+buildbot
2016-11-21 20:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:46 [binutils-gdb] Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix sergiodj+buildbot
2016-11-21 14:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:45 [binutils-gdb] agent_expr_up: gdb::unique_ptr -> std::unique_ptr sergiodj+buildbot
2016-11-21  6:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:45 [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix" sergiodj+buildbot
2016-11-21 10:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  6:36 [binutils-gdb] tui-winsource: Remove failed-allocation logic sergiodj+buildbot
2016-11-20 20:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  5:47 [binutils-gdb] gdb: Use vector::emplace_back sergiodj+buildbot
2016-11-21  0:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  4:19 [binutils-gdb] tui-disasm: Fix line buffer size calculation sergiodj+buildbot
2016-11-20 10:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  3:59 [binutils-gdb] tui-winsource: Allocate for actual lines only sergiodj+buildbot
2016-11-20 15:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  1:21 [binutils-gdb] darwin-nat.c: handle Darwin 16 (aka Sierra) sergiodj+buildbot
2016-11-20  5:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 23:50 [binutils-gdb] Fix py-value.exp failure on Python 3 sergiodj+buildbot
2016-11-19 19:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 23:16 [binutils-gdb] X86: Remove the THREE_BYTE_0F7A entry sergiodj+buildbot
2016-11-19 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 23:02 [binutils-gdb] Use ui_file_as_string in gdb/ada-lang.c sergiodj+buildbot
2016-11-17 22:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 21:50 [binutils-gdb] Fix some error-handling bugs in python frame filters sergiodj+buildbot
2016-11-19 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 20:30 [binutils-gdb] Remove parameter valaddr from la_val_print sergiodj+buildbot
2016-11-19 10:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 19:49 [binutils-gdb] Use get_frame_register_value instead of deprecated_frame_register_read sergiodj+buildbot
2016-11-19  5:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 18:42 [binutils-gdb] Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info sergiodj+buildbot
2016-11-19  0:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 18:35 [binutils-gdb] Use ui_file_as_string throughout more sergiodj+buildbot
2016-11-18 16:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 17:48 [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr> sergiodj+buildbot
2016-11-18 20:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 15:45 [binutils-gdb] Use ui_file_as_string in gdb/language.c sergiodj+buildbot
2016-11-18 10:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 14:28 [binutils-gdb] Use ui_file_as_string in gdb/rust-lang.c sergiodj+buildbot
2016-11-18  7:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 13:50 [binutils-gdb] Use ui_file_as_string in gdb/infrun.c sergiodj+buildbot
2016-11-18  3:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 12:46 [binutils-gdb] Use ui_file_as_string in gdbarch.sh/gdbarch.c sergiodj+buildbot
2016-11-17 17:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 10:46 [binutils-gdb] Use ui_file_as_string in gdb/c-exp.y sergiodj+buildbot
2016-11-17 14:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 10:10 [binutils-gdb] Use ui_file_as_string in gdb/compile/ sergiodj+buildbot
2016-11-17 10:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  9:53 [binutils-gdb] Use ui_file_as_string in gdb/cli/cli-setshow.c sergiodj+buildbot
2016-11-17  5:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  8:18 [binutils-gdb] Use ui_file_as_string in gdb/remote.c sergiodj+buildbot
2016-11-17  0:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  8:07 [binutils-gdb] Use ui_file_as_string in gdb/python/ sergiodj+buildbot
2016-11-16 20:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  6:37 [binutils-gdb] Use ui_file_as_string in gdb/printcmd.c sergiodj+buildbot
2016-11-16 19:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  6:19 [binutils-gdb] Use ui_file_as_string in gdb/top.c sergiodj+buildbot
2016-11-16 17:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  5:45 [binutils-gdb] Use ui_file_as_string in gdb/guile/ sergiodj+buildbot
2016-11-16  7:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  5:16 [binutils-gdb] Use ui_file_as_string in execute_command_to_string sergiodj+buildbot
2016-11-16 12:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  3:33 [binutils-gdb] Use ui_file_as_string in gdb/arm-tdep.c sergiodj+buildbot
2016-11-16  0:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  2:14 [binutils-gdb] Use ui_file_as_string in gdb/ui-out.c sergiodj+buildbot
2016-11-15 18:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  0:38 [binutils-gdb] Use ui_file_as_string in gdb/ada-valprint.c sergiodj+buildbot
2016-11-15 15:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 23:42 [binutils-gdb] Use ui_file_as_string in gdb/xtensa-tdep.c sergiodj+buildbot
2016-11-15  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 23:02 [binutils-gdb] Use ui_file_as_string in dwarf2_compute_name sergiodj+buildbot
2016-11-15  5:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 21:34 [binutils-gdb] Clean up tracepoint.h/c:collection_list sergiodj+buildbot
2016-11-15  2:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 21:02 [binutils-gdb] Introduce ui_file_as_string sergiodj+buildbot
2016-11-14 18:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 20:24 [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression> sergiodj+buildbot
2016-11-14 15:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:48 [binutils-gdb] cli/cli-script.c: Remove some dead NULL checks sergiodj+buildbot
2016-11-14  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:27 [binutils-gdb] cli-script.c: Simplify using std::string, eliminate cleanups sergiodj+buildbot
2016-11-14  9:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:12 [binutils-gdb] Introduce string_printf sergiodj+buildbot
2016-11-13 22:43 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 18:27 [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup sergiodj+buildbot
2016-11-14  8:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 17:10 [binutils-gdb] gdbarch software_single_step returns VEC (CORE_ADDR) * sergiodj+buildbot
2016-11-13 17:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 15:51 [binutils-gdb] Clear addr bit in next_pcs vector sergiodj+buildbot
2016-11-13 13:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 14:37 [binutils-gdb] Remove arm_insert_single_step_breakpoint sergiodj+buildbot
2016-11-13  9:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 14:21 [binutils-gdb] Fix PR breakpoints/20739: Badly formatted adress string in error message sergiodj+buildbot
2016-11-13  5:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 13:10 [binutils-gdb] Fix bfd/dwarf2.c build breakage sergiodj+buildbot
2016-11-12 23:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 12:26 [binutils-gdb] Fix indentation sergiodj+buildbot
2016-11-12 17:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 11:14 [binutils-gdb] Check for truncated registers in process_g_packet sergiodj+buildbot
2016-11-12 16:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  2:27 [binutils-gdb] X86: Properly handle bad FPU opcode sergiodj+buildbot
2016-11-12 12:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  1:46 [binutils-gdb] Fix ext lang calls to value_struct_elt sergiodj+buildbot
2016-11-12  6:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  0:39 [binutils-gdb] i386-tdep.c (i386_gdbarch_init): Add comments sergiodj+buildbot
2016-11-12  1:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-07 23:37 [binutils-gdb] python/py-unwind.c (unwind_infopy_str): Fix use of VEC_iterate sergiodj+buildbot
2016-11-11 20:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-07 21:48 [binutils-gdb] Sync config.sub,config.guess with upstream sergiodj+buildbot
2016-11-11 11:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-05  4:41 [binutils-gdb] Fix a few typos sergiodj+buildbot
2016-11-10 13:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 23:14 [binutils-gdb] arc/nps400: Validate address type operands correctly sergiodj+buildbot
2016-11-10 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 17:12 [binutils-gdb] Add support for ARM Cortex-M33 processor sergiodj+buildbot
2016-11-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 14:52 [binutils-gdb] Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only sergiodj+buildbot
2016-11-10 13:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:26 [binutils-gdb] Add support for the sizeof function in Rust sergiodj+buildbot
2016-11-10 13:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:17 [binutils-gdb] Add support for untagged unions in Rust sergiodj+buildbot
2016-11-10 13:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:05 [binutils-gdb] Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums sergiodj+buildbot
2016-11-10 13:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:59 [binutils-gdb] arc: Implement NPS-400 dcmac instruction sergiodj+buildbot
2016-11-10 13:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:26 [binutils-gdb] arc: Change max instruction length to 64-bits sergiodj+buildbot
2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:15 [binutils-gdb] arc: Swap highbyte and lowbyte in print_insn_arc sergiodj+buildbot
2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:03 [binutils-gdb] opcodes/arc: Make some macros 64-bit safe sergiodj+buildbot
2016-11-10 13:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:51 [binutils-gdb] arc: Replace ARC_SHORT macro with arc_opcode_len function sergiodj+buildbot
2016-11-10 13:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:39 [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks sergiodj+buildbot
2016-11-10 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:33 [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82 sergiodj+buildbot
2016-11-10 13:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:21 [binutils-gdb] X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode sergiodj+buildbot
2016-11-10 13:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:04 [binutils-gdb] Replace YY_NULL with YY_NULLPTR in LANG-exp.c sergiodj+buildbot
2016-11-10 13:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:59 [binutils-gdb] Deprecate old platforms sergiodj+buildbot
2016-11-10 13:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:43 [binutils-gdb] X86: Rename REG_82 to REG_83 sergiodj+buildbot
2016-11-10 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:27 [binutils-gdb] Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION sergiodj+buildbot
2016-11-10 13:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:26 [binutils-gdb] Remove arm_override_mode sergiodj+buildbot
2016-11-10 13:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:16 [binutils-gdb] Determine the kind of single step breakpoint sergiodj+buildbot
2016-11-10 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:05 [binutils-gdb] Add default_breakpoint_from_pc sergiodj+buildbot
2016-11-10 13:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:46 [binutils-gdb] Rename placed_size to kind sergiodj+buildbot
2016-11-10 13:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:35 [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind sergiodj+buildbot
2016-11-10  8:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:21 [binutils-gdb] Add enum for mips breakpoint kinds sergiodj+buildbot
2016-11-10  6:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:14 [binutils-gdb] GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION sergiodj+buildbot
2016-11-10  3:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:00 [binutils-gdb] gdbarch_breakpoint_from_pc doesn't return NULL sergiodj+buildbot
2016-11-09 23:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 11:46 [binutils-gdb] Updated Danish translation for the BFD library sergiodj+buildbot
2016-11-09 19:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 22:29 [binutils-gdb] Fix dwarf_expr_context method regressions sergiodj+buildbot
2016-11-09 15:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 19:49 [binutils-gdb] Enable Intel AVX512_4VNNIW instructions sergiodj+buildbot
2016-11-09 11:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 19:39 [binutils-gdb] Enable Intel AVX512_4FMAPS instructions sergiodj+buildbot
2016-11-09  7:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-01 23:28 [binutils-gdb] BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup' sergiodj+buildbot
2016-11-09  4:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-01 17:00 [binutils-gdb] Add support for RISC-V architecture sergiodj+buildbot
2016-11-09  1:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 19:02 [binutils-gdb] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround sergiodj+buildbot
2016-11-08 21:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 18:27 [binutils-gdb] MIPS: Remove remains of legacy remote target support sergiodj+buildbot
2016-11-08 18:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 17:24 [binutils-gdb] MIPS: Remove remains of IRIX OS ABI support sergiodj+buildbot
2016-11-08 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31  4:04 [binutils-gdb] Revert part "Set dynamic tag VMA and size from dynamic section when possible" sergiodj+buildbot
2016-11-08 11:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 17:56 [binutils-gdb] gdb/NEWS: Clarify C++ requirement sergiodj+buildbot
2016-11-08  2:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 16:13 [binutils-gdb] Support command-line redirection in native MS-Windows debugging sergiodj+buildbot
2016-11-07 21:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 16:20 [binutils-gdb] gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive sergiodj+buildbot
2016-11-07 18:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 15:46 [binutils-gdb] gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp' sergiodj+buildbot
2016-11-07 10:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 15:01 [binutils-gdb] Make gdb.base/foll-exec.exp test pattern more general sergiodj+buildbot
2016-11-07  5:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 14:01 [binutils-gdb] Fix gdb.base/maint.exp regressions sergiodj+buildbot
2016-11-07  1:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 12:51 [binutils-gdb] btrace: bridge gaps sergiodj+buildbot
2016-11-06 21:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 12:08 [binutils-gdb] btrace: preserve function level for unexpected returns sergiodj+buildbot
2016-11-06 18:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 11:31 [binutils-gdb] btrace: update tail call heuristic sergiodj+buildbot
2016-11-06 13:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 10:04 [binutils-gdb] btrace: allow leading trace gaps sergiodj+buildbot
2016-11-06 12:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28  9:54 [binutils-gdb] btrace: fix gap indication sergiodj+buildbot
2016-11-06  7:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 17:39 [binutils-gdb] Enable range stepping if software single step is supported sergiodj+buildbot
2016-11-06  4:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 17:15 [binutils-gdb] Get pending events in random sergiodj+buildbot
2016-11-06  1:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 15:49 [binutils-gdb] Remove single-step breakpoint for GDBserver internal event sergiodj+buildbot
2016-11-05 21:14 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 13:09 [binutils-gdb] gdb: Coalesce/aggregate (async) vCont packets/actions sergiodj+buildbot
2016-11-05  4:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 12:23 [binutils-gdb] gas/arc: Don't rely on bfd list of cpu type for cpu selection sergiodj+buildbot
2016-11-05 18:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 23:05 [binutils-gdb] PR 20569, segv in follow_exec sergiodj+buildbot
2016-11-05 13:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 21:33 [binutils-gdb] Make symfile_add_flags and objfile->flags strongly typed sergiodj+buildbot
2016-11-05 10:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 20:33 [binutils-gdb] gdb: Free inferior->priv when inferior exits sergiodj+buildbot
2016-11-04 23:02 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 18:48 [binutils-gdb] gdbserver: Leave already-vCont-resumed threads as they were sergiodj+buildbot
2016-11-05  2:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 16:05 [binutils-gdb] gdb: Clean up remote.c:remote_resume sergiodj+buildbot
2016-10-26 19:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-25  6:28 [binutils-gdb] NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs' sergiodj+buildbot
2016-10-26  1:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-25  5:31 [binutils-gdb] ARM/BFD: Correct an `index' global shadowing error sergiodj+buildbot
2016-10-25 22:35 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 23:24 [binutils-gdb] Fix duplicate test message in mi-trace-save.exp sergiodj+buildbot
2016-10-18 11:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 21:50 [binutils-gdb] Fix comment in mi-trace-save.exp sergiodj+buildbot
2016-10-18  7:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 21:05 [binutils-gdb] Fix -trace-save crash when argument is missing sergiodj+buildbot
2016-10-18  4:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 16:34 [binutils-gdb] gdb: Fix phony iconv build sergiodj+buildbot
2016-10-18  0:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 13:56 [binutils-gdb] Removed pseudo invalid instructions opcodes sergiodj+buildbot
2016-10-17 20:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 11:03 [binutils-gdb] Update list of ELF machine numbers sergiodj+buildbot
2016-10-17 16:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17  9:46 [binutils-gdb] Sync libiberty sources with gcc mainline sergiodj+buildbot
2016-10-17 11:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 16:54 [binutils-gdb] FINAL/OVERRIDE: Define to empty on g++ < 4.7 sergiodj+buildbot
2016-10-15 15:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 16:29 [binutils-gdb] Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h sergiodj+buildbot
2016-10-15 12:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 13:25 [binutils-gdb] Fix set sysroot command on AIX sergiodj+buildbot
2016-10-15  8:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 12:37 [binutils-gdb] [ARC] Disassembler: fix LIMM detection for short instructions sergiodj+buildbot
2016-10-15  4:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14  9:25 [binutils-gdb] btrace: remove leftover comment sergiodj+buildbot
2016-10-15  1:08 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14  7:30 [binutils-gdb] Include strings.h where available sergiodj+buildbot
2016-10-14 18:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 15:27 [binutils-gdb] Share proc get_var_address sergiodj+buildbot
2016-10-13 16:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 14:54 [binutils-gdb] Skip testing structures with floating points sergiodj+buildbot
2016-10-13 15:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  5:24 [binutils-gdb] Use std::string in macho_symfile_read_all_oso sergiodj+buildbot
2016-10-13  7:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  4:50 [binutils-gdb] Remove unnecessary null_cleanup sergiodj+buildbot
2016-10-13  5:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  2:59 [binutils-gdb] Turn wchar iterator into a class sergiodj+buildbot
2016-10-13  4:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  2:25 [binutils-gdb] Change selttest.c to use use std::vector sergiodj+buildbot
2016-10-13  3:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  1:21 [binutils-gdb] Convert tid_range_parser and get_number_or_range to classes sergiodj+buildbot
2016-10-13  2:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 16:00 [binutils-gdb] arc: Add support for Newlib sergiodj+buildbot
2016-10-12 17:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 15:51 [binutils-gdb] Fixup gdb.python/py-value.exp for bare-metal aarch64-elf sergiodj+buildbot
2016-10-12 18:54 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 13:32 [binutils-gdb] arc: Add evaluation of long jump targets sergiodj+buildbot
2016-10-12 16:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 13:03 [binutils-gdb] arc: Add a gdbarch_tdep structure sergiodj+buildbot
2016-10-12 15:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 11:51 [binutils-gdb] [AArch64] Track FP registers in prologue analyzer sergiodj+buildbot
2016-10-12 12:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 23:35 [binutils-gdb] BFD_FAKE_SECTION macro params sergiodj+buildbot
2016-10-12  0:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 17:27 [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation sergiodj+buildbot
2016-10-11 18:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 15:00 [binutils-gdb] testsuite: Use standard_output_file sergiodj+buildbot
2016-10-11 15:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 10:42 [binutils-gdb] [AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo sergiodj+buildbot
2016-10-11 11:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11  7:59 [binutils-gdb] Always descend into output section statements in lang_do_assignments sergiodj+buildbot
2016-10-11  8:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10 11:41 [binutils-gdb] Share enum arm_breakpoint_kinds sergiodj+buildbot
2016-10-10 13:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10 10:37 [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init sergiodj+buildbot
2016-10-10 11:42 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10  9:44 [binutils-gdb] Remove v850_dbtrap_breakpoint_from_pc sergiodj+buildbot
2016-10-10 10:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-09  0:26 [binutils-gdb] ui-out.c: Remove unused parameter to push_level sergiodj+buildbot
2016-10-09  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07 10:50 [binutils-gdb] Set regdir in tdesc-regs.exp or arm sergiodj+buildbot
2016-10-08 23:49 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07 10:19 [binutils-gdb] [AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi" sergiodj+buildbot
2016-10-09  1:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  7:33 [binutils-gdb] bfd_merge_private_bfd_data tidy sergiodj+buildbot
2016-10-08 19:12 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  7:22 [binutils-gdb] python: accept address and explicit locations in gdb.decode_line sergiodj+buildbot
2016-10-08 22:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  4:51 [binutils-gdb] Fix gdb.Value->python conversion for large unsigned ints sergiodj+buildbot
2016-10-08 11:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  2:07 [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data sergiodj+buildbot
2016-10-08 21:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 23:56 [binutils-gdb] Consolidate API of target_supports_multi_process sergiodj+buildbot
2016-10-08 16:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 23:29 [binutils-gdb] gdb: Remove some C compiler support leftovers sergiodj+buildbot
2016-10-08 14:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 22:11 [binutils-gdb] frame.h: Forward-declare struct ui_out sergiodj+buildbot
2016-10-08  9:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 21:27 [binutils-gdb] Remove Java support sergiodj+buildbot
2016-10-07 21:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 17:57 [binutils-gdb] mips-tdep: Make FCRs always 32-bit sergiodj+buildbot
2016-10-07 18:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 17:15 [binutils-gdb] mips-tdep: Rearrange comments in `mips_pseudo_register_type' sergiodj+buildbot
2016-10-07 16:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 16:49 [binutils-gdb] testsuite: solib-disc: Use `standard_output_file' sergiodj+buildbot
2016-10-07 14:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 15:03 [binutils-gdb] stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression sergiodj+buildbot
2016-10-07  9:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 13:14 [binutils-gdb] Fix PR11094: JIT breakpoint is not properly recreated on reruns sergiodj+buildbot
2016-10-07  2:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 12:17 [binutils-gdb] Fix a few gdb.base/jit-simple.exp problems sergiodj+buildbot
2016-10-06 23:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 11:32 [binutils-gdb] Make "end" field in feature specs required again sergiodj+buildbot
2016-10-06 21:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  1:07 [binutils-gdb] -Wimplicit-fallthrough warning fixes sergiodj+buildbot
2016-10-06 19:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  0:52 [binutils-gdb] -Wimplicit-fallthrough error fixes sergiodj+buildbot
2016-10-06 16:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  0:04 [binutils-gdb] Don't use boolean OR in arithmetic expressions sergiodj+buildbot
2016-10-06 14:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 20:50 [binutils-gdb] testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp sergiodj+buildbot
2016-10-06 11:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 19:49 [binutils-gdb] PR remote/20655 - small fix in handle_tracepoint_bkpts sergiodj+buildbot
2016-10-06  9:45 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 17:55 [binutils-gdb] PR gdb/20653 - small cleanup in string_to_explicit_location sergiodj+buildbot
2016-10-06  7:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 17:49 [binutils-gdb] PR symtab/20652 - fix psymbol_compare sergiodj+buildbot
2016-10-06  4:59 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 16:25 [binutils-gdb] Skip complex types tests if gdb_skip_float_test sergiodj+buildbot
2016-10-06  2:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 14:41 [binutils-gdb] arc: Remove annoying debug message sergiodj+buildbot
2016-10-05 21:48 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 13:07 [binutils-gdb] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition sergiodj+buildbot
2016-10-06  0:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 11:11 [binutils-gdb] Update the path arm-*.xml files for aarch64 sergiodj+buildbot
2016-10-05 19:37 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:34 [binutils-gdb] Regenerate some regformats/rs6000/*.dat files sergiodj+buildbot
2016-10-05 17:10 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:18 [binutils-gdb] Generate s390 target description c files sergiodj+buildbot
2016-10-05 14:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:01 [binutils-gdb] Simplify i386, amd64 and x32 expedite registers sergiodj+buildbot
2016-10-05 12:22 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  8:44 [binutils-gdb] Clean up the XML files for ARM sergiodj+buildbot
2016-10-05  9:57 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-03 22:01 [binutils-gdb] Add test for user context selection sync sergiodj+buildbot
2016-10-04  0:38 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-03 21:15 [binutils-gdb] Emit inferior, thread and frame selection events to all UIs sergiodj+buildbot
2016-10-03 22:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 17:36 [binutils-gdb] [AArch64] PR target/20553, fix opcode mask for SIMD multiply by element sergiodj+buildbot
2016-09-30 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 15:11 [binutils-gdb] Remove syntactic sugar sergiodj+buildbot
2016-09-30 17:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 14:26 [binutils-gdb] Make bfd_error_handler_type like vprintf sergiodj+buildbot
2016-09-30 15:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 10:59 [binutils-gdb] Update tests to account for the L operand being compulsory sergiodj+buildbot
2016-09-30 13:36 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29 21:17 [binutils-gdb] PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression sergiodj+buildbot
2016-09-30  9:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29 17:39 [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64 sergiodj+buildbot
2016-09-29 19:50 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29  6:35 [binutils-gdb] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed sergiodj+buildbot
2016-09-29 16:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 23:53 [binutils-gdb] Fix seg-fault in the linker introduced by the previous delta sergiodj+buildbot
2016-09-29  6:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 22:44 [binutils-gdb] [ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry sergiodj+buildbot
2016-09-28 23:27 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 12:00 [binutils-gdb] Add archives and make stamps to the .gitignore file sergiodj+buildbot
2016-09-28 22:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28  0:56 [binutils-gdb] Ensure that the timestamp in PE/COFF headers is always initialised sergiodj+buildbot
2016-09-28 11:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-27 11:34 [binutils-gdb] Detect the magic address of EXC_RETURN in ARM coretx-m profile sergiodj+buildbot
2016-09-28  0:20 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-27  2:10 [binutils-gdb] When building target binaries, ensure that the warning flags selected for the command line match the target compiler sergiodj+buildbot
2016-09-27 15:55 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 22:57 [binutils-gdb] Fix the calculation of AMD64_PCRQUAD relocations sergiodj+buildbot
2016-09-27  8:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 19:24 [binutils-gdb] [ARC] ISA alignment sergiodj+buildbot
2016-09-27  6:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 16:58 [binutils-gdb] PowerPC .gnu.attributes sergiodj+buildbot
2016-09-27  3:11 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 11:09 [binutils-gdb] Call debug_exit in linux_wait_1 sergiodj+buildbot
2016-09-27  2:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-25  5:08 [binutils-gdb] Fix a use of target_mourn_inferior in windows-nat.c sergiodj+buildbot
2016-09-26 18:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  7:30 [binutils-gdb] Use std::string rather than dyn-string sergiodj+buildbot
2016-09-26 16:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  4:16 [binutils-gdb] Use std::vector in objfiles.c sergiodj+buildbot
2016-09-26 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  2:55 [binutils-gdb] Use std::string, std::vector in rust-lang.c sergiodj+buildbot
2016-09-26 10:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  0:14 [binutils-gdb] Use std::string in cp-namespace.c sergiodj+buildbot
2016-09-26 10:25 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 23:51 [binutils-gdb] Use std::string in break-catch-sig.c sergiodj+buildbot
2016-09-26 10:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 22:27 [binutils-gdb] Remove some unnecessary code sergiodj+buildbot
2016-09-26  9:21 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 21:43 [binutils-gdb] Replace sprintf with xsnprintf in nat/linux-osdata.c sergiodj+buildbot
2016-09-26  8:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 20:08 [binutils-gdb] gdb: Replace operator new / operator new[] sergiodj+buildbot
2016-09-26  5:18 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 19:06 [binutils-gdb] Delete relocations associatesd with deleted exidx entries sergiodj+buildbot
2016-09-26  4:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23  0:46 [binutils-gdb] Close gdbserver in mi_gdb_exit sergiodj+buildbot
2016-09-26  3:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 23:04 [binutils-gdb] Fix build breakage from commit 6ec2b2 sergiodj+buildbot
2016-09-26  3:28 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 21:20 [binutils-gdb] Use gdbserver-base in remote-gdbserver-on-localhost.exp sergiodj+buildbot
2016-09-26  1:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 20:53 [binutils-gdb] arc: Fix ARI warning for printf(%p) sergiodj+buildbot
2016-09-25 22:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 19:54 [binutils-gdb] Check the right proc name sergiodj+buildbot
2016-09-25 19:33 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 17:56 [binutils-gdb] Add myself as a write-after-approval GDB maintainer sergiodj+buildbot
2016-09-25 17:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 17:43 [binutils-gdb] arc: New Synopsys ARC port sergiodj+buildbot
2016-09-25 14:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 16:46 [binutils-gdb] ppc: Fix return of instruction handlers in ppc_process_record_op63 sergiodj+buildbot
2016-09-25 12:16 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 14:56 [binutils-gdb] PR gdb/20604 - fix "quit" when an invalid expression is used sergiodj+buildbot
2016-09-25  4:24 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 14:12 [binutils-gdb] Update and add .gitignore's sergiodj+buildbot
2016-09-24 23:05 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 13:27 [binutils-gdb] ppc: Add Power ISA 3.0/POWER9 instructions record support sergiodj+buildbot
2016-09-24 16:47 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 12:46 [binutils-gdb] [AArch64] Print spaces after commas in addresses sergiodj+buildbot
2016-09-24 14:15 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 12:08 [binutils-gdb] [AArch64] Use "must" rather than "should" in error messages sergiodj+buildbot
2016-09-24 10:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 11:51 [binutils-gdb] [AArch64] Add SVE condition codes sergiodj+buildbot
2016-09-24  7:34 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 10:26 [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions sergiodj+buildbot
2016-09-24  1:13 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  9:37 [binutils-gdb] [AArch64][SVE 29/32] Add new SVE core & FP register operands sergiodj+buildbot
2016-09-23 19:03 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  9:31 [binutils-gdb] [AArch64][SVE 30/32] Add SVE instruction classes sergiodj+buildbot
2016-09-23 22:51 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  8:08 [binutils-gdb] [AArch64][SVE 28/32] Add SVE FP immediate operands sergiodj+buildbot
2016-09-23 18:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  8:06 [binutils-gdb] [AArch64][SVE 27/32] Add SVE integer immediate operands sergiodj+buildbot
2016-09-23 17:46 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  7:02 [binutils-gdb] [AArch64][SVE 26/32] Add SVE MUL VL addressing modes sergiodj+buildbot
2016-09-23 16:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  6:53 [binutils-gdb] [AArch64][SVE 25/32] Add support for SVE addressing modes sergiodj+buildbot
2016-09-23  8:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  5:23 [binutils-gdb] [AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED sergiodj+buildbot
2016-09-23  7:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  4:41 [binutils-gdb] [AArch64][SVE 23/32] Add SVE pattern and prfop operands sergiodj+buildbot
2016-09-23  6:56 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  4:21 [binutils-gdb] [AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication sergiodj+buildbot
2016-09-23  4:29 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  2:34 [binutils-gdb] [AArch64][SVE 21/32] Add Zn and Pn registers sergiodj+buildbot
2016-09-23  0:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  2:10 [binutils-gdb] [AArch64][SVE 20/32] Add support for tied operands sergiodj+buildbot
2016-09-22 19:39 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  1:25 [binutils-gdb] [AArch64][SVE 19/32] Refactor address-printing code sergiodj+buildbot
2016-09-22 18:26 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  0:34 [binutils-gdb] [AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg sergiodj+buildbot
2016-09-22 14:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 23:35 [binutils-gdb] [AArch64][SVE 16/32] Use specific insert/extract methods for fpimm sergiodj+buildbot
2016-09-22  9:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 21:52 [binutils-gdb] [AArch64][SVE 15/32] Add {insert, extract}_all_fields helpers sergiodj+buildbot
2016-09-22  7:00 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 21:23 [binutils-gdb] [AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size sergiodj+buildbot
2016-09-22  5:07 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 19:48 [binutils-gdb] [AArch64][SVE 02/32] Avoid hard-coded limit in indented_print sergiodj+buildbot
2016-09-21 23:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 15:44 [binutils-gdb] Keep reserved bits in CPSR on write sergiodj+buildbot
2016-09-21 17:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 21:40 [binutils-gdb] Avoid -Wduplicated-cond warnings in gdb/python sergiodj+buildbot
2016-09-21 13:17 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 20:52 [binutils-gdb] ppc: Fix record support of Store String Word instructions sergiodj+buildbot
2016-09-21 12:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 17:47 [binutils-gdb] Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit) sergiodj+buildbot
2016-09-20 20:19 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20  9:06 [binutils-gdb] gdb: Fix build breakage with GCC 4.1 and --disable-nls sergiodj+buildbot
2016-09-20 17:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 23:22 [binutils-gdb] bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC sergiodj+buildbot
2016-09-20 17:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 16:45 [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver sergiodj+buildbot
2016-09-20 17:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 12:42 [binutils-gdb] gdb/s390: Fix build breakage due to std::min/std::max usage without header sergiodj+buildbot
2016-09-20 16:32 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19  6:16 [binutils-gdb] gdb: Fix std::{min, max}-related build breakage on 32-bit hosts sergiodj+buildbot
2016-09-20 16:01 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-18 23:24 [binutils-gdb] Improve MinGW support in Readline sergiodj+buildbot
2016-09-20  6:41 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  5:15 [binutils-gdb] Introduce cleanup to restore current_uiout sergiodj+buildbot
2016-09-19  5:30 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  3:34 [binutils-gdb] gdb: Use std::min and std::max throughout sergiodj+buildbot
2016-09-19  4:44 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  1:02 [binutils-gdb] S390: Hardware breakpoint support sergiodj+buildbot
2016-09-19  1:04 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).