public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Don't truncate the history file when history size is unlimited
@ 2015-06-17 14:12 sergiodj+buildbot
  2015-06-17 14:05 ` Failures on Debian-i686, branch master sergiodj+buildbot
                   ` (11 more replies)
  0 siblings, 12 replies; 3460+ messages in thread
From: sergiodj+buildbot @ 2015-06-17 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2093d2d31460dc351145c4c295ea4a101e0c5aed ***

Author: Patrick Palka <patrick@parcs.ath.cx>
Branch: master
Commit: 2093d2d31460dc351145c4c295ea4a101e0c5aed

Don't truncate the history file when history size is unlimited
We still do not handle "set history size unlimited" correctly.  In
particular, after writing to the history file, we truncate the history
even if it is unlimited.

This patch makes sure that we do not call history_truncate_file() if the
history is not stifled (i.e. if it's unlimited).  This bug causes the
history file to be truncated to zero on exit when one has "set history
size unlimited" in their gdbinit file.  Although this code exists in GDB
7.8, the bug is masked by a pre-existing bug that's been only fixed in
GDB 7.9 (PR gdb/17820).

gdb/ChangeLog:

	* top.c (gdb_safe_append_history): Do not call
	history_truncate_file if the history is not stifled.

gdb/testsuite/ChangeLog:

	* gdb.base/gdbinit-history.exp: Add test case to check that
	an unlimited history file does not get truncated on exit.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use a real vfork done event on FreeBSD when available.
@ 2016-07-20 21:44 sergiodj+buildbot
  2016-07-21  9:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-20 21:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dbaed3853474e7bd824a25bc454a8f2fdd71d2b3 ***

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

Use a real vfork done event on FreeBSD when available.

FreeBSD 12 recently added a new ptrace event to indicate when the vfork
parent resumes after the child process stops sharing the address space.
Use this event to report a proper TARGET_WAITKIND_VFORK_DONE rather than
faking a vfork done event after a delay.

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_enable_proc_events): Enable "PTRACE_VFORK"
	events.
	(fbsd_pending_vfork_done): Only define if "PTRACE_VFORK" is not
	defined.
	(fbsd_add_vfork_done): Likewise.
	(fbsd_is_vfork_done_pending): Likewise.
	(fbsd_next_vfork_done): Likewise.
	(fbsd_resume): Only ignore pending vfork done events if
	"PTRACE_VFORK" is not defined.
	(fbsd_wait): Only look for pending vfork done events if
	"PTRACE_VFORK" is not defined.
	[PTRACE_VFORK]: Handle "PL_FLAG_VFORKED" and "PL_FLAG_VFORK_DONE"
	events.
	(fbsd_follow_fork): Only fake a vfork done event if "PTRACE_VFORK"
	is not defined.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix implib test failures
@ 2016-07-21  4:17 sergiodj+buildbot
  2016-07-21 12:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21  4:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5df1bc570fcc5ef5257b7a044acdaeb6b95b9822 ***

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

Fix implib test failures

bfd/
	* elf.c (_bfd_elf_filter_global_symbols): Skip local symbols.
	(swap_out_syms): Return an error when not finding ELF output
	section rather than asserting.
	* elflink.c (elf_output_implib): Call bfd_set_error on no symbols.
ld/
	* testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
	parameter to pass list of xfails.
	* testsuite/ld-elf/elf.exp: Add xfails for implib tests.  Tidy
	implib test formatting.  Don't set .data start address.
	* testsuite/ld-elf/implib.s: Remove first .bss directive and
	replace second one with equivalent .section directive.
	* testsuite/ld-elf/empty-implib.out: Add expected final error.
	* testsuite/ld-elf/implib.rd: Update.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix fail in gdb.server/solib-list.exp
@ 2016-07-21  9:38 sergiodj+buildbot
  2016-07-21 13:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21  9:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1b53fb3ef077bf4412da53f0057b9c0e9ed4f3e ***

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

Fix fail in gdb.server/solib-list.exp

If I run single test solib-list.exp, it is OK.  If I run two, as below,
there are fails,

$ make check RUNTESTFLAGS="server-run.exp solib-list.exp"
FAIL: gdb.server/solib-list.exp: non-stop 0: continue (the program exited)
FAIL: gdb.server/solib-list.exp: non-stop 0: p libvar
FAIL: gdb.server/solib-list.exp: non-stop 1: continue (the program exited)
FAIL: gdb.server/solib-list.exp: non-stop 1: p libvar

in gdb.log,

/scratch/yao/gdb/build-git/x86_64/gdb/testsuite/../../gdb/gdbserver/gdbserver --once :2347 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.server/server-run/server-run /lib64/ld-linux-x86-64.so.2 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.server/solib-list/solib-list

server-run is spawned, which is wrong.  If I only run solib-list.exp, ld-linux
is spawned, which is right.

/scratch/yao/gdb/build-git/x86_64/gdb/testsuite/../../gdb/gdbserver/gdbserver --once :2346 /lib64/ld-linux-x86-64.so.2 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.server/solib-list/solib-list

in test, we spawn gdbserver this way,

    # Note we pass ${interp_system}, the program gdbserver spawns, as
    # argument here, instead of using gdb_load, because we don't want
    # to download the interpreter to the target (it's already there)
    # or to the test output directory.
    set res [gdbserver_spawn "${interp_system} ${remote_binfile}"]

in gdbserver_spawn -> gdbserver_download_current_prog, if
last_loaded_file is set (when you run multiple tests), it is
returned.

This patch is to unset last_loaded_file in solib-list.exp.

gdb/testsuite:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* gdb.server/solib-list.exp: Unset last_loaded_file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Skip gdb.server/ tests if lack of XML support
@ 2016-07-21 11:10 sergiodj+buildbot
  2016-07-21 17:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 11:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bae62ee2087bb54fd06746c99de9b734cc58a721 ***

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

Skip gdb.server/ tests if lack of XML support

I recently see some gdb.server/*.exp fails in my native gdb testing,
in which libexpat isn't available, so GDB isn't able to parse xml file.
It causes gdb.server/ tests fails because GDB can't get registers
correctly from GDBserver.

(gdb) PASS: gdb.server/connect-without-multi-process.exp: multiprocess=off: break main
target remote localhost:2352^M
Remote debugging using localhost:2352^M
warning: Can not parse XML target description; XML support was disabled at compile time^M
Reading /lib/ld-linux-armhf.so.3 from remote target...^M
warning: File transfers from remote targets can be slow. Use "set sysroot" to access files locally instead.^M
Reading /lib/ld-linux-armhf.so.3 from remote target...^M
Reading symbols from target:/lib/ld-linux-armhf.so.3...Reading /lib/ld-2.17.so.debug from remote target...^M
Reading /lib/.debug/ld-2.17.so.debug from remote target...^M
(no debugging symbols found)...done.^M
Remote 'g' packet reply is too long: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000efffbe00000000808d0f4d100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000^
0x4d0f8d80 in _start () from target:/lib/ld-linux-armhf.so.3^M

Without XML support in GDB, it can't parse xml sent by GDBserver, and has
to fall back to the oldest arch.  However, GDBserver doesn't know this
(IMO, this is a defect in RSP), and still choose the right target
description to create regcache and 'g' packet.  If the port only has
one target description or coincidentally two sides choose the same
target description, there is no such issue.  Otherwise, GDB is broken
on read registers.

This patch is to skip gdbserver tests if XML is not support and the
target has multiple target descriptions.

gdb/testsuite:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
	if gdb_skip_xml_test is true on some targets.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Create sub classes of 'struct breakpoint'
@ 2016-07-21 12:41 sergiodj+buildbot
  2016-07-21 22:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9aa76cd0a7b2cfdcc9da31e7763a695fac89f569 ***

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

Create sub classes of 'struct breakpoint'

Nowadays, there are three types of breakpoint in GDBserver,

 - gdb breakpoints,
 - reinsert breakpoints, used for software single step,
 - other breakpoints, used for tracepoint,

but we only have one 'struct breakpoint' for all of them.  Some fields
are only useful to one type of breakpoint.  For example, cond_list
and command_list are only used by gdb breakpoints, while handler is
only used by other breakpoints.

This patch changes 'struct breakpoint' to a base class, which has fields
needed by all breakpoint types, also add three sub-classes to
'struct breakpoint' to these three types of breakpoints.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (struct breakpoint) <cond_list>: Remove.
	<command_list, handler>: Remove.
	(struct gdb_breakpoint): New.
	(struct other_breakpoint): New.
	(struct reinsert_breakpoint): New.
	(is_gdb_breakpoint): New function.
	(any_persistent_commands): Update command_list if
	is_gdb_breakpoint returns true.
	(set_breakpoint): Create breakpoints according to their types.
	(find_gdb_breakpoint): Return 'struct gdb_breakpoint *'.
	(set_gdb_breakpoint_1): Likewise.
	(set_gdb_breakpoint): Likewise.
	(clear_breakpoint_conditions): Change parameter type to
	'struct gdb_breakpoint *'.
	(clear_breakpoint_commands): Likewise.
	(clear_breakpoint_conditions_and_commands): Likewise.
	(add_condition_to_breakpoint): Likewise.
	(add_breakpoint_condition): Likewise.
	(add_commands_to_breakpoint): Likewise.
	(check_breakpoints): Check other_breakpoint.
	(clone_one_breakpoint): Clone breakpopint according to its type.
	* mem-break.h (struct gdb_breakpoint): Declare.
	(set_gdb_breakpoint): Update declaration.
	(clear_breakpoint_conditions_and_commands): Likewise.
	(add_breakpoint_condition): Likewise.
	(add_breakpoint_commands): Likewise.
	* server.c (process_point_options): Change parameter type to
	'struct gdb_breakpoint *'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Pass breakpoint type in set_breakpoint_at
@ 2016-07-21 13:09 sergiodj+buildbot
  2016-07-21 19:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 13:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 811f8301f8054eb964e92af63930c4495207e7d5 ***

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

Pass breakpoint type in set_breakpoint_at

Nowadays, set_breakpoint_at creates breakpoint of type
other_breakpoint, but we also use set_breakpoint_at
in set_reinsert_breakpoint to create breakpoint, so that
we have to overwrite the breakpoint type like this,

  bp = set_breakpoint_at (stop_at, NULL);
  bp->type = reinsert_breakpoint;

which looks not very good.  This patch changes set_breakpoint_at
to receive breakpoint type.  Since set_breakpoint_at is
used in many places, I rename it to set_breakpoint_type_at, and wrap
it with set_breakpoint_at, and pass other_breakpoint.  In this way,
we can call set_breakpoint_type_at with reinsert_breakpoint in
set_reinsert_breakpoint too, and code looks cleaner.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (set_breakpoint_at): Rename it to ...
	(set_breakpoint_type_at): ... it.
	(set_breakpoint_at): Call set_breakpoint_type_at.
	(set_reinsert_breakpoint): Call set_breakpoint_type_at.
	* mem-break.h (set_breakpoint_at): Update comments.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Refactor clone_all_breakpoints
@ 2016-07-21 13:37 sergiodj+buildbot
  2016-07-21 23:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 13:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63c40ec727109e2bb2956ab95968350df00c1aa1 ***

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

Refactor clone_all_breakpoints

This patch is to change the interface of clone_all_breakpoints, from
lists of breakpoints and raw_breakpoints to child thread and parent
thread.  I choose child thread to pass because we need the ptid of
the child thread in the following patch.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* inferiors.c (get_thread_process): Make parameter const.
	* inferiors.h (get_thread_process): Update declaration.
	* mem-break.c (clone_all_breakpoints): Remove all parameters.
	Add new parameters child_thread and parent_thread.  Callers
	updated.
	* mem-break.h (clone_all_breakpoints): Update declaration.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Make reinsert_breakpoint thread specific
@ 2016-07-21 14:36 sergiodj+buildbot
  2016-07-22  2:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 14:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bec903c96bc5119e357b4ad2cab99bbee7de628e ***

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

Make reinsert_breakpoint thread specific

This patch makes reinsert_breakpoint thread specific, which means we
insert and remove reinsert_breakpoint breakpoints for a specific
thread.  This motivation of this change is that I'll use
reinsert_breakpoint for vCont;s on software single step target, so that
GDBserver may insert one reinsert_breakpoint for one thread doing
step-over, and insert one reinsert_breakpoint for another thread doing
vCont;s.  After the operation of one thread is finished, GDBserver must
remove reinsert_breakpoint for that thread only.

On the other hand, reinsert_breakpoint is used for step-over nowadays.
GDBserver inserts reinsert_breakpoint, and wait only from the thread
doing step-over.  After the step-over is done, GDBserver removes the
reinsert_breakpoint.  If there is still any threads need step-over, do
the same again until all threads are finished step-over.  In other words,
reinsert_breakpoint is globally thread specific, but in an implicit way.
It is natural to make it explicitly thread specific.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (struct reinsert_breakpoint) <ptid>: New field.
	(set_reinsert_breakpoint): New parameter ptid.  Callers updated.
	(clone_one_breakpoint): Likewise.
	(delete_reinsert_breakpoints): Change parameter to thread.
	Callers updated.
	(has_reinsert_breakpoints): Likewise.
	(uninsert_reinsert_breakpoints): Likewise.
	(reinsert_reinsert_breakpoints): Likewise.
	* mem-break.h (set_reinsert_breakpoint): Update declaration.
	(delete_reinsert_breakpoints): Likewise.
	(reinsert_reinsert_breakpoints): Likewise.
	(uninsert_reinsert_breakpoints): Likewise.
	(has_reinsert_breakpoints): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Switch current_thread to lwp's thread in install_software_single_step_breakpoints
@ 2016-07-21 14:58 sergiodj+buildbot
  2016-07-22  5:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 14:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 984a2c042e82f2306183d9d165c5cb99e4341503 ***

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

Switch current_thread to lwp's thread in install_software_single_step_breakpoints

install_software_single_step_breakpoints has parameter lwp, but still
need to switch to current_thread.  In order to simplify its caller,
we do the current_thread save/restore inside install_software_single_step_breakpoints.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* gdbthread.h (make_cleanup_restore_current_thread): Declare.
	* inferiors.c (do_restore_current_thread_cleanup): New function.
	(make_cleanup_restore_current_thread): Likewise.
	* linux-low.c (install_software_single_step_breakpoints): Call
	make_cleanup_restore_current_thread.  Switch current_thread to
	thread.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use enqueue_pending_signal in linux_resume_one_thread
@ 2016-07-21 15:20 sergiodj+buildbot
  2016-07-22  7:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 15:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4281b351bfa3b646ab531cf73c56e49366fef108 ***

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

Use enqueue_pending_signal in linux_resume_one_thread

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_resume_one_thread): Call
	enqueue_pending_signal.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Enqueue signal even when resuming threads
@ 2016-07-21 15:58 sergiodj+buildbot
  2016-07-22 11:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 15:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e9a339ec8ffab80fdbe97adaf888fe03b73fe22 ***

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

Enqueue signal even when resuming threads

Nowadays, we only enqueue signal when we leave thread pending in
linux_resume_one_thread.  If lwp->resume->sig isn't zero (GDB wants
to resume with signal), we pass lwp->resume->sig to
linux_resume_one_lwp.

In order to reduce the difference between resuming thread with signal
and proceeding thread with signal, when we resume thread, we can
enqueue signal too, and proceed thread.  The signal will be consumed in
linux_resume_one_lwp_throw from lwp->pending_signals.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (proceed_one_lwp): Declare.
	(linux_resume_one_thread): Remove local variable 'step'.
	Lift code enqueue signal.  Call proceed_one_lwp instead of
	linux_resume_one_lwp.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use reinsert_breakpoint for vCont;s
@ 2016-07-21 17:08 sergiodj+buildbot
  2016-07-22 14:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8901d1936e4e691f0b3b976f5626ac5a8f27aa7f ***

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

Use reinsert_breakpoint for vCont;s

This patch is to teach GDBserver using software single step to handle
vCont;s.  Simply speaking, if the thread's resume request is resume_step,
install reinsert breakpoint at the next pcs when GDBserver is about to
resume threads.  These reinsert breakpoints of a thread are removed,
when GDBserver gets an event from that thread and reports it back to
GDB.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (resume_stopped_resumed_lwps): If resume request
	is resume_step, call maybe_hw_step.
	(linux_wait_1): Stop all threads, remove reinsert breakpoints,
	and unstop them.
	(linux_resume_one_lwp_throw): Don't assert the thread has reinsert
	breakpoints or not.
	(proceed_one_lwp): If resume request is resume_step, install
	reinsert breakpoints and call maybe_hw_step.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Support vCont s and S actions with software single step
@ 2016-07-21 17:54 sergiodj+buildbot
  2016-07-22 15:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 17:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21536b367ce73eed103e1389b5f45010f0c96bbb ***

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

Support vCont s and S actions with software single step

GDBserver with software single step should be able to claim supporting
vCont s and S actions, so that GDB knows the remote target can do
single step.  It doesn't matter to GDB that the single step in the
remote target is done via hardware or software.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* server.c (handle_v_requests): Support s and S actions
	if target_supports_software_single_step return true.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix cast to 'gdb_breakpoint *'
@ 2016-07-21 18:25 sergiodj+buildbot
  2016-07-22 15:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 18:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2583da7cd64e680e43cf92c8022eadee84357b3b ***

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

Fix cast to 'gdb_breakpoint *'

c-mode buildbot catches a build problem,

gcc -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 -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -Wno-missing-prototypes -Werror -DGDBSERVER -c -o hostio.o -MT hostio.o -MMD -MP -MF .deps/hostio.Tpo ../../../binutils-gdb/gdb/gdbserver/hostio.c
../../../binutils-gdb/gdb/gdbserver/mem-break.c: In function find_gdb_breakpoint:
../../../binutils-gdb/gdb/gdbserver/mem-break.c:996:15: error: gdb_breakpoint undeclared (first use in this function)
       return (gdb_breakpoint *) bp;

we should use 'struct gdb_breakpoint' rather than 'gdb_breakpoint'.
Patch below fixes this.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (find_gdb_breakpoint): Cast bp to
	'struct gdb_breakpoint *' rather than 'gdb_breakpoint *'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove unused variable in gdb/varobj.c when built without Python support
@ 2016-07-21 18:53 sergiodj+buildbot
  2016-07-22 18:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 18:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3821cca157e93677ef098bf36526ccf24f497ac ***

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

Remove unused variable in gdb/varobj.c when built without Python support

gdb/ChangeLog:
2016-07-21  Pedro Alves  <palves@redhat.com>

	* varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
	scope that uses it.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove unused variable in windows-nat.c
@ 2016-07-21 19:45 sergiodj+buildbot
  2016-07-22 20:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 19:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c25b7ccef4d6d96ed4af1d27c79d78767dba7161 ***

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

Remove unused variable in windows-nat.c

Leave the call for side effects.

gdb/ChangeLog:
2016-07-21  Pedro Alves  <palves@redhat.com>

	* windows-nat.c (handle_exception): Remove "th".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix djgpp gdb build
@ 2016-07-21 20:40 sergiodj+buildbot
  2016-07-23  2:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f515a1d643b599ebb8a23d3d95e9f0dfc8261a11 ***

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

Fix djgpp gdb build

 - A few missing casts required by C++, resulting in:

   ../../src/gdb/ser-go32.c:795:21: error: invalid conversion from 'const void*' to 'const char*' [-fpermissive]

   etc.

 - dos_noop has an incompatible prototype with struct serial_ops's
   setparity, resulting in:

    ../../src/gdb/ser-go32.c:874:1: error: invalid conversion from 'int (*)(serial*)' to 'int (*)(serial*, int)' [-fpermissive]

   (I thought of calling the ser-base.c default methods, but djgpp
   doesn't include ser-base.c in the build.)

gdb/ChangeLog:
2016-07-21  Pedro Alves  <palves@redhat.com>

	* go32-nat.c (go32_create_inferior): Add cast.
	* ser-go32.c (dos_noop): Delete.
	(dos_flush_output, dos_setparity, dos_drain_output): New
	functions.
	(dos_write): Add cast.
	(dos_ops): Use dos_flush_output, dos_setparity and
	dos_drain_output.
	* top.c (do_chdir_cleanup): Add cast.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add -Wunused-but-set-* to build
@ 2016-07-21 21:22 sergiodj+buildbot
  2016-07-23  4:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-21 21:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 305450edd3f96bfeebff78300e1e93487563d90a ***

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

Add -Wunused-but-set-* to build

This adds -Wunused-but-set-variable and -Wunused-but-set-parameter to
configure.

2016-07-21  Tom Tromey  <tom@tromey.com>

	* configure: Rebuild.
	* warning.m4 (AM_GDB_WARNINGS) <build_warnings>: Add
	-Wunused-but-set-parameter, -Wunused-but-set-variable.

2016-07-21  Tom Tromey  <tom@tromey.com>

	* configure: Rebuild.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Set BFD_VERSION to 2.27.51
@ 2016-07-22  0:11 sergiodj+buildbot
  2016-07-23 18:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-22  0:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fecd57f9f1f58f043861d5929a650f35a88a6caa ***

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

Set BFD_VERSION to 2.27.51

bfd/

	* version.m4 (BFD_VERSION): Set to 2.27.51.
	* configure: Regenerated.

binutils/

	* configure: Regenerated.

gas/

	* configure: Regenerated.

gprof/

	* configure: Regenerated.

ld/

	* configure: Regenerated.

opcodes/

	* configure: Regenerated.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Allow empty struct expressions in Rust
@ 2016-07-22  3:02 sergiodj+buildbot
  2016-07-23 17:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-22  3:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12df5c002dcbfc5ac54983e1e7040a182f71a753 ***

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

Allow empty struct expressions in Rust

I learned recently that empty struct expressions, like "X{}", have been
promoted from experimental to stable in Rust.  This patch changes the
Rust expression parser to allow this case.

New test case included.
Built and regtested on x86-64 Fedora 23, using Rust 1.11 beta.

2016-07-21  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_tuple_struct_type_p): Return false for empty
	structs.
	* rust-exp.y (struct_expr_list): Allow empty elements.

2016-07-21  Tom Tromey  <tom@tromey.com>

	* gdb.rust/simple.rs (main): Use empty struct expression.
	* gdb.rust/simple.exp: Add tests for empty struct expression.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint
@ 2016-07-23 19:48 sergiodj+buildbot
  2016-07-23 22:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-07-23 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49ecef2a7da2ee9df4ae675f99b70518fbf1bb23 ***

Author: Andrew Pinski <apinski@cavium.com>
Branch: master
Commit: 49ecef2a7da2ee9df4ae675f99b70518fbf1bb23

Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint

The problem here is ARMv8.1 (and ARMv8.2) define a
different debug version than ARMv8 (7 and 8 respectively).
This fixes hw watchpoints and breakpoints by checking
for those debug versions too.

Committed as obvious after a test on aarch64-linux-gnu
(on a ThunderX machine which has ARMv8.1 support enabled).

ChangeLog:
	* nat/aarch64-linux-hw-point.c
	(aarch64_linux_get_debug_reg_capacity): Handle
	ARMv8.1 and ARMv8.2 debug versions.
	* nat/aarch64-linux-hw-point.h
	(AARCH64_DEBUG_ARCH_V8_1): New define.
	(AARCH64_DEBUG_ARCH_V8_2): New define.

Signed-off-by: Andrew Pinski <apinski@cavium.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
[parent not found: <e34879080d8935792ef3942efa5f25b4c3169b5a@gdb-build>]
[parent not found: <c0272db5854a799a9f3bb3803c3d03d1a62b9ac2@gdb-build>]
[parent not found: <0e1a6a5169023ee0c19de2c9160b469e43634b21@gdb-build>]
[parent not found: <e0461dbb653dbb3c46ea7a15054fd2c98f879f31@gdb-build>]
[parent not found: <9cf12d57c58a82cfe3e6fee26d1ea55dfe49f9c4@gdb-build>]
[parent not found: <40c31709c6a51926fcb409611caa52b2da6515c0@gdb-build>]
[parent not found: <54806ffa85643c3a1ee721d5c3f5586d32f86ee1@gdb-build>]
[parent not found: <6598661d14c90cabac1daa5e683d1e17883b2e41@gdb-build>]
[parent not found: <293acfae4e3c9aad417e262edc9847c79bbbbb11@gdb-build>]
[parent not found: <147d994bcdd36a177e49e7b6ac8d9c1f7b4cdcf5@gdb-build>]
[parent not found: <db18dbabad8e7b63e98d47813ef20acac7072350@gdb-build>]
[parent not found: <7bd374a44d1db21b54a9a52ecde1d064cdaa8cd1@gdb-build>]
* [binutils-gdb] Tweak gdb.cp tests for aarch32
@ 2016-08-01  9:52 sergiodj+buildbot
  2016-08-01 10:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01  9:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3465b24a22bd1f783313e680aa76bac83c8aaf5 ***

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

Tweak gdb.cp tests for aarch32

There are some gdb.cp/ tests fails if the program is compiled for arm
32-bit but GDB/GDBserver is aarch64 64-bit program, because target triplet
doesn't match "arm*-*-*".  Instead, we can use is_aarch32_target.

gdb/testsuite:

2016-08-01  Yao Qi  <yao.qi@linaro.org>

	* gdb.cp/anon-struct.exp: Check is_aarch32_target.
	* gdb.cp/cpexprs.exp: Likewise.
	* gdb.cp/m-static.exp: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update Swedish translation in bfd directory.
@ 2016-08-01 10:35 sergiodj+buildbot
  2016-08-01 15:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 10:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 781bf64d2414f70c51938e15ebce5c88e7172e55 ***

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

Update Swedish translation in bfd directory.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Swap "single-process" and "multi-process" in process-dies-while-detaching.exp
@ 2016-08-01 13:20 sergiodj+buildbot
  2016-08-01 15:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 13:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41bfcd638a4e0e48b96ce4de2845372dea481322 ***

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

Swap "single-process" and "multi-process" in process-dies-while-detaching.exp

"single-process" and "multi-process" are used in the test message of
process-dies-while-detaching.exp, but they are misplaced due to

    set mode [expr {$multi_process ? "single-process" : "multi-process"}]

This patch is to swap them.

gdb/testsuite:

2016-08-01  Yao Qi  <yao.qi@linaro.org>

	* gdb.threads/process-dies-while-detaching.exp (do_test): Set
	variable mode to "multi-process" if $multi_process is 1, otherwise
	set it to "single-process".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Bump version to 7.12.50.DATE-git.
@ 2016-08-01 17:20 sergiodj+buildbot
  2016-08-01 21:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 17:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2bd7787d3e5f87f66761f555d89b8ce5d631a62 ***

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

Bump version to 7.12.50.DATE-git.

Now that the GDB 7.12 branch has been created, we can
bump the version number.

gdb/ChangeLog:

	GDB 7.12 branch created (41bfcd638a4e0e48b96ce4de2845372dea481322):
	* version.in: Bump version to 7.12.50.DATE-git.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update NEWS post GDB 7.12 branch creation.
@ 2016-08-01 18:17 sergiodj+buildbot
  2016-08-02  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 18:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 751b375e01e7e85aeccdd965578cb2040836593d ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: 751b375e01e7e85aeccdd965578cb2040836593d

Update NEWS post GDB 7.12 branch creation.

gdb/ChangeLog:

	* NEWS: Create a new section for the next release branch.
	Rename the section of the current branch, now that it has
	been cut.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix some PowerPC VLE BFD issues and add some PowerPC VLE instructions.
@ 2016-08-01 21:12 sergiodj+buildbot
  2016-08-02 11:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-01 21:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dfdaec14b0db059497b47b515d753b6383772b6b ***

Author: Andrew Jenner <andrew@codesourcery.com>
Branch: master
Commit: dfdaec14b0db059497b47b515d753b6383772b6b

Fix some PowerPC VLE BFD issues and add some PowerPC VLE instructions.

        bfd/
        * elf32-ppc.c (is_branch_reloc): Recognise VLE branch relocations.
        (ppc_elf_howto_raw): Fix dst_mask of R_PPC_VLE_REL15.
        (ppc_elf_vle_split16): Clear field before inserting.

        opcodes/
        * ppc-opc.c (vle_opcodes): Alias 'e_cmpwi' to 'e_cmpi' and
        'e_cmplwi' to 'e_cmpli' instead.
        (OPVUPRT, OPVUPRT_MASK): Define.
        (powerpc_opcodes): Add E200Z4 insns.
        (vle_opcodes): Add context save/restore insns.

        include/
        * opcode/ppc.h (PPC_OPCODE_E200Z4): New define.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix SH GOT allocation in the presence of linker garbage collection.
@ 2016-08-02 12:23 sergiodj+buildbot
  2016-08-02 13:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-02 12:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a94d834c9d0108f0bb50ddc311554d1bed320f54 ***

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

Fix SH GOT allocation in the presence of linker garbage collection.

	PR ld/17739
ld	* emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
	valye 'yes'.
	* emulparams/shelf32.sh: Likewise.
	* emulparams/shelf32.sh: Likewise.
	* emulparams/shelf_nto.sh: Likewise.
	* emulparams/shelf_nto.sh: Likewise.
	* emulparams/shelf_vxworks.sh: Likewise.
	* emulparams/shelf_vxworks.sh: Likewise.
	* emulparams/shlelf32_linux.sh: Likewise.
	* emulparams/shlelf32_linux.sh: Likewise.
	* emulparams/shlelf_linux.sh: Likewise.
	* emulparams/shlelf_linux.sh: Likewise.
	* emulparams/shlelf_nto.sh: Likewise.
	* emulparams/shlelf_nto.sh: Likewise.

bfd	* elf32-sh.c (sh_elf_gc_sweep_hook): Delete.
	(elf_backend_sweep_hook): Delete.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Synchronize libiberty sources with FSF GCC mainline version.
@ 2016-08-02 14:43 sergiodj+buildbot
  2016-08-02 15:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-02 14:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa3fcee7b8c73070306ec358e730d1dfcac246bf ***

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

Synchronize libiberty sources with FSF GCC mainline version.

include	* libiberty.h (MAX_ALLOCA_SIZE): New macro.

libiberty * make-relative-prefix.c (make_relative_prefix_1): Fall back to
	malloc if alloca argument is greater than MAX_ALLOCA_SIZE.

	* cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
	(d_expression_1): Handle them.
	(d_maybe_print_fold_expression): New.
	(d_print_comp_inner): Use it.
	(d_index_template_argument): Handle negative index.

	* cp-demangle.c (cplus_demangle_operators): Add sP and sZ.
	(d_print_comp_inner): Handle them.
	(d_template_args_1): Split out from d_template_args.
	(d_args_length): New.

	PR c++/70926
	* cplus-dem.c: Handle large values and overflow when demangling
	length variables.
	(demangle_template_value_parm): Read only until end of mangled string.
	(do_hpacc_template_literal): Likewise.
	(do_type): Handle overflow when demangling array indices.

	* cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
	  VLAs.

	PR c++/70498
	* cp-demangle.c (d_expression_1): Formatting fix.

	* cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
	constant.
	(demangle_template_value_parm): Handle tk_rvalue_reference
	type kind.
	(do_type): Support 'O' type id (rvalue references).

	* testsuite/demangle-expected: Add tests.

	PR c++/70498
	* cp-demangle.c: Parse numbers as integer instead of long to avoid
	overflow after sanity checks. Include <limits.h> if available.
	(INT_MAX): Define if necessary.
	(d_make_template_param): Takes integer argument instead of long.
	(d_make_function_param): Likewise.
	(d_append_num): Likewise.
	(d_identifier): Likewise.
	(d_number): Parse as and return integer.
	(d_compact_number): Handle overflow.
	(d_source_name): Change variable type to integer for parsed number.
	(d_java_resource): Likewise.
	(d_special_name): Likewise.
	(d_discriminator): Likewise.
	(d_unnamed_type): Likewise.
	* testsuite/demangle-expected: Add regression test cases.

	* configure: Remove SH5 support.

	PR c++/69687
	* cplus-dem.c: Include <limits.h> if available.
	(INT_MAX): Define if necessary.
	(remember_type, remember_Ktype, register_Btype, string_need):
	Abort if we detect cases where we the size of the allocation would
	overflow.

	PR c++/70492
	* cplus-dem.c (gnu_special): Handle case where consume_count returns
	-1.

	PR c++/67394
	PR c++/70481
	* cplus-dem.c (squangle_mop_up): Zero bsize/ksize after freeing
	btypevec/ktypevec.
	* testsuite/demangle-expected: Add coverage tests.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC64 ld segfault with code in non-executable sections
@ 2016-08-02 16:25 sergiodj+buildbot
  2016-08-02 20:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-02 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 89d77b8a520602832516ce6628ea930b4f0ccff4 ***

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

PowerPC64 ld segfault with code in non-executable sections

	PR ld/20428
	* elf64-ppc.c (ppc_get_stub_entry): Don't segfault on NULL group.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [GDBserver] Remove td_ta_event_addr td_ta_set_event and td_ta_event_getmsg
@ 2016-08-02 16:45 sergiodj+buildbot
  2016-08-03  0:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-02 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 979659d08478172311764b468bfce4960b38760b ***

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

[GDBserver] Remove td_ta_event_addr td_ta_set_event and td_ta_event_getmsg

As a result of this commit,

  9b4c5f878ff39e04127a1ad95f6b3832afe6d278
  (Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer.)

the last usage of td_ta_event_addr td_ta_set_event and
td_ta_event_getmsg were removed.  They are no longer used.  This patch
is to remove them.

gdb/gdbserver:

2016-08-02  Yao Qi  <yao.qi@linaro.org>

	* thread-db.c (struct thread_db) <td_ta_event_getmsg_p>: Remove.
	<td_ta_set_event_p, td_ta_event_addr_p>: Remove.
	(thread_db_load_search): Update.
	(try_thread_db_load_1): Don't look for td_ta_event_addr,
	td_ta_set_event and td_ta_event_getmsg.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add myself as Rust maintainer
@ 2016-08-03 16:11 sergiodj+buildbot
  2016-08-03 16:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-03 16:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33541b2e56a653b9260fb1dc2cd7dd73b0c49169 ***

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

Add myself as Rust maintainer

A while ago, Pedro announced that I would be the Rust maintainer for
gdb.  However, I neglected to update the MAINTAINERS file until now.

2016-08-02  Tom Tromey  <tom@tromey.com>

	* MAINTAINERS (Core): Add self as Rust maintainer.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update NEWS to mention Python breakpoint events
@ 2016-08-03 17:44 sergiodj+buildbot
  2016-08-03 19:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-03 17:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8d2a0a14e53945eb260c08752654bd03a240ecf7 ***

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

Update NEWS to mention Python breakpoint events

An earlier patch added three new breakpoint-related events to the
Python API.  However, at that time, I forgot to update NEWS.  This
patch supplies the missing entry.

2016-08-03  Tom Tromey  <tom@tromey.com>

	* NEWS: Mention new Python breakpoint events.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Avoid potential memory leak in find_frame_funname
@ 2016-08-03 18:31 sergiodj+buildbot
  2016-08-04  0:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-03 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d10153cfc6cb319a75ceb3e3d34ac30efa17e518 ***

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

Avoid potential memory leak in find_frame_funname

The PR 18565 thread pointed out that, if cp_remove_params can throw
(we aren't quite sure), then find_frame_funname could leak some
memory.  This patch avoids any potential issue by rearranging some
code in find_frame_funname.

Built and regtested on x86-64 Fedora 24.

2016-08-03  Tom Tromey  <tom@tromey.com>

	* stack.c (find_frame_funname): Avoid any possible leak in case
	cp_remove_params can throw.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PR python/18565 - make Frame.function work for inline frames
@ 2016-08-03 18:50 sergiodj+buildbot
  2016-08-04  4:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-03 18:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 282a0691a725d1f6653840728449adb297c8c856 ***

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

PR python/18565 - make Frame.function work for inline frames

PR python/18565 notes that calling frame filters don't work properly for
inlined functions.  This happens because Frame.function on an inline
frame will yield the wrong result.  This patch changes this code to use
find_frame_funname instead, which handles inline frames properly.

Built and regtested on x86-64 Fedora 24.

2016-08-03  Tom Tromey  <tom@tromey.com>

	PR python/18565:
	* python/py-frame.c (frapy_function): Use find_frame_funname.

2016-08-03  Tom Tromey  <tom@tromey.com>

	PR python/18565:
	* gdb.python/py-frame-inline.exp: Add Frame.function test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Quiet ptrace error ESRCH in regsets_fetch_inferior_registers
@ 2016-08-04 10:44 sergiodj+buildbot
  2016-08-04 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-04 10:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fcd4a73d7dc3505662b4d58489f4c1b8b003b8f3 ***

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

Quiet ptrace error ESRCH in regsets_fetch_inferior_registers

When I run process-dies-while-detaching.exp with GDBserver, I see many
warnings printed by GDBserver,

ptrace(regsets_fetch_inferior_registers) PID=26183: No such process
ptrace(regsets_fetch_inferior_registers) PID=26183: No such process
ptrace(regsets_fetch_inferior_registers) PID=26184: No such process
ptrace(regsets_fetch_inferior_registers) PID=26184: No such process

regsets_fetch_inferior_registers is called when GDBserver resumes each
lwp.

 #2  0x0000000000428260 in regsets_fetch_inferior_registers (regsets_info=0x4690d0 <aarch64_regsets_info>, regcache=0x31832020)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/linux-low.c:5412
 #3  0x00000000004070e8 in get_thread_regcache (thread=0x31832940, fetch=fetch@entry=1) at /home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/regcache.c:58
 #4  0x0000000000429c40 in linux_resume_one_lwp_throw (info=<optimized out>, signal=0, step=0, lwp=0x31832830)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/linux-low.c:4463
 #5  linux_resume_one_lwp (lwp=0x31832830, step=<optimized out>, signal=<optimized out>, info=<optimized out>)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/linux-low.c:4573

The is the case that threads are disappeared when GDB/GDBserver resumes
them.  We check errno for ESRCH, and don't print error messages, like
what we are doing in regsets_store_inferior_registers.

gdb/gdbserver:

2016-08-04  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (regsets_fetch_inferior_registers): Check
	errno is ESRCH or not.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Determine target description for native aarch64
@ 2016-08-04 11:45 sergiodj+buildbot
  2016-08-04 16:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-04 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f67973b4280cfd045e632a3340becd16e43b4b1 ***

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

Determine target description for native aarch64

I find the following test fail when I test native aarch64 gdb with
arm program,

(gdb) PASS: gdb.base/attach-pie-noexec.exp: attach
set architecture arm^M
warning: Selected architecture arm is not compatible with reported target architecture aarch64^M
Architecture `arm' not recognized.^M
The target architecture is set automatically (currently aarch64)^M
(gdb) FAIL: gdb.base/attach-pie-noexec.exp: set architecture arm

GDB thinks the target is aarch64, but it isn't.  Nowadays, we are
using some entries AT_PHENT and AT_HWCAP in auxv to determine whether
the process is a 32-bit arm one or 64-bit aarch64 one, and get the
right gdbarch.  However, in the process of parsing auxv (in
inf_ptrace_auxv_parse), the size of int and data pointer of
target_gdbarch is used.  If debug program exists (in most of cases),
target_gdbarch is already set according to the debug program, which
is arm in my case.  Then, GDB can parse auxv successfully.  However,
in gdb.base/attach-pie-noexec.exp, the debug program is removed,
target_gdbarch is aarch64 when GDB parse auxv, so GDB can't parse
it successfully.

Instead of using auxv, we check the return value of ptrace NT_ARM_VFP.
If the program is an arm process, NT_ARM_VFP is OK, otherwise, error
is returned.

Additionally, we only return tdesc_arm_with_neon for arm process,
because neon is mandatory on ARMv8.

gdb:

2016-08-04  Yao Qi  <yao.qi@linaro.org>

	* aarch64-linux-nat.c (tdesc_arm_with_vfpv3): Remove the
	declaration.
	(aarch64_linux_read_description): Remove code on getting
	auxv and select target description on it.  Select target
	description by the result of NT_ARM_VFP ptrace request.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
@ 2016-08-04 16:00 sergiodj+buildbot
  2016-08-05  8:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-04 16:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ba2ef8fbe74716708e5ce0bcba4f3b1cc8ac99a ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 4ba2ef8fbe74716708e5ce0bcba4f3b1cc8ac99a

2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (CMSE_PREFIX): Define macro.
	(elf32_arm_stub_cmse_branch_thumb_only): Define stub sequence.
	(cmse_branch_thumb_only): Declare stub.
	(struct elf32_arm_link_hash_table): Define cmse_stub_sec field.
	(elf32_arm_get_plt_info): Add globals parameter.  Use it to return
	FALSE if there is no PLT.
	(arm_type_of_stub): Adapt to new elf32_arm_get_plt_info signature.
	(elf32_arm_final_link_relocate): Likewise.
	(elf32_arm_gc_sweep_hook): Likewise.
	(elf32_arm_gc_mark_extra_sections): Mark sections holding ARMv8-M
	secure entry functions.
	(arm_stub_is_thumb): Add case for arm_stub_cmse_branch_thumb_only.
	(arm_dedicated_stub_output_section_required): Change to a switch case
	and add a case for arm_stub_cmse_branch_thumb_only.
	(arm_dedicated_stub_output_section_required_alignment): Likewise.
	(arm_stub_dedicated_output_section_name): Likewise.
	(arm_stub_dedicated_input_section_ptr): Likewise and remove
	ATTRIBUTE_UNUSED for htab parameter.
	(arm_stub_required_alignment): Likewise.
	(arm_stub_sym_claimed): Likewise.
	(arm_dedicated_stub_section_padding): Likewise.
	(cmse_scan): New function.
	(elf32_arm_size_stubs): Call cmse_scan for ARM M profile targets.
	Set stub_changed to TRUE if such veneers were created.
	(elf32_arm_swap_symbol_in): Add detection code for CMSE special
	symbols.

include/
	* arm.h (ARM_GET_SYM_CMSE_SPCL): Define macro.
	(ARM_SET_SYM_CMSE_SPCL): Likewise.

ld/
	* ld.texinfo (Placement of SG veneers): New concept entry.
	* testsuite/ld-arm/arm-elf.exp
	(Secure gateway veneers: no .gnu.sgstubs section): New test.
	(Secure gateway veneers: wrong entry functions): Likewise.
	(Secure gateway veneers (ARMv8-M Baseline)): Likewise.
	(Secure gateway veneers (ARMv8-M Mainline)): Likewise.
	* testsuite/ld-arm/cmse-veneers.s: New file.
	* testsuite/ld-arm/cmse-veneers.d: Likewise.
	* testsuite/ld-arm/cmse-veneers.rd: Likewise.
	* testsuite/ld-arm/cmse-veneers.sd: Likewise.
	* testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
	* testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
@ 2016-08-04 16:49 sergiodj+buildbot
  2016-08-05 15:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-04 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 54ddd295b505efe4b07cc1e939d4e150032603d8 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 54ddd295b505efe4b07cc1e939d4e150032603d8

2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add one parameter.
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (struct elf32_arm_link_hash_table): Declare new
	cmse_implib field.
	(bfd_elf32_arm_set_target_relocs): Add new parameter to initialize
	cmse_implib field in struct elf32_arm_link_hash_table.
	(elf32_arm_filter_cmse_symbols): New function.
	(elf32_arm_filter_implib_symbols): Likewise.
	(elf_backend_filter_implib_symbols): Define to
	elf32_arm_filter_implib_symbols.

ld/
	* emultempl/armelf.em (cmse_implib): Declare and define this new
	static variable.
	(arm_elf_create_output_section_statements): Add new cmse_implib
	parameter.
	(OPTION_CMSE_IMPLIB): Define macro.
	(PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
	(PARSE_AND_LIST_OPTIONS): Likewise.
	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
	* ld.texinfo (--cmse-implib): Document new option.
	* testsuite/ld-arm/arm-elf.exp
	(Secure gateway import library generation): New test.
	(Secure gateway import library generation: errors): Likewise.
	* testsuite/ld-arm/cmse-implib.s: New file.
	* testsuite/ld-arm/cmse-implib-errors.out: Likewise.
	* testsuite/ld-arm/cmse-implib.rd: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb/configure --help: suggest --disable-build-with-cxx instead of --enable...
@ 2016-08-05 17:17 sergiodj+buildbot
  2016-08-05 17:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 17:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1baf514936892a01d8ea49c2c1ccfd7ecd3b7dcd ***

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

gdb/configure --help: suggest --disable-build-with-cxx instead of --enable...

We build by default with a C++ compiler, but "configure --help" still
says "--enable-build-with-cxx", which hints that it is by default
disabled.  Update the --help text.

gdb/ChangeLog:
2016-08-05  Pedro Alves  <palves@redhat.com>

	* build-with-cxx.m4: Change help string to be in terms of
	--disable-build-with-cxx.
	* configure: Regenerate.

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

	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb/NEWS: Mention that C++ is now the default
@ 2016-08-05 18:21 sergiodj+buildbot
  2016-08-06  0:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 18:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 69ffd7f270c8a3f1b577848d2536b93ed01287de ***

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

gdb/NEWS: Mention that C++ is now the default

gdb/ChangeLog:
2016-08-05  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that GDB and GDBserver build with a C++ compiler
	by default.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR remote/20398: File-IO write always outputs "Quit"
@ 2016-08-05 20:42 sergiodj+buildbot
  2016-08-06 21:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 20:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3906a8fc773a405b511faed030e4630ecbd4b8a9 ***

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

Fix PR remote/20398: File-IO write always outputs "Quit"

Commit bb7c96deb1a1 ("gdb/remote-fileio.c: Eliminate custom SIGINT
signal handler") regressed the File-IO support.

Failed output:

  (gdb) target remote :8888
  Remote debugging using :8888
  0x00008098 in _start ()
  (gdb) c
  Continuing.
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  Quit
  [Inferior 1 (Remote target) exited normally]

Expected output:

  (gdb) target remote :8888
  Remote debugging using :8888
  0x00008098 in _start ()
  (gdb) c
  Continuing.
  i: 0
  i: 1
  i: 2
  i: 3
  i: 4
  i: 5
  i: 6
  i: 7
  i: 8
  i: 9
  [Inferior 1 (Remote target) exited normally]

The problem that the new File-IO quit handler forgets to check the
quit flag before calling throwing a quit.

gdb/ChangeLog:
2016-08-05  Pedro Alves  <palves@redhat.com>

	PR remote/20398
	* remote-fileio.c (remote_fileio_quit_handler): Check the quit
	flag before calling quit.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove unused cli_command_loop declaration
@ 2016-08-05 22:57 sergiodj+buildbot
  2016-08-07 20:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-05 22:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c632e428c2fd707b83a2c61e0b25b473e3d7d18e ***

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

Remove unused cli_command_loop declaration

This declaration is not used anymore.

gdb/ChangeLog:

	* event-top.h (cli_command_loop): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix memory leaks in chew program.
@ 2016-08-08 16:36 sergiodj+buildbot
  2016-08-08 18:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-08 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a286b63457628b0a55d395f14005f254512e27d ***

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

Fix memory leaks in chew program.

	* doc/chew.c (delete_string): Only free the string buffer if it is
	there.  Mark the buffer as NULL after freeing.
	(drop): Free the dropped string.
	(free_words): New function: Frees the memory allocated to the
	dictionary.
	(add_instrinsic): Duplicate the name string, so that it can be
	freed later on.
	(compile): Free unused words.
	(main): Free the dictionary and top level string buffers at the
	end.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Regenerate some target description files
@ 2016-08-09  7:29 sergiodj+buildbot
  2016-08-09 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09  7:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6a17ca318b7bc453831049f1d8bbc7f336f5ac5a ***

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

Regenerate some target description files

I regenerated all target description .c files from scratch, and got
this spurious diff.

It's a simple mid-air collision - these files were clearly generated
before commit 73b4f516a037 ("maint_print_c_tdesc_cmd: Use type for
TYPE_CODE_FLAGS instead of field_type."), which did the global
s/field_type/type/, and pushed to master afterwards.

gdb/features/ChangeLog:
2016-08-08  Pedro Alves  <palves@redhat.com>

	* features/i386/amd64-avx-mpx-linux.c: Regenerate.
	* features/i386/amd64-avx-mpx.c: Regenerate.
	* features/i386/i386-avx-mpx-linux.c: Regenerate.
	* features/i386/i386-avx-mpx.c: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] linux-procfs: Introduce enum proc_state
@ 2016-08-09 13:06 sergiodj+buildbot
  2016-07-26  3:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 13:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d617208bb06bd461b52ce041d89f7127e3044762 ***

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

linux-procfs: Introduce enum proc_state

Parse the process's /proc/PID/status state into an enum instead of the
current scheme of passing state strings around.

gdb/ChangeLog:
2016-07-25  Pedro Alves  <palves@redhat.com>

	* nat/linux-procfs.c (enum proc_state): New enum.
	(parse_proc_status_state): New function.
	(linux_proc_pid_get_state): Replace output string buffer parameter
	with an output proc_state parameter.  Use parse_proc_status_state.
	(linux_proc_pid_is_gone): Adjust to use proc_state values.
	(linux_proc_pid_has_state): Change type of 'state' parameter; now
	an enum proc_state.  Adjust to linux_proc_pid_get_state interface
	change.
	(linux_proc_pid_is_stopped)
	(linux_proc_pid_is_trace_stopped_nowarn)
	(linux_proc_pid_is_zombie_maybe_warn): Adjust to
	linux_proc_pid_get_state interface change.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Handle correctly passing a bad interpreter name to new-ui
@ 2016-08-09 13:28 sergiodj+buildbot
  2016-07-26 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 13:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8194e927cc66e8cceb9890240ad75363b3ca6d53 ***

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

Handle correctly passing a bad interpreter name to new-ui

When a bad interpreter name is passed to new-ui, such as:

  (gdb)  new-ui bloop /dev/pts/10

A partially created UI is left in the UI list, with interp set to NULL.
Trying to do anything that will print on this UI (such as "start") will
cause a segmentation fault.

Changes in v2:

  - Use with_test_prefix to namespace test procedures
  - Give an explicit stable test name
  - Add a "bad terminal path" test
  - Remove useless runto_main
  - Add missing intro comments

I did not factor out the pty spawn, as there is some magic involved I
don't quite understand.  But it wouldn't bring that much anyway.

gdb/ChangeLog:

	* top.h (make_delete_ui_cleanup): New declaration.
	* top.c (delete_ui_cleanup): New function.
	(make_delete_ui_cleanup): New function.
	(new_ui_command): Create restore_ui cleanup earlier, create a
	delete_ui cleanup and discard it on success.

gdb/testsuite/ChangeLog:

	* gdb.base/new-ui.exp (do_test_invalid_args): New
	procedure.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value
@ 2016-08-09 13:36 sergiodj+buildbot
  2016-08-09 15:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 13:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e5ca03b41d2c94919d5cb59d8d7adad98c29d156 ***

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

Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value

With something like:

  struct A { int bitfield:4; } var;

If 'var' ends up wholly-optimized out, printing 'var.bitfield' crashes
gdb here:

 (top-gdb) bt
 #0  0x000000000058b89f in extract_unsigned_integer (addr=0x2 <error: Cannot access memory at address 0x2>, len=2, byte_order=BFD_ENDIAN_LITTLE)
     at /home/pedro/gdb/mygit/src/gdb/findvar.c:109
 #1  0x00000000005a187a in unpack_bits_as_long (field_type=0x16cff70, valaddr=0x0, bitpos=16, bitsize=12) at /home/pedro/gdb/mygit/src/gdb/value.c:3347
 #2  0x00000000005a1b9d in unpack_value_bitfield (dest_val=0x1b5d9d0, bitpos=16, bitsize=12, valaddr=0x0, embedded_offset=0, val=0x1b5d8d0)
     at /home/pedro/gdb/mygit/src/gdb/value.c:3441
 #3  0x00000000005a2a5f in value_fetch_lazy (val=0x1b5d9d0) at /home/pedro/gdb/mygit/src/gdb/value.c:3958
 #4  0x00000000005a10a7 in value_primitive_field (arg1=0x1b5d8d0, offset=0, fieldno=0, arg_type=0x16d04c0) at /home/pedro/gdb/mygit/src/gdb/value.c:3161
 #5  0x00000000005b01e5 in do_search_struct_field (name=0x1727c60 "bitfield", arg1=0x1b5d8d0, offset=0, type=0x16d04c0, looking_for_baseclass=0, result_ptr=0x7fffffffcaf8,
 [...]

unpack_value_bitfield is already optimized-out/unavailable -aware:

   (...) VALADDR points to the contents of VAL.  If the VAL's contents
   required to extract the bitfield from are unavailable/optimized
   out, DEST_VAL is correspondingly marked unavailable/optimized out.

however, it is not considering the case of the value having no
contents buffer at all, as can happen through
allocate_optimized_out_value.

gdb/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	* value.c (unpack_value_bitfield): Skip unpacking if the parent
	has no contents buffer to begin with.

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

	* gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PR python/20190 - compute TLS symbol without a frame
@ 2016-08-09 13:48 sergiodj+buildbot
  2016-07-27  5:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 13:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0b31a4bcec2efec9bc8ca40deb61123c52690a2e ***

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

PR python/20190 - compute TLS symbol without a frame

PR python/20190 arose from an exception I noticed when trying to use
the Python unwinder for Spider Monkey in Firefox.

The problem is that the unwinder wants to examine the value of a
thread-local variable.  However, sympy_value rejects this because
symbol_read_needs_frame returns true for a TLS variable.

This problem arose once before, though in a different context:

https://sourceware.org/bugzilla/show_bug.cgi?id=11803

At the time Pedro and Daniel pointed out a simpler way to fix that bug
(see links in 20190 if you are interested); but for this new bug I
couldn't think of a similar fix and ended up implementing Daniel's
other suggestion:

https://sourceware.org/ml/gdb-patches/2010-07/msg00393.html

That is, this patch makes it possible to detect whether a symbol needs
a specific frame, or whether it just needs the inferior to have
registers.

Built and regtested on x86-64 Fedora 24.

2016-07-26  Tom Tromey  <tom@tromey.com>

	* symtab.c (register_symbol_computed_impl): Update.
	PR python/20190:
	* value.h (symbol_read_needs): Declare.
	(symbol_read_needs_frame): Add comment.
	* symtab.h (struct symbol_computed_ops) <read_variable>: Update
	comment.
	<get_symbol_read_needs>: Rename.  Change return type.
	* findvar.c (symbol_read_needs): New function.
	(symbol_read_needs_frame): Rewrite.
	(default_read_var_value): Use symbol_read_needs.
	* dwarf2loc.c (struct symbol_needs_baton): Rename.
	<needs>: Renamed from needs_frame.  Changed type.
	(needs_frame_read_addr_from_reg, symbol_needs_get_reg_value)
	(symbol_needs_read_mem, symbol_needs_frame_base)
	(symbol_needs_frame_cfa, symbol_needs_tls_address)
	(symbol_needs_dwarf_call): Rename.
	(needs_dwarf_reg_entry_value): Update.
	(symbol_needs_ctx_funcs, dwarf2_loc_desc_get_symbol_read_needs):
	Rename and update.
	(locexpr_get_symbol_read_needs, loclist_symbol_needs): Likewise.
	(dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update.
	* defs.h (enum symbol_needs_kind): New.

2016-07-26  Tom Tromey  <tom@tromey.com>

	PR python/20190:
	* gdb.threads/tls.exp (check_thread_local): Add python symbol
	test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Correct the calculation of the use_counts of merged .got entries.
@ 2016-08-09 20:38 sergiodj+buildbot
  2016-08-09 22:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 20:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68994ca2c06b55c46e53d670bc10869e7f1bc5fe ***

Author: Jiaming Wei <jmwei@hxgpt.com>
Branch: master
Commit: 68994ca2c06b55c46e53d670bc10869e7f1bc5fe

Correct the calculation of the use_counts of merged .got entries.

	* elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Fix thinko
	adjusting the use_count of merged .got entries.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions
@ 2016-08-09 22:30 sergiodj+buildbot
  2016-08-10  0:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-09 22:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f348d89aeccaf3eb613e2f31a823baa64300bf88 ***

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

Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions

gdb's (or gdbserver's) own signal handling should not interfere with
the signal dispositions their spawned children inherit.  However, it
currently does.  For example, some paths in gdb cause SIGPIPE to be
set to SIG_IGN, and as consequence, the child starts with SIGPIPE to
set to SIG_IGN too, even though gdb was started with SIGPIPE set to
SIG_DFL.

This is because the exec family of functions does not reset the signal
disposition of signals that are set to SIG_IGN:

  http://pubs.opengroup.org/onlinepubs/7908799/xsh/execve.html

  Signals set to the default action (SIG_DFL) in the calling process
  image are set to the default action in the new process
  image. Signals set to be ignored (SIG_IGN) by the calling process
  image are set to be ignored by the new process image. Signals set to
  be caught by the calling process image are set to the default action
  in the new process image (see <signal.h>).

And neither does it reset signal masks or flags.

In order to be transparent, when spawning new child processes to debug
(with "run", etc.), reset signal actions and mask back to what was
originally inherited from gdb/gdbserver's parent, just before execing
the target program to debug.

gdb/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	PR gdb/18653
	* Makefile.in (SFILES): Add
	common/signals-state-save-restore.c.
	(HFILES_NO_SRCDIR): Add common/signals-state-save-restore.h.
	(COMMON_OBS): Add signals-state-save-restore.o.
	(signals-state-save-restore.o): New rule.
	* configure: Regenerate.
	* fork-child.c: Include "signals-state-save-restore.h".
	(fork_inferior): Call restore_original_signals_state.
	* main.c: Include "signals-state-save-restore.h".
	(captured_main): Call save_original_signals_state.
	* common/common.m4: Add sigaction to AC_CHECK_FUNCS checks.
	* common/signals-state-save-restore.c: New file.
	* common/signals-state-save-restore.h: New file.

gdb/gdbserver/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	PR gdb/18653
	* Makefile.in (OBS): Add signals-state-save-restore.o.
	(signals-state-save-restore.o): New rule.
	* config.in: Regenerate.
	* configure: Regenerate.
	* linux-low.c: Include "signals-state-save-restore.h".
	(linux_create_inferior): Call
	restore_original_signals_state.
	* server.c: Include "dispositions-save-restore.h".
	(captured_main): Call save_original_signals_state.

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

	PR gdb/18653
	* gdb.base/signals-state-child.c: New file.
	* gdb.base/signals-state-child.exp: New file.
	* gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR mi/20431 - Missing MI prompts after sync execution MI command (-exec-continue, etc.) errors
@ 2016-08-10  0:26 sergiodj+buildbot
  2016-08-10 15:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 80614914274f7166baea2ec656aec6a949869324 ***

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

Fix PR mi/20431 - Missing MI prompts after sync execution MI command (-exec-continue, etc.) errors

gdb 7.11 introduced an MI regression: a failing MI sync execution
command misses printing the MI prompt, and then all subsequent command
miss it too:

 $ gdb-7.11.1 -i=mi
 [...]
 p 1
 &"p 1\n"
 ~"$1 = 1"
 ~"\n"
 ^done
 (gdb)                                        <<< prompted ok
 -exec-continue
 ^error,msg="The program is not being run."   <<< missing prompt after this
 print 1
 &"print 1\n"
 ~"$2 = 1"
 ~"\n"
 ^done                                        <<< missing prompt after this


gdb 7.10.1 behaved correctly, even with "set mi-async on":

 -exec-continue
 ^error,msg="The program is not being run."
 (gdb)                                        <<< prompted ok

etc.

Bisecting points at:

  commit 0b333c5e7d6c
  Author: Pedro Alves <palves@redhat.com>
  Date:   Wed Sep 9 18:23:23 2015 +0100

      Merge async and sync code paths some more
  [...]

The problem is that when an exception is thrown, we leave the prompt
state set to PROMPT_BLOCKED, and then mi_execute_command_input_handler
doesn't print the prompt.  It used to work because before that patch,
we happened to skip disabling stdin if the current target didn't do
async (which it never does before execution).

I was surprised to find that this bug isn't caught by the testsuite,
so I made a thorough test that tests all combinations of pairs of:

 - a failing synchronous execution command
 - a failing non-execution command
 - a non-failing command

gdb/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	PR mi/20431
	* mi/mi-main.c (mi_execute_command): Enable input and set prompt
	state to PROMPT_NEEDED.

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

	PR mi/20431
	* gdb.mi/mi-cmd-error.exp: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui
@ 2016-08-10  1:19 sergiodj+buildbot
  2016-08-10 16:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  1:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3eb7562a983bab4c768983bcd85708852d171121 ***

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

Fix PR gdb/20418 - Problems with synchronous commands and new-ui

When executing commands on a secondary UI running the MI interpreter,
some commands that should be synchronous are not.  MI incorrectly
continues processing input right after the synchronous command is
sent, before the target stops.

The problem happens when we emit MI async events (=library-loaded,
etc.), and we go about restoring the previous terminal state, we end
up calling target_terminal_ours, which incorrectly always installs the
current UI's input_fd in the event loop...  That is, code like this:

   old_chain = make_cleanup_restore_target_terminal ();
   target_terminal_ours_for_output ();

   fprintf_unfiltered (mi->event_channel, "library-loaded");

...

   do_cleanups (old_chain);

The fix is to move the add_file_handler/delete_file_handler calls out
of target_terminal_$foo, making these completely no-ops unless called
with the main UI as current UI.

gdb/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	PR gdb/20418
	* event-top.c (ui_register_input_event_handler)
	(ui_unregister_input_event_handler): New functions.
	(async_enable_stdin): Register input in the event loop.
	(async_disable_stdin): Unregister input from the event loop.
	(gdb_setup_readline): Register input in the event loop.
	* infrun.c (check_curr_ui_sync_execution_done): Register input in
	the event loop.
	* target.c (target_terminal_inferior): Don't unregister input from
	the event loop.
	(target_terminal_ours): Don't register input in the event loop.
	* target.h (target_terminal_inferior)
	(target_terminal_ours_for_output, target_terminal_ours): Update
	comments.
	* top.h (ui_register_input_event_handler)
	(ui_unregister_input_event_handler): New declarations.
	* utils.c (ui_unregister_input_event_handler_cleanup)
	(prepare_to_handle_input): New functions.
	(defaulted_query, prompt_for_continue): Use
	prepare_to_handle_input.

gdb/testsuite/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>
	    Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20418
	* gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
	* lib/mi-support.exp (mi_expect_interrupt): Remove anchors.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Quiet ARI gettext checks
@ 2016-08-10 21:20 sergiodj+buildbot
  2016-08-11  0:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-10 21:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 669f9429c7b5a9e827497c5ad70efb6a570c8c7d ***

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

Quiet ARI gettext checks

The ARI complains about this new file:

 common/signals-state-save-restore.c:46: warning: gettext: All messages should be marked up with _.
 common/signals-state-save-restore.c:59: warning: gettext: All messages should be marked up with _.
 common/signals-state-save-restore.c:87: warning: gettext: All messages should be marked up with _.
 common/signals-state-save-restore.c:92: warning: gettext: All messages should be marked up with _.

Since these are untranslatable strings, use () instead of _().

gdb/ChangeLog:
2016-08-10  Pedro Alves  <palves@redhat.com>

	* common/signals-state-save-restore.c
	(save_original_signals_state, restore_original_signals_state):
	Wrap perror_with_name arguments with '()'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Support setting thread names (MS-Windows)
@ 2016-08-11  0:35 sergiodj+buildbot
  2016-08-11  0:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  0:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 24cdb46e9f0a694b4fbc11085e094857f08c0419 ***

Author:   <lrn1986@gmail.com>
Branch: master
Commit: 24cdb46e9f0a694b4fbc11085e094857f08c0419

Support setting thread names (MS-Windows)

This is done by catching an exception number 0x406d1388 (it has no
documented name, though MSDN dubs it "MS_VC_EXCEPTION" in one code
example), which is thrown by the program.  The exception record
contains an ID of a thread and a name to give it.

This requires rolling back some changes in handle_exception(), which
now again returns more than two distinct values.  The new
HANDLE_EXCEPTION_IGNORED value means that gdb should just continue,
without returning the thread ID up the stack (which would result in
further handling of the exception, which is not what we want).

gdb/ChangeLog:
2016-08-10     <lrn1986@gmail.com>
	    Pedro Alves  <palves@redhat.com>

	* windows-nat.c (MS_VC_EXCEPTION): New define.
	(handle_exception_result): New enum.
	(windows_delete_thread): Free the thread's name.
	(handle_exception): Handle MS_VC_EXCEPTION.
	(get_windows_debug_event): Handle HANDLE_EXCEPTION_IGNORED.
	(windows_thread_name): New function.
	(windows_target): Install it as to_thread_name method.
	* NEWS: Mention the thread naming support on MS-Windows.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Set the ISA bit in microMIPS LA25 stub references
@ 2016-08-11  0:52 sergiodj+buildbot
  2016-08-11  1:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  0:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c7318def0cbfc6f0e1bab5fb54306efaf9ed3a5c ***

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

MIPS/BFD: Set the ISA bit in microMIPS LA25 stub references

Fix a linker regression introduced with commit 9d862524f6ae ("MIPS:
Verify the ISA mode and alignment of branch and jump targets") causing a
build failure in microMIPS glibc where the `zdump' tool fails to link:

.../timezone/zdump.o: In function `yeartot':
.../timezone/zdump.c:758:(.text+0x62): Jump to a non-instruction-aligned address
.../timezone/zdump.c:758:(.text+0x76): Jump to a non-instruction-aligned address
.../timezone/zdump.c:768:(.text+0x112): Jump to a non-instruction-aligned address
.../timezone/zdump.c:774:(.text+0x1b8): Jump to a non-instruction-aligned address
.../timezone/zdump.c:774:(.text+0x1cc): Jump to a non-instruction-aligned address
collect2: error: ld returned 1 exit status
make[2]: *** [.../timezone/zdump] Error 1

The cause of the failure is the stricter check introduced with the said
change for jump and branch targets tripping on the address of microMIPS
LA25 stubs.  Despite being microMIPS code these stubs do not have the
ISA bit set throughout the relocation calculation process, because they
have their address set to the memory offset into the stub section they
are placed in.

The `mips_elf_la25_stub' structure does not carry ISA mode information,
but there is no need to extend it, because the ISA mode can be inferred
from the original symbol, which will have STO_MICROMIPS annotation, so
use that instead to set the ISA bit appropriately.  Also only LA25 stubs
associated with microMIPS symbols need to have the ISA bit set, because
other LA25 stubs are made with regular MIPS code, even if associated
with a MIPS16 symbol (in which case they are needed by a call thunk only
rather than the MIPS16 function proper).

	bfd/
	* elfxx-mips.c (mips_elf_calculate_relocation): Set the ISA bit
	in microMIPS LA25 stub references.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Add microMIPS annotation to LA25 stub symbols
@ 2016-08-11  1:15 sergiodj+buildbot
  2016-08-11  4:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  1:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a848a2271b9bd45400e875a2518ebedf1efba2fa ***

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

MIPS/BFD: Add microMIPS annotation to LA25 stub symbols

Fix a problem with missing microMIPS symbol annotation with microMIPS
LA25 stub symbols.  The consequence of the issue is these symbols appear
in the symbol table as regular MIPS symbols with the ISA bit set, as
shown with the example below:

$ cat la25a.s
	.abicalls

	.global	f1
	.ent	f1
f1:
	.set	noreorder
	.cpload	$25
	.set	reorder
	.option	pic0
	jal	f2
	.option	pic2
	jr	$31
	.end	f1

	.global	f2
	.ent	f2
f2:
	jr	$31
	.end	f2
$ cat la25b.s
	.abicalls
	.option	pic0

	.global	__start
	.ent	__start
__start:
	jal	f1
	jal	f2
	.end	__start
$ as -mmicromips -32 -EB -o la25a.o la25a.s
$ as -mmicromips -32 -EB -o la25b.o la25b.s
$ ld -melf32btsmip -o la25 la25a.o la25b.o
$ readelf -s la25

Symbol table '.symtab' contains 18 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00400098     0 SECTION LOCAL  DEFAULT    1
     2: 004000b0     0 SECTION LOCAL  DEFAULT    2
     3: 004000d0     0 SECTION LOCAL  DEFAULT    3
     4: 00000000     0 SECTION LOCAL  DEFAULT    4
     5: 00000000     0 SECTION LOCAL  DEFAULT    5
     6: 00418110     0 NOTYPE  LOCAL  DEFAULT    3 _gp
     7: 004000e1    16 FUNC    LOCAL  DEFAULT    3 .pic.f1
     8: 004000d1    16 FUNC    LOCAL  DEFAULT    3 .pic.f2
     9: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _fdata
    10: 00400110    16 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 __start
    11: 00400106     2 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 f2
    12: 004000d0     0 NOTYPE  GLOBAL DEFAULT    3 _ftext
    13: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 __bss_start
    14: 004000f0    22 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 f1
    15: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _edata
    16: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _end
    17: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _fbss
$

where microMIPS annotation is missing for `.pic.f1' and `.pic.f2' even
though these stubs are associated with microMIPS functions `f1' and `f2'
respectively.

Add the missing annotation then, by copying it from the function symbol
an LA25 stub is associated with, correcting the example above:

$ readelf -s la25

Symbol table '.symtab' contains 18 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 00400098     0 SECTION LOCAL  DEFAULT    1
     2: 004000b0     0 SECTION LOCAL  DEFAULT    2
     3: 004000d0     0 SECTION LOCAL  DEFAULT    3
     4: 00000000     0 SECTION LOCAL  DEFAULT    4
     5: 00000000     0 SECTION LOCAL  DEFAULT    5
     6: 00418110     0 NOTYPE  LOCAL  DEFAULT    3 _gp
     7: 004000e0    16 FUNC    LOCAL  DEFAULT [MICROMIPS]     3 .pic.f1
     8: 004000d0    16 FUNC    LOCAL  DEFAULT [MICROMIPS]     3 .pic.f2
     9: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _fdata
    10: 00400110    16 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 __start
    11: 00400106     2 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 f2
    12: 004000d0     0 NOTYPE  GLOBAL DEFAULT    3 _ftext
    13: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 __bss_start
    14: 004000f0    22 FUNC    GLOBAL DEFAULT [MICROMIPS]     3 f1
    15: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _edata
    16: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _end
    17: 00410120     0 NOTYPE  GLOBAL DEFAULT    3 _fbss
$

This problem has been there since the beginning of microMIPS support:

commit df58fc944dbc6d5efd8d3826241b64b6af22f447
Author: Richard Sandiford <rdsandiford@googlemail.com>
Date:   Sun Jul 24 14:20:15 2011 +0000

<https://sourceware.org/ml/binutils/2011-07/msg00198.html>, ("MIPS:
microMIPS ASE support").

	bfd/
	* elfxx-mips.c (mips_elf_create_stub_symbol): For a microMIPS
	stub also add STO_MICROMIPS annotation.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Actually produce short microMIPS LA25 stubs
@ 2016-08-11  1:27 sergiodj+buildbot
  2016-08-11  7:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fe152e64f65de9cfb6f2059b76be98712baa7b56 ***

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

MIPS/BFD: Actually produce short microMIPS LA25 stubs

For the case where a function which requires an LA25 stub is at the
beginning of a section we use a short sequence comprised of a LUI/ADDIU
instruction pair only and prepended to the associated function rather
than using a trailing jump to reach the function.  This works by
checking for the offset into section of the function symbol being 0.

This is however never the case for microMIPS function symbols, which
have the ISA bit set.  Consequently the short LA25 sequence is never
produced for microMIPS functions, like with the following example:

$ cat la25a.s
	.abicalls

	.global	f1
	.ent	f1
f1:
	.set	noreorder
	.cpload	$25
	.set	reorder
	.option	pic0
	jal	f2
	.option	pic2
	jr	$31
	.end	f1

	.global	f2
	.ent	f2
f2:
	jr	$31
	.end	f2
$ cat la25b.s
	.abicalls
	.option	pic0

	.global	__start
	.ent	__start
__start:
	jal	f1
	jal	f2
	.end	__start
$ as -mmicromips -32 -EB -o la25a.o la25a.s
$ as -mmicromips -32 -EB -o la25b.o la25b.s
$ ld -melf32btsmip -o la25 la25a.o la25b.o
$ objdump -d la25

la25:     file format elf32-tradbigmips

Disassembly of section .text:

004000d0 <.pic.f2>:
  4000d0:	41b9 0040 	lui	t9,0x40
  4000d4:	d420 0083 	j	400106 <f2>
  4000d8:	3339 0107 	addiu	t9,t9,263
  4000dc:	0000 0000 	nop

004000e0 <.pic.f1>:
  4000e0:	41b9 0040 	lui	t9,0x40
  4000e4:	d420 0078 	j	4000f0 <f1>
  4000e8:	3339 00f1 	addiu	t9,t9,241
  4000ec:	0000 0000 	nop

004000f0 <f1>:
  4000f0:	41bc 0002 	lui	gp,0x2
  4000f4:	339c 801f 	addiu	gp,gp,-32737
  4000f8:	033c e150 	addu	gp,gp,t9
  4000fc:	f420 0083 	jal	400106 <f2>
  400100:	0000 0000 	nop
  400104:	45bf      	jrc	ra

00400106 <f2>:
  400106:	45bf      	jrc	ra
	...

00400110 <__start>:
  400110:	f420 0070 	jal	4000e0 <.pic.f1>
  400114:	0000 0000 	nop
  400118:	f420 0068 	jal	4000d0 <.pic.f2>
  40011c:	0000 0000 	nop
$

where `.pic.f1' could omit the trailing jump and the filler NOP and just
fall through to `f1'.

Correct the problem by masking out the ISA bit from microMIPS functions,
which fixes the earlier example:

$ objdump -d la25

la25:     file format elf32-tradbigmips

Disassembly of section .text:

004000d0 <.pic.f2>:
  4000d0:	41b9 0040 	lui	t9,0x40
  4000d4:	d420 0083 	j	400106 <f2>
  4000d8:	3339 0107 	addiu	t9,t9,263
	...

004000e8 <.pic.f1>:
  4000e8:	41b9 0040 	lui	t9,0x40
  4000ec:	3339 00f1 	addiu	t9,t9,241

004000f0 <f1>:
  4000f0:	41bc 0002 	lui	gp,0x2
  4000f4:	339c 801f 	addiu	gp,gp,-32737
  4000f8:	033c e150 	addu	gp,gp,t9
  4000fc:	f420 0083 	jal	400106 <f2>
  400100:	0000 0000 	nop
  400104:	45bf      	jrc	ra

00400106 <f2>:
  400106:	45bf      	jrc	ra
	...

00400110 <__start>:
  400110:	f420 0074 	jal	4000e8 <.pic.f1>
  400114:	0000 0000 	nop
  400118:	f420 0068 	jal	4000d0 <.pic.f2>
  40011c:	0000 0000 	nop
$

There is no need to do anything for MIPS16 functions, because if any
LA25 stub has been generated for such a function, then it is only
required for an associated call thunk only, which is regular MIPS code
and the address of which, with the ISA bit clear, is returned by
`mips_elf_get_la25_target'.

This problem has been there since the beginning of microMIPS support:

commit df58fc944dbc6d5efd8d3826241b64b6af22f447
Author: Richard Sandiford <rdsandiford@googlemail.com>
Date:   Sun Jul 24 14:20:15 2011 +0000

<https://sourceware.org/ml/binutils/2011-07/msg00198.html>, ("MIPS:
microMIPS ASE support").

	bfd/
	* elfxx-mips.c (mips_elf_add_la25_stub): Clear the ISA bit of
	the stub address retrieved if associated with a microMIPS
	function.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR gdb/19187 (process record over a fork causes internal error)
@ 2016-08-11  7:55 sergiodj+buildbot
  2016-08-12  5:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  7:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01d3dedf60912cee478c242d575f4683adada1d2 ***

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

Fix PR gdb/19187 (process record over a fork causes internal error)

Right after a fork is detected, we detach breakpoints from the child
(detach_breakpoints), which calls into target_remove_breakpoint with
inferior_ptid pointing at the child process, but leaves the breakpoint
marked inserted (in the parent).

The problem is that record-full.c always deletes all knowledge of the
breakpoint.  Then when we later really delete the breakpoint from the
parent, we fail the assertion, since the breakpoint is unexpectedly
not found in the record-full.c breakpoint table.

The fix is simply to not forget about the breakpoint if we're
detaching it from a fork child.

gdb/ChangeLog:
2016-08-10  Pedro Alves  <palves@redhat.com>

	PR gdb/19187
	* record-full.c (record_full_remove_breakpoint): Don't remove the
	breakpoint from the record_full_breakpoints VEC if we're detaching
	the breakpoint from a fork child.

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

	PR gdb/19187
	* gdb.reverse/waitpid-reverse.exp: Add comment and remove
	setup_kfails.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Introduce 'enum remove_bp_reason'
@ 2016-08-11  8:00 sergiodj+buildbot
  2016-08-12  3:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11  8:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2b6a7dab91de9a616e1d76c869d127c5752b9e6 ***

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

Introduce 'enum remove_bp_reason'

Makes the code more obvious.

gdb/ChangeLog:
2016-08-10  Pedro Alves  <palves@redhat.com>

	PR gdb/19187
	* breakpoint.c (insertion_state_t): Delete.
	(enum remove_bp_reason): New.
	(detach_breakpoints, remove_breakpoint_1, remove_breakpoint):
	Adjust to use enum remove_bp_reason instead of insertion_state_t.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Plumb enum remove_bp_reason all the way to target_remove_breakpoint
@ 2016-08-11 10:48 sergiodj+buildbot
  2016-08-12  4:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-11 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73971819031d74eb846805a9fbfad04ba1dff500 ***

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

Plumb enum remove_bp_reason all the way to target_remove_breakpoint

So the target knows whether we're detaching breakpoints.
Nothing uses the parameter in this patch yet.

gdb/ChangeLog:
2016-08-10  Pedro Alves  <palves@redhat.com>

	PR gdb/19187
	* break-catch-sig.c (signal_catchpoint_remove_location): Adjust
	interface.
	* break-catch-syscall.c (remove_catch_syscall):
	* breakpoint.c (enum remove_bp_reason): Moved to breakpoint.h.
	(remove_breakpoint_1): Pass 'reason' down.
	(remove_catch_fork, remove_catch_vfork, remove_catch_solib)
	(remove_catch_exec, remove_watchpoint, remove_masked_watchpoint)
	(base_breakpoint_remove_location, bkpt_remove_location)
	(bkpt_probe_remove_location, bkpt_probe_remove_location): Adjust
	interface.
	* breakpoint.h (enum remove_bp_reason): Moved here from
	breakpoint.c.
	(struct breakpoint_ops) <remove_location>: Add 'reason' parameter.
	* corelow.c (core_remove_breakpoint): New function.
	(init_core_ops): Install it as to_remove_breakpoint method.
	* exec.c (exec_remove_breakpoint): New function.
	(init_exec_ops): Install it as to_remove_breakpoint method.
	* mem-break.c (memory_remove_breakpoint): Adjust interface.
	* record-btrace.c (record_btrace_remove_breakpoint): Adjust
	interface.
	* record-full.c (record_full_remove_breakpoint)
	(record_full_core_remove_breakpoint): Adjust interface.
	* remote.c (remote_remove_breakpoint): Adjust interface.
	* target-debug.h (target_debug_print_enum_remove_bp_reason): New
	macro.
	* target-delegates.c: Regenerate.
	* target.c (target_remove_breakpoint): Add 'reason' parameter.
	* target.h (struct target_ops) <to_remove_breakpoint>: Add
	'reason' parameter.
	(target_remove_breakpoint, memory_remove_breakpoint): Add 'reason'
	parameter.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix fallout from gdb/20413's fix (x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER)
@ 2016-08-12 10:33 sergiodj+buildbot
  2016-08-12 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-12 10:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39b22471578843019026c50fcdbe0483a6045970 ***

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

Fix fallout from gdb/20413's fix (x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER)

Fixes, on NIOS GNU/Linux:

  In file included from
  /scratch/mbilal/nois-lite/src/gdb-trunk/gdb/gdbserver/../nat/linux-ptrace.c:26:0:
  /scratch/mbilal/nois-lite/src/gdb-trunk/gdb/gdbserver/../gregset.h:27:23:
  error: unknown type name 'gregset_t'
   #define GDB_GREGSET_T gregset_t
			 ^

Fix this by including sys/procfs.h directly.  We shouldn't really be
including a gdb-only header in a gdb/nat/ file, anyway.  Whoops.

gdb/ChangeLog:
2016-08-11  Pedro Alves  <palves@redhat.com>

	PR gdb/20413
	* nat/linux-ptrace.c: Include <sys/procfs.h> instead of
	"gregset.h".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Export the single step function from the AArch64 simulator.
@ 2016-08-12 11:02 sergiodj+buildbot
  2016-08-12 12:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-12 11:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6a2775793d17c8a73956977c75111b33ec10ec37 ***

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

Export the single step function from the AArch64 simulator.

	* interp.c (sim_create_inferior): Allow for being called with a
	NULL abfd parameter.  If a bfd is provided, initialise the sim
	with that start address.
	* simulator.c (HALT_NYI): Just print out the numeric value of the
	instruction when not tracing.
	(aarch64_step): Change from static to global.
	* simulator.h: Add a prototype for aarch64_step().


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix warning in gdb.base/signals-state-child.c
@ 2016-08-12 13:46 sergiodj+buildbot
  2016-08-12 15:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-12 13:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b17065f843252c27e8b9c093f78382079fe4d7f ***

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

Fix warning in gdb.base/signals-state-child.c

I see the following warning when running signals-state-child.exp.

gdb/testsuite/gdb.base/signals-state-child.c:77:4: warning: too many arguments for format [-Wformat-extra-args]
    fprintf (out, "sigaction={sa_handler=", i);
    ^

this patch is to remove the argument from fprintf.

gdb/testsuite:

2016-08-12  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
	argument list.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Undo the previous change to the aarch64 sim - exporting aarch64_step() - and instead make aarch64_run correctly process sim events.
@ 2016-08-12 18:13 sergiodj+buildbot
  2016-08-13 21:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-12 18:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b14bdb3bab20db9d200d669dfb5e2eadde7b14cc ***

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

Undo the previous change to the aarch64 sim - exporting aarch64_step() - and instead make aarch64_run correctly process sim events.

	* simulator.c (aarch64_step): Revert pervious delta.
	(aarch64_run): Call sim_events_tick after each
	instruction is simulated, and if necessary call
	sim_events_process.
	* simulator.h: Revert previous delta.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Correct .dynsym sh_info
@ 2016-08-13 21:55 sergiodj+buildbot
  2016-08-13 23:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-13 21:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90ac242072dc68ad454aaaa228868b0f1c8e10f9 ***

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

Correct .dynsym sh_info

bfd/
	* elf-bfd.h (struct elf_link_hash_table): Add local_dynsymcount.
	* elflink.c (_bfd_elf_link_renumber_dynsyms): Set local_dynsymcount.
	(bfd_elf_final_link): Set .dynsym sh_info from local_dynsymcount.
ld/
	* testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
	* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]
@ 2016-08-14  1:05 sergiodj+buildbot
  2016-08-14  6:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-14  1:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 474a2d9f5f8a080e30812525729c3a8b7baa61d6 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 474a2d9f5f8a080e30812525729c3a8b7baa61d6

sim: bfin: split out common mach/model defines into arch.h [PR sim/20438]

The current machs.h mixes common enums with Blackfin-specific defines.
This causes us troubles with header inclusion order such that we can't
drop the old SIM_CPU typedef (which is duplicated in common code).  By
splitting the two up, we can unwind this dependency chain, and drop the
old typedef.  It also fixes building with older gcc versions.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: cgen: drop unused argv/envp definitions
@ 2016-08-14  7:01 sergiodj+buildbot
  2016-08-15 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-14  7:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b97945424f3714d2f9f6866079fd2bc658f4285 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 6b97945424f3714d2f9f6866079fd2bc658f4285

sim: cgen: drop unused argv/envp definitions

The common argv/envp are used now by all ports, so drop this old
cgen fragment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: cgen: constify mode_names
@ 2016-08-15 12:16 sergiodj+buildbot
  2016-08-15 12:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 12:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c171e25a8c83fc26b78430fa632fa9e64f61050 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 4c171e25a8c83fc26b78430fa632fa9e64f61050

sim: cgen: constify mode_names


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: m68hc11: fix up various prototype related warnings
@ 2016-08-15 12:44 sergiodj+buildbot
  2016-08-15 13:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 12:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 527aaa4a3143afedd8dd85aa70862328a9dbe627 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 527aaa4a3143afedd8dd85aa70862328a9dbe627

sim: m68hc11: fix up various prototype related warnings

A few funcs are only used locally, so mark them static to avoid warnings
due to -Wmissing-prototypes.

Some funcs cast the return value wrong, so drop them (and let void * just
work by default).

Update some prototypes to be new style.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: m68hc11: standardize sim_cpu naming
@ 2016-08-15 12:49 sergiodj+buildbot
  2016-08-15 14:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f64fd48c500baf7792c7995d853a4383c5f2ba0 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 6f64fd48c500baf7792c7995d853a4383c5f2ba0

sim: m68hc11: standardize sim_cpu naming

We use "sim_cpu *cpu" in the sim code base, not "struct _sim_cpu" or
the name "proc", so clean up this sim to follow along.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix heap-buffer-overflow in explicit_location_lex_one
@ 2016-08-15 14:48 sergiodj+buildbot
  2016-08-15 15:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b31f9478185764487b1dcfb2803ed9c399c40ed1 ***

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

Fix heap-buffer-overflow in explicit_location_lex_one

I build GDB with -fsanitize=address, and see the error in tests,

(gdb) PASS: gdb.linespec/ls-errs.exp: lang=C++: break 3 foo
break -line 3 foo^M
=================================================================^M
==4401==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x603000047487 at pc 0x819d8e bp 0x7fff4e4e6bb0 sp 0x7fff4e4e6ba8^M
READ of size 1 at 0x603000047487 thread T0^[[1m^[[0m^M
    #0 0x819d8d in explicit_location_lex_one /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:502^M
    #1 0x81a185 in string_to_explicit_location(char const**, language_defn const*, int) /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:556^M
    #2 0x81ac10 in string_to_event_location(char**, language_defn const*) /home/yao/SourceCode/gnu/gdb/git/gdb/location.c:687^

the code in question is:

>         /* Special case: C++ operator,.  */
>         if (language->la_language == language_cplus
>             && strncmp (*inp, "operator", 8)  <--- [1]
>             && (*inp)[9] == ',')
>           (*inp) += 9;
>         ++(*inp);

The error is caused by the access to (*inp)[9] if 9 is out of its bounds.
However [1] looks odd to me, because if strncmp returns true (non-zero),
the following check "(*inp)[9] == ','" makes no sense any more.  I
suspect it was a typo in the code we meant to "strncmp () == 0".  Another
problem in the code above is that if *inp is "operator,", we first
increment *inp by 9, and then increment it by one again, which is wrong
to me.  We should only increment *inp by 8 to skip "operator", and go
back to the loop header to decide where we stop.

gdb:

2016-08-15  Yao Qi  <yao.qi@linaro.org>

	* location.c (explicit_location_lex_one): Compare the return
	value of strncmp with zero.  Don't check (*inp)[9].  Increment
	*inp by 8.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [GDB] Fix builds broken by proc-service changes.
@ 2016-08-15 20:09 sergiodj+buildbot
  2016-08-16 15:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 20:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 31925464a80970e37c06192a0c49f8948a2f5da0 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 31925464a80970e37c06192a0c49f8948a2f5da0

[GDB] Fix builds broken by proc-service changes.

GLIBC BZ#20311 introduced a change to install proc_service.h so that gdb
didn't have to use the version it embeds in gdb_proc_service.h. The
embedded version is guarded by HAVE_PROC_SERVICE_H and
gdb_proc_service.h has a number other of includes and definitions, all
of which are uncondional except for an include for gregset.h. This is
only included if HAVE_PROC_SERIVCE_H is not defined.

This causes a build failure when cross compiling gdb with the latest
glibc because type definitions in gregset are used independently of
HAVE_PROC_SERIVCE_H. In particular, they are used in gdb_proc_service.h
when PRFPREGSET_T_BROKEN is set.

The error messages on the failure are
----
binutils-gdb/gdb/gdb_proc_service.h:173:9: error: gdb_fpregset_t does
not name a type; did you mean elf_fpregset_t?
 typedef gdb_fpregset_t gdb_prfpregset_t;
         ^~~~~~~~~~~~~~
         elf_fpregset_t

binutils-gdb/gdb/gdb_proc_service.h:173:9: error: gdb_fpregset_t does
not name a type; did you mean elf_fpregset_t?
 typedef gdb_fpregset_t gdb_prfpregset_t;
         ^~~~~~~~~~~~~~
         elf_fpregset_t

binutils-gdb/gdb/proc-service.c:218:15: error: gdb_prfpregset_t does
not name a type; did you mean gdb_fpregset_t?
         const gdb_prfpregset_t *fpregset)
               ^~~~~~~~~~~~~~~~
               gdb_fpregset_t
----

This patch moves the include for gregset.h to before the code guarded by
HAVE_PROC_SERIVCE_H, so that it is always included. This is enough to
fix the build.

2016-08-15  Matthew Wahab  <matthew.wahab@arm.com>

	PR gdb/20457
	* gdb_proc_service.h: Add an include of gregset.h
        [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: unify symbol table handling
@ 2016-08-15 20:14 sergiodj+buildbot
  2016-08-17 14:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-15 20:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5357150c97899af2cc93072780a9c3a128c5b1ae ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 5357150c97899af2cc93072780a9c3a128c5b1ae

sim: unify symbol table handling

The common sim tracing code already handles loading and tracking of
symbols from the target program so that it can show symbol info in
trace/disassembly calls.  Once we touch up the trace code and add a
few API callbacks, ports don't need to do loading and searching of
symbol tables themselves anymore.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] sim: m68hc11: use standard STATIC_INLINE helper
@ 2016-08-17 21:25 sergiodj+buildbot
  2016-08-17 21:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-17 21:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa0843f50204bfd46b444c0ded6a1df1051c876e ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: fa0843f50204bfd46b444c0ded6a1df1051c876e

sim: m68hc11: use standard STATIC_INLINE helper

Rather than redefine inline locally, use the common STATIC_INLINE.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove stale comment
@ 2016-08-17 23:52 sergiodj+buildbot
  2016-08-18 14:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-17 23:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b19e39006796a4dc90f9801f44bb6f07fdb6386 ***

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

Remove stale comment

This comment seems outdated, since exiting an inferior does not remove
it.

gdb/ChangeLog:

	* inferior.c (exit_inferior_1): Remove comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add remove-inferiors test
@ 2016-08-18 14:37 sergiodj+buildbot
  2016-08-18 15:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-18 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63c61e04bb7168f0819fc590ac44e7583b225f7b ***

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

Add remove-inferiors test

I noticed that the remove-inferiors command was not tested, and as I am
doing some changes related to the user selection, I want to make sure I
don't break it.  For example, I want to make sure it's not possible to
remove the current inferior.

gdb/testsuite/ChangeLog:

	* gdb.multi/remove-inferiors.exp: New file.
	* gdb.multi/remove-inferiors.c: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix remove-inferior error message
@ 2016-08-18 15:13 sergiodj+buildbot
  2016-08-18 20:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-18 15:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eb2332d78d4ef40a2696aa0f6c833ea26a739efc ***

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

Fix remove-inferior error message

This error message should not contain the word symbol:

  (gdb) remove-inferiors 1
  Warning: Can not remove current symbol inferior 1.

gdb/ChangeLog:

	* inferior.c (remove_inferior_command): Fix error message.

gdb/testsuite/ChangeLog:

	* gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
	expected error message.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ppc: Fix record of HTM instructions
@ 2016-08-18 21:19 sergiodj+buildbot
  2016-08-19  2:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-18 21:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d44c67f38178c5ad0c083ebff6429d6e477ea42e ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: d44c67f38178c5ad0c083ebff6429d6e477ea42e

ppc: Fix record of HTM instructions

The patch fixes the record support of Hardware Transactional Memory
instructions on Power. It also solves a large number of unexpected failures
from gdb.reverse testcases sigall-precsave.exp and sigall-reverse.exp that
occur on distros which glibc uses HTM instructions.

gdb/ChangeLog
2016-08-18  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op31): Handle HTM instructions.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add myself as write-after-approval GDB maintainer.
@ 2016-08-19  5:31 sergiodj+buildbot
  2016-08-19  8:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e859fd22942c6b8077416e01e50355da6cbc052 ***

Author: Carl E. Love <carll@oc4738070240.ibm.com>
Branch: master
Commit: 6e859fd22942c6b8077416e01e50355da6cbc052

Add myself as write-after-approval GDB maintainer.

gdb/ChangeLog:

	* MAINTAINERS (Write After Approval): Add "Carl Love".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix for powerpc-power.exp gdb regression test for Power 9
@ 2016-08-19  6:30 sergiodj+buildbot
  2016-08-19 10:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19  6:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63373e4f1610f3917cdb034b8e34dbd44c86489d ***

Author: Carl Love <cel@us.ibm.com>
Branch: master
Commit: 63373e4f1610f3917cdb034b8e34dbd44c86489d

Fix for powerpc-power.exp gdb regression test for Power 9

The GDB testsuite reports 5 test failures on Power 7 instructions.
Additionally the ppc test is missing the new Power 9 instructions as
well as a large number of older instructions.  Additionally, some
instruction names have changed or been deleted.  This patch
fixes the test failures and completely updates the test to make it
consistent with the supported Power 9 instructions listed in:

   gas/testsuite/gas/ppc/power7.d
   gas/testsuite/gas/ppc/power8.d
   gas/testsuite/gas/ppc/power9.d
   gas/testsuite/gas/ppc/altivec.d
   gas/testsuite/gas/ppc/altivec2.d
   gas/testsuite/gas/ppc/altivec3.d
   gas/testsuite/gas/ppc/vsx.d
   gas/testsuite/gas/ppc/vsx2.d
   gas/testsuite/gas/ppc/vsx3.d
-----------------------------------------------------

gdb/testsuite/ChangeLog

2016-08-18  Carl Love  <cel@us.ibm.com>

	* gdb.arch/powerpc-power.s: Add new Power9 instruction tests
	and sync up the test with tests in gas/testsuite/gas/ppc.
	* gdb.arch/powerpc-power.exp: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PR 20472, PowerPC64 ifunc confusion
@ 2016-08-19 12:02 sergiodj+buildbot
  2016-08-19 13:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a2058b5e3318a337a6fecd61b91349d1131758e ***

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

PR 20472, PowerPC64 ifunc confusion

This patch fixes quite a lot of confusion in allocate_dynrelocs over
ifuncs.  Function descriptors make ELFv1 quite different to ELFv2.

	PR 20472
	* elf64-ppc.c (ppc64_elf_before_check_relocs): Tweak abiversion test.
	(readonly_dynrelocs): Comment fix.
	(global_entry_stub): New function.
	(ppc64_elf_adjust_dynamic_symbol): Tweak abiversion test.  Match
	ELFv2 code deciding on dynamic relocs vs. global entry stubs to
	that in size_global_entry_stubs, handling ifunc too.  Delete dead
	weak sym code.
	(allocate_dynrelocs): Ensure dyn_relocs field is cleared when no
	dyn_relocs are needed.  Correct handling of ifunc dyn_relocs.
	Tidy ELIMINATE_COPY_RELOCS code, only setting dynindx for
	undefweak syms.  Expand and correct comments.
	(size_global_entry_stubs): Ensure symbol is defined.
	(ppc64_elf_relocate_section): Match condition under which
	dyn_relocs are emitted to that in allocate_dynrelocs.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC64, Don't copy weak symbol dyn_relocs to weakdef.
@ 2016-08-19 12:40 sergiodj+buildbot
  2016-08-19 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 12:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d311bc8bf85f8358df21301fe8a357aa1212f80c ***

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

PowerPC64, Don't copy weak symbol dyn_relocs to weakdef.

At the cost of an extra field in the symbol table hash entries, this
simplification to the relocate_section dynamic reloc test should help
maintainability.

	* elf64-ppc.c (struct ppc_link_hash_entry): Add weakref.
	(ppc64_elf_copy_indirect_symbol): Set weakref.  Don't merge
	dyn_relocs for weakdefs.
	(alias_readonly_dynrelocs): New function.
	(ppc64_elf_adjust_dynamic_symbol): Use alias_readonly_dynrelocs.
	(ppc64_elf_relocate_section): Simplify condition under which
	dyn_relocs are emitted.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets.
@ 2016-08-19 14:59 sergiodj+buildbot
  2016-08-19 15:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dd90581873482f67922a4ace92dafdfdfed09f3c ***

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

Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets.

bfd
  * elf.c (assign_section_numbers): Assign number for the .shstrtab
  section after the symbol table and string table sections.

binutils
  * testsuite/binutils-all/readelf.s: Adjust expected ordering of
  sections.
  * testsuite/binutils-all/readelf.s-64: Likewise.

gas
  * testsuite/gas/i386/ilp32/x86-64-unwind.d: Adjust expected ordering
  of sections.
  * testsuite/gas/i386/x86-64-unwind.d: Likewise.
  * testsuite/gas/ia64/alias-ilp32.d: Likewise.
  * testsuite/gas/ia64/alias.d: Likewise.
  * testsuite/gas/ia64/group-1.d: Likewise.
  * testsuite/gas/ia64/group-2.d: Likewise.
  * testsuite/gas/ia64/secname-ilp32.d: Likewise.
  * testsuite/gas/ia64/secname.d: Likewise.
  * testsuite/gas/ia64/unwind-ilp32.d: Likewise.
  * testsuite/gas/ia64/unwind.d: Likewise.
  * testsuite/gas/ia64/xdata-ilp32.d: Likewise.
  * testsuite/gas/ia64/xdata.d: Likewise.
  * testsuite/gas/mmix/bspec-1.d: Likewise.
  * testsuite/gas/mmix/bspec-2.d: Likewise.
  * testsuite/gas/mmix/byte-1.d: Likewise.
  * testsuite/gas/mmix/loc-1.d: Likewise.
  * testsuite/gas/mmix/loc-2.d: Likewise.
  * testsuite/gas/mmix/loc-3.d: Likewise.
  * testsuite/gas/mmix/loc-4.d: Likewise.
  * testsuite/gas/mmix/loc-5.d: Likewise.
  * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.

ld
  * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
  * testsuite/ld-alpha/tlsbinr.rd: Likewise.
  * testsuite/ld-alpha/tlspic.rd: Likewise.
  * testsuite/ld-cris/libdso-2.d: Likewise.
  * testsuite/ld-i386/nogot1.d: Likewise.
  * testsuite/ld-i386/pr12718.d: Likewise.
  * testsuite/ld-i386/pr12921.d: Likewise.
  * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsbin.rd: Likewise.
  * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsbin2.rd: Likewise.
  * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsbindesc.rd: Likewise.
  * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsdesc.rd: Likewise.
  * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsgdesc.rd: Likewise.
  * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
  * testsuite/ld-i386/tlsnopic.rd: Likewise.
  * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
  * testsuite/ld-i386/tlspic.rd: Likewise.
  * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
  * testsuite/ld-i386/tlspic2.rd: Likewise.
  * testsuite/ld-ia64/tlsbin.rd: Likewise.
  * testsuite/ld-ia64/tlspic.rd: Likewise.
  * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
  * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
  * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
  * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
  * testsuite/ld-mmix/bspec1.d: Likewise.
  * testsuite/ld-mmix/bspec2.d: Likewise.
  * testsuite/ld-mmix/local1.d: Likewise.
  * testsuite/ld-mmix/local3.d: Likewise.
  * testsuite/ld-mmix/local5.d: Likewise.
  * testsuite/ld-mmix/local7.d: Likewise.
  * testsuite/ld-mmix/undef-3.d: Likewise.
  * testsuite/ld-powerpc/tlsexe.r: Likewise.
  * testsuite/ld-powerpc/tlsexe32.r: Likewise.
  * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
  * testsuite/ld-powerpc/tlsso.r: Likewise.
  * testsuite/ld-powerpc/tlsso32.r: Likewise.
  * testsuite/ld-powerpc/tlstocso.r: Likewise.
  * testsuite/ld-s390/tlsbin.rd: Likewise.
  * testsuite/ld-s390/tlsbin_64.rd: Likewise.
  * testsuite/ld-s390/tlspic.rd: Likewise.
  * testsuite/ld-s390/tlspic_64.rd: Likewise.
  * testsuite/ld-sh/sh64/crange1.rd: Likewise.
  * testsuite/ld-sh/sh64/crange2.rd: Likewise.
  * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
  * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
  * testsuite/ld-sh/sh64/crange3.rd: Likewise.
  * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
  * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
  * testsuite/ld-sh/tlsbin-2.d: Likewise.
  * testsuite/ld-sh/tlspic-2.d: Likewise.
  * testsuite/ld-sparc/gotop32.rd: Likewise.
  * testsuite/ld-sparc/gotop64.rd: Likewise.
  * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
  * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
  * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
  * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
  * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
  * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
  * testsuite/ld-tic6x/common.d: Likewise.
  * testsuite/ld-tic6x/shlib-1.rd: Likewise.
  * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
  * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
  * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
  * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
  * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
  * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
  * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
  * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
  * testsuite/ld-tic6x/static-app-1.rd: Likewise.
  * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
  * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
  * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
  * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
  * testsuite/ld-x86-64/ilp32-4.d: Likewise.
  * testsuite/ld-x86-64/nogot1.d: Likewise.
  * testsuite/ld-x86-64/pr12718.d: Likewise.
  * testsuite/ld-x86-64/pr12921.d: Likewise.
  * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
  * testsuite/ld-x86-64/split-by-file.rd: Likewise.
  * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlsbin.rd: Likewise.
  * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
  * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
  * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
  * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
  * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlspic.rd: Likewise.
  * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
  * testsuite/ld-x86-64/tlspic2.rd: Likewise.
  * testsuite/ld-xtensa/tlsbin.rd: Likewise.
  * testsuite/ld-xtensa/tlspic.rd: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32 Fast tracepoints: IPA target descriptions
@ 2016-08-19 16:06 sergiodj+buildbot
  2016-08-19 16:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 16:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 201506dadd117df72d0528f735e44ce2e68cc66f ***

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

x32 Fast tracepoints: IPA target descriptions

Building GDB for x32 fails building the IPA, with:

   .../src/gdb/gdbserver/linux-amd64-ipa.c: In function const target_desc* get_ipa_tdesc(int):
   .../src/gdb/gdbserver/linux-amd64-ipa.c:182:14: error: tdesc_amd64_avx_linux was not declared in this scope
	  return tdesc_amd64_avx_linux;
		 ^
   .../src/gdb/gdbserver/linux-amd64-ipa.c:184:14: error: tdesc_amd64_mpx_linux was not declared in this scope
	  return tdesc_amd64_mpx_linux;
		 ^
   .../src/gdb/gdbserver/linux-amd64-ipa.c:186:14: error: tdesc_amd64_avx_mpx_linux was not declared in this scope
	  return tdesc_amd64_avx_mpx_linux;
		 ^
  [...]

The problem is that the IPA is trying to use the 64-bit descriptions,
when it should be using the x32 ones.

gdb/gdbserver/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	PR gdb/20415
	* Makefile.in (x32-linux-ipa.o, x32-avx-linux-ipa.o)
	(x32-avx512-linux-ipa.o): New rules.
	* configure.ac (x86_64-*-linux*): New x32 check.
	* configure.srv (ipa_x32_linux_regobj): New.
	(x86_64-*-linux*): Use $ipa_x32_linux_regobj if building for x32.
	* linux-amd64-ipa.c (get_ipa_tdesc) [__ILP32__]: Return x32
	descriptions.
	(initialize_low_tracepoint) [__ILP32__]: Initialize x32
	descriptions.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32 Fast tracepoints: Customize jump pad address
@ 2016-08-19 16:23 sergiodj+buildbot
  2016-08-19 17:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 16:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c235a72a112c5656f17499c0c0d3ad73609833d ***

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

x32 Fast tracepoints: Customize jump pad address

MAP_32BIT is ignored on x32, meaning the jump pad can end up somewhere
between 2GB and 4GB, too far away from the executable for 5-byte
relative jumps (JMP rel32).  So on x32, try explicitly placing the
jump pad near the middle of the available address space.

gdb/gdbserver/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
	allocating around 0x80000000.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32: gdbserver's agent bytecode JIT: fix "call" emission
@ 2016-08-19 16:52 sergiodj+buildbot
  2016-08-20  4:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 16:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed036b4052193ba6790ba7ee94a33a364ace3b55 ***

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

x32: gdbserver's agent bytecode JIT: fix "call" emission

Running fast tracepoint tests on x32 exposes a latent bug in the agent
bytecode jitting.  There's a code path that forgets to emit the call
opcode...  Whoops.  Fixes a bunch of gdb.trace/trace-condition.exp
FAILs, like:

  (gdb)
  continue
  Continuing.

  Thread 1 "trace-condition" received signal SIGSEGV, Segmentation fault.
  0x7ffec016 in ?? ()
  (gdb) FAIL: gdb.trace/trace-condition.exp: ftrace: $rip == *set_point: advance through tracing

gdb/gdbserver/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* linux-x86-low.c (amd64_emit_call): Emit missing call opcode.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32: Avoid unsigned long when installing fast tracepoint jump pads
@ 2016-08-19 17:02 sergiodj+buildbot
  2016-08-19 20:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 17:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8ef42eed100c2439e600e846caa7437da93ac17 ***

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

x32: Avoid unsigned long when installing fast tracepoint jump pads

We're casting through unsigned long to write a 64-bit immediate
operand of movabs (the comment said movl, but that was incorrect).
The problem is that unsigned long is 32-bit on x32, so we were writing
fewer bytes than necessary.

Fix this by using an 8 byte memcpy like in other similar places in the
function.

gdb/gdbserver/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Fix
	comment.  Use memcpy instead of casting through unsigned long.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32: gdb: Fix 'call' insn relocation with qRelocInsn
@ 2016-08-19 18:19 sergiodj+buildbot
  2016-08-20 11:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 18:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f077e978deccac00fea013c4f120122bf6726834 ***

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

x32: gdb: Fix 'call' insn relocation with qRelocInsn

Running the fast tracepoints tests against x32 gdbserver exposes a
latent bug.  E.g.,:

 (gdb)
 continue
 Continuing.
 Reading /media/sf_host-pedro/gdb/mygit/build-ubuntu-x32/gdb/testsuite/outputs/gdb.trace/change-loc/change-loc-2.sl from remote target...

 Thread 1 "change-loc" received signal SIGSEGV, Segmentation fault.
 func4 () at /home/pedro/gdb/src/gdb/testsuite/gdb.trace/change-loc.h:24
 24      }
 (gdb) FAIL: gdb.trace/change-loc.exp: 1 ftrace: continue to marker 2

The test sets a fast tracepoint on a shared library.  On x32, shared
libraries end up loaded somewhere in the upper 2GB of the 4GB address
space x32 has access to.  When gdbserver needs to copy an instruction
to execute it in the jump pad, it asks gdb to relocate/adjust it, with
the qRelocInsn packet.  gdb converts "call" instructions into a "push
$<2GB-4GB addr> + jmp" sequence, however, the "pushq" instruction sign
extends its operand, so later when the called function returns, it
returns to an incorrectly sign-extended address.  E.g.,
0xfffffffffabc0000 instead of 0xfabc0000, resulting in the
segmentation fault.

Fix this by converting calls at such addresses to "sub + mov + jmp"
sequences instead.

gdb/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* amd64-tdep.c (amd64_relocate_instruction) <callq>: Handle return
	addresses over 0x7fffffff.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] null-terminate string in linespec_location_completer
@ 2016-08-19 18:48 sergiodj+buildbot
  2016-08-22  2:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbfa2517ded26c1ba9e1af37671565a1a5e6bbc6 ***

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

null-terminate string in linespec_location_completer

If I build gdb with -fsanitize=address and run tests, I get error,

malformed linespec error: unexpected colon^M
(gdb) PASS: gdb.linespec/ls-errs.exp: lang=C: break     :
break   :=================================================================^M
==3266==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000051451 at pc 0x2b5797a972a8 bp 0x7fffd8e0f3c0 sp 0x7fffd8e0f398^M
READ of size 2 at 0x602000051451 thread T0
    #0 0x2b5797a972a7 in __interceptor_strlen (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x322a7)^M
    #1 0x7bd004 in compare_filenames_for_search(char const*, char const*) /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:316^M
    #2 0x7bd310 in iterate_over_some_symtabs(char const*, char const*, int (*)(symtab*, void*), void*, compunit_symtab*, compunit_symtab*) /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:411^M
    #3 0x7bd775 in iterate_over_symtabs(char const*, int (*)(symtab*, void*), void*) /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:481^M
    #4 0x7bda15 in lookup_symtab(char const*) /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:527^M
    #5 0x7d5e2a in make_file_symbol_completion_list_1 /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:5635^M
    #6 0x7d61e1 in make_file_symbol_completion_list(char const*, char const*, char const*) /home/yao/SourceCode/gnu/gdb/git/gdb/symtab.c:5684^M
    #7 0x88dc06 in linespec_location_completer /home/yao/SourceCode/gnu/gdb/git/gdb/completer.c:288
....
0x602000051451 is located 0 bytes to the right of 1-byte region [0x602000051450,0x602000051451)^M
mallocated by thread T0 here:
    #0 0x2b5797ab97ef in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x547ef)^M
    #1 0xbbfb8d in xmalloc /home/yao/SourceCode/gnu/gdb/git/gdb/common/common-utils.c:43^M
    #2 0x88dabd in linespec_location_completer /home/yao/SourceCode/gnu/gdb/git/gdb/completer.c:273^M
    #3 0x88e5ef in location_completer(cmd_list_element*, char const*, char const*) /home/yao/SourceCode/gnu/gdb/git/gdb/completer.c:531^M
    #4 0x8902e7 in complete_line_internal /home/yao/SourceCode/gnu/gdb/git/gdb/completer.c:964^

The code in question is here

       file_to_match = (char *) xmalloc (colon - text + 1);
       strncpy (file_to_match, text, colon - text + 1);

it is likely that file_to_match is not null-terminated.  The patch is
to strncpy 'colon - text' bytes and explicitly set '\0'.

gdb:

2016-08-19  Yao Qi  <yao.qi@linaro.org>

	* completer.c (linespec_location_completer): Make file_to_match
	null-terminated.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [AArch64] Match instruction "STP with base register" in prologue
@ 2016-08-19 19:59 sergiodj+buildbot
  2016-08-22 13:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 19:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03bcd7394eefb9399f5ab97919a0463dea274c02 ***

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

[AArch64] Match instruction "STP with base register" in prologue

Nowadays, we only match pre-indexed STP in prologue.  Due to the change
in gcc, https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01933.html, it
may generate "STP with base register" in prologue, which GDB doesn't
handle.  That is to say, previously GCC generates prologue like this,

 sub sp, sp, #490
 stp x29, x30, [sp, #-96]!
 mov x29, sp

with the gcc patch above, GCC generates prologue like like this,

 sub sp, sp, #4f0
 stp x29, x30, [sp]
 mov x29, sp

This patch is to teach GDB to recognize this instruction in prologue
analysis.

gdb:

2016-08-19  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_analyze_prologue): Handle register
	based STP instruction.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x32: Fix gdb.trace/mi-trace-frame-collected.exp
@ 2016-08-19 20:30 sergiodj+buildbot
  2016-08-22  2:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-19 20:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0646e07d6e88045d650ee1ec5b674da1cdeaa6b6 ***

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

x32: Fix gdb.trace/mi-trace-frame-collected.exp

gdb.trace/mi-trace-frame-collected.exp has a couple failures on x32:

 FAIL: gdb.trace/mi-trace-frame-collected.exp: live: -trace-frame-collected (register)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (register)

gdb.log:

 -trace-frame-collected
 ^done,explicit-variables=[{name="gdb_char_test",value="0 '\\000'"}],computed-expressions=[],registers=[{number="16",value="0x4004dc"},{number="204",value="0x4004dc"}],tvars
 =[],memory=[{address="0x00601060",length="1"}]
 (gdb)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: live: -trace-frame-collected (register)
[...]
 -trace-frame-collected
 ^done,explicit-variables=[{name="gdb_char_test",value="0 '\\000'"}],computed-expressions=[],registers=[{number="16",value="0x4004dc"},{number="204",value="0x4004dc"}],tvars
 =[],memory=[{address="0x00601060",length="1"}]
 (gdb)
 FAIL: gdb.trace/mi-trace-frame-collected.exp: tfile: -trace-frame-collected (register)

This test only collects the PC, and thus expects to only see one
register in the output of -trace-frame-collected.  However, while on
the 64-bit ABI gdb only exposes 64-bit $pc/$rip (register 16 above),
on x32, GDB exposes 32-bit $eip as well, as a pseudo-register
(register 204 above).  Thus, collecting $pc/$rip automatically always
collects $eip as well.

gdb/testsuite/ChangeLog:
2016-08-19  Pedro Alves  <palves@redhat.com>

	* gdb.trace/mi-trace-frame-collected.exp
	(test_trace_frame_collected): On x32, expect two registers.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix missing files for ld when test suite not compiled in the source directory
@ 2016-08-20  9:29 sergiodj+buildbot
  2016-08-22 19:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-20  9:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20c2c024c1e89e402a57e8c3577fb9777709d9a4 ***

Author: Carl E. Love <carll@oc4738070240.ibm.com>
Branch: master
Commit: 20c2c024c1e89e402a57e8c3577fb9777709d9a4

Fix missing files for ld when test suite not compiled in the source directory

This patch fixes an issues with six test suite expect files that do not
run correctly when the test suite is not built in the source directory.  The
issue is these tests are not using the current "standard_testfile" call
but rather using the older set command to initialize the "testfile",
"srcfile" and "binprefix" variables or are missing the set for the
"binprefix" variable.

-----------------------------------------------

gdb/testsuite/ChangeLog

2016-08-19  Carl Love  <cel@us.ibm.com>

	* gdb.arch/altivec-regs.exp: Use standard_testfile instead of
	maintaining separate logic for constructing the output path.
	* gdb.arch/powerpc-d128-regs.exp: Likewise.
	* gdb.arch/ppc-dfp.exp: Likewise.
	* gdb.arch/ppc-fp.exp: Likewise.
	* gdb.arch/vsx-regs.exp: Likewise.
	* gdb.arch/altivec-abi.exp: Likewise, plus added local variable
	binprefix for generating the additional binary files.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Error on unsupported PowerPC ifuncs
@ 2016-08-22 20:15 sergiodj+buildbot
  2016-08-22 20:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-22 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 888a7fc3665a67e20da1bce2f865b0ff9ef15842 ***

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

Error on unsupported PowerPC ifuncs

The pr19784 tests fail on ppc32 due to a gcc bug.  The failure should
be noticed when building both libpr19784a.so and libpr19784b.so,
rather than ld building a buggy libpr19784a.so that fails at run time.
This patch fixes that by moving the @local ifunc check out of
check_relocs, where a call destination may not yet be known to be
ifunc.  The patch also adds a related error for -mbss-plt code.

	* elf32-ppc.c (ppc_elf_check_relocs): Move error for @local ifunc..
	(ppc_elf_relocate_section): ..to here.  Comment.  Error on
	detecting -mbss-plt -fPIC local ifuncs too.
	(ppc_elf_size_dynamic_sections): Comment on unnecessary glink
	branch table entries.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Free the string buffer used by the chew program to hold each file it parses.
@ 2016-08-22 21:15 sergiodj+buildbot
  2016-08-22 23:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-22 21:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fbe0d878a691b9be42bb2bdebd027ac3dfd38c2 ***

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

Free the string buffer used by the chew program to hold each file it parses.

	* doc/chew.c (main): Free the string buffer used to files as they
	are parsed.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR gdb/20505 - Make vDSO detection work with core files
@ 2016-08-23  4:03 sergiodj+buildbot
  2016-08-23  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23  4:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6bb90213cb7b8e2f3be20f2e46f11f57f0c9ce55 ***

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

Fix PR gdb/20505 - Make vDSO detection work with core files

Loading a core dump that was either generated on a system running
pristine glibc master, or on a Fedora/RHEL system with LD_DEBUG=unused
set in the environment, solib-svr4.c:svr4_current_sos fails to filter
out the vDSO, resulting in:

  (gdb) core-file corefile.core^M
  [New LWP 2362]^M
  warning: Could not load shared library symbols for linux-vdso.so.1.^M
  Do you need "set solib-search-path" or "set sysroot"?^M
  Core was generated by `build-gdb/gdb/testsuite/outputs/gdb.base/corefile/'.^M
  ...

The problem is that gdbarch_vsyscall_range does not support core
inferiors at all.

When live debugging, we're finding the vDSO's start address with
auxv/AT_SYSINFO_EHDR, and then we find the vDSO's size by look for the
corresponding mapping, by parsing /proc/PID/maps.  When debugging a
core dump, we can also determine the starting address from
auxv/AT_SYSINFO_EHDR.  However, we obviously can't read the core
mappings out of the host's /proc.  But we can instead look for a
corresponding load segment in the core's bfd.

gdb/ChangeLog:
2016-08-22  Pedro Alves  <palves@redhat.com>

	PR gdb/20505
	* linux-tdep.c (linux_vsyscall_range_raw): For core inferiors,
	find the vDSO's start address with AT_SYSINFO_EHDR too, and
	determine the vDSO's size by finding the PT_LOAD segment that
	matches AT_SYSINFO_EHDR.

gdb/testsuite/ChangeLog:
2016-08-22  Pedro Alves  <palves@redhat.com>

	PR gdb/20505
	* gdb.base/vdso-warning.exp: Test core dumps too.  Use
	with_test_prefix.  Factor out bits to ...
	(test_no_vdso): ... this new procedure.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] R_OR1K_GOTOFF_* relocations
@ 2016-08-23 13:28 sergiodj+buildbot
  2016-08-23 14:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 13:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eacfca90f1ff457d3a7be9d593040218b6208d2b ***

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

R_OR1K_GOTOFF_* relocations

	PR 20475
	* elf32-or1k.c (or1k_elf_relocate_section): Offset from
	_GLOBAL_OFFSET_TABLE_, not start of .got section.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add OP parameter to aarch64-tbl.h macros
@ 2016-08-23 14:15 sergiodj+buildbot
  2016-08-23 14:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 14:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d30b0bdab56a563a29984705778168ae93f71ae ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 9d30b0bdab56a563a29984705778168ae93f71ae

[AArch64] Add OP parameter to aarch64-tbl.h macros

Nick recently wrapped most of aarch64-tbl.h entries in macros
like CORE_INSN.  These new macros assumed that the aarch64_op
"op" field of aarch64_opcode is 0 and that the new "verifier"
field is NULL.

However, there are a lot of CORE, SIMD and FP insns whose table
entries need a nonzero aarch64_op field, so these entries
continued to use a braced list instead of a macro.  This makes
the table entries less consistent and means that there are still
quite a few braced entries that need to be updated when making
further changes to the aarch64_opcode structure.

I think the number of entries that need a nonzero aarch64_op
field is high enough to justify having an explicit aarch64_op
entry for all CORE, SIMD and FP entries.  This patch adds
one and updates all existing uses of the macros.  A following
patch makes more use of the macros.

I've followed existing practice by using 0 instead of OP_NIL
for empty aarch64_op fields.  Empty fields are still the norm
and you need to know what the fields are when reading the table
anyway, so it was hard to justify an additional patch to replace
all 0 op fields with OP_NIL.

opcodes/
	* aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN): Add OP parameter.
	(aarch64_opcode_table): Update uses accordingly.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [AArch64] Make more use of CORE/FP/SIMD_INSN
@ 2016-08-23 14:27 sergiodj+buildbot
  2016-08-23 15:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 14:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ce912d8016857990f894d10e15516c17cf7d653 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 5ce912d8016857990f894d10e15516c17cf7d653

[AArch64] Make more use of CORE/FP/SIMD_INSN

After the previous patch, this one makes all CORE, FP
and SIMD table entries with null "verify" fields use
the associated macros.

opcodes/
	* aarch64-tbl.h (aarch64_opcode_table): Make more use of
	CORE_INSN, __FP_INSN and SIMD_INSN.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add V8_2_INSN macro
@ 2016-08-23 15:01 sergiodj+buildbot
  2016-08-23 16:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 15:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 344bde0a7f812ff03139ab53aecd61674eb143bf ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 344bde0a7f812ff03139ab53aecd61674eb143bf

[AArch64] Add V8_2_INSN macro

For consistency with the previous two patches, this one
adds a macro for the two ARMv8.2 table entries.  Both table
entries need a non-null aarch64_op field.

I haven't added macros for the RAS and STAT_PROFILE entries
since there's only one of each.  The series isn't getting
rid of braced entries altogether, so I've only looked at
replacing things that occur more than once.

opcodes/
	* aarch64-tbl.h (V8_2_INSN): New macro.
	(aarch64_opcode_table): Use it.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault in ARM linker when trying to parse a binary file.
@ 2016-08-23 15:22 sergiodj+buildbot
  2016-08-23 19:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 15:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6342be709e8749d0a44c02e1876ddca360bfd52f ***

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

Fix seg-fault in ARM linker when trying to parse a binary file.

	* elf32-arm.c (elf32_arm_count_additional_relocs): Return zero if
	there is no arm data associated with the section.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix signals-state-child.exp in remote testing
@ 2016-08-23 16:22 sergiodj+buildbot
  2016-08-23 23:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3589529e3cec4a5a72cd161959055d1e48dcf129 ***

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

Fix signals-state-child.exp in remote testing

Remote testing isn't considered in signals-state-child.exp, so the it
fails like

shell diff -s /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/gdb.txt^M
diff: /scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/testsuite/outputs/gdb.base/signals-state-child/standalone.txt: No such file or directory^M
(gdb) FAIL: gdb.base/signals-state-child.exp: signals states are identical

This patch is to fix it.

gdb/testsuite:

2016-08-23  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/signals-state-child.exp: Set variables gdb_txt and
	standalone_txt.  Delete gdb_txt and standalone_txt on host
	and target.  Spawn the binary on target.  Copy files from
	target to host.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdbserver_spawn "" rather than gdbserver_spawn ${binfile}
@ 2016-08-23 17:39 sergiodj+buildbot
  2016-08-24  0:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9d9abd7470ea500eb4e82567fff68e87a30efb9 ***

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

gdbserver_spawn "" rather than gdbserver_spawn ${binfile}

Hi,
I happen to see gdbserver is spawned like this in gdb.log,

spawn /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/../../gdb/gdbserver/gdbserver --once :2346 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.s
erver/connect-stopped-target/connect-stopped-target /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.server/connect-stopped-target/connect-stopped-t
arget

spawn /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/../../gdb/gdbserver/gdbserver --once :2347 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.s
erver/connect-stopped-target/connect-stopped-target /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/outputs/gdb.server/connect-stopped-target/connect-stopped-t
arget

as we can see, there are two instances of connect-stopped-target or
connect-stopped-target in the command line spawning gdbserver, but
none of these gets parameters from command line.  In these two
tests, gdbserver is spawned via "gdbserver_spawn ${binfile}".  However,
the argument of gdbserver_spawn is the argument passed the child
inferior, not the program itself.

 # Start a gdbserver process running SERVER_EXEC, and connect GDB
 # to it.  CHILD_ARGS are passed to the inferior.
 #
 # Returns the target protocol and socket to connect to.

proc gdbserver_spawn { child_args } {
    set target_exec [gdbserver_download_current_prog]

GDBserver gets the program via last_loaded_file, which is set by
gdb_file_cmd.  In each test, we don't need to pass ${binfile}.

gdb/testsuite:

2016-08-23  Yao Qi  <yao.qi@linaro.org>

	* gdb.server/connect-stopped-target.exp (do_test): Pass "" to
	gdbserver_spawn.
	* gdb.server/connect-without-multi-process.exp (do_test):
	Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR20494 - User input stops being echoed in CLI
@ 2016-08-23 22:53 sergiodj+buildbot
  2016-08-24  2:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-23 22:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9de1fe3d5607f96491e8f16f474b9441cbec849 ***

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

Fix PR20494 - User input stops being echoed in CLI

This patch fixes a problem that problem triggers if you start an
inferior, e.g., with the "start" command, in a UI created with the
new-ui command, and then run a foreground execution command in the
main UI.  Once the program stops for the latter command, typing in the
main UI no longer echoes back to the user.

The problem revolves around this:

- gdb_has_a_terminal computes its result lazily, on first call.

  that is what saves gdb's initial main UI terminal state (the UI
  associated with stdin):

          our_terminal_info.ttystate = serial_get_tty_state (stdin_serial);

  This is the state that target_terminal_ours() restores.

- In this scenario, the gdb_has_a_terminal function happens to be
  first ever called from within the target_terminal_init call in
  startup_inferior:

      (top-gdb) bt
      #0  gdb_has_a_terminal () at src/gdb/inflow.c:157
      #1  0x000000000079db22 in child_terminal_init_with_pgrp () at src/gdb/inflow.c:217
       [...]
      #4  0x000000000065bacb in target_terminal_init () at src/gdb/target.c:456
      #5  0x00000000004676d2 in startup_inferior () at src/gdb/fork-child.c:531
       [...]
      #7  0x000000000046b168 in linux_nat_create_inferior () at src/gdb/linux-nat.c:1112
       [...]
      #9  0x00000000005f20c9 in start_command (args=0x0, from_tty=1) at src/gdb/infcmd.c:657

If the command to start the inferior is issued on the main UI, then
readline will have deprepped the terminal when we reach the above, and
the problem doesn't appear.

If however the command is issued on a non-main UI, then when we reach
that gdb_has_a_terminal call, the main UI's terminal state is still
set to whatever readline has sets it to in rl_prep_terminal, which
happens to have echo disabled.  Later, when the following synchronous
execution command finishes, we'll call target_terminal_ours to restore
gdb's the main UI's terminal settings, and that restores the terminal
state with echo disabled...

Conceptually, the fix is to move the gdb_has_a_terminal call earlier,
to someplace during GDB initialization, before readline/ncurses have
had a chance to change terminal settings.  Turns out that
"set_initial_gdb_ttystate" is exactly such a place.

I say conceptually, because the fix actually inlines the
gdb_has_a_terminal part that saves the terminal state in
set_initial_gdb_ttystate and then simplifies gdb_has_a_terminal, since
there's no point in making gdb_has_a_terminal do lazy computation.

gdb/ChangeLog:
2016-08-23  Pedro Alves  <palves@redhat.com>

	PR gdb/20494
	* inflow.c (our_terminal_info, initial_gdb_ttystate): Update
	comments.
	(enum gdb_has_a_terminal_flag_enum, gdb_has_a_terminal_flag):
	Delete.
	(set_initial_gdb_ttystate): Record our_terminal_info here too,
	instead of ...
	(gdb_has_a_terminal): ... here.  Reimplement in terms of
	initial_gdb_ttystate.  Make static.
	* terminal.h (gdb_has_a_terminal): Delete declaration.
	(set_initial_gdb_ttystate): Add comment.
	* top.c (show_interactive_mode): Use input_interactive_p instead
	of gdb_has_a_terminal.

gdb/testsuite/ChangeLog:
2016-08-23  Pedro Alves  <palves@redhat.com>

	PR gdb/20494
	* gdb.base/new-ui-echo.c: New file.
	* gdb.base/new-ui-echo.exp: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-08-24  0:00 sergiodj+buildbot
  2016-08-24 14:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-24  0:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34f81801be0b294a93ac73bac6f6195a66d10b98 ***

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

Fix typo in comment

gdb/ChangeLog:

	* stack.c (parse_frame_specification): Fix typo in comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [ARC] Parse NOTE section in core dump files
@ 2016-08-24 18:02 sergiodj+buildbot
  2016-08-25  3:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 18:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 47f7f636bc8abc3c41848a412a68ca6aa36dbd21 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 47f7f636bc8abc3c41848a412a68ca6aa36dbd21

[ARC] Parse NOTE section in core dump files

This patch adds function elf32_arc_grok_parse to parse NOTE section of core
dump files. GDB requires this to work properly with core dumps.

bfd/
2016-08-24  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* elf32-arc.c (elf32_arc_grok_prstatus): New function.

Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [ARC] C++ compatibility for arc-dis.h
@ 2016-08-24 18:25 sergiodj+buildbot
  2016-08-25  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 18:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab548d2db9ac35675d1b700ecbf007ae0cf3d83d ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: ab548d2db9ac35675d1b700ecbf007ae0cf3d83d

[ARC] C++ compatibility for arc-dis.h

opcodes/
2016-08-24  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* arc-dis.h: Wrap around in extern "C".

Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix for gdb.base/pc-fp.exp.
@ 2016-08-24 18:43 sergiodj+buildbot
  2016-08-25  8:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 18:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdd78711b4c1ae26dbc8c2a64f28abec3486ae6c ***

Author: Carl E. Love <carll@oc4738070240.ibm.com>
Branch: master
Commit: bdd78711b4c1ae26dbc8c2a64f28abec3486ae6c

Fix for gdb.base/pc-fp.exp.

It is my understanding that GDB used to require each architecture to
define a Frame Pointer (fp).  However, this functionality was deprecated
some time ago so the call to setup the fp_reg was changed to deprecated
(set_gdbarch_deprecated_fp_regnum).  It should have been removed from the
Power code.

That said, the code "set_gdbarch_deprecated_fp_regnum
(gdbarch, PPC_R0_REGNUM + 1);" sets up register r1 as the frame pointer.
Register r1 is no longer used to hold the frame pointer on Power.  By
removing the fp definition for Power in GDB, it causes GDB to fall back
to the call get_frame_base_address (frame) which returns the correct value
depending on the specific senario but most of the time is the DWARF
canonical frame address.

gdb/ChangeLog

2016-08-24  Carl Love  <cel@us.ibm.com>

	* rs6000-tdep.c (rs6000_gdbarch_init): Remove call
        set_gdbarch_deprecated_fp_regnum() from initialization function.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Allow resetting an empty inferior-tty
@ 2016-08-24 20:24 sergiodj+buildbot
  2016-08-25  8:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-24 20:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a1ddfa6b67201bb06f51fb47b56096e81bec5c0 ***

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

Allow resetting an empty inferior-tty

This patch allows the user to set the inferior-tty to "empty", in order
to come back to the default behaviour of using the same tty as gdb is
using.

This is already supported in MI (and tested in gdb.mi/mi-basics.exp).

I added a new test, set-inferior-tty.exp, where I test only the setting
and unsetting of the parameter.  It would be nice to actually test that
the inferior output properly goes to the separate tty, but that will be
for another day.

gdb/ChangeLog:

	* infcmd.c (set_inferior_io_terminal): Set inferior terminal to
	NULL if terminal_name is an empty string.
	(_initialize_infcmd): Make the argument of "set inferior-tty"
	optional, mention it in the help doc.

gdb/doc/ChangeLog:

	* gdb.texinfo (Input/Output): Mention possibility to unset
	inferior-tty.

gdb/testsuite/ChangeLog:

	* gdb.base/set-inferior-tty.exp: New file.
	* gdb.base/set-inferior-tty.c: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Test case to detect recursive unwinding in Python-based unwinders.
@ 2016-08-25  7:58 sergiodj+buildbot
  2016-08-25  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-25  7:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb1fe4acb8927fc4d451402f3f5fc245144c987e ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: bb1fe4acb8927fc4d451402f3f5fc245144c987e

Test case to detect recursive unwinding in Python-based unwinders.

This test case verifies that GDB will not attempt to invoke a python
unwinder recursively.

At the moment, the behavior exhibited by GDB looks like this:

    (gdb) source py-recurse-unwind.py
    Python script imported
    (gdb) b ccc
    Breakpoint 1 at 0x4004bd: file py-recurse-unwind.c, line 23.
    (gdb) run
    Starting program: py-recurse-unwind
    TestUnwinder: Recursion detected - returning early.
    TestUnwinder: Recursion detected - returning early.
    TestUnwinder: Recursion detected - returning early.
    TestUnwinder: Recursion detected - returning early.

    Breakpoint 1, ccc (arg=<unavailable>) at py-recurse-unwind.c:23
    23      }
    (gdb) bt
    #-1 ccc (arg=<unavailable>) at py-recurse-unwind.c:23
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

[I've shortened pathnames for easier reading.]

The desired / expected behavior looks like this:

    (gdb) source py-recurse-unwind.py
    Python script imported
    (gdb) b ccc
    Breakpoint 1 at 0x4004bd: file py-recurse-unwind.c, line 23.
    (gdb) run
    Starting program: py-recurse-unwind

    Breakpoint 1, ccc (arg=789) at py-recurse-unwind.c:23
    23      }
    (gdb) bt
    #0  ccc (arg=789) at py-recurse-unwind.c:23
    #1  0x00000000004004d5 in bbb (arg=456) at py-recurse-unwind.c:28
    #2  0x00000000004004ed in aaa (arg=123) at py-recurse-unwind.c:34
    #3  0x00000000004004fe in main () at py-recurse-unwind.c:40

Note that GDB's problems go well beyond the fact that it invokes the
unwinder recursively.  In the process it messes up some internal state
(the frame stash) leading to display of (only) the sentinel frame in
the backtrace.

gdb/testsuite/ChangeLog:

	* gdb.python/py-recurse-unwind.c: New file.
	* gdb.python/py-recurse-unwind.py: New file.
	* gdb.python/py-recurse-unwind.exp: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] X86: Add ptwrite instruction
@ 2016-08-25  8:11 sergiodj+buildbot
  2016-08-25 10:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-25  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b40c462310066612636ec7434645ec7b46ff135 ***

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

X86: Add ptwrite instruction

Implement ptwrite instruction defined in Intel64 and IA-32 Architectures
Software Developers Manual, June 2016.

gas/

	* config/tc-i386.c (cpu_arch): Add .ptwrite.
	* doc/c-i386.texi: Document ptwrite and .ptwrite.
	* testsuite/gas/i386/i386.exp: Run ptwrite, ptwrite-intel,
	x86-64-ptwrite and x86-64-ptwrite-intel.
	* testsuite/gas/i386/ptwrite-intel.d: New file.
	* testsuite/gas/i386/ptwrite.d: Likewise.
	* testsuite/gas/i386/ptwrite.s: Likewise.
	* testsuite/gas/i386/x86-64-ptwrite-intel.d: Likewise.
	* testsuite/gas/i386/x86-64-ptwrite.d: Likewise.
	* testsuite/gas/i386/x86-64-ptwrite.s: Likewise.

opcodes/

	* i386-dis.c (PREFIX_MOD_0_0FAE_REG_4): New.
	(PREFIX_MOD_3_0FAE_REG_4): Likewise.
	(prefix_table): Add PREFIX_MOD_0_0FAE_REG_4 and
	PREFIX_MOD_3_0FAE_REG_4.
	(mod_table): Use PREFIX_MOD_0_0FAE_REG_4 and
	PREFIX_MOD_3_0FAE_REG_4.
	* i386-gen.c (cpu_flag_init): Add CPU_PTWRITE_FLAGS.
	(cpu_flags): Add CpuPTWRITE.
	* i386-opc.h (CpuPTWRITE): New.
	(i386_cpu_flags): Add cpuptwrite.
	* i386-opc.tbl: Add ptwrite instruction.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Sync proc_service definition with GLIBC
@ 2016-08-25 10:27 sergiodj+buildbot
  2016-08-25 19:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-25 10:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 754653a7c0a43a668a38aa30c4063b9e292a19f9 ***

Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Branch: master
Commit: 754653a7c0a43a668a38aa30c4063b9e292a19f9

Sync proc_service definition with GLIBC

GLIBC BZ#20311 [1] proc_service.h install patch also remove 'const'
attributes from ps_get_thread_area and comment #15 discuss why to remove
the const attribute (basically since it a callback with the struct
ps_prochandle owned by the client it should be able to modify it if
it the case).

On default build this is not the issue and current g++ does not trigger
any issue with this mismatch declaration.  However, on some bootstrap
build configuration where gdbserver is build with gcc instead this
triggers:

error: conflicting types for 'ps_get_thread_area'

This patch fixes it by syncing the declaration with GLIBC.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=20311

gdb/ChangeLog:

2016-08-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>

	* aarch64-linux-nat.c (ps_get_thread_area): Remove const from
	struct ps_prochandle.
	* amd64-linux-nat.c (ps_get_thread_area): Likewise.
	* arm-linux-nat.c (ps_get_thread_area): Likewise.
	* gdb_proc_service.h (ps_get_thread_area): Likewise.
	* i386-linux-nat.c (ps_get_thread_area): Likewise.
	* m68klinux-nat.c (ps_get_thread_area): Likewise.
	* mips-linux-nat.c (ps_get_thread_area): Likewise.
	* nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise.
	* nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise.
	* xtensa-linux-nat.c (ps_get_thread_area): Likewise.

gdb/gdbserver/ChangeLog:

2016-08-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>

	PR server/20491
	* gdb_proc_service.h (ps_get_thread_area): Remove const from struct
	ps_prochandle.
	* linux-aarch64-low.c (ps_get_thread_area): Likewise.
	* linux-arm-low.c (ps_get_thread_area): Likewise.
	* linux-crisv32-low.c (ps_get_thread_area): Likewise.
	* linux-m68k-low.c (ps_get_thread_area): Likewise.
	* linux-mips-low.c (ps_get_thread_area): Likewise.
	* linux-nios2-low.c (ps_get_thread_area): Likewise.
	* linux-tic6x-low.c (ps_get_thread_area): Likewise.
	* linux-x86-low.c (ps_get_thread_area): Likewise.
	* linux-xtensa-low.c (ps_get_thread_area): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] xtensa: Avoid designated inits, for C++ compliance
@ 2016-08-26 10:59 sergiodj+buildbot
  2016-08-26 11:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 10:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae68ff9f280902d9cead28b90979e75dc046492e ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: ae68ff9f280902d9cead28b90979e75dc046492e

xtensa: Avoid designated inits, for C++ compliance

C++ does not officially support designators in initializer lists.  Thus
some compilers may issue errors when encountering them.  Modern versions
of GCC seem to allow them by default, as a GCC extension, even though
the GCC documentation explicitly states otherwise: "[...] This extension
is not implemented in GNU C++."  But some older GCC versions (like
4.4.7) did indeed emit an error instead, like this:

  .../gdb/xtensa-config.c:219: error: expected primary-expression before
			       . token

This patch removes the only such instance I've seen when building with
'--enable-targets=all'.

gdb/ChangeLog:

	* xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Replace
	designated initializer list by plain initializer list, for C++
	compliance.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Indentation fixes in elf32/64-s390.c
@ 2016-08-26 11:41 sergiodj+buildbot
  2016-08-26 13:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 11:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ceada89664de30158de12d3d8f7bd7880ff6af29 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: ceada89664de30158de12d3d8f7bd7880ff6af29

S390: Indentation fixes in elf32/64-s390.c

Some indentation fixes in elf32-s390.c and elf64-s390.c.  Whitespace
changes only.

bfd/ChangeLog:

	* elf32-s390.c (allocate_dynrelocs): Fix indentation.
	(elf_s390_finish_ifunc_symbol): Likewise.
	(elf_s390_finish_dynamic_symbol): Likewise.
	(elf_s390_finish_dynamic_sections): Likewise.
	(elf_s390_grok_prstatus): Likewise.
	* elf64-s390.c (elf_s390_hash_table): Fix indentation.
	(elf_s390_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Add support for core dump NOTE sections
@ 2016-08-26 12:23 sergiodj+buildbot
  2016-08-26 14:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 12:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3e9290d6c7bc276ac6a15a9d5793a49dde92c41 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: e3e9290d6c7bc276ac6a15a9d5793a49dde92c41

S390: Add support for core dump NOTE sections

This enhances the 32-bit and 64-bit s390 ELF backends with support for
reading and writing the core dump note sections NT_PRSTATUS and
NT_PRPSINFO.  Byte swapping is done as appropriate, such that core files
can now be processed correctly on non-s390 platforms.

bfd/ChangeLog:

	* elf32-s390.c (stdarg.h): New include.
	(elf_s390_grok_psinfo): New function.
	(elf_s390_write_core_note): New function.
	(elf_backend_grok_psinfo): Declare backend hook.
	(elf_backend_write_core_note): Likewise.
	* elf64-s390.c (stdarg.h): New include.
	(elf_s390_grok_prstatus): New function.
	(elf_s390_grok_psinfo): New function.
	(elf_s390_write_core_note): New function.
	(elf_backend_grok_prstatus): Declare backend hook.
	(elf_backend_grok_psinfo): Likewise.
	(elf_backend_write_core_note): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add support for stable secure gateway veneers addresses
@ 2016-08-26 15:04 sergiodj+buildbot
  2016-08-26 15:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 15:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0955507f6e7144c9c5e420bbcf617593b13de38b ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 0955507f6e7144c9c5e420bbcf617593b13de38b

Add support for stable secure gateway veneers addresses

2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add a new parameter for
	the input import library bfd.
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (struct elf32_arm_link_hash_table): New in_implib_bfd
	and new_cmse_stub_offset fields.
	(stub_hash_newfunc): Initialize stub_offset and stub_template_size to
	-1.
	(elf32_arm_add_stub): Likewise for stub_offset.
	(arm_new_stubs_start_offset_ptr): New function.
	(arm_build_one_stub): Only allocate a stub_offset if it is -1.  Allow
	empty SG veneers to have zero relocations.
	(arm_size_one_stub): Only initialize stub size and template
	information for non empty veneers.  Do not update veneer section size
	if veneer already has an offset.
	(elf32_arm_create_stub): Return the stub entry pointer or NULL instead
	of a boolean indicating success or failure.
	(cmse_scan): Change stub_changed parameter into an integer pointer
	parameter cmse_stub_created to count the number of stub created and
	adapt to change of return value in elf32_arm_create_stub.
	(cmse_entry_fct_p): New function.
	(arm_list_new_cmse_stub): Likewise.
	(set_cmse_veneer_addr_from_implib): Likewise.
	(elf32_arm_size_stubs): Define cmse_stub_created, pass its address to
	cmse_scan instead of that of cmse_stub_changed to compute the number
	of stub created and use it to initialize stub_changed.  Call
	set_cmse_veneer_addr_from_implib after all cmse_scan.  Adapt to change
	of return value in elf32_arm_create_stub.  Use
	arm_stub_section_start_offset () if not NULL to initialize size of
	secure gateway veneers section.  Initialize stub_offset of Cortex-A8
	erratum fix to -1.  Use ret to hold return value.
	(elf32_arm_build_stubs): Use arm_stub_section_start_offset () if not
	NULL to initialize size of secure gateway veneers section.  Adapt
	comment to stress the importance of zeroing veneer section content.
	(bfd_elf32_arm_set_target_relocs): Add new in_implib_bfd parameter to
	initialize eponymous field in struct elf32_arm_link_hash_table.

ld/
	* emultempl/armelf.em (in_implib_filename): Declare and initialize new
	variable.
	(arm_elf_create_output_section_statements): Open import input library
	file for writing and pass resulting in_implib_bfd to
	bfd_elf32_arm_set_target_relocs.
	(PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
	(PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
	(PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
	(PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
	* ld.texinfo (--cmse-implib): Update to mention --in-implib.
	(--in-implib): Document new option.
	* NEWS: Likewise.
	* testsuite/ld-arm/arm-elf.exp
	(Secure gateway import library generation): add --defsym VER=1 to gas
	CLI.
	(Secure gateway import library generation: errors): Likewise.
	(Input secure gateway import library): New test.
	(Input secure gateway import library: no output import library):
	Likewise.
	(Input secure gateway import library: not an SG input import library):
	Likewise.
	(Input secure gateway import library: earlier stub section base):
	Likewise.
	(Input secure gateway import library: later stub section base):
	Likewise.
	(Input secure gateway import library: veneer comeback): Likewise.
	(Input secure gateway import library: entry function change):
	Likewise.
	* testsuite/ld-arm/cmse-implib.s: Add input import library testing.
	* testsuite/ld-arm/cmse-implib.rd: Update accordingly.
	* testsuite/ld-arm/cmse-new-implib.out: New file.
	* testsuite/ld-arm/cmse-new-implib.rd: Likewise.
	* testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
	* testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
	* testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
	* testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
	* testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fixes to legacy ARC relocations.
@ 2016-08-26 15:37 sergiodj+buildbot
  2016-08-26 16:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 15:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a87aa054a67e23faeead400bdf902a1eddb242a4 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: a87aa054a67e23faeead400bdf902a1eddb242a4

Fixes to legacy ARC relocations.

Added support for ARC_SDA_12 reloc.
Fixed ARC_N32_ME.
Added ME (middle-endian) to ARC_SDA_12 reloc.

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
	* reloc.c: Fixed type in ARC_SECTOFF relocations. Added ARC_SDA_12
	relocation.
	* bfd-in2.h: Regenerated from the previous changes.
	* libbfd.h: Regenerated from the previous changes.

include/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>
	* elf/arc-reloc.def: Fixed relocation formula for N*, SDA, SDA_12,
	SDA_16_LD*, S13_PCREL, N32_ME, SECTOFF_* relocations.
	* opcode/arc-func.h (replace_disp12s): Added. Used for SDA_12 relocation.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Several fixes related to ARC PIE support.
@ 2016-08-26 15:56 sergiodj+buildbot
  2016-08-27  1:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a36df4dcfa3cb89779e1a3eaca8067426e9cad6 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 8a36df4dcfa3cb89779e1a3eaca8067426e9cad6

Several fixes related to ARC PIE support.

Fixed conditions related to dynamic relocs relative offset patching.
Added arc_link_hash_table to be able to always generate and track
.rela.bss section.

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	* elf-bfd.h: Added ARC_ELF_DATA to enum elf_target_id.
	* elf32-arc.c (struct elf_arc_link_hash_entry): Added.
	(struct elf_arc_link_hash_table): Likewise.
	(elf_arc_link_hash_newfunc): Likewise.
	(elf_arc_link_hash_table_free): Likewise.
	(arc_elf_link_hash_table_create): Likewise.
	(elf_arc_relocate_section): Fixed conditions related to dynamic
	(elf_arc_check_relocs): Likewise.
	(arc_elf_create_dynamic_sections): Added
	(elf_arc_adjust_dynamic_symbol): Changed access to .rela.bss to be done
	through the hash table.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Content for TLS_IE_GOT not written to .got.
@ 2016-08-26 16:13 sergiodj+buildbot
  2016-08-26 19:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4dd72ffdfe254fec30fd5eab0c5fd4445df73529 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 4dd72ffdfe254fec30fd5eab0c5fd4445df73529

Content for TLS_IE_GOT not written to .got.

When no dynamic relocation was generated the .got content would not be
updated for the TLS_IE_GOT relocation addresses.

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	* arc-got.h (relocate_fix_got_relocs_for_got_info): Fixed addresses in
	debug comments. Fixed address in .got related to TLS_IE_GOT dynamic
	relocation.

ld/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	* testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
	* testsuite/ld-arc/tls_ie-01.d: Likewise


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fixed -init, -fini linker options.
@ 2016-08-26 16:28 sergiodj+buildbot
  2016-08-27  4:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 16:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65b94e90977efe3235381708f5a3e0d541026d88 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 65b94e90977efe3235381708f5a3e0d541026d88

Fixed -init, -fini linker options.

ARC was overloading this options by forcing DT_INIT AND DT_FINI
to always point to _init and _fini, respectively.

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synospsys.com>

	* elf32-arc.c (elf_arc_finish_dynamic_sections): Changed.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Dynamic TLS GOT entries would not be relocated.
@ 2016-08-26 17:24 sergiodj+buildbot
  2016-08-27  7:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 980aa3e6dfeb0f018915f65be4b2987667f31fe9 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 980aa3e6dfeb0f018915f65be4b2987667f31fe9

Dynamic TLS GOT entries would not be relocated.

Forgot to set should_relocate to TRUE in case of GOT and TLS relocations of
undefined symbols for shared libraries.
In dynamic libraries if symbol is not known the instruction relocation would
not be resolved to point to the respective .got entry.
A test was created to detect similar future mistakes.

bfd/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (elf_arc_relocate_section): Changed. Set should_relocate
	to TRUE for GOT and TLS relocs.

ld/ChangeLog:

Cupertino Miranda  <cmiranda@synopsys.com>

	* ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
	* ld/testsuite/ld-arc/tls_gd-01.d: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add missing ARMv8-M special registers
@ 2016-08-26 17:28 sergiodj+buildbot
  2016-08-27  9:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 17:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a336194b70b712074a3f5479a01cc221003a152 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 1a336194b70b712074a3f5479a01cc221003a152

Add missing ARMv8-M special registers

2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (v7m_psrs): Add MSPLIM, PSPLIM, MSPLIM_NS,
	PSPLIM_NS, PRIMASK_NS, BASEPRI_NS, FAULTMASK_NS, CONTROL_NS, SP_NS and
	their lowecase counterpart special registers.  Write register
	identifier in hex.
	* testsuite/gas/arm/archv8m-cmse-msr.s: Reorganize tests per
	operation, special register and then case.  Use different register for
	each operation.  Add tests for new special registers.
	* testsuite/gas/arm/archv8m-cmse-msr-base.d: Adapt expected result
	accordingly.
	* testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.

opcodes/
	* arm-dis.c (psr_name): Use hex as case labels.  Add detection for
	MSPLIM, PSPLIM, MSPLIM_NS, PSPLIM_NS, PRIMASK_NS, BASEPRI_NS,
	FAULTMASK_NS, CONTROL_NS and SP_NS special registers.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Reduce parameter list in bfd_elf32_arm_target_relocs
@ 2016-08-26 20:45 sergiodj+buildbot
  2016-08-29 15:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-26 20:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68c398921742291719d97f803891b5113874a22b ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 68c398921742291719d97f803891b5113874a22b

Reduce parameter list in bfd_elf32_arm_target_relocs

2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* bfd-in.h (struct elf32_arm_params): Define.
	(bfd_elf32_arm_set_target_relocs): Rename into ...
	(bfd_elf32_arm_set_target_params): This.  Use a struct
	elf32_arm_params to pass all parameters but the bfd and bfd_link_info.
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (bfd_elf32_arm_set_target_relocs): Rename into ...
	(bfd_elf32_arm_set_target_params): This.  Pass all values via a struct
	elf32_arm_params rather than as individual parameters.

ld/
	* emultempl/armelf.em (params): New static variable.
	(thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
	fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
	no_enum_size_warning, no_wchar_size_warning, pic_veneer,
	merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
	above new structure.
	(arm_elf_before_allocation): Access static variable from the params
	structure.
	(gld${EMULATION_NAME}_finish): Likewise.
	(arm_elf_create_output_section_statements): Likewise and pass the
	address of that structure to bfd_elf32_arm_set_target_relocs instead
	of the static variables.
	(PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
	structure.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] opcodes, gas: fix mnemonic of sparc camellia_fl
@ 2016-08-27  0:57 sergiodj+buildbot
  2016-08-29 15:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-27  0:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b8b65328f8825444a7370a7817f2802b0e1a7c9 ***

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

opcodes, gas: fix mnemonic of sparc camellia_fl

This patch fixes a typo in the mnemonic of the camellia_fl
instruction, which was implemented before as camellia_fi.

gas/ChangeLog:

2016-08-26  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* testsuite/gas/sparc/crypto.d: Rename invalid opcode camellia_fi
	to camellia_fl.
	* testsuite/gas/sparc/crypto.s: Likewise.

opcodes/ChangeLog:

2016-08-26  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sparc-opc.c (sparc_opcodes): Fix typo in opcode, camellia_fi ->
	camellia_fl.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
@ 2016-08-27  2:17 sergiodj+buildbot
  2016-08-27 15:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-27  2:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2abbbebcccf6c9403f8d6327e3fe3655acffbc1 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: c2abbbebcccf6c9403f8d6327e3fe3655acffbc1

2016-08-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (elf32_arm_get_stub_entry): Assert that we don't access
	passed the end of htab->stub_group array.
	(elf32_arm_create_or_find_stub_sec): Likewise.
	(elf32_arm_create_stub): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix commit 980aa3e6
@ 2016-08-27 12:09 sergiodj+buildbot
  2016-08-29 15:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-27 12:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a9e8e72fe88095043d16f8a56b5a1e150ee288b ***

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

Fix commit 980aa3e6

Commit 980aa3e6 was supposed to cure dyn_reloc counting problems, but
did the opposite.  For PIC we count two types of dyn_reloc, those on
pc-relative relocs, and the total.  If a sym needs pc-relative dyn
relocs then all the relocs are dynamic.  If not, then only those that
are must_be_dyn_reloc are dynamic.

	PR 20519
	* elf64-ppc.c (pc_dynrelocs): New function.
	(ppc64_elf_relocate_section): Use it and must_be_dyn_reloc to
	handle pic dynamic relocs.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Lack of SHF_GROUP sections result in ld segfault
@ 2016-08-27 13:37 sergiodj+buildbot
  2016-08-29 17:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-27 13:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53720c495c7c25f9b0f4bfce3269c6c8a7696522 ***

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

Lack of SHF_GROUP sections result in ld segfault

	PR 20520
	* elf.c (_bfd_elf_setup_sections): Check that SHT_GROUP sections
	have corresponding SHF_GROUP sections.
	(bfd_elf_set_group_contents): Comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb.base/default.exp regression
@ 2016-08-30  6:44 sergiodj+buildbot
  2016-08-30 12:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-30  6:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fac69100a7c1fb52b2e044294a858272bad4e46 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 7fac69100a7c1fb52b2e044294a858272bad4e46

gdb.base/default.exp regression

tty^M
(gdb) FAIL: gdb.base/default.exp: tty

gdb/testsuite/ChangeLog
2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.base/default.exp (tty): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] i386: Issue an error on non-PIC call to IFUNC in PIC object
@ 2016-08-30 16:56 sergiodj+buildbot
  2016-08-30 17:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-30 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74437ea28fb611d4c88077b486fd7c0a8b4c2a25 ***

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

i386: Issue an error on non-PIC call to IFUNC in PIC object

On i386, IFUNC function must be called via PLT.  Since PLT in PIC
object uses EBX register, R_386_PLT32 relocation must be used to
call IFUNC function even when IFUNC function is defined locally.
Linker should issue an error when R_386_PC32 relocation is used
to call IFUNC function.

Since PR ld/19784 tests doesn't use PLT relocation to local IFUNC
function, they are moved to the x86-64 test directory.

bfd/

	PR ld/14961
	PR ld/20515
	* elf32-i386.c (elf_i386_check_relocs): Issue an error when
	R_386_PC32 relocation is used to call IFUNC function in PIC
	object.

ld/

	PR ld/14961
	PR ld/20515
	* testsuite/ld-i386/i386.exp: Run pr20515.
	* testsuite/ld-i386/pr20515.d: New file.
	* testsuite/ld-i386/pr20515.s: Likewise.
	* testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
	function.
	* testsuite/ld-ifunc/ifunc-14c.s: Likewise.
	* testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
	* testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
	* testsuite/ld-x86-64/x86-64.exp: Here.
	* testsuite/ld-ifunc/pr19784a.c: Moved to ...
	* testsuite/ld-x86-64/pr19784a.c: Here.
	* testsuite/ld-ifunc/pr19784b.c: Moved to ...
	* testsuite/ld-x86-64/pr19784b.c: Here.
	* testsuite/ld-ifunc/pr19784c.c: Moved to ...
	* testsuite/ld-x86-64/pr19784c.c: Here.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ppc apuinfo for spe parsed incorrectly
@ 2016-08-30 18:41 sergiodj+buildbot
  2016-08-30 19:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-30 18:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8941017bc0226b60ce306d5271df15820ce66a53 ***

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

ppc apuinfo for spe parsed incorrectly

apuinfo saying SPE resulted in mach = bfd_mach_ppc_vle due to a
missing break.

	PR 20531
	* elf32-ppc.c (_bfd_elf_ppc_set_arch): Add missing "break".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix order of inferiors in "thread apply all"
@ 2016-08-31  4:17 sergiodj+buildbot
  2016-08-31  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-31  4:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5af962df4dda65216b83d0a954ea355296517f4b ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 5af962df4dda65216b83d0a954ea355296517f4b

Fix order of inferiors in "thread apply all"

This inserts missing parentheses in the calculation of the comparison
result between two different inferior numbers.  The problem was found by
Philipp Rudo.

gdb/ChangeLog:

	* thread.c (tp_array_compar): Insert missing parentheses.

gdb/testsuite/ChangeLog:

	* gdb.multi/tids.exp: Test "thread apply all".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fixed issue with NULL pointer access on header var.
@ 2016-08-31  5:42 sergiodj+buildbot
  2016-08-31 14:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-31  5:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7763838e991e4d17a24c4214db5144eefd515543 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: 7763838e991e4d17a24c4214db5144eefd515543

Fixed issue with NULL pointer access on header var.

Variable "header" in function is set conditionally, but was accessed without
verifying if pointer was NULL.

opcodes/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
	* opcodes/arc-dis.c (print_insn_arc): Changed.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC VLE sh_flags and p_flags
@ 2016-08-31 18:21 sergiodj+buildbot
  2016-08-31 18:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-31 18:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7d69005fb97f0d90c9eb414944a5035bfd67b36 ***

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

PowerPC VLE sh_flags and p_flags

ELF section sh_flags SHF_PPC_VLE was being set based on arch/mach,
which meant all code sections in an object file has the flag or all
lacked it.  We can do better than that.  Only those code sections
where VLE is enabled ought to have the flag, allowing an object file
to contain both VLE and non-VLE code.

Also, ELF header p_flags PF_PPC_VLE wasn't being set, and segments
were being split unnecessarily.

bfd/
	* elf32-ppc.c (ppc_elf_section_processing): Delete.
	(elf_backend_section_processing): Don't define.
	(ppc_elf_modify_segment_map): Set p_flags and mark valid.  Don't
	split on non-exec sections differing in SHF_PPC_VLE.  When
	splitting segments, mark size invalid.
gas/
	* config/tc-ppc.c (md_assemble): Set sh_flags for VLE.  Test
	ppc_cpu rather than calling ppc_mach to determine VLE mode.
	(ppc_frag_check, ppc_handle_align): Likewise use ppc_cpu.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC64, correct grouping of stubs for ld.bfd
@ 2016-08-31 19:13 sergiodj+buildbot
  2016-08-31 19:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-31 19:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09f92717713cfc7595b29caa3f017f88e7f7e279 ***

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

PowerPC64, correct grouping of stubs for ld.bfd

Like 57f6d32d, this patch ensures that sections containing external
conditional branches limit the group size.

	* elf64-ppc.c (group_sections): Delete stub14_group_size.  Instead,
	track max group size with a new "group_size" var that is reduced
	by a factor of 1024 from the 24-bit branch size whenever a 14-bit
	branch is seen.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix a typo in comment
@ 2016-08-31 20:01 sergiodj+buildbot
  2016-08-31 21:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-08-31 20:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f99bd5f2c1e6b545a0a6cfb3b13f79deea84098e ***

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

Fix a typo in comment

This patch replaces "keep things single" with "keep things simple".

gdb:

2016-08-31  Yao Qi  <yao.qi@linaro.org>

	* record-full.c (record_full_insert_breakpoint): Fix typo.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix lwp_suspend/unsuspend imbalance in linux_wait_1
@ 2016-09-01  7:16 sergiodj+buildbot
  2016-09-01  8:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-01  7:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3aa5cfa0d1cdbbd839884302535da28ca8c8b00d ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 3aa5cfa0d1cdbbd839884302535da28ca8c8b00d

Fix lwp_suspend/unsuspend imbalance in linux_wait_1

This patch fixes imbalanced lwp_suspend/unsuspend calls caused by the
premature choosing of another event for fairness.

select_event_lwp would switch the event before a call to
unsuspend_all_lwps, thus it would be called with the wrong event.

This caused an assertion failure: unsuspend LWP xx, suspended=-1 when
testing  gdb.threads/non-stop-fair-events.exp with ARM range stepping in
GDBServer.

This patch moves the switch of event after the unsuspend/unstop calls.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-native.

gdb/gdbserver/ChangeLog:

	* linux-low.c (linux_wait_1): Move event switch after unsuspend_lwps.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Don't treat .opd section specially when ELFv2
@ 2016-09-01 20:40 sergiodj+buildbot
  2016-09-01 21:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-01 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd285db582fb1bd59db01e3dc29511d08999d05b ***

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

Don't treat .opd section specially when ELFv2

Fixes a gdb segfault if a section named .opd is found in ELFv2 binaries.

	* elf64-ppc.c (synthetic_opd): New static var.
	(compare_symbols): Don't treat symbols in .opd specially for ELFv2.
	(ppc64_elf_get_synthetic_symtab): Likewise.  Comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] 2016-09-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
@ 2016-09-01 21:43 sergiodj+buildbot
  2016-09-01 23:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-01 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 424844864aa6f49c616b3bb74a0a5ba9bcb92e72 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 424844864aa6f49c616b3bb74a0a5ba9bcb92e72

2016-09-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (cmse_entry_fct_p): Store instruction encoding in an
	array of bytes and use bfd_get_16 to interpret its encoding according
	to endianness of target.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use target_continue{, _no_signal} instead of target_resume
@ 2016-09-02  9:02 sergiodj+buildbot
  2016-09-02 10:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-02  9:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 049a857091cff98371b5688140832a3cf767153c ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 049a857091cff98371b5688140832a3cf767153c

Use target_continue{,_no_signal} instead of target_resume

This commit implements a new function, target_continue, on top of the
target_resume function.  Then, it replaces all calls to target_resume
by calls to target_continue or to the already existing
target_continue_no_signal.

This is one of the (many) necessary steps needed to consolidate the
target interface between GDB and gdbserver.  In particular, I am
interested in the impact this change will have on the unification of
the fork_inferior function (which I have been working on).

Tested on the BuildBot, no regressions introduced.

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

	* server.c (start_inferior): New variable 'ptid'.  Replace calls
	to the_target->resume by target_continue{,_no_signal}, depending
	on the case.
	* target.c (target_stop_and_wait): Call target_continue_no_signal
	instead of the_target->resume.
	(target_continue): New function.

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

	* fork-child.c (startup_inferior): Replace calls to target_resume
	by target_continue{,_no_signal}, depending on the case.
	* linux-nat.c (cleanup_target_stop): Call
	target_continue_no_signal instead of target_resume.
	* procfs.c (procfs_wait): Likewise.
	* target.c (target_continue): New function.
	* target/target.h (target_continue): New prototype.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Share target_wait prototype between GDB and gdbserver
@ 2016-09-02 14:53 sergiodj+buildbot
  2016-09-02 16:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-02 14:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2b9e3dfd4bc3c5149496fdbeaa5f0907220685f ***

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

Share target_wait prototype between GDB and gdbserver

This commit moves the target_wait prototype from the GDB-specific
target.h header to the common target/target.h header.  Then, it
creates a compatible implementation of target_wait on gdbserver using
the_target->wait, and adjusts the (only) caller (mywait function).

Pretty straightforward, no regressions introduced.

gdb/gdbserver/ChangeLog:
2016-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (mywait): Call target_wait instead of
	the_target->wait.
	(target_wait): New function.

gdb/ChangeLog:
2016-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (target_wait): Mention that the function's prototype
	can be found at target/target.h.
	* target.h (target_wait): Move prototype from here...
	* target/target.h (target_wait): ... to here.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Detect broken ptrace in gdb_skip_float_test
@ 2016-09-02 17:12 sergiodj+buildbot
  2016-09-02 18:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-02 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 27aba0477a4818fd760accd5b29a210d0ade2f42 ***

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

Detect broken ptrace in gdb_skip_float_test

We recently found a ARM kernel ptrace bug
http://lists.infradead.org/pipermail/linux-arm-kernel/2016-May/431962.html
Details can be found in the comment in gdb_skip_float_test.  We can
skip floating point tests if the kernel bug is detected.

This patch adds more code in gdb_skip_float_test to detect the broken
ptrace on arm-linux.  Such detection should be done at the beginning
of the test, because it starts a fresh GDB, so change the test cases
to invoke gdb_skip_float_test at the beginning of test, and use its
return value afterwards.

Since gdb_skip_float_test becomes a gdb_caching_proc, so it can't
have an argument, this patch also removes argument "msg", which isn't
useful.

gdb/testsuite:

2016-09-02  Yao Qi  <yao.qi@linaro.org>

	* gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
	true.
	* gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
	* gdb.base/call-rt-st.exp: Likewise.
	* gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
	return value instead of gdb,skip_float_test.
	* gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
	(do_function_calls): Use its return value instead of
	gdb,skip_float_test.
	* gdb.base/finish.exp: Likewise.
	* gdb.base/funcargs.exp: Likewise.
	* gdb.base/return.exp: Likewise.
	* gdb.base/return2.exp: Likewise.
	* gdb.base/varargs.exp: Likewise.
	* lib/gdb.exp (gdb_skip_float_test): Change it to
	gdb_caching_proc.  Detect the broken ptrace on arm-linux.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Skip floating point tests in return-nodebug.exp if gdb_skip_float_test is true
@ 2016-09-02 19:40 sergiodj+buildbot
  2016-09-02 20:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-02 19:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae9cf263fdd47c30b997fcf4627609df77ca64c1 ***

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

Skip floating point tests in return-nodebug.exp if gdb_skip_float_test is true

return-nodebug.exp does the test for various types, but we shouldn't
test with floating point type if gdb_skip_float_test returns true.

gdb/testsuite:

2016-09-02  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/return-nodebug.exp: Skip the test if	skip_float_test
	is true and $type is "float" or "double".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [GDBserver] Replace "reinsert_breakpoint" with "single_step_breakpoint"
@ 2016-09-02 22:03 sergiodj+buildbot
  2016-09-03 12:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-02 22:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b9a79ef767f0e7f8c5fecd7eea920f20084d3d4 ***

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

[GDBserver] Replace "reinsert_breakpoint" with "single_step_breakpoint"

reinsert_breakpoint is used for software single step, so it is more
clear to rename it to single_step_breakpoint.  This was pointed out in
the review https://sourceware.org/ml/gdb-patches/2016-05/msg00429.html
I don't rename "other_breakpoint" in this patch.

gdb/gdbserver:

2016-09-02  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c: Replace "reinsert_breakpoints" with
	"single_step_breakpoints".  Replace "reinsert breakpoints"
	with "single-step breakpoints".
	* mem-break.c: Likewise.
	* mem-break.h: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Handle DW_OP_form_tls_address
@ 2016-09-03 12:46 sergiodj+buildbot
  2016-09-05 19:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-03 12:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4aa4e28bdcf5f0d733def62b542fea11d5f219d5 ***

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

Handle DW_OP_form_tls_address

Currently gdb supports DW_OP_GNU_push_tls_address, but not
DW_OP_form_tls_address.  I think it would be better if the toolchain
as a whole moved to using the standard opcode, and the prerequisite to
this is getting gdb to recognize it.

GCC can sometimes emit DW_OP_form_tls_address for emultls targets.  As
far as I know, nobody has ever tried this with gdb (since it wouldn't
work at all).

I don't think there's a major drawback to using a single opcode for
all targets, because computing the location of a thread-local is
already target specific.

This is PR gdb/11616.

I don't know how to write a test case for this; though it's worth
noting that there aren't explicit tests for DW_OP_GNU_push_tls_address
either -- and if I change GCC, these paths will be tested to the same
extent they are now.

2016-09-02  Tom Tromey  <tom@tromey.com>

	PR gdb/11616:
	* dwarf2read.c (decode_locdesc): Handle DW_OP_form_tls_address.
	* dwarf2loc.c (dwarf2_compile_expr_to_ax): Handle
	DW_OP_form_tls_address.
	(locexpr_describe_location_piece): Likewise.
	* dwarf2expr.h (struct dwarf_expr_context_funcs): Update comment.
	* dwarf2expr.c (execute_stack_op): Handle DW_OP_form_tls_address.
	(ctx_no_get_tls_address): Mention DW_OP_form_tls_address.
	* compile/compile-loc2c.c (struct insn_info): Update comment.
	(compute_stack_depth_worker): Handle DW_OP_form_tls_address.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Removed redundant line remote-utils.c
@ 2016-09-05 19:41 sergiodj+buildbot
  2016-09-05 21:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-05 19:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1da6748f560ec19173d5d7766e0d497e8a0f1e4 ***

Author: Akash Trehan <akash.trehan123@gmail.com>
Branch: master
Commit: c1da6748f560ec19173d5d7766e0d497e8a0f1e4

Removed redundant line remote-utils.c

2016-09-02  Akash Trehan  <akash.trehan123@gmail.com>

gdb/gdbserver/ChangeLog:
    PR gdb/19495
    * remote-utils.c (relocate_instruction): Remove redundant strcpy()
    call writing data to own_buf.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR19927: Avoid unwinder recursion if sniffer uses calls parse_and_eval
@ 2016-09-06  8:12 sergiodj+buildbot
  2016-09-06  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06  8:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f245535cf583ae4ca13b10d47b3c7d3334593ece ***

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

Fix PR19927: Avoid unwinder recursion if sniffer uses calls parse_and_eval

This fixes the problem exercised by Kevin's test at:

 https://sourceware.org/ml/gdb-patches/2016-08/msg00216.html

This was originally exposed by the OpenJDK Python-based unwinder.

If an unwinder attempts to call parse_and_eval from within its
sniffing method, GDB's unwinding machinery enters infinite recursion.
However, parse_and_eval is a pretty reasonable thing to call, because
Python/Scheme-based unwinders will often need to read globals out of
inferior memory.  The recursion happens because:

- get_current_frame() is called soon after the target stops.

- current_frame is NULL, and so we unwind it from the sentinel frame
  (which is special and has level == -1).

- We reach get_prev_frame_if_no_cycle, which does cycle detection
  based on frame id, and thus tries to compute the frame id of the new
  frame.

- Frame id computation requires an unwinder, so we go through all
  unwinder sniffers trying to see if one accepts the new frame (the
  current frame).

- the unwinder's sniffer calls parse_and_eval().

- parse_and_eval depends on the selected frame/block, and if not set
  yet, the selected frame is set to the current frame.

- get_current_frame () is called again.  current_frame is still NULL,
  so ...

- recurse forever.


In Kevin's test at:

 https://sourceware.org/ml/gdb-patches/2016-08/msg00216.html

gdb doesn't recurse forever simply because the Python unwinder
contains code to detect and stop the recursion itself.  However, GDB
goes downhill from here, e.g., by showing the sentinel frame as
current frame (note the -1):

    Breakpoint 1, ccc (arg=<unavailable>) at py-recurse-unwind.c:23
    23      }
    (gdb) bt
    #-1 ccc (arg=<unavailable>) at py-recurse-unwind.c:23
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)

That "-1" frame level comes from this:

      if (catch_exceptions (current_uiout, unwind_to_current_frame,
			    sentinel_frame, RETURN_MASK_ERROR) != 0)
	{
	  /* Oops! Fake a current frame?  Is this useful?  It has a PC
             of zero, for instance.  */
	  current_frame = sentinel_frame;
	}

which is bogus.  It's never correct to set the current frame to the
sentinel frame.  The only reason this has survived so long is that
getting here normally indicates something wrong has already happened
before and we fix that.  And this case is no exception -- it doesn't
really matter how precisely we managed to get to that bogus code (it
has to do with the the stash), because anything after recursion
happens is going to be invalid.

So the fix is to avoid the recursion in the first place.

Observations:

 #1 - The recursion happens because we try to do cycle detection from
      within get_prev_frame_if_no_cycle.  That requires computing the
      frame id of the frame being unwound, and that itself requires
      calling into the unwinders.

 #2 - But, the first time we're unwinding from the sentinel frame,
      when we reach get_prev_frame_if_no_cycle, there's no frame chain
      at all yet:

      - current_frame is NULL.
      - the frame stash is empty.

Thus, there's really no need to do cycle detection the first time we
reach get_prev_frame_if_no_cycle, when building the current frame.

So we can break the recursion by making get_current_frame call a
simplified version of get_prev_frame_if_no_cycle that results in
setting the current_frame global _before_ computing the current
frame's id.

But, we can go a little bit further.  As there's really no reason
anymore to compute the current frame's frame id immediately, we can
defer computing it to when some caller of get_current_frame might need
it.  This was actually how the frame id was computed for all frames
before the stash-based cycle detection was added.  So in a way, this
patch reintroduces the lazy frame id computation, but unlike before,
only for the case of the current frame, which turns out to be special.

This lazyness, however, requires adjusting
gdb.python/py-unwind-maint.exp, because that assumes unwinders are
immediately called as side effect of some commands.  I didn't see a
need to preserve the behavior expected by that test (all it would take
is call get_frame_id inside get_current_frame), so I adjusted the
test.

gdb/ChangeLog:
2016-09-05  Pedro Alves  <palves@redhat.com>

	PR backtrace/19927
	* frame.c (get_frame_id): Compute the frame id if not computed
	yet.
	(unwind_to_current_frame): Delete.
	(get_current_frame): Use get_prev_frame_always_1 to get the
	current frame and assert that that always succeeds.
	(get_prev_frame_if_no_cycle): Skip cycle detection if returning
	the current frame.

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

	PR backtrace/19927
	* gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
	unwinders are immediately called as side effect of "source" or
	"disable unwinder" commands.
	* gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb/: Require a C++ compiler
@ 2016-09-06 16:28 sergiodj+buildbot
  2016-09-06 17:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 16:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf6de44d75082116865a85cbf94db2632b679361 ***

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

gdb/: Require a C++ compiler

This removes all support for building gdb & gdbserver with a C
compiler from gdb & gdbserver's build machinery.

gdb/ChangeLog:
2016-09-05  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that a C++ compiler is now required.
	* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
	(COMPILE.pre, CC_LD): Use CXX directly.
	(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
	* acinclude.m4: Don't include build-with-cxx.m4.
	* build-with-cxx.m4: Delete file.
	* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
	* warning.m4: Assume $enable_build_with_cxx is yes.
	* configure: Regenerate.

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

	* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
	(COMPILE.pre, CC_LD): Use CXX directly.
	(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
	* acinclude.m4: Don't include build-with-cxx.m4.
	* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix PR ld/20545 - relaxation bugs in avr backend
@ 2016-09-06 18:00 sergiodj+buildbot
  2016-09-06 18:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 18:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf1865065f64af2f32798c0327143baf99634e8d ***

Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Branch: master
Commit: bf1865065f64af2f32798c0327143baf99634e8d

Fix PR ld/20545 - relaxation bugs in avr backend

Prior to the patch, addends for relocs were being adjusted even if
they went beyond an alignment boundary. This is wrong - to
preserve alignment constraints, the relaxation logic adds as many padding
bytes at the alignment boundary as was deleted, so addends beyond the
boundary should not be adjusted. avr-prop-7.s reproduces this
scenario.

Also, prior to this patch, the relaxation logic assumed that the addr
parameter pointed to the middle of the instruction to be deleted, and
that addr - count would therefore be the shrinked instruction's
address. This is true when actually shrinking instructions.

The alignment constraints handling logic also invokes the same logic
though, with addr as the starting offset of padding bytes and
with count as the number of bytes to be deleted. Calculating the
shrinked insn's address as addr - count is obviously wrong in this
case - that offset would point to count bytes before the last
non-padded byte. avr-prop-8.s reproduces this scenario.

To fix scenario 1, the patch adds an additional check to ensure reloc addends
aren't adjusted if they cross a shrink boundary. The shrink boundary
is either the section size or an alignment boundary. Addends pointing
at an alignment boundary don't need to be adjusted, as padding would
occur and keep the boundary the same. Addends pointing at section size
need to be adjusted though, as no padding occurs and the section size
itself would get decremented. The patch records whether padding
occured (did_pad) and uses that to detect and handle this condition.

To fix scenario 2, the patch adds an additional parameter
(delete_shrinks_insn) to elf32_avr_relax_delete_bytes to distinguish
instruction bytes deletion from padding bytes deletion. It then uses that to
correctly set shrinked_insn_address.

bfd/ChangeLog:

2016-09-02  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	PR ld/20545
	* elf32-avr.c (elf32_avr_relax_delete_bytes): Add parameter
	delete_shrinks_insn. Modify computation of shrinked_insn_address.
	Compute shrink_boundary and adjust addend only if
	addend_within_shrink_boundary.
	(elf32_avr_relax_section): Modify calls to
	elf32_avr_relax_delete_bytes to pass extra parameter.

ld/ChangeLog:

2016-09-02  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

	PR ld/20545
	* testsuite/ld-avr/avr-prop-7.d: New test.
	* testsuite/ld-avr/avr-prop-7.s: New test.
	* testsuite/ld-avr/avr-prop-8.d: New test.
	* testsuite/ld-avr/avr-prop-8.s: New test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix typo in ada_language_arch_info
@ 2016-09-06 18:54 sergiodj+buildbot
  2016-09-06 19:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 18:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f3bceb68dd211be977eb61d5f1ea68e7de51b7a ***

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

Fix typo in ada_language_arch_info

This fixes a bug introduced by a wrong replacement here:
https://sourceware.org/ml/gdb-patches/2007-06/msg00196.html

The Ada "long_long_float" type is supposed to correspond to the
platform ABI long double type, not double.

gdb/ChangeLog:

	* ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit
	instead of gdbarch_double_bit for "long_long_float".

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix TYPE_SPECIFIC_FIELD for types created via arch_type
@ 2016-09-06 19:59 sergiodj+buildbot
  2016-09-06 22:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 19:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae438bc5c06b770c00f37e4ed244707ce3ab9ff4 ***

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

Fix TYPE_SPECIFIC_FIELD for types created via arch_type

A type's TYPE_SPECIFIC_FIELD is supposed to be initialized as appropriate
for the type code.  This does happen if the type is created via init_type,
but not if it created via arch_type.

Fixed by extracting the initialization logic into a new set_type_code
routine, which is then called from both places.

gdb/ChangeLog:

	* gdbtypes.c (set_type_code): New function.
	(init_type, arch_type): Use it.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add some missing arch_..._type helpers
@ 2016-09-06 20:46 sergiodj+buildbot
  2016-09-07  0:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 20:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88dfca6c43c11dea69db24cfb87e6821e63e29b2 ***

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

Add some missing arch_..._type helpers

gdbtypes provides a number of helper routines that can be called instead of
using arch_type directly to create a type of a particular kind.  This patch
adds two additional such routines that have been missing so far, to allow
creation of TYPE_CODE_DECFLOAT and TYPE_CODE_POINTER types.

The patch also changes a number of places to use the new helper routines
instead of calling arch_type directly.  No functional change intended.

gdb/ChangeLog:

	* gdbtypes.h (arch_decfloat_type): New prototype.
	(arch_pointer_type): Likewise.
	* gdbtypes.c (arch_decfloat_type): New function.
	(arch_pointer_type): Likewise.
	(gdbtypes_post_init): Use arch_decfloat_type.
	* avr-tdep.c (avr_gdbarch_init): Use arch_pointer_type.
	* ft32-tdep.c (ft32_gdbarch_init): Likewise.
	* m32c-tdep.c (make_types): Likewise.
	* rl78-tdep.c (rl78_gdbarch_init): Likewise.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Unify init_type and arch_type interface and helpers
@ 2016-09-06 21:12 sergiodj+buildbot
  2016-09-07  1:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 21:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 19f392bc2a93d9e64d063b884cd6eca547c8dad0 ***

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

Unify init_type and arch_type interface and helpers

This adds a number of helper routines for creating objfile-owned types;
these correspond 1:1 to the already existing helper routines for creating
gdbarch-owned types, and are intended to be used instead of init_type.
A shared fragment of init_float_type and arch_float_type is extracted into
a separate subroutine verify_subroutine.

The commit also brings the interface of init_type in line with the one for
arch_type.  In particular, this means removing the FLAGS argument; callers
now set the required flags directly.  (Since most callers use the new
helper routines, very few callers actually need to set any additional
flags directly any more.)

Note that this means all the TYPE_FLAGS_... defined are no longer needed
anywhere; they will be removed by a follow-on commit.

All users of init_type are changed to use on of the new helpers where
possible.  No functional change intended.

gdb/ChangeLog:

	* gdbtypes.h (init_type): Remove FLAGS argument.  Move OBJFILE
	argument to first position.
	(init_integer_type): New prototype.
	(init_character_type): Likewise.
	(init_boolean_type): Likewise.
	(init_float_type): Likewise.
	(init_decfloat_type): Likewise.
	(init_complex_type): Likewise.
	(init_pointer_type): Likewise.
	* gdbtypes.c (verify_floatflormat): New function.
	(init_type): Remove FLAGS argument and processing.  Move OBJFILE
	argument to first position.
	(init_integer_type): New function.
	(init_character_type): Likewise.
	(init_boolean_type): Likewise.
	(init_float_type): Likewise.
	(init_decfloat_type): Likewise.
	(init_complex_type): Likewise.
	(init_pointer_type): Likewise.
	(arch_float_type): Use verify_floatflormat.
	(objfile_type): Use init_..._type helpers instead of calling
	init_type directly.
	* dwarf2read.c (fixup_go_packaging): Update to changed init_type
	prototype.
	(read_namespace_type): Likewise.
	(read_module_type): Likewise.
	(read_typedef): Likewise.
	(read_unspecified_type): Likewise.
	(build_error_marker_type): Likewise.
	(read_base_type): Use init_..._type helpers.
	* mdebugread.c (basic_type): Use init_..._type helpers.
	(parse_type): Update to changed init_type prototype.
	(cross_ref): Likewise.
	* stabsread.c (rs6000_builtin_type): Use init_..._type helpers.
	(read_sun_builtin_type): Likewise.
	(read_sun_floating_type): Likewise.
	(read_range_type): Likewise.  Also update to changed init_type
	prototype.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove obsolete TYPE_FLAG_... values
@ 2016-09-06 22:01 sergiodj+buildbot
  2016-09-07  7:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a9ff5f12cff6cd06f74ecf387ac5468984c94c6f ***

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

Remove obsolete TYPE_FLAG_... values

Now that init_type no longer takes a FLAGS argument, there is no user of
the TYPE_FLAGS_... enum values left.  This commit removes them (and all
references to them in comments as well).

This is mostly a no-op, except for a change to the Python type printer,
which attempted to use them before.  (As best as I can tell, this wasn't
really needed anyway, since it was only used to pretty-print type
*instance* flags, which only use the instance flags.)

gdb/ChangeLog:

	* gdbtypes.h (enum type_flag_value): Remove.
	Remove references to TYPE_FLAG_... in comments throughout.
	* gdbtypes.c (recursive_dump_type): Do not print TYPE_FLAG_...
	flags, print the corresponding TYPE_... access macro names.
	Remove references to TYPE_FLAG_... in comments throughout.
	* infcall.c: Remove references to TYPE_FLAG_... in comments.
	* valprint.c: Likewise.
	* gdb-gdb.py (class TypeFlag): No longer consider TYPE_FLAG_...
	values, only TYPE_INSTANCE_FLAG_... values.
	(class TypeFlagsPrinter): Likewise.

gdb/testsuite/ChangeLog:

	* gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove TYPE_NOSIGN "char" hack
@ 2016-09-06 23:33 sergiodj+buildbot
  2016-09-07  9:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 23:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c413c44801e449f1f0b9828b81770e752b8219af ***

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

Remove TYPE_NOSIGN "char" hack

init_type (and arch_integer_type) currently use a special hack to set the
TYPE_NOSIGN flag if the type name is exactly "char".  This commit moves the
hack up to the callers of those routines.

The special case currently can hit only for types created from dwarf2read,
but read_base_type actually implements the "char" check itself, so it is
redundant to do it in init_type as well.  (Note that stabsread.c and the
other type readers always pass NULL as name to init_type, so the special
case can never hit for those.)

A few other cases create pre-definded types with a hard-coded name of "char";
the commit simply moves setting the TYPE_NOSIGN flag to those places.

No functional change intended.

gdb/ChangeLog:

	* gdbtypes.c (init_type): Remove "char" special case.
	(arch_integer_type): Likewise.
	(gdbtypes_post_init): Set TYPE_NOSIGN for "char" type.
	(objfile_type): Likewise.
	* mdebugread.c (basic_type): Likewise.
	* stabsread.c (rs6000_builtin_type): Likewise.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add missing format for built-in floating-point types
@ 2016-09-06 23:37 sergiodj+buildbot
  2016-09-07 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-06 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49f190bcb7f074ea2e27d4e967e4fae9ed7dafb6 ***

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

Add missing format for built-in floating-point types

Many callers of init_float_type and arch_float_type still pass a NULL
floatformat.  This commit changes those callers where the floatformat
that is supposed to be use is obvious.  There are two categories where
this is the case:

- A number of built-in types are intended to match the platform ABI
  floating-point types (i.e. types that use gdbarch_float_bit etc.).
  Those places should use the platform ABI floating-point formats
  defined via gdbarch_float_format etc.

- A number of language built-in types should simply use IEEE floating-
  point formats, since the language actually defines that this is the
  format that must be used to implement floating-point types for this
  language.  (This affects Java, Go, and Rust.)  The same applies for
  to the predefined "RS/6000" stabs floating-point built-in types.

gdb/ChangeLog:

	* ada-lang.c (ada_language_arch_info): Use gdbarch-provided
	platform ABI floating-point formats for built-in types.
	* d-lang.c (build_d_types): Likewise.
	* f-lang.c (build_fortran_types): Likewise.
	* m2-lang.c (build_m2_types): Likewise.
	* mdebugread.c (basic_type): Likewise.

	* go-lang.c (build_go_types): Use IEEE floating-point formats
	for language built-in types as mandanted by the language.
	* jv-lang.c (build_java_types): Likewise.
	* rust-lang.c (rust_language_arch_info): Likewise.
	* stabsread.c (rs6000_builtin_type): Likewise.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add gdbarch callback to provide formats for debug info float types
@ 2016-09-07  0:07 sergiodj+buildbot
  2016-09-07 16:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07  0:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b790ce7227fa346d08a41462119e9a3e93f5e80 ***

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

Add gdbarch callback to provide formats for debug info float types

At this point, all TYPE_CODE_FLT types carry their floating-point format,
except for those creating from reading DWARF or stabs debug info.  Those
will be addressed by this commit.

The main issue here is that we actually have to determine which floating-
point format to use.  Currently, we only have the type length as input
to this decision.  In the future, we may hopefully get --at least in
DWARF-- additional information to help disambiguate multiple different
formats of the same length.  For now, we can still look at the type name
as a hint.

This decision logic is encapsulated in a gdbarch callback to allow
platform-specific overrides.  The default implementation use the same
logic (compare type length against the various gdbarch_..._bit sizes)
that is currently implemented in floatformat_from_length.

With this commit, all platforms still use the default logic, so there
should be no actual change in behavior.  A follow-on commit will add
support for __float128 on Intel and Power.

Once dwarf2read.c and stabsread.c make use of the new callback to
determine floating-point formats, we're now sure every TYPE_CODE_FLT
type will always carry its format.  The commit therefore adds asserts
to verify_floatformat to ensure new code will continue to always
provide formats, and removes the code in floatformat_from_type that
used to handle types with a NULL TYPE_FLOATFORMAT.

gdb/ChangeLog:

	* gdbarch.sh (floatformat_for_type): New gdbarch callback.
	* gdbarch.h, gdbarch.c: Re-generate.
	* arch-utils.h (default_floatformat_for_type): New prototype.
	* arch-utils.c (default_floatformat_for_type): New function.

	* doublest.c (floatformat_from_length): Remove.
	(floatformat_from_type): Assume TYPE_FLOATFORMAT is non-NULL.
	* gdbtypes.c (verify_floatformat): Require non-NULL format.

	* dwarf2read.c (dwarf2_init_float_type): New function.
	(read_base_type): Use it.
	* stabsread.c (dbx_init_float_type): New function.
	(read_sun_floating_type): Use it.
	(read_range_type): Likewise.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Support 128-bit IEEE floating-point types on Intel and Power
@ 2016-09-07  0:39 sergiodj+buildbot
  2016-09-07 17:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00d5215ecec4fa0a78dcc37fec9425593753eb66 ***

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

Support 128-bit IEEE floating-point types on Intel and Power

Now that all the prerequisites are in place, this commit finally adds support
for handling the __float128 type on Intel and Power, by providing appropriate
platform-specific versions of the floatformat_for_type callback.

Since at this point we do not yet have any indication in the debug info to
distinguish different floating-point formats of the same length, we simply
use the type name as hint.  Types named "__float128" get the IEEE format.
In addition to handling "__float128" itself, we also recognize "_Float128"
and (on Power) "_Float64x", as well as the complex versions of those.
(As pointed out by Joseph Myers, starting with GCC 7, __float128 is just
a typedef for _Float128 -- but it's good to handle this anyway.)

A new test case does some simple verification that the format is decoded
correctly, using both __float128 and "long double" to make sure using both
in the same file still works.  Another new test verifies handling of the
_FloatN and _FloatNx types supported by GCC 7, as well as the complex
versions of those types.

Note that this still only supports basic format decoding and encoding.
We do not yet support the GNU extension 'g' suffix for __float128 constants.
In addition, since all *arithmetic* on floating-point values is still
performed in native host "long double" arithmetic, if that format is not
able to encode all target __float128 values, we may get incorrect results.
(To fix this would require implementing fully synthetic target floating-
point arithmetic along the lines of GCC's real.c, presumably using MPFR.)

gdb/ChangeLog:

	* i386-tdep.c (i386_floatformat_for_type): New function.
	(i386_gdbarch_init): Install it.
	* ppc-linux-tdep.c (ppc_floatformat_for_type): New function.
	(ppc_linux_init_abi): Install it.

gdb/testsuite/ChangeLog:

	* gdb.base/float128.c: New file.
	* gdb.base/float128.exp: Likewise.
	* gdb.base/floatn.c: Likewise.
	* gdb.base/floatn.exp: Likewise.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Resolve size relocation with copy relocation
@ 2016-09-07  1:30 sergiodj+buildbot
  2016-09-07 18:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07  1:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d8457a04b71cbd642a00352dce0539fe1fe22dd4 ***

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

Resolve size relocation with copy relocation

We can resolve size relocation against symbol which needs copy relocation
when building executable.

bfd/

	PR ld/20550
	* elf64-x86-64.c (elf_x86_64_relocate_section): Resolve size
	relocation with copy relocation when building executable.

ld/

	PR ld/20550
	* testsuite/ld-x86-64/pr20550a.s: New file.
	* testsuite/ld-x86-64/pr20550b.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
	PR ld/20550.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Introduce make_cleanup_restore_current_ui
@ 2016-09-07  5:56 sergiodj+buildbot
  2016-09-08 22:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07  5:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a025b477cc466112af0b120c5f2bf5d62a62017e ***

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

Introduce make_cleanup_restore_current_ui

Just a tidy, no functional changes.

gdb/ChangeLog:
2016-09-06  Pedro Alves  <palves@redhat.com>

	* event-top.c (restore_ui_cleanup): Now static.
	(make_cleanup_restore_current_ui): New function.
	(switch_thru_all_uis_init): Use it.
	* infcall.c (call_thread_fsm_should_stop): Use it.
	* infrun.c (fetch_inferior_event): Use it.
	* top.c (new_ui_command): Use it.
	* top.h (restore_ui_cleanup): Delete declaration.
	(make_cleanup_restore_current_ui): New declaration.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] new-ui command: gdb internal errors if input is already pending
@ 2016-09-07  7:09 sergiodj+buildbot
  2016-09-08 22:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07  7:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4295e285efa8193504ee08b9f633d9f8680bf181 ***

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

new-ui command: gdb internal errors if input is already pending

I noticed that if input is already pending on the new-ui TTY, gdb
internal-errors.

E.g., create /dev/pts/2, and type anything there (even just <return>
is sufficient).

Now start GDB creating a new UI on that TTY, while at the same time,
running a synchronous execution command.  Something like:

$ gdb program -ex "new-ui console /dev/pts/2" -ex "start"

Back on /dev/pts/2, we get:

  (gdb) .../src/gdb/event-top.c:360: internal-error: double prompt
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.

While the main UI was waiting for "start" to finish, gdb kepts pumping
events, including the input fd of the extra console.  The problem is
that stdin_event_handler doesn't restore the current UI back to what
it was, assuming that it's only ever called from the top level event
loop.  However, in this case, it's being called from the nested event
loop from within maybe_wait_sync_command_done.

When finally the "start" command is done, we reach the code that
prints the prompt in the main UI, just before starting the main event
loop.  Since now the current UI is pointing at the extra console (by
mistake), we find ourselves printing a double prompt on the extra
console.  This is caught by the assertion that fails, as shown above.

Since other event handlers also don't restore the UI (e.g., signal
event handlers), I think it's better if whatever is pumping events to
take care to restore the UI, if it cares.  That's what this patch
does.  New test included.

gdb/ChangeLog:
2016-09-06  Pedro Alves  <palves@redhat.com>

	* top.c (wait_sync_command_done): Don't assume current_ui doesn't
	change across events.  Restore the current UI before returning.
	(gdb_readline_wrapper): Restore the current UI before returning.

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

	* gdb.base/new-ui-pending-input.c: New file.
	* gdb.base/new-ui-pending-input.exp: New file.
	* gdb.exp (clear_gdb_spawn_id): New procedure.
	(with_spawn_id): Check whether gdb_spawn_id exists before
	referencing it.  If gdb_spawn_id didn't exist on entry, clear it
	on exit.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [arm] Automatically enable CRC instructions on supported ARMv8-A CPUs.
@ 2016-09-07 21:00 sergiodj+buildbot
  2016-09-09 18:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-07 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 27e5a270962fb92c07e7d476966ba380fa3bb68e ***

Author: Richard Earnshaw <Richard.Earnshaw@arm.com>
Branch: master
Commit: 27e5a270962fb92c07e7d476966ba380fa3bb68e

[arm] Automatically enable CRC instructions on supported ARMv8-A CPUs.

2016-09-07  Richard Earnshaw  <rearnsha@arm.com>

	* opcode/arm.h (ARM_ARCH_V8A_CRC): New architecture.

2016-09-07  Richard Earnshaw  <rearnsha@arm.com>

	* config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
	ARMv8-A CPUs except xgene1.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] X86: Allow additional ISAs for IAMCU in assembler
@ 2016-09-08  0:06 sergiodj+buildbot
  2016-09-09 18:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-08  0:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b64d091e9ede49e402cb9697d35a40559ee7ff0 ***

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

X86: Allow additional ISAs for IAMCU in assembler

Originally only Pentium integer instructions are allowed for IAMCU.
This patch removes such a restriction.  For example, 387 and SSE2
instructions can be enabled by passing "-march=iamcu+sse2+387" to
assembler.

gas/

	* config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
	(set_cpu_arch): Updated.
	(md_parse_option): Likewise.
	* testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5.  Remove
	iamcu-inval-2 and iamcu-inval-3.
	* testsuite/gas/i386/iamcu-4.d: New file.
	* testsuite/gas/i386/iamcu-4.s: Likewise.
	* testsuite/gas/i386/iamcu-5.d: Likewise.
	* testsuite/gas/i386/iamcu-5.s: Likewise.
	* testsuite/gas/i386/iamcu-inval-2.l: Removed.
	* testsuite/gas/i386/iamcu-inval-2.s: Likewise.
	* testsuite/gas/i386/iamcu-inval-3.l: Likewise.
	* testsuite/gas/i386/iamcu-inval-3.s: Likewise.

opcodes/

	* i386-gen.c (cpu_flag_init): Remove CPU_IAMCU_COMPAT_FLAGS.
	* i386-init.h: Regenerated.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove some unneeded casts from remote.c
@ 2016-09-10 20:57 sergiodj+buildbot
  2016-09-10 21:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-10 20:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5c4fcd9712f516e2b5cfb8ad2464f0d5dfcc61b ***

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

Remove some unneeded casts from remote.c

I happened to notice a few unneeded casts in remote.c.  In some cases
these are no-ops, and in others these cast away const, but in a context
where this is not needed.

I'm checking this in under the obvious rule.
Tested by rebuilding on x86-64 Fedora 24.

2016-09-08  Tom Tromey  <tom@tromey.com>

	* remote.c (remote_notif_stop_ack, remote_wait_as)
	(show_remote_cmd): Remove unneeded casts.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Pass HWCAP to ifunc resolver
@ 2016-09-10 23:25 sergiodj+buildbot
  2016-09-11 19:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-10 23:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e1b2624a08fae1f669d879946d5041945b4dc248 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: e1b2624a08fae1f669d879946d5041945b4dc248

Pass HWCAP to ifunc resolver

On various GNU Elf architectures, including AArch64, ARM, s390/s390x,
ppc32/64, and sparc32/64, the dynamic loader passes HWCAP as a parameter
to each ifunc resolver.  Currently there is an open glibc Bugzilla that
requests this to be generalized to all architectures:

  https://sourceware.org/bugzilla/show_bug.cgi?id=19766

And various ifunc resolvers already rely on receiving HWCAP.  Currently
GDB always calls an ifunc resolver without any arguments; thus the
resolver may receive garbage, and based on that, the resolver may decide
to return a function that is not suited for the given platform.

This patch always passes HWCAP to ifunc resolvers, even on systems where
the dynamic loader currently behaves otherwise.  The rationale is
that (1) the dynamic loader may get adjusted on those systems as well in
the future; (2) passing an unused argument should not cause a problem
with existing resolvers; and (3) the logic is much simpler without such
a distinction.

gdb/ChangeLog:

	* elfread.c (auxv.h): New include.
	(elf_gnu_ifunc_resolve_addr): Pass HWCAP to ifunc resolver.

gdb/testsuite/ChangeLog:

	* gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
	variable declaration.
	(gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
	* gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
	* gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
	received HWCAP as its argument.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use target_sim_options for sim target.
@ 2016-09-12 15:28 sergiodj+buildbot
  2016-09-12 16:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-12 15:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc3c284619d0482506f532cc8c1b00018fe14136 ***

Author: Jon Beniston <jon@beniston.com>
Branch: master
Commit: cc3c284619d0482506f532cc8c1b00018fe14136

Use target_sim_options for sim target.

2016-09-10  Jon Beniston  <jon@beniston.com>

	* lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
	for sim target.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix false FAIL on gdb.base/stap-probe.exp, due to ICF optimization
@ 2016-09-12 17:26 sergiodj+buildbot
  2016-09-13 17:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-12 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2c29df25b7c2ff006b45afd80ee6dd734ebbd47c ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 2c29df25b7c2ff006b45afd80ee6dd734ebbd47c

Fix false FAIL on gdb.base/stap-probe.exp, due to ICF optimization

GCC 6's ICF optimization pass is making the declaration of 'm1' and
'm2', on gdb.base/stap-probe.c, to be unified.  However, this leads to
only one instance of the probe 'two' being created, which causes a
failure on the testsuite (which expects a multi-location breakpoint to
be inserted on the probe).

This patch fixes this failure by declaring a dummy variable on 'm1',
and using it as an argument to m1's version of probe 'two'.  Since we
do not care about the contents of the functions nor about the
arguments of each probe 'two', this is OK.

gdb/testsuite/ChangeLog:
2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
	    Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
	make m1's definition to be different from m2's.  Use 'dummy' as an
	argument for probe 'two'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S/390: Fix kmctr instruction type.
@ 2016-09-13 17:42 sergiodj+buildbot
  2016-09-13 18:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-13 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b71537b6be5d66d6b6cf1273f7acab0621adfc5 ***

Author: Patrick Steuer <steuer@linux.vnet.ibm.com>
Branch: master
Commit: 8b71537b6be5d66d6b6cf1273f7acab0621adfc5

S/390: Fix kmctr instruction type.

opcodes/ChangeLog:

2016-09-12  Patrick Steuer  <steuer@linux.vnet.ibm.com>

	* s390-opc.txt: Fix kmctr instruction type.

gas/ChangeLog:

2016-09-12  Patrick Steuer  <steuer@linux.vnet.ibm.com>

	* testsuite/gas/s390/zarch-z196.d: Adjust testcase.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S/390: Add alternate processor names.
@ 2016-09-13 18:36 sergiodj+buildbot
  2016-09-14 11:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-13 18:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 952c3f51ac994f5e98aa829076609124cf9e5243 ***

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

S/390: Add alternate processor names.

This patch adds alternate CPU names which adhere to the number of the
architecture document.  So instead of having z196, zEC12, and z13 you
can use arch9, arch10, and arch11.  The old cpu names stay valid and
should primarily be used.

The alternate names are supposed to improve compatibility with the IBM
XL compiler toolchain which uses the arch numbering.

opcodes/ChangeLog:

2016-09-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-mkopc.c (main): Support alternate arch strings.

gas/ChangeLog:

2016-09-12  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/tc-s390.c (s390_parse_cpu): Support alternate arch
	strings.
	* doc/as.texinfo: Document new arch strings.
	* doc/c-s390.texi: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix for gdb.server/non-existing-program.exp test case
@ 2016-09-14 12:25 sergiodj+buildbot
  2016-09-14 13:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-14 12:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7313bced5b695b71a707c82b6817763046e21bb1 ***

Author: Carl E. Love <carll@oc4738070240.ibm.com>
Branch: master
Commit: 7313bced5b695b71a707c82b6817763046e21bb1

Fix for gdb.server/non-existing-program.exp test case

The test checks to make sure GDB exits cleanly if there is
no valid target binary.  Currently, ppc and S390 fail on this
test.  The function target_post_create_inferior () calls
linux_post_create_inferior () which calls the architecture
specific functions s390_arch_setup () and ppc_arch_setup ()
which make ptrace calls	to access the architecture specific
registers.  These ptrace calls fail because the	process	does
not exist causing GDB to exit on error.

This patch checks to see if the initial ptrace (PTRACE_TRACEME, ...)
call returned a status of TARGET_WAITKIND_EXITED indicating the
target has already exited.  If the target has exited, then the
target_post_create_inferior () is not called since there is no
inferior to be setup.  The test	to see if the initial ptrace
call succeeded is done after the ptrace (PTRACE_TRACEME, ...)
call and the wait for the inferior process to stop, assuming
it exists, has occurred.

The patch has been tested on X86 64-bit, ppc64 and s390.  If
fixes the test failures	on ppc64 and s390.  The	test does not
fail on	X86 64-bit.  The patch does not	introduce any additional
regression failures on any of these three platforms.

gdbserver/ChangeLog

2016-09-06  Carl Love  <cel@us.ibm.com>

	* server.c (start_inferior):  Do not call
	function target_post_create_inferior () if the
	inferior process has already exited.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix for gdb.server/non-existing-program.exp test case
@ 2016-09-14 13:01 sergiodj+buildbot
  2016-09-14 15:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-14 13:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d8cb77dff14d44b1e3b670442438da496f99c6e ***

Author: Carl E. Love <carll@oc4738070240.ibm.com>
Branch: master
Commit: 1d8cb77dff14d44b1e3b670442438da496f99c6e

Fix for gdb.server/non-existing-program.exp test case

The last commit was supposed to have the reference to ptrace () removed.
The patch didn't get updated correctly before the commit.  This commit
fixes the comment as requested

gdbserver/ChangeLog

	2016-09-06  Carl Love  <cel@us.ibm.com>

	* server.c (start_inferior):  Fixed comment, requested comment change
	didn't get updated correctly.  Removed reference to ptrace () call as
 	it is only true on Linux systems.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Stop the ARC disassembler from seg-faulting if initialised without a BFD present.
@ 2016-09-14 16:07 sergiodj+buildbot
  2016-09-14 16:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-14 16:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dce084426d75b45ef728425a880d642a604c36a7 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: dce084426d75b45ef728425a880d642a604c36a7

Stop the ARC disassembler from seg-faulting if initialised without a BFD present.

	* arc-dis.c (arc_get_disassembler): Accept a null bfd gracefully.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Prevent segfault in GDB when searching for architecture matches.
@ 2016-09-14 17:34 sergiodj+buildbot
  2016-09-14 19:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-14 17:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d9bbb73c1df68741048c3d0f837b50c289ea608 ***

Author: Bhushan Attarde <bhushan.attarde@imgtec.com>
Branch: master
Commit: 5d9bbb73c1df68741048c3d0f837b50c289ea608

Prevent segfault in GDB when searching for architecture matches.

	* format.c (struct bfd_preserve): New "build_id" field.
	(bfd_preserve_save): Save "build_id".
	(bfd_preserve_restore): Restore "build_id".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault in objdump when run on a fuzzed PE binary.
@ 2016-09-15  3:38 sergiodj+buildbot
  2016-09-15 12:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-15  3:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6d042fe27102cb789407ccb2ec1663aa9c65129 ***

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

Fix seg-fault in objdump when run on a fuzzed PE binary.

	PR binutils/20605
	* peicode.h (pe_bfd_read_buildid): Check that the Data Directory
	contains a valid size for the Debug directory.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix ld --gc-section segfault with ARMv8-M entry function in absolute section
@ 2016-09-15  4:45 sergiodj+buildbot
  2016-09-15 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-15  4:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f90d84b2f2995829d6af475077598d45ef1d127 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: 4f90d84b2f2995829d6af475077598d45ef1d127

Fix ld --gc-section segfault with ARMv8-M entry function in absolute section

bfd/
2016-09-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* elf32-arm.c (elf32_arm_gc_mark_extra_sections): Only mark section
	not already marked.

ld/
2016-09-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
	Extensions entry functions in absolute section.
	* testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Modify POWER9 support to match final ISA 3.0 documentation.
@ 2016-09-15 21:47 sergiodj+buildbot
  2016-09-15 22:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-15 21:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fd486b633e87f8ab2977592d56a6d98168814e2e ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: fd486b633e87f8ab2977592d56a6d98168814e2e

Modify POWER9 support to match final ISA 3.0 documentation.

opcodes/
	* ppc-opc.c (powerpc_opcodes) <slbiag>: New mnemonic.
	<addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
	xor3>: Delete mnemonics.
	<cp_abort>: Rename mnemonic from ...
	<cpabort>: ...to this.
	<setb>: Change to a X form instruction.
	<sync>: Change to 1 operand form.
	<copy>: Delete mnemonic.
	<copy_first>: Rename mnemonic from ...
	<copy>: ...to this.
	<paste, paste.>: Delete mnemonics.
	<paste_last>: Rename mnemonic from ...
	<paste.>: ...to this.

gas/
	* testsuite/gas/ppc/power9.d <slbiag, cpabort> New tests.
	<addex., brd, brh, brw, lwzmx, nandxor, rldixor, setbool,
	xor3, cp_abort, copy_first, paste, paste_last, sync>: Remove tests.
	<copy, paste.>: Update tests.
	* testsuite/gas/ppc/power9.s: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] testsuite: Disable ccache
@ 2016-09-15 23:31 sergiodj+buildbot
  2016-09-16  1:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-15 23:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49b4de64242d4ae035e0e2197837278e33c187fc ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 49b4de64242d4ae035e0e2197837278e33c187fc

testsuite: Disable ccache

There were always various problems with compatibility with ccache:
	https://bugzilla.redhat.com/show_bug.cgi?id=488863
	https://bugzilla.redhat.com/show_bug.cgi?id=759592
	https://sourceware.org/ml/gdb-patches/2009-02/msg00397.html

IMO in a summary ccache finds more a benefit of faster compilation despite the
debug info is no longer exactly the same (as without ccache).

Although for example in this case ccache helped to find a real GDB bug:
	https://sourceware.org/ml/gdb-patches/2015-01/msg00497.html

For the GDB testcases ccache has (IMO) no real performance advantage and it
just brings heisenbugs - false FAILs - from time to time:

Breakpoint 1, main () at gdb/testsuite/gdb.base/vdso-warning.c:21^M
	21        return 0;^M
	(gdb) PASS: gdb.base/vdso-warning.exp: run: startup
	->
	Breakpoint 1, main () at gdb/testsuite/gdb.base/hbreak-unmapped.c:21^M
	21        return 0;^M
	(gdb) FAIL: gdb.base/vdso-warning.exp: run: startup

So I find most safe and easy to just disable ccache for all testsuites.

gdb/testsuite/ChangeLog
2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update ISA 3.0 / POWER9 gdb tests to match GAS test cases.
@ 2016-09-16 14:17 sergiodj+buildbot
  2016-09-16 14:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 14:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e2a92b16496f418e3c2c3b69eb5203b0b335df87 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: e2a92b16496f418e3c2c3b69eb5203b0b335df87

Update ISA 3.0 / POWER9 gdb tests to match GAS test cases.

	* gdb.arch/powerpc-power.s: Update Power9 instruction tests
	and sync up the test with tests in gas/testsuite/gas/ppc.
	* gdb.arch/powerpc-power.exp: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] testsuite: Fix C++11 compilation failure for gdb.cp/m-static.exp
@ 2016-09-16 18:19 sergiodj+buildbot
  2016-09-16 19:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 18:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2dfe7003423d41394d2475680e55af796566b8e ***

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

testsuite: Fix C++11 compilation failure for gdb.cp/m-static.exp

gcc-6.2.1-1.fc26.x86_64

g++ -std=c++03:
no warnings

g++:
In file included from /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.cc:79:0:
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.h:9:34: error: constexpr needed for in-class initialization of static
data member const float gnu_obj_4::somewhere of non-integral type [-fpermissive]
   static const float somewhere = 3.14159;
                                  ^~~~~~~

clang++:
In file included from /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.cc:79:
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.h:9:22: warning: in-class initializer for static data member of type 'const
float' is a GNU extension [-Wgnu-static-float-init]
  static const float somewhere = 3.14159;
                     ^           ~~~~~~~
1 warning generated.

clang++ -std=c++11:
In file included from /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.cc:79:
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.h:9:22: error: in-class initializer for static data member of type 'const
float' requires 'constexpr' specifier [-Wstatic-float-init]
  static const float somewhere = 3.14159;
                     ^           ~~~~~~~
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.h:9:3: note: add 'constexpr'
  static const float somewhere = 3.14159;
  ^
  constexpr
1 error generated.

OK for check-in?

After the fix out of the 4 combinations above only this one remains non-empty:

clang++:
In file included from /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.cc:79:
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/m-static.h:9:22: warning: in-class initializer for static data member of type 'const
float' is a GNU extension [-Wgnu-static-float-init]
  static const float somewhere = 3.14159;
                     ^           ~~~~~~~
1 warning generated.

On Thu, 15 Sep 2016 15:10:50 +0200, Pedro Alves wrote:

Hmm, OK, now that I read the test, I think you were right in trying to
keep it safe, actually.  The .exp file has:

if { $non_dwarf } { setup_xfail *-*-* }
gdb_test "print test4.everywhere" "\\$\[0-9\].* = 317" "static const int initialized in class definition"
if { $non_dwarf } { setup_xfail *-*-* }
gdb_test "print test4.somewhere" "\\$\[0-9\].* = 3.14\[0-9\]*" "static const float initialized in class definition"
                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Added by this:

 https://sourceware.org/bugzilla/show_bug.cgi?id=11702
 https://sourceware.org/ml/gdb-patches/2010-06/msg00677.html
 https://sourceware.org/ml/gdb-patches/2010-06/txt00011.txt

So the new patch would make that highlighted tested above not
test what its test message says it is testing.

So I now think your original patch is better.  Please push
that one instead.

gdb/testsuite/ChangeLog
2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [ARC] Disassemble correctly extension instructions.
@ 2016-09-16 19:43 sergiodj+buildbot
  2016-09-16 20:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 19:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f807f43d7eba5bba3042554f9b3e884d71a68309 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: f807f43d7eba5bba3042554f9b3e884d71a68309

[ARC] Disassemble correctly extension instructions.

For each MAJOR-MINOR opcode tuple, we can have either a 3-operand, or
2-operand, or a single operand instruction format, depending on the
values present in i-field, and a-field.

The disassembler is reading the section containing the extension
instruction format and stores them in a table.  Each table element
represents a linked list with encodings for a particular MAJOR-MINOR
tuple.

The current implementation checks only against the first element of
the list, hence, the issue.

This patch is walking the linked list until empty or finds an opcode
match.  It also adds a test outlining the found problem.

opcodes/
2016-09-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-dis.c (find_format): Walk the linked list pointed by einsn.

gas/
2016-09-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/textinsnxop.d: New file.
	* testsuite/gas/arc/textinsnxop.s: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] testsuite: Fix false FAIL in gdb.cp/casts.exp
@ 2016-09-16 20:49 sergiodj+buildbot
  2016-09-16 21:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 20:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d41a5c096ec613f7df33d5d5ea4c0e512ac1e87a ***

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

testsuite: Fix false FAIL in gdb.cp/casts.exp

gcc-6.2.1-1.fc26.x86_64

gdb compile failed, /home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/casts.cc:40:10: error: expected primary-expression before 'int'
 decltype(int x)
          ^~~
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/casts.cc:40:10: error: expected ')' before 'int'
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/casts.cc:40:1: error: expected unqualified-id before 'decltype'
 decltype(int x)
 ^~~~~~~~
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/casts.cc: In function 'int main(int, char**)':
/home/jkratoch/redhat/gdb-clean/gdb/testsuite/gdb.cp/casts.cc:59:14: error: expected primary-expression before 'decltype'
   double y = decltype(2);
              ^~~~~~~~

'decltype' is a registered keyword since C++11 which is now a default for GCC.

On Thu, 15 Sep 2016 14:06:56 +0200, Pedro Alves wrote:

Seems to be exercising the FLAG_SHADOW bits:

...
    {"__typeof__", TYPEOF, OP_TYPEOF, 0 },
    {"__typeof", TYPEOF, OP_TYPEOF, 0 },
    {"typeof", TYPEOF, OP_TYPEOF, FLAG_SHADOW },
    {"__decltype", DECLTYPE, OP_DECLTYPE, FLAG_CXX },
    {"decltype", DECLTYPE, OP_DECLTYPE, FLAG_CXX | FLAG_SHADOW },
...

/* This is used to associate some attributes with a token.  */

enum token_flag
{
...
  /* If this bit is set, the token is conditional: if there is a
     symbol of the same name, then the token is a symbol; otherwise,
     the token is a keyword.  */

  FLAG_SHADOW = 2
};

So perhaps a better fix is to move that particular test to a
separate testcase that force-compiles with -std=c++03.

gdb/testsuite/ChangeLog
2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.cp/casts.cc (decltype): Move it ...
	(main): ... with its call to ...
	* gdb.cp/casts03.cc: ... a new file.
	* gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Avoid direct access to lwp_info structure
@ 2016-09-16 21:38 sergiodj+buildbot
  2016-09-16 23:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c2996c98278a95593afaa79db0dc00bb2aff189 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 9c2996c98278a95593afaa79db0dc00bb2aff189

S390: Avoid direct access to lwp_info structure

When using the lwp_info structure, avoid accessing its members directly,
and use the advertised function interfaces instead.  This is according
to the instructions in linux-nat.h and prepares for making some of the
code common between gdb and gdbserver.

gdb/ChangeLog:

	* s390-linux-nat.c (s390_prepare_to_resume): Use advertised lwp
	functions instead of accessing lwp_info structure members.
	(s390_mark_per_info_changed): New function.
	(s390_new_thread): Use it.
	(s390_refresh_per_info_cb): New function.
	(s390_refresh_per_info): Remove parameter.  Refresh all lwps of
	the current process.
	(s390_insert_watchpoint): Adjust call to s390_refresh_per_info.
	(s390_remove_watchpoint): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Migrate watch areas from list to VEC type
@ 2016-09-16 22:36 sergiodj+buildbot
  2016-09-17  2:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 22:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17c84ccaf042dfb7dd81e4670b74768fe5a96017 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 17c84ccaf042dfb7dd81e4670b74768fe5a96017

S390: Migrate watch areas from list to VEC type

For S390, the list of active watchpoints is maintained in a list based
at "watch_base".  This refactors the list to a vector "watch_areas".

gdb/ChangeLog:

	* s390-linux-nat.c (s390_watch_area): New typedef.  Define a VEC.
	(watch_base): Remove variable.
	(watch_areas): New variable.
	(s390_stopped_by_watchpoint): Transform operations on the
	watch_base list to equivalent operations on the watch_areas VEC.
	(s390_prepare_to_resume): Likewise.
	(s390_insert_watchpoint): Likewise.
	(s390_remove_watchpoint): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Multi-inferior watchpoint support
@ 2016-09-16 23:12 sergiodj+buildbot
  2016-09-17  7:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 23:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 373c3dad74da78c46bc1fe4280a26d07e5b54cdd ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 373c3dad74da78c46bc1fe4280a26d07e5b54cdd

S390: Multi-inferior watchpoint support

Support different sets of watchpoints in multiple inferiors.

gdb/ChangeLog:

	* s390-linux-nat.c (watch_areas): Remove variable.  Replace by a
	member of...
	(struct s390_debug_reg_state): ...this.  New struct.
	(struct s390_process_info): New struct.
	(s390_process_list): New variable.
	(s390_find_process_pid, s390_add_process, s390_process_info_get)
	(s390_get_debug_reg_state): New functions.
	(s390_stopped_by_watchpoint): Now access the watch_areas VEC via
	s390_get_debug_reg_state.
	(s390_prepare_to_resume): Likewise.
	(s390_insert_watchpoint): Likewise.
	(s390_remove_watchpoint): Likewise.
	(s390_forget_process, s390_linux_new_fork): New linux_nat target
	methods.
	(_initialize_s390_nat): Register them.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Enable "maint set show-debug-regs"
@ 2016-09-16 23:32 sergiodj+buildbot
  2016-09-17  8:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-16 23:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 169fe0df159c04cd7344d24cc6b1268bd219f830 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 169fe0df159c04cd7344d24cc6b1268bd219f830

S390: Enable "maint set show-debug-regs"

Implement a new function for dumping the S390 "debug
registers" (actually, the PER info) and invoke it at appropriate places.
Respect the variable show_debug_regs and make it settable by the user.

gdb/ChangeLog:

	* s390-linux-nat.c (gdbcmd.h): New include.
	(s390_show_debug_regs): New function.
	(s390_stopped_by_watchpoint): Call it, if show_debug_regs is set.
	(s390_prepare_to_resume): Likewise.
	(_initialize_s390_nat): Register the command "maint set
	show-debug-regs".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] linux-nat: Add function lwp_is_stepping
@ 2016-09-17  0:28 sergiodj+buildbot
  2016-09-17 11:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  0:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e00e962c57138f0dd8c261cbd6918782deec3c4 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 0e00e962c57138f0dd8c261cbd6918782deec3c4

linux-nat: Add function lwp_is_stepping

Add the function lwp_is_stepping which indicates whether the given LWP
is currently single-stepping.  This is a common interface, usable from
native GDB as well as from gdbserver.

gdb/gdbserver/ChangeLog:

	* linux-low.c (lwp_is_stepping): New function.

gdb/ChangeLog:

	* nat/linux-nat.h (lwp_is_stepping): New declaration.
	* linux-nat.c (lwp_is_stepping): New function.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S390: Hardware breakpoint support
@ 2016-09-17  1:02 sergiodj+buildbot
  2016-09-17 15:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Use std::min and std::max throughout
@ 2016-09-17  3:34 sergiodj+buildbot
  2016-09-19  1:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce cleanup to restore current_uiout
@ 2016-09-17  5:15 sergiodj+buildbot
  2016-09-19  3:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Improve MinGW support in Readline
@ 2016-09-18 23:24 sergiodj+buildbot
  2016-09-19  6:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 12:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 12:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver
@ 2016-09-19 16:45 sergiodj+buildbot
  2016-09-20 16:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 16:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 18:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] ppc: Fix record support of Store String Word instructions
@ 2016-09-20 20:52 sergiodj+buildbot
  2016-09-20 20:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Avoid -Wduplicated-cond warnings in gdb/python
@ 2016-09-20 21:40 sergiodj+buildbot
  2016-09-21 13:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Keep reserved bits in CPSR on write
@ 2016-09-21 15:44 sergiodj+buildbot
  2016-09-21 16:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS/testsuite: mips16-thunks: Use `standard_output_file'
@ 2016-09-21 17:21 sergiodj+buildbot
  2016-09-21 20:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d0ec882241884d0cabb27f8fee1262dbc7cf9e7 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 3d0ec882241884d0cabb27f8fee1262dbc7cf9e7

MIPS/testsuite: mips16-thunks: Use `standard_output_file'

Correct a commit 2151ccc56c74 ("Always organize test artifacts in a
directory hierarchy") regression causing:

Running .../gdb/testsuite/gdb.arch/mips16-thunks.exp ...
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.arch/mips16-thunks-inmain.o: No such file or directory
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.arch/mips16-thunks-main.o: No such file or directory
gdb compile failed, mips-mti-linux-gnu-gcc: error: .../gdb/testsuite/gdb.arch/mips16-thunks-inmain.o: No such file or directory
mips-mti-linux-gnu-gcc: error: .../gdb/testsuite/gdb.arch/mips16-thunks-main.o: No such file or directory
UNSUPPORTED: gdb.arch/mips16-thunks.exp: No MIPS16 support in the toolchain.

by using `standard_output_file' to construct output file names
throughout.

	gdb/testsuite/
	* gdb.arch/mips16-thunks.exp: Use `standard_output_file'
	throughout.


^ permalink raw reply	[flat|nested] 3460+ 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:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 13/32] Add an F_STRICT flag
@ 2016-09-21 20:22 sergiodj+buildbot
  2016-09-22  1:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 20:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4989adac848eb8f2fee8b98d9615d2fded22623b ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 4989adac848eb8f2fee8b98d9615d2fded22623b

[AArch64][SVE 13/32] Add an F_STRICT flag

SVE predicate operands can appear in three forms:

1. unsuffixed: "Pn"
2. with a predication type: "Pn/[ZM]"
3. with a size suffix: "Pn.[BHSD]"

No variation is allowed: unsuffixed operands cannot have a (redundant)
suffix, and the suffixes can never be dropped.  Unsuffixed Pn are used
in LDR and STR, but they are also used for Pg operands in cases where
the result is scalar and where there is therefore no choice to be made
between "merging" and "zeroing".  This means that some Pg operands have
suffixes and others don't.

It would be possible to use context-sensitive parsing to handle
this difference.  The tc-aarch64.c code would then raise an error
if the wrong kind of suffix is used for a particular instruction.

However, we get much more user-friendly error messages if we parse
all three forms for all SVE instructions and record the suffix as a
qualifier.  The normal qualifier matching code can then report cases
where the wrong kind of suffix is used.  This is a slight extension
of existing usage, which really only checks for the wrong choice of
suffix within a particular kind of suffix.

The only catch is a that a "NIL" entry in the qualifier list
specifically means "no suffix should be present" (case 1 above).
NIL isn't a wildcard here.  It also means that an instruction that
requires all-NIL qualifiers can fail to match (because a suffix was
supplied when it shouldn't have been); this requires a slight change
to find_best_match.

This patch adds an F_STRICT flag to select this behaviour.
The flag will be set for all SVE instructions.  The behaviour
for other instructions doesn't change.

include/
	* opcode/aarch64.h (F_STRICT): New flag.

opcodes/
	* aarch64-opc.c (match_operands_qualifier): Handle F_STRICT.

gas/
	* config/tc-aarch64.c (find_best_match): Simplify, allowing an
	instruction with all-NIL qualifiers to fail to match.


^ permalink raw reply	[flat|nested] 3460+ 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  3:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 17/32] Add a prefix parameter to print_register_list
@ 2016-09-21 23:40 sergiodj+buildbot
  2016-09-22 10:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 23:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a7f0c1b5ae35d041886855ac7ca9b9533e8788a ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 8a7f0c1b5ae35d041886855ac7ca9b9533e8788a

[AArch64][SVE 17/32] Add a prefix parameter to print_register_list

This patch generalises the interface to print_register_list so
that it can print register lists involving SVE z registers as
well as AdvSIMD v ones.

opcodes/
	* aarch64-opc.c (print_register_list): Add a prefix parameter.
	(aarch64_print_operand): Update accordingly.


^ permalink raw reply	[flat|nested] 3460+ 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 12:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 19/32] Refactor address-printing code
@ 2016-09-22  1:25 sergiodj+buildbot
  2016-09-22 14:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 20/32] Add support for tied operands
@ 2016-09-22  2:10 sergiodj+buildbot
  2016-09-22 18:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 21/32] Add Zn and Pn registers
@ 2016-09-22  2:34 sergiodj+buildbot
  2016-09-22 19:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-22 22:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  3:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  6:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 27/32] Add SVE integer immediate operands
@ 2016-09-22  8:06 sergiodj+buildbot
  2016-09-23  9:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 28/32] Add SVE FP immediate operands
@ 2016-09-22  8:08 sergiodj+buildbot
  2016-09-23 16:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 30/32] Add SVE instruction classes
@ 2016-09-22  9:31 sergiodj+buildbot
  2016-09-23 18:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 17:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions
@ 2016-09-22 10:26 sergiodj+buildbot
  2016-09-23 19:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add SVE condition codes
@ 2016-09-22 11:51 sergiodj+buildbot
  2016-09-23 21:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Use "must" rather than "should" in error messages
@ 2016-09-22 12:08 sergiodj+buildbot
  2016-09-23 23:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Print spaces after commas in addresses
@ 2016-09-22 12:46 sergiodj+buildbot
  2016-09-24  4:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  8:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update and add .gitignore's
@ 2016-09-22 14:12 sergiodj+buildbot
  2016-09-24 11:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-24 14:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-24 15:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: New Synopsys ARC port
@ 2016-09-22 17:43 sergiodj+buildbot
  2016-09-24 21:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add myself as a write-after-approval GDB maintainer
@ 2016-09-22 17:56 sergiodj+buildbot
  2016-09-25  2:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Check the right proc name
@ 2016-09-22 19:54 sergiodj+buildbot
  2016-09-25  7:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Fix ARI warning for printf(%p)
@ 2016-09-22 20:53 sergiodj+buildbot
  2016-09-25 13:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbserver-base in remote-gdbserver-on-localhost.exp
@ 2016-09-22 21:20 sergiodj+buildbot
  2016-09-25 15:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix build breakage from commit 6ec2b2
@ 2016-09-22 23:04 sergiodj+buildbot
  2016-09-25 17:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Close gdbserver in mi_gdb_exit
@ 2016-09-23  0:46 sergiodj+buildbot
  2016-09-25 20:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Delete relocations associatesd with deleted exidx entries.
@ 2016-09-23 19:06 sergiodj+buildbot
  2016-09-25 22:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Replace operator new / operator new[]
@ 2016-09-23 20:08 sergiodj+buildbot
  2016-09-26  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Replace sprintf with xsnprintf in nat/linux-osdata.c
@ 2016-09-23 21:43 sergiodj+buildbot
  2016-09-26  3:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove some unnecessary code
@ 2016-09-23 22:27 sergiodj+buildbot
  2016-09-26  3:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string in break-catch-sig.c
@ 2016-09-23 23:51 sergiodj+buildbot
  2016-09-26  3:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string in cp-namespace.c
@ 2016-09-24  0:14 sergiodj+buildbot
  2016-09-26  4:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string, std::vector in rust-lang.c
@ 2016-09-24  2:55 sergiodj+buildbot
  2016-09-26  5:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::vector in objfiles.c
@ 2016-09-24  4:16 sergiodj+buildbot
  2016-09-26  8:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string rather than dyn-string
@ 2016-09-24  7:30 sergiodj+buildbot
  2016-09-26  9:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Call debug_exit in linux_wait_1
@ 2016-09-26 11:09 sergiodj+buildbot
  2016-09-26 16:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC .gnu.attributes
@ 2016-09-26 16:58 sergiodj+buildbot
  2016-09-26 17:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARC] ISA alignment.
@ 2016-09-26 19:24 sergiodj+buildbot
  2016-09-27  1:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix the calculation of AMD64_PCRQUAD relocations.
@ 2016-09-26 22:57 sergiodj+buildbot
  2016-09-27  2:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  5:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-27 12:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  5:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add archives and make stamps to the .gitignore file.
@ 2016-09-28 12:00 sergiodj+buildbot
  2016-09-28 12:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  1:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64
@ 2016-09-29 17:39 sergiodj+buildbot
  2016-09-29 18:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  6:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 12:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make bfd_error_handler_type like vprintf
@ 2016-09-30 14:26 sergiodj+buildbot
  2016-09-30 15:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove syntactic sugar
@ 2016-09-30 15:11 sergiodj+buildbot
  2016-09-30 17:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add test for user context selection sync
@ 2016-10-03 22:01 sergiodj+buildbot
  2016-10-04  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Clean up the XML files for ARM
@ 2016-10-05  8:44 sergiodj+buildbot
  2016-10-05  9:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Simplify i386, amd64 and x32 expedite registers
@ 2016-10-05  9:01 sergiodj+buildbot
  2016-10-05 11:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Generate s390 target description c files
@ 2016-10-05  9:18 sergiodj+buildbot
  2016-10-05 14:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Regenerate some regformats/rs6000/*.dat files
@ 2016-10-05  9:34 sergiodj+buildbot
  2016-10-05 16:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update the path arm-*.xml files for aarch64
@ 2016-10-05 11:11 sergiodj+buildbot
  2016-10-05 18:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition
@ 2016-10-05 13:07 sergiodj+buildbot
  2016-10-05 23:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Remove annoying debug message
@ 2016-10-05 14:41 sergiodj+buildbot
  2016-10-05 21:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Skip complex types tests if gdb_skip_float_test
@ 2016-10-05 16:25 sergiodj+buildbot
  2016-10-06  1:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR symtab/20652 - fix psymbol_compare
@ 2016-10-05 17:49 sergiodj+buildbot
  2016-10-06  4:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  6:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR remote/20655 - small fix in handle_tracepoint_bkpts
@ 2016-10-05 19:49 sergiodj+buildbot
  2016-10-06  8:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Don't use boolean OR in arithmetic expressions
@ 2016-10-06  0:04 sergiodj+buildbot
  2016-10-06 13:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough error fixes
@ 2016-10-06  0:52 sergiodj+buildbot
  2016-10-06 15:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough warning fixes
@ 2016-10-06  1:07 sergiodj+buildbot
  2016-10-06 17:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make "end" field in feature specs required again.
@ 2016-10-06 11:32 sergiodj+buildbot
  2016-10-06 20:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix a few gdb.base/jit-simple.exp problems
@ 2016-10-06 12:17 sergiodj+buildbot
  2016-10-06 22:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  0:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] testsuite: solib-disc: Use `standard_output_file'
@ 2016-10-06 16:49 sergiodj+buildbot
  2016-10-07 12:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] mips-tdep: Rearrange comments in `mips_pseudo_register_type'
@ 2016-10-06 17:15 sergiodj+buildbot
  2016-10-07 14:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] mips-tdep: Make FCRs always 32-bit
@ 2016-10-06 17:57 sergiodj+buildbot
  2016-10-07 16:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove Java support
@ 2016-10-06 21:27 sergiodj+buildbot
  2016-10-07 19:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] frame.h: Forward-declare struct ui_out
@ 2016-10-06 22:11 sergiodj+buildbot
  2016-10-08  6:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Remove some C compiler support leftovers
@ 2016-10-06 23:29 sergiodj+buildbot
  2016-10-08 11:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Consolidate API of target_supports_multi_process
@ 2016-10-06 23:56 sergiodj+buildbot
  2016-10-08 13:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data
@ 2016-10-07  2:07 sergiodj+buildbot
  2016-10-08 18:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix gdb.Value->python conversion for large unsigned ints.
@ 2016-10-07  4:51 sergiodj+buildbot
  2016-10-08  9:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 20:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd_merge_private_bfd_data tidy
@ 2016-10-07  7:33 sergiodj+buildbot
  2016-10-08 16:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Set regdir in tdesc-regs.exp or arm
@ 2016-10-07 10:50 sergiodj+buildbot
  2016-10-08 22:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] ui-out.c: Remove unused parameter to push_level
@ 2016-10-09  0:26 sergiodj+buildbot
  2016-10-09  7:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove v850_dbtrap_breakpoint_from_pc
@ 2016-10-10  9:44 sergiodj+buildbot
  2016-10-10 10:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init
@ 2016-10-10 10:37 sergiodj+buildbot
  2016-10-10 11:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Share enum arm_breakpoint_kinds
@ 2016-10-10 11:41 sergiodj+buildbot
  2016-10-10 12:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] testsuite: Use standard_output_file
@ 2016-10-11 15:00 sergiodj+buildbot
  2016-10-11 15:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation
@ 2016-10-11 17:27 sergiodj+buildbot
  2016-10-11 17:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] BFD_FAKE_SECTION macro params
@ 2016-10-11 23:35 sergiodj+buildbot
  2016-10-11 23:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Track FP registers in prologue analyzer
@ 2016-10-12 11:51 sergiodj+buildbot
  2016-10-12 12:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Add a gdbarch_tdep structure
@ 2016-10-12 13:03 sergiodj+buildbot
  2016-10-12 14:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Add evaluation of long jump targets
@ 2016-10-12 13:32 sergiodj+buildbot
  2016-10-12 15:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Add support for Newlib
@ 2016-10-12 16:00 sergiodj+buildbot
  2016-10-12 16:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  1:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change selttest.c to use use std::vector
@ 2016-10-13  2:25 sergiodj+buildbot
  2016-10-13  2:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Turn wchar iterator into a class
@ 2016-10-13  2:59 sergiodj+buildbot
  2016-10-13  3:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unnecessary null_cleanup
@ 2016-10-13  4:50 sergiodj+buildbot
  2016-10-13  4:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string in macho_symfile_read_all_oso
@ 2016-10-13  5:24 sergiodj+buildbot
  2016-10-13  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Skip testing structures with floating points
@ 2016-10-13 14:54 sergiodj+buildbot
  2016-10-13 15:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Share proc get_var_address
@ 2016-10-13 15:27 sergiodj+buildbot
  2016-10-13 16:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] ARI: Remove true/false checks
@ 2016-10-13 17:38 sergiodj+buildbot
  2016-10-13 17:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-10-13 17:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f2e9c5e3b0ef55cb0ab180dd0c82c7954a73e1a ***

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

ARI: Remove true/false checks

These don't make sense with C++.

gdb/ChangeLog:
2016-10-13  Pedro Alves  <palves@redhat.com>

	* contrib/ari/gdb_ari.sh (boolean): Suggest bool instead.
	(false, true): Remove checks.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Include strings.h where available
@ 2016-10-14  7:30 sergiodj+buildbot
  2016-10-14 18:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: remove leftover comment
@ 2016-10-14  9:25 sergiodj+buildbot
  2016-10-15  0:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARC] Disassembler: fix LIMM detection for short instructions.
@ 2016-10-14 12:37 sergiodj+buildbot
  2016-10-15  2:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix set sysroot command on AIX
@ 2016-10-14 13:25 sergiodj+buildbot
  2016-10-15  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  9:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] FINAL/OVERRIDE: Define to empty on g++ < 4.7
@ 2016-10-14 16:54 sergiodj+buildbot
  2016-10-15 13:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update list of ELF machine numbers.
@ 2016-10-17 11:03 sergiodj+buildbot
  2016-10-17 13:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Removed pseudo invalid instructions opcodes.
@ 2016-10-17 13:56 sergiodj+buildbot
  2016-10-17 17:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix -trace-save crash when argument is missing
@ 2016-10-17 21:05 sergiodj+buildbot
  2016-10-17 23:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix comment in mi-trace-save.exp
@ 2016-10-17 21:50 sergiodj+buildbot
  2016-10-18  2:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix duplicate test message in mi-trace-save.exp
@ 2016-10-17 23:24 sergiodj+buildbot
  2016-10-18  4:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] ARM/BFD: Correct an `index' global shadowing error
@ 2016-10-25  5:31 sergiodj+buildbot
  2016-10-25 17:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-25 20:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Clean up remote.c:remote_resume
@ 2016-10-26 16:05 sergiodj+buildbot
  2016-10-26 18:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Leave already-vCont-resumed threads as they were
@ 2016-10-26 18:48 sergiodj+buildbot
  2016-11-04 23:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Free inferior->priv when inferior exits
@ 2016-10-26 20:33 sergiodj+buildbot
  2016-10-26 20:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make symfile_add_flags and objfile->flags strongly typed
@ 2016-10-26 21:33 sergiodj+buildbot
  2016-11-05  4:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR 20569, segv in follow_exec
@ 2016-10-26 23:05 sergiodj+buildbot
  2016-11-05  8:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Coalesce/aggregate (async) vCont packets/actions
@ 2016-10-27 13:09 sergiodj+buildbot
  2016-11-05  3:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: update tail call heuristic
@ 2016-10-28 11:31 sergiodj+buildbot
  2016-11-06  3:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix gdb.base/maint.exp regressions
@ 2016-10-28 14:01 sergiodj+buildbot
  2016-11-06 12:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make gdb.base/foll-exec.exp test pattern more general
@ 2016-10-28 15:01 sergiodj+buildbot
  2016-11-06 13:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 17:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 20:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/NEWS: Mention C++11 requirement
@ 2016-10-29 16:50 sergiodj+buildbot
  2016-11-07  6:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d29469235333ac99df5476499a59998ce49b39fa ***

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

gdb/NEWS: Mention C++11 requirement

gdb/ChangeLog:
2016-10-29  Pedro Alves  <palves@redhat.com>

	* NEWS: Adjust to mention C++11 requirement.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS: Remove remains of IRIX OS ABI support
@ 2016-10-31 17:24 sergiodj+buildbot
  2016-11-07 21:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS: Remove remains of legacy remote target support
@ 2016-10-31 18:27 sergiodj+buildbot
  2016-11-08  2:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08 12:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Enable Intel AVX512_4FMAPS instructions
@ 2016-11-02 19:39 sergiodj+buildbot
  2016-11-08 15:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Enable Intel AVX512_4VNNIW instructions
@ 2016-11-02 19:49 sergiodj+buildbot
  2016-11-08 18:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Updated Danish translation for the BFD library.
@ 2016-11-03 11:46 sergiodj+buildbot
  2016-11-09  0:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbarch_breakpoint_from_pc doesn't return NULL
@ 2016-11-03 15:00 sergiodj+buildbot
  2016-11-09  3:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
@ 2016-11-03 15:14 sergiodj+buildbot
  2016-11-09  6:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Rename placed_size to kind
@ 2016-11-03 15:46 sergiodj+buildbot
  2016-11-09 20:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc
@ 2016-11-03 15:50 sergiodj+buildbot
  2016-11-09 23:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add default_breakpoint_from_pc
@ 2016-11-03 16:05 sergiodj+buildbot
  2016-11-10  3:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
@ 2016-11-03 16:27 sergiodj+buildbot
  2016-11-10  9:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] X86: Rename REG_82 to REG_83
@ 2016-11-03 16:43 sergiodj+buildbot
  2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Deprecate old platforms
@ 2016-11-03 16:59 sergiodj+buildbot
  2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82
@ 2016-11-03 17:33 sergiodj+buildbot
  2016-11-10 10:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks
@ 2016-11-03 17:39 sergiodj+buildbot
  2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] opcodes/arc: Make some macros 64-bit safe
@ 2016-11-03 18:03 sergiodj+buildbot
  2016-11-10 10:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Swap highbyte and lowbyte in print_insn_arc
@ 2016-11-03 18:15 sergiodj+buildbot
  2016-11-10 10:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Change max instruction length to 64-bits
@ 2016-11-03 18:26 sergiodj+buildbot
  2016-11-10 10:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc: Implement NPS-400 dcmac instruction
@ 2016-11-03 18:59 sergiodj+buildbot
  2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add support for untagged unions in Rust
@ 2016-11-03 23:17 sergiodj+buildbot
  2016-11-10 10:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add support for the sizeof function in Rust
@ 2016-11-03 23:26 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add support for ARM Cortex-M33 processor
@ 2016-11-04 17:12 sergiodj+buildbot
  2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc/nps400: Validate address type operands correctly
@ 2016-11-04 23:14 sergiodj+buildbot
  2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix a few typos
@ 2016-11-05  4:41 sergiodj+buildbot
  2016-11-10 11:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix ext lang calls to value_struct_elt.
@ 2016-11-08  1:46 sergiodj+buildbot
  2016-11-11 10:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Check for truncated registers in process_g_packet
@ 2016-11-08 11:14 sergiodj+buildbot
  2016-11-11 16:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix indentation
@ 2016-11-08 12:26 sergiodj+buildbot
  2016-11-11 20:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-12  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Clear addr bit in next_pcs vector
@ 2016-11-08 15:51 sergiodj+buildbot
  2016-11-12 14:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] cli/cli-script.c: Remove some dead NULL checks
@ 2016-11-08 19:48 sergiodj+buildbot
  2016-11-12 22:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression>
@ 2016-11-08 20:24 sergiodj+buildbot
  2016-11-13 10:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce ui_file_as_string
@ 2016-11-08 21:02 sergiodj+buildbot
  2016-11-13 12:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in dwarf2_compute_name
@ 2016-11-08 23:02 sergiodj+buildbot
  2016-11-13 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ui-out.c
@ 2016-11-09  2:14 sergiodj+buildbot
  2016-11-14  3:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/arm-tdep.c
@ 2016-11-09  3:33 sergiodj+buildbot
  2016-11-14  8:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in execute_command_to_string
@ 2016-11-09  5:16 sergiodj+buildbot
  2016-11-14 17:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/top.c
@ 2016-11-09  6:19 sergiodj+buildbot
  2016-11-14 18:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-15 11:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdbarch.sh/gdbarch.c
@ 2016-11-09 12:46 sergiodj+buildbot
  2016-11-15 20:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/infrun.c
@ 2016-11-09 13:50 sergiodj+buildbot
  2016-11-16  0:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr>
@ 2016-11-09 17:48 sergiodj+buildbot
  2016-11-16 17:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-16 19:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove parameter valaddr from la_val_print
@ 2016-11-09 20:30 sergiodj+buildbot
  2016-11-17  1:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix some error-handling bugs in python frame filters
@ 2016-11-09 21:50 sergiodj+buildbot
  2016-11-17  5:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ada-lang.c
@ 2016-11-09 23:02 sergiodj+buildbot
  2016-11-15 20:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] darwin-nat.c: handle Darwin 16 (aka Sierra).
@ 2016-11-10  1:21 sergiodj+buildbot
  2016-11-17 15:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] tui-winsource: Allocate for actual lines only
@ 2016-11-10  3:59 sergiodj+buildbot
  2016-11-18  4:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] tui-disasm: Fix line buffer size calculation
@ 2016-11-10  4:19 sergiodj+buildbot
  2016-11-17 22:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] tui-winsource: Remove failed-allocation logic
@ 2016-11-10  6:36 sergiodj+buildbot
  2016-11-18  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix"
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-18 17:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] agent_expr_up: gdb::unique_ptr -> std::unique_ptr
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-18 14:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-18 20:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-19  8:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] tui-disasm: Fix window content buffer overrun
@ 2016-11-10  8:07 sergiodj+buildbot
  2016-11-17 18:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Bind defined symbol locally in PIE
@ 2016-11-10  9:30 sergiodj+buildbot
  2016-11-19 13:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-19 18:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-20  2:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr
@ 2016-11-11 12:02 sergiodj+buildbot
  2016-11-20 10:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen
@ 2016-11-11 14:42 sergiodj+buildbot
  2016-11-20 18:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers
@ 2016-11-11 16:38 sergiodj+buildbot
  2016-11-20 23:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 single source PAC instructions
@ 2016-11-11 17:32 sergiodj+buildbot
  2016-11-21  4:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 17:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2cfc830e715142a0dd28496feaedf569b116b0e ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: a2cfc830e715142a0dd28496feaedf569b116b0e

[AArch64] Add ARMv8.3 single source PAC instructions

Add support for ARMv8.3 pointer authentication instructions
that are encoded as single source data processing instructions.

opcodes/
2016-11-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add pacia, pacib, pacda, pacdb, autia,
	autib, autda, autdb, paciza, pacizb, pacdza, pacdzb, autiza, autizb, autdza,
	autdzb, xpaci, xpacd.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/testsuite/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/pac.s: New.
	* testsuite/gas/aarch64/pac.d: New.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication branch instructions
@ 2016-11-11 19:33 sergiodj+buildbot
  2016-11-21  6:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-21 13:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix typo "Faal through" should be "Fall through".
@ 2016-11-14  9:18 sergiodj+buildbot
  2016-11-22  5:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: read entire aux buffer
@ 2016-11-14 10:28 sergiodj+buildbot
  2016-11-22  8:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition
@ 2016-11-15 20:24 sergiodj+buildbot
  2016-11-22 12:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: update gnulib to pull in C++ namespace support fixes
@ 2016-11-16  0:24 sergiodj+buildbot
  2016-11-22 19:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs
@ 2016-11-16 20:01 sergiodj+buildbot
  2016-11-22 22:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-23  6:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition
@ 2016-11-17 15:56 sergiodj+buildbot
  2016-11-23 19:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf
@ 2016-11-17 16:49 sergiodj+buildbot
  2016-11-23 23:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Document new hard requirement on GNU make
@ 2016-11-17 18:31 sergiodj+buildbot
  2016-11-24  1:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove code that checks for GNU/non-GNU make
@ 2016-11-17 18:49 sergiodj+buildbot
  2016-11-24  3:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Makefile: Replace old suffix rules with pattern rules
@ 2016-11-17 19:35 sergiodj+buildbot
  2016-11-24  5:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 19:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5443506ee45cb94769db7e76dd2021a96f2f0680 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5443506ee45cb94769db7e76dd2021a96f2f0680

Makefile: Replace old suffix rules with pattern rules

As mentioned here [1], suffix rules are obsolete and have been
superseeded with pattern rules.  People (myself included, before writing
this patch) are more likely to know what pattern rules are than suffix
rules.

AFAIK, .SUFFIXES targets are only used for those rules, and can be
removed as well.

New in v2:

  - Replace rule in gdbserver/Makefile.in as well.

[1] https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html

gdb/ChangeLog:

	* Makefile.in (.c.o): Replace rule with ...
	(%.o: %.c): ... this one.
	(.po.gmo): Replace rule with ...
	(%.gmo: %.po): ... this one.
	(.po.pox): Replace rule with ...
	(%.pox: %.po): ... this one.
	(.y.c): Replace rule with ...
	(%.c: %.y): ... this one.
	(.l.c): Replace rule with ...
	(%.c: %.l): ... this one.
	(.SUFFIXES): Remove all instances.

gdb/gdbserver/ChangeLog:

	* Makefile.in (.c.o): Replace rule with ...
	(%.o: %.c): ... this one.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules
@ 2016-11-17 20:10 sergiodj+buildbot
  2016-11-24  8:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 javascript floating-point conversion instruction
@ 2016-11-18 11:34 sergiodj+buildbot
  2016-11-24 14:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions
@ 2016-11-18 12:49 sergiodj+buildbot
  2016-11-24 18:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Implement P0136R1, Rewording inheriting constructors.
@ 2016-11-18 16:06 sergiodj+buildbot
  2016-11-25  5:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings.
@ 2016-11-18 16:14 sergiodj+buildbot
  2016-11-25  8:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 ***

Author: Mark Wielaard <mjw@redhat.com>
Branch: master
Commit: 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50

libiberty: Fix -Wimplicit-fallthrough warnings.

Adjust some comments, add some explicit fall through comments or explicit
returns where necessary to not get implicit-fallthrough warnings.

All fall throughs were deliberate. In one case I added an explicit return
false for clarity instead of falling through a default case (that also
would return false).

libiberty/ChangeLog:

       * cplus-dem.c (demangle_signature): Move fall through comment.
       (demangle_fund_type): Add fall through comment between 'G' and 'I'.
       * hashtab.c (iterative_hash): Add fall through comments.
       * regex.c (regex_compile): Add Fall through comment after '+'/'?'.
       (byte_re_match_2_internal): Add Fall through comment after jump_n.
       Change "Note fall through" to "Fall through".
       (common_op_match_null_string_p): Return false after set_number_at
       instead of fall through.


^ permalink raw reply	[flat|nested] 3460+ 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-11-25  3:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Implement P0012R1, Make exception specifications part of the type system.
@ 2016-11-18 16:45 sergiodj+buildbot
  2016-11-25 10:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] libiberty: Add Rust symbol demangling.
@ 2016-11-18 19:31 sergiodj+buildbot
  2016-11-25 21:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd: fix negative GOT offsets for non-local references on sparc64
@ 2016-11-19  0:43 sergiodj+buildbot
  2016-11-26  0:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Makefile: fix typo
@ 2016-11-19  3:34 sergiodj+buildbot
  2016-11-26  4:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-11-26  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Create subobject value in pretty printer
@ 2016-11-21 14:37 sergiodj+buildbot
  2016-11-26 19:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error
@ 2016-11-21 17:38 sergiodj+buildbot
  2016-11-26 21:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add missing POSTCOMPILE step to mi/ file generation rules
@ 2016-11-21 21:38 sergiodj+buildbot
  2016-11-27  0:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component
@ 2016-11-22 10:10 sergiodj+buildbot
  2016-11-27  4:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs
@ 2016-11-22 11:18 sergiodj+buildbot
  2016-11-29 23:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gas, opcodes: fix hardware capabilities bumping in the sparc assembler.
@ 2016-11-22 13:53 sergiodj+buildbot
  2016-11-30  4:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] New regcache_raw_get_signed
@ 2016-11-22 15:10 sergiodj+buildbot
  2016-11-30  6:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris
@ 2016-11-22 17:26 sergiodj+buildbot
  2016-11-30 15:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: moxie
@ 2016-11-22 18:47 sergiodj+buildbot
  2016-11-30 20:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix spelling mistakes in comments in shell scripts
@ 2016-11-23  1:00 sergiodj+buildbot
  2016-12-01 15:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  1:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1 ***

Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Branch: master
Commit: ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1

Fix spelling mistakes in comments in shell scripts

gdb/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * contrib/expect-read1.sh: Fix spelling in comments.
        * gdb_buildall.sh: Fix spelling in comments.
        * gdb_mbuild.sh: Fix spelling in comments.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use debug_printf for debug output
@ 2016-11-23  1:51 sergiodj+buildbot
  2016-12-01 18:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use warning for warnings
@ 2016-11-23  2:43 sergiodj+buildbot
  2016-12-01 21:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  2:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9986ba08876f86f7d36d230afc11b60a34287da8 ***

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

gdbserver: Use warning for warnings

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* event-loop.c (handle_file_event): Use warning.
	* linux-low.c (linux_resume_one_lwp_throw): Use warning.
	* mem-break.c (add_breakpoint_condition, add_breakpoint_commands):
	Use warning.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Makefiles: Flatten and sort file lists
@ 2016-11-23 15:19 sergiodj+buildbot
  2016-12-02  9:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Use C++11 std::chrono
@ 2016-11-23 17:24 sergiodj+buildbot
  2016-12-02 16:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
@ 2016-11-24  3:59 sergiodj+buildbot
  2016-12-02 19:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARM] Bind defined symbol locally in PIE
@ 2016-11-24 14:48 sergiodj+buildbot
  2016-12-02 21:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-03  1:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Optimize byte-aligned copies in copy_bitwise()
@ 2016-11-24 19:17 sergiodj+buildbot
  2016-12-03  8:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-03 11:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-03 14:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix typos in comment
@ 2016-11-25 15:36 sergiodj+buildbot
  2016-12-03 19:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-11-25 16:29 sergiodj+buildbot
  2016-12-03 17:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove stale comments
@ 2016-11-26 15:59 sergiodj+buildbot
  2016-12-04  2:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused functions and declarations
@ 2016-11-27  4:20 sergiodj+buildbot
  2016-12-04  5:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix return value of uo_redirect
@ 2016-11-27  5:56 sergiodj+buildbot
  2016-12-04 13:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Constify wrap_here/wrap_hint code path
@ 2016-11-27  8:16 sergiodj+buildbot
  2016-12-04 15:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Properly hide hidden versioned symbol in executable
@ 2016-11-28 16:35 sergiodj+buildbot
  2016-12-05  5:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Move computed value's frame id to piece_closure
@ 2016-11-28 17:50 sergiodj+buildbot
  2016-12-05  7:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Restrict checking value.lval on using address
@ 2016-11-28 19:38 sergiodj+buildbot
  2016-12-05 12:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-05 16:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] X86: Ignore REX_B bit for 32-bit XOP instructions
@ 2016-11-28 21:09 sergiodj+buildbot
  2016-12-05 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARC] Fix disassembler option.
@ 2016-11-29 11:20 sergiodj+buildbot
  2016-12-05 22:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARM] Read memory as unsigned integer
@ 2016-11-30 12:39 sergiodj+buildbot
  2016-12-06  7:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 12:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7913a64cab3930fe524f0e38f85cfca11bd52dcb ***

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

[ARM] Read memory as unsigned integer

When GDB read inferior memory as an address or an instruction,
it should be unsigned.

gdb:

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

	* arm-tdep.c (arm_scan_prologue): Read memory as unsigned integer.
	(arm_exidx_unwind_sniffer): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use std::vector for mi_ui_out_data::streams
@ 2016-12-01  4:21 sergiodj+buildbot
  2016-12-06 17:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string in ui_out_table
@ 2016-12-01  5:58 sergiodj+buildbot
  2016-12-06 23:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase output by basic functions
@ 2016-12-01 21:12 sergiodj+buildbot
  2016-12-07 15:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-07 18:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_multiple
@ 2016-12-01 23:01 sergiodj+buildbot
  2016-12-08  0:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08  3:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08  8:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string for ui_out_hdr's text fields
@ 2016-12-02  2:20 sergiodj+buildbot
  2016-12-08 14:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5209615263fd0444da28cdfb6661ad287909a70 ***

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

Use std::string for ui_out_hdr's text fields

This patch makes ui_out_hdr use std::string for its text fields.  It
makes freeing automatic when the object is deleted.

gdb/ChangeLog:

	* mi/mi-out.c (mi_table_header): Change char * args to
	std::string.
	* cli-out.c (cli_table_header): Likewise.
	* ui-out.h (table_header_ftype): Likewise.
	(ui_out_table_header): Constify colhdr argument.
	(ui_out_query_field): Constify col_name argument.
	* ui-out.c (ui_out_hdr) <col_name, colhdr>: Change type to
	std::string.
	(uo_table_header): Change char * args to std::string.
	(ui_out_table_header): Likewise.
	(get_next_header): Constify colhdr argument and adapt.
	(clear_header_list): Don't free col_name/colhdr fields.
	(append_header_to_list): Change char * args to std::string and
	adapt.
	(verify_field): Constify variable.
	(ui_out_query_field): Constify col_name argument and adapt.
	* breakpoint.c (wrap_indent_at_field): Constify variable.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Class-ify ui_out_level
@ 2016-12-02  3:57 sergiodj+buildbot
  2016-12-08 20:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Simplify ui-out level code
@ 2016-12-02  4:41 sergiodj+buildbot
  2016-12-08 23:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] ui_out_table: Replace boolean flag with enum
@ 2016-12-02  5:00 sergiodj+buildbot
  2016-12-09  1:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-09 15:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram
@ 2016-12-02 16:48 sergiodj+buildbot
  2016-12-09 22:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault in the linker when examining a corrupt binary.
@ 2016-12-02 17:12 sergiodj+buildbot
  2016-12-10  0:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 531336e3a0b79ed60cfc36ad2d6579b6a71175da ***

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

Fix seg-fault in the linker when examining a corrupt binary.

	PR ld/20909
	* aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
	for an illegal string offset.


^ permalink raw reply	[flat|nested] 3460+ 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-10  6:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
@ 2016-12-02 19:55 sergiodj+buildbot
  2016-12-10  7:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 19:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01770bbde902e075e524b518ac6c1087a4cc1cfb ***

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

Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution

It'd be handy to be able to iterate over command arguments in
user-defined commands, in order to support optional arguments
($arg0..$argN).

I thought I could make it work with "eval", but alas, it doesn't work
currently.  E.g., with:

 define test
   set $i = 0
   while $i < $argc
     eval "print $arg%d", $i
     set $i = $i + 1
   end
 end

we get:

 (gdb) test 1
 $1 = void
 (gdb) test 1 2 3
 $2 = void
 $3 = void
 $4 = void
 (gdb)

The problem is that "eval" doesn't do user-defined command arguments
substitution after expanding its own argument.  This patch fixes that,
which makes the example above work:

 (gdb) test 1
 $1 = 1
 (gdb) test 1 2 3
 $2 = 1
 $3 = 2
 $4 = 3
 (gdb)

New test included, similar the above, but also exercises expanding
$argc.

I think this is likely to simplify many scripts out there, so I'm
adding an example to the manual and mentioning it in NEWS as well.

gdb/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* NEWS: Mention "eval" expands user-defined command arguments.
	* cli/cli-script.c (execute_control_command): Adjust to rename.
	(insert_args): Rename to ...
	(insert_user_defined_cmd_args): ... this, and make extern.
	* cli/cli-script.h (insert_user_defined_cmd_args): New
	declaration.
	* printcmd.c: Include "cli/cli-script.h".
	(eval_command): Call insert_user_defined_cmd_args.

gdb/doc/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* gdb.texinfo (Define): Add example of using "eval" to process a
	variable number of arguments.
	(Output) <eval>: Add anchor.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* gdb.base/commands.exp (user_defined_command_args_eval): New
	procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Test user-defined gdb commands and arguments stack
@ 2016-12-02 20:34 sergiodj+buildbot
  2016-12-10 10:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Support an "unlimited" number of user-defined arguments
@ 2016-12-02 21:13 sergiodj+buildbot
  2016-12-10 13:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp
@ 2016-12-02 21:50 sergiodj+buildbot
  2016-12-10 16:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce enum_flag type for ui_out flags
@ 2016-12-02 22:35 sergiodj+buildbot
  2016-12-10 18:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 22:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bef721e278d9ba3178e679eda38ac86ef2dc0d5d ***

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

Introduce enum_flag type for ui_out flags

This patch changes the ui_out flags to be an enum flag.

gdb/ChangeLog:

	* ui-out.h: Include "common/enum-flags.h".
	(enum ui_flags): Rename to ...
	(enum ui_out_flag): ... this.
	(ui_out_flags): Define enum flag type.
	(ui_out_test_flags): Change type of parameter to ui_out_flags.
	(ui_out_new): Likewise.
	* ui-out.c (ui_out_test_flags): Likewise.
	(ui_out_new): Likewise.
	* cli-out.c (cli_out_new): Update variable type.
	* mi/mi-out.c (mi_out_new): Likewise.
	* tui/tui-out.c (tui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix
@ 2016-12-03 11:13 sergiodj+buildbot
  2016-12-10 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes
@ 2016-12-03 13:35 sergiodj+buildbot
  2016-12-11  9:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix bugs with tbnz/tbz instructions.
@ 2016-12-04  2:02 sergiodj+buildbot
  2016-12-11 12:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix assertion failure in linker triggered by corrupt input file.
@ 2016-12-05 12:47 sergiodj+buildbot
  2016-12-11 23:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 12:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39d4daf68e696bbf2db417abe677b2e68f3aace9 ***

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

Fix assertion failure in linker triggered by corrupt input file.

	PR ld/20925
	* aoutx.h (aout_link_add_symbols): Replace BFD_ASSERT with return
	FALSE.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault in linker parsing a corrupt input file.
@ 2016-12-05 13:22 sergiodj+buildbot
  2016-12-12  2:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT daae68f4f372e0618d6b9c64ec0f1f74eae6ab3d ***

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

Fix seg-fault in linker parsing a corrupt input file.

	PR ld/20924
	(aout_link_add_symbols): Fix off by one error checking for
	overflow of string offset.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] bfd, ld: Continue after partially-successful relaxed call relocations in sparc.
@ 2016-12-05 15:01 sergiodj+buildbot
  2016-12-12  6:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 15:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 597e138ca0cf96889a1965d06d28552c1d1174d2 ***

Author: Alyssa Milburn <amilburn@zall.org>
Branch: master
Commit: 597e138ca0cf96889a1965d06d28552c1d1174d2

bfd,ld: Continue after partially-successful relaxed call relocations in sparc.

bfd/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

  	* elfxx-sparc.c: Do not stop processing relocations after
    	partially relaxing a call with WDISP30.

ld/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

	* testsuite/ld-sparc/wdispcall.s: New file.
    	* testsuite/ld-sparc/wdispcall.dd: Likewise.
    	* testsuite/ld-sparc/sparc.exp: Run new test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 VCMLA and VCADD instructions
@ 2016-12-05 16:45 sergiodj+buildbot
  2016-12-12 13:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c28eeff2eabbba2246799470f3713716fa629680 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c28eeff2eabbba2246799470f3713716fa629680

[ARM] Add ARMv8.3 VCMLA and VCADD instructions

Add support for VCMLA and VCADD advanced SIMD complex number instructions.

The command line option is -march=armv8.3-a+fp16+simd for enabling all
instructions.

In arm-dis.c the formatting syntax was abused a bit to select between
0 vs 90 or 180 vs 270 or 90 vs 270 based on a bit value instead of
duplicating entries in the opcode table.

gas/
	* config/tc-arm.c (do_vcmla, do_vcadd): Define.
	(neon_scalar_for_vcmla): Define.
	(enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
	(NEON_ENC_TAB): Add DDSI and QQSI variants.
	(insns): Add vcmla and vcadd.
	* testsuite/gas/arm/armv8_3-a-simd.d: New.
	* testsuite/gas/arm/armv8_3-a-simd.s: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.s: New.

opcodes/
	* arm-dis.c (coprocessor_opcodes): Add vcmla and vcadd.
	(print_insn_coprocessor): Add 'V' format for neon D or Q regs.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC64 toc optimisation for power9
@ 2016-12-06  8:18 sergiodj+buildbot
  2016-12-13  2:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-06  8:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39eeab253474493bc9477dbb2bd9c8041f05764b ***

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

PowerPC64 toc optimisation for power9

Recognize power9 and a few other insns from older machines.  Fixes
linker complaints like "toc optimization is not supported for
0xf4090002 instruction".  0xf4090002 is stxsd v0,0(r9)

bfd/
	* elf64-ppc.c (ok_lo_toc_insn): Add r_type param.  Recognize
	lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp.
	Don't match lmd and stmd.
ld/
	* testsuite/ld-powerpc/tocopt7.s,
	* testsuite/ld-powerpc/tocopt7.out,
	* testsuite/ld-powerpc/tocopt7.d: New test.
	* testsuite/ld-powerpc/tocopt8.s,
	* testsuite/ld-powerpc/tocopt8.d: New test.
	* testsuite/ld-powerpc/powerpc.exp: Run them.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Assert on lval_register
@ 2016-12-06 14:59 sergiodj+buildbot
  2016-12-13  5:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc ***

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

Assert on lval_register

This patch adds asserts where the value's lval must be lval_register.
This triggers an error in frame_register_unwind because VALUE_REGNUM
is used but value's lval is not lval_register.

This also reveals a design issue in frame_register_unwind, that is
arguments addrp and realnump are mutually exclusive, we either use
addrp (for lval_memory), or use realnump (for lval_register).  This
can be done in a separate patch.

gdb:

2016-12-06  Yao Qi  <yao.qi@linaro.org>

	* frame.c (frame_register_unwind): Set *realnump if *lvalp is
	lval_register.
	* value.c (deprecated_value_next_frame_id_hack): Assert
	value->lval is lval_register.
	(deprecated_value_regnum_hack): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault running strip on a corrupt binary.
@ 2016-12-06 16:16 sergiodj+buildbot
  2016-12-13  7:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 16:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 92744f058094edd0b29bf9762f4ac26e4c6743c2 ***

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

Fix seg-fault running strip on a corrupt binary.

	PR binutils/20929
	* aoutx.h (squirt_out_relocs): Check for relocs without an
	associated symbol.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix seg-fault in strip when copying a corrupt binary.
@ 2016-12-06 17:12 sergiodj+buildbot
  2016-12-13  9:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df ***

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

Fix seg-fault in strip when copying a corrupt binary.

	PR binutils/20931
	* elf.c (copy_special_section_fields): Check for an invalid
	sh_link field before attempting to follow it.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix internal error in the linker by replacing a call to abort with an error message.
@ 2016-12-07 10:48 sergiodj+buildbot
  2016-12-13 14:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1 ***

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

Fix internal error in the linker by replacing a call to abort with an error message.

	PR ld/20932
	* elflink.c (bfd_elf_record_link_assignment): Replace call to
	abort with an error message and error return value.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Update opcode table comment
@ 2016-12-07 14:08 sergiodj+buildbot
  2016-12-13 22:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 343fa6906329eb5ec070cf2c05884e49a1cb9d46 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 343fa6906329eb5ec070cf2c05884e49a1cb9d46

MIPS16/opcodes: Update opcode table comment

	opcodes/
	* mips16-opc.c (mips16_opcodes): Update comment naming structure
	members.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/opcodes: Correct an `interaction' comment typo
@ 2016-12-07 14:36 sergiodj+buildbot
  2016-12-14  1:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 14:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f5c6e032e8d5303e9903c0538f84f76bb4d8733 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 5f5c6e032e8d5303e9903c0538f84f76bb4d8733

MIPS/opcodes: Correct an `interaction' comment typo

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Fix comment typo.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK
@ 2016-12-07 15:39 sergiodj+buildbot
  2016-12-14  3:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 15:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b0781150f69b6ff251dac447c77e4d4f6598da8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4b0781150f69b6ff251dac447c77e4d4f6598da8

MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK

Complement commit e407c74b5b60 ("Support for MIPS R5900 (Sony Playstation
2)"), <https://sourceware.org/ml/binutils/2012-12/msg00240.html>, and
commit 2c62985659da ("MIPS: Add Octeon 3 support") and update the chip
mask accordingly.

	include/
	* opcode/mips.h (INSN_CHIP_MASK): Update according to bit use.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes
@ 2016-12-07 21:39 sergiodj+buildbot
  2016-12-14  5:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 21:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14f6890677849172a4b13779acd9089c9baa3a81 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 14f6890677849172a4b13779acd9089c9baa3a81

Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes

    [...]/gdb/gnu-nat.c: In function 'set_sig_thread_cmd':
    [...]/gdb/gnu-nat.c:2973:7: warning: implicit declaration of function 'thread_id_to_pid' [-Wimplicit-function-declaration]
           ptid_t ptid = thread_id_to_pid (atoi (args));
           ^
    [...]/gdb/gnu-nat.c:2973:7: error: invalid initializer

That's commit 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869, which renamed
`thread_id_to_pid` to `global_thread_id_to_ptid`.

	gdb/
	* gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
	instead of thread_id_to_pid.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Hurd, C++: Explicitly cast "void *"
@ 2016-12-08  8:11 sergiodj+buildbot
  2016-12-14  7:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9e431d19426a6dd6b8923850398b847af0a1532 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: e9e431d19426a6dd6b8923850398b847af0a1532

Hurd, C++: Explicitly cast "void *"

C++ doesn't do implicit type conversions from "void *", so we have to...

	gdb/
	* i386-gnu-nat.c (i386_gnu_dr_set_control_one)
	(i386_gnu_dr_set_addr_one): Explicitly cast "void *".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Hurd, C++: kern_return_t vs. error_t
@ 2016-12-08 10:43 sergiodj+buildbot
  2016-12-14 15:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 10:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0947023d1d4b5d8803a1065d622f707010b2bcdc ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 0947023d1d4b5d8803a1065d622f707010b2bcdc

Hurd, C++: kern_return_t vs. error_t

GNU/Hurd uses its own "typedef enum __error_t_codes error_t;"
([glibc]/sysdeps/mach/hurd/bits/errno.h), contrary to the default
"typedef int error_t;" ([glibc]/stdlib/errno.h).

The Mach/Hurd RPCs return kern_return_t values, for which, upon assigning them
to an error_t variable, GCC in C++ mode tells us "error: invalid conversion
from 'kern_return_t {aka int}' to 'error_t {aka __error_t_codes}'".  Instead of
casting all these RPC return values to "error_t", just use "kern_return_t"
variables:

	gdb/
	* gnu-nat.c (proc_get_exception_port, proc_set_exception_port)
	(INF_RESUME_MSGPORT_RPC, proc_get_state, _proc_get_exc_port)
	(proc_steal_exc_port, proc_restore_exc_port, make_proc)
	(inf_startup, inf_set_pid, inf_validate_procinfo)
	(inf_validate_task_sc, inf_set_traced, inf_validate_procs)
	(inf_signal, inf_continue, gnu_wait, S_exception_raise_request)
	(do_mach_notify_dead_name, S_proc_wait_reply)
	(S_msg_sig_post_untraced_reply, S_msg_sig_post_reply)
	(port_msgs_queued, gnu_read_inferior, gnu_write_inferior)
	(gnu_find_memory_regions, steal_exc_port, thread_takeover_sc_cmd)
	(flush_inferior_icache): Instead of "error_t" use "kern_return_t".
	* i386-gnu-nat.c (fetch_fpregs, store_fpregs, i386_gnu_dr_get)
	(i386_gnu_dr_set): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++
@ 2016-12-08 11:25 sergiodj+buildbot
  2016-12-14 17:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21389b7f3451a482e14fef9bd32257c4c87f4317 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 21389b7f3451a482e14fef9bd32257c4c87f4317

Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++

..., so handle these in "C" mode still:

	gdb/
	* config/i386/i386gnu.mh (%_S.o %_U.o): Add "-x c" to
	"COMPILE.post".
	* gnu-nat.c: #include Mach/Hurd headers before all others.  Wrap
	Mach/Hurd headers and MIG stubs' prototypes in 'extern "C"'.
	* i386-gnu-nat.c: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix crash when disassembling invalid range on powerpc vle
@ 2016-12-08 13:58 sergiodj+buildbot
  2016-12-15  4:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 13:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4

Fix crash when disassembling invalid range on powerpc vle

I got a report of a gdb crash for vle and further investigation showed an
attempt to disassemble an invalid memory range.  I tracked the crash down
to the code in get_powerpc_dialect, where we fail to make sure we have a
valid section pointer before dereferencing it.

There is no such problem for rs6000-based disassembling.

opcodes/ChangeLog:

2016-12-08  Luis Machado  <lgustavo@codesourcery.com>

	* ppc-dis.c (get_powerpc_dialect): Check NULL info->section.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Hurd: Adjust to changes to "push pruning old threads down to the target"
@ 2016-12-09  8:00 sergiodj+buildbot
  2016-12-15 18:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  8:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c752a4cccb99ba73f51eff74b394dcdcd26d4c59 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: c752a4cccb99ba73f51eff74b394dcdcd26d4c59

Hurd: Adjust to changes to "push pruning old threads down to the target"

For "info threads", we currently run into:

    $ gdb/gdb -q -nw -nx --batch -ex start -ex info\ threads bfd/doc/chew
    Temporary breakpoint 1 at 0x80486e0: file ../../../W._C._Handy/bfd/doc/chew.c, line 1535.
    [New Thread 10656.5]

    Thread 4 hit Temporary breakpoint 1, main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
    1535    {
      Id   Target Id         Frame
      1    bogus thread id 1 Can't fetch registers from thread bogus thread id 1: No such thread

Before commit e8032dde10b743253125d7defb5f5503b21c1d26,
gdb/thread.c:update_thread_list used to call prune_threads, after that change
it doesn't anymore, and we don't implement the to_update_thread_list target
method where the prune_threads call got moved.  For now, apply a fix, related
to commit c82f56d9d760a9b4034eeaac44f2f0fa5779ff69 "Hurd: Adjust to
startup-with-shell changes", which restores the previous behavior:

      Id   Target Id         Frame
    * 4    Thread 10688.4    main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
      5    Thread 10688.5    0x0106096c in ?? () from /lib/i386-gnu/libc.so.0.3

Not perfect, but at least better.

	gdb/
	* gnu-nat.c (gnu_create_inferior): After startup_inferior, call
	prune_threads.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add test that exercises all bfd architecture, osabi, endian, etc. combinations
@ 2016-12-09 15:28 sergiodj+buildbot
  2016-12-16  3:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 15:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f1b5deee16144a75aa605bf37ed38d461587d399 ***

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

Add test that exercises all bfd architecture, osabi, endian, etc. combinations

This adds a test that exposes several problems fixed by earlier
patches:

#1 - Buffer overrun when host/target formats match, but sizes don't.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00125.html

#2 - Missing handling for FR-V FR300.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00117.html

#3 - BFD architectures with spaces in their names (v850).
     https://sourceware.org/ml/binutils/2016-03/msg00108.html

#4 - The OS ABI names with spaces issue.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00116.html

#5 - Bogus HP/PA long double format.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00122.html

#6 - Cris big endian internal error.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00126.html

#7 - Several PowerPC bfd archs/machines not handled by gdb.
     https://sourceware.org/bugzilla/show_bug.cgi?id=19797

And hopefully helps catch others in the future.

This started out as a test that simply did,

 gdb -ex "print 1.0L"

to exercise #1 above.

Then to cover both 32-bit target / 64-bit host and the converse, I
thought of having the testcase print the floats twice, once with the
architecture set to "i386" and then to "i386:x86-64".  This way it
wouldn't matter whether gdb was built as 32-bit or a 64-bit program.

Then I thought that other archs might have similar host/target
floatformat conversion issues as well.  Instead of hardcoding some
architectures in the test file, I thought we could just iterate over
all bfd architectures and OS ABIs supported by the gdb build being
tested.  This is what then exposed all the other problems listed
above...

With an --enable-targets=all, this exercises over 14 thousand
combinations.  If left in a single test file, it all consistenly runs
in under a minute on my machine (An Intel i7-4810MQ @ 2.8 MHZ running
Fedora 23).  Split in 8 chunks, as in this commit, it runs in around
25 seconds, with make -j8.

To avoid flooding the gdb.sum file, it avoids calling "pass" on each
tested combination/iteration.  I'm explicitly not implementing that by
passing an empty message to gdb_test / gdb_test_multiple, because I
still want a FAIL to be logged in gdb.sum.  So instead this puts the
internal passes in the gdb.log file, only, prefixed "IPASS:", for
internal pass.  TBC, if some iteration fails, it'll still show up as
FAIL in gdb.sum.  If this is an approach that takes on, I can see us
extending the common bits to support it for all testcases.

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

	* gdb.base/all-architectures-0.exp: New file.
	* gdb.base/all-architectures-1.exp: New file.
	* gdb.base/all-architectures-2.exp: New file.
	* gdb.base/all-architectures-3.exp: New file.
	* gdb.base/all-architectures-4.exp: New file.
	* gdb.base/all-architectures-5.exp: New file.
	* gdb.base/all-architectures-6.exp: New file.
	* gdb.base/all-architectures-7.exp: New file.
	* gdb.base/all-architectures.exp.in: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Create tdep->rl78_psw_type lazily
@ 2016-12-09 16:12 sergiodj+buildbot
  2016-12-16  6:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 16:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a31b34a18d61dee55042f2ab23c8fa9203fe6ef ***

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

Create tdep->rl78_psw_type lazily

I build GDB for all targets enabled.  When I "set architecture rl78",
GDB crashes,

(gdb) set architecture rl78

Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926				   name);
(gdb) bt 10
 #0  append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
 #1  0x00000000004aaca8 in rl78_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rl78-tdep.c:1410
 #2  0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
 #3  0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
 #4  0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
 #5  0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20be851 "rl78", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
    at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
 #6  0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20be840 "set architecture rl78", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
 #7  0x00000000006935f4 in command_handler (command=0x20be840 "set architecture rl78") at ../../binutils-gdb/gdb/event-top.c:577
 #8  0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
 #9  0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be890 "") at ../../binutils-gdb/gdb/event-top.c:200

The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet.  I fix it by creating the type when it is to be
used.  We've already done this in sparc, sparc64 and m68k.

gdb:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20953
	* rl78-tdep.c (rl78_psw_type): New function.
	(rl78_register_type): Call rl78_psw_type.
	(rl78_gdbarch_init): Move code to rl78_psw_type.

gdb/testsuite:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/all-architectures.exp.in: Remove kfail for rl78.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb: Remove support for obsolete OSABIs and a.out
@ 2016-12-09 19:39 sergiodj+buildbot
  2016-12-16 18:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 19:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1736a7bd96e8927c3f889a35f9153df4fd19d833 ***

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

gdb: Remove support for obsolete OSABIs and a.out

gdb/ChangeLog:
2016-12-09  Pedro Alves  <palves@redhat.com>

	* Makefile.in (ALL_TARGET_OBS): Remove vax-obsd-tdep.o.
	* alpha-fbsd-tdep.c (_initialize_alphafbsd_tdep): Adjust.
	* alpha-nbsd-tdep.c: Move comment to _initialize_alphanbsd_tdep.
	(alphanbsd_core_osabi_sniffer): Delete.
	(_initialize_alphanbsd_tdep): No longer handle a.out.
	* alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Adjust.
	* amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Adjust.
	* amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Adjust.
	* amd64-obsd-tdep.c (amd64obsd_supply_regset)
	(amd64obsd_combined_regset)
	(amd64obsd_iterate_over_regset_sections, amd64obsd_core_init_abi):
	Delete.
	(_initialize_amd64obsd_tdep): Don't handle a.out.
	* arm-nbsd-nat.c (struct md_core, fetch_core_registers)
	(arm_netbsd_core_fns): Delete.
	(_initialize_arm_netbsd_nat): Don't register arm_netbsd_core_fns.
	* arm-nbsd-tdep.c (arm_netbsd_aout_init_abi)
	(arm_netbsd_aout_osabi_sniffer): Delete.
	(_initialize_arm_netbsd_tdep): Don't handle a.out.
	* arm-obsd-tdep.c (armobsd_core_osabi_sniffer): Delete.
	(_initialize_armobsd_tdep): Don't handle a.out.
	* arm-tdep.c (arm_gdbarch_init): Remove bfd_target_aout_flavour
	case.
	* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Remove
	SunOS a.out handling.
	* configure.tgt (vax-*-netbsd* | vax-*-knetbsd*-gnu): Remove
	vax-obsd-tdep.o from gdb_target_objs.
	(vax-*-openbsd*): Likewise.
	(*-*-freebsd*): Adjust default gdb_osabi.
	(*-*-openbsd*): Likewise.
	* dbxread.c (block_address_function_relative): Delete.
	(dbx_symfile_read): Remove reference to
	block_address_function_relative.
	(dbx_symfile_read): Don't call read_dbx_dynamic_symtab.
	(read_dbx_dynamic_symtab): Delete.
	(process_one_symbol): Remove references to
	block_address_function_relative.
	* defs.h (GDB_OSABI_FREEBSD_AOUT, GDB_OSABI_NETBSD_AOUT): Remove.
	(GDB_OSABI_FREEBSD_ELF): Rename to ...
	(GDB_OSABI_FREEBSD): ... this.
	(GDB_OSABI_NETBSD_ELF): Rename to ...
	(GDB_OSABI_NETBSD): ... this.
	(GDB_OSABI_OPENBSD_ELF): Rename to ...
	(GDB_OSABI_OPENBSD): ... this.
	(GDB_OSABI_HPUX_ELF, GDB_OSABI_HPUX_SOM): Remove.
	* fbsd-tdep.c: Adjust comment.
	* hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Adjust.
	* hppa-obsd-tdep.c (GDB_OSABI_NETBSD_CORE): Delete.
	(hppaobsd_core_osabi_sniffer): Delete.
	(_initialize_hppabsd_tdep): Don't handle a.out.
	* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't handle
	GDB_OSABI_HPUX_SOM.
	(hppa_gdbarch_init): Likewise.
	* i386-bsd-tdep.c (i386bsd_aout_osabi_sniffer)
	(i386bsd_core_osabi_sniffer, _initialize_i386bsd_tdep): Delete.
	* i386-fbsd-tdep.c (i386fbsdaout_init_abi): Delete.  Merge bits
	with ...
	(i386fbsd_init_abi): ... this.
	(_initialize_i386fbsd_tdep): Don't handle a.out.
	* i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Adjust.
	* i386-obsd-tdep.c (i386obsd_aout_supply_regset)
	(i386obsd_aout_gregset)
	(i386obsd_aout_iterate_over_regset_sections): Delete.
	(i386obsd_init_abi): Merge with i386obsd_elf_init_abi.
	(i386obsd_aout_init_abi): Delete.
	(_initialize_i386obsd_tdep): Don't handle a.out.
	* m68k-bsd-tdep.c (m68kobsd_sigtramp_cache_init)
	(m68kobsd_sigtramp): Delete.
	(m68kbsd_init_abi): Merge with ...
	(m68kbsd_elf_init_abi): ... this, and delete it.
	(m68kbsd_aout_init_abi): Delete.
	(m68kbsd_aout_osabi_sniffer, m68kbsd_core_osabi_sniffer): Delete.
	(_initialize_m68kbsd_tdep): Don't handle a.out.
	* mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Adjust.
	* mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Adjust.
	* osabi.c (gdb_osabi_names): Remove "a.out" entries.  Drop "ELF"
	suffixes.  Remove "HP-UX" entries.
	(generic_elf_osabi_sniff_abi_tag_sections): Adjust.
	(generic_elf_osabi_sniffer): No longer handle GDB_OSABI_HPUX_ELF.
	Adjust.
	(_initialize_ppcfbsd_tdep): Adjust.
	* ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Adjust.
	* ppc-obsd-tdep.c (GDB_OSABI_NETBSD_CORE)
	(ppcobsd_core_osabi_sniffer): Delete.
	(_initialize_ppcobsd_tdep): Don't handle a.out.
	* rs6000-tdep.c (rs6000_gdbarch_init): Adjust.
	* sh-nbsd-tdep.c (GDB_OSABI_NETBSD_CORE)
	(shnbsd_core_osabi_sniffer): Delete.
	(_initialize_shnbsd_tdep): Don't handle a.out.
	* solib.c (clear_solib): Don't handle SunOS/a.out.
	* sparc-nbsd-tdep.c (sparc32nbsd_init_abi): Make extern.
	(sparc32nbsd_aout_init_abi): Delete.
	(sparc32nbsd_elf_init_abi): Merged into sparc32nbsd_init_abi.
	(sparcnbsd_aout_osabi_sniffer): Delete.
	(GDB_OSABI_NETBSD_CORE, sparcnbsd_core_osabi_sniffer): Delete.
	(_initialize_sparcnbsd_tdep): No longer handle a.out.
	* sparc-obsd-tdep.c (sparc32obsd_init_abi)
	(_initialize_sparc32obsd_tdep): Adjust.
	* sparc-tdep.h (sparc32nbsd_elf_init_abi): Rename to ...
	(sparc32nbsd_init_abi): ... this.
	* sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Adjust.
	* sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Adjust.
	* sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Adjust.
	* stabsread.c: Update comment.
	* symmisc.c (print_objfile_statistics): Don't mention "a.out" in
	output.
	* vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Adjust.
	* vax-obsd-tdep.c: Delete file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Reformat raw EXTEND and undecoded output
@ 2016-12-09 23:59 sergiodj+buildbot
  2016-12-16 21:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 23:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55af478400524cba7994e353fd9a98ef1543df2f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 55af478400524cba7994e353fd9a98ef1543df2f

MIPS16/opcodes: Reformat raw EXTEND and undecoded output

Use a tab rather than a space to separate `extend' and its uninterpreted
argument output, like with regular instructions.  Separate hexadecimal
halves of undecoded extended instructions output with a space instead of
presenting them concatenated.

	opcodes/
	* mips-dis.c (print_insn_mips16): Use a tab rather than a space
	to separate `extend' and its uninterpreted argument output.
	Separate hexadecimal halves of undecoded extended instructions
	output.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
	* testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
	source.
	* testsuite/binutils-all/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code
@ 2016-12-10  0:31 sergiodj+buildbot
  2016-12-17  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-10  0:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f17ecb4baca990b57cc57e8337c4e03ecee02742 ***

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

MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code

Make the `e' operand code used with raw EXTEND instructions use the
hexadecimal rather than decimal format, for consistency with what is
actually produced by code in `print_insn_mips16' dedicated to EXTEND
disassembly.  Due to that special handling the operand code is only
interpreted for assembly however, which accepts either format either
way, so there is no functional change here.

	opcodes/
	* mips16-opc.c (decode_mips16_operand) <'e'>: Use HINT rather
	than UINT.

	gas/
	* testsuite/gas/mips/mips16-extend.d: New test.
	* testsuite/gas/mips/mips16-extend.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Handle memory error in print_insn_rl78_common
@ 2016-12-12  9:28 sergiodj+buildbot
  2016-12-17 16:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-12  9:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a0b8f7ddb874283879baaf8af6d11094f4c4999 ***

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

Handle memory error in print_insn_rl78_common

Nowadays, memory error in rl78 disassembly is not handled, so if I
start a fresh GDB, and disassemble,

(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	nop
   0x00000001:	nop
   0x00000002:	nop
   0x00000003:	nop

the output is wrong.  This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rl78_common.  With this
patch applied,

(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	Cannot access memory at address 0x0

opcodes:

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

	* rl78-dis.c: Include <setjmp.h>.
	(struct private): New.
	(rl78_get_byte): Check return value of read_memory_func, and
	call memory_error_func and OPCODES_SIGLONGJMP on error.
	(print_insn_rl78_common): Call OPCODES_SIGJMP.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Port c++/78252 from GCC
@ 2016-12-12 18:30 sergiodj+buildbot
  2016-12-18  4:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 18:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 ***

Author: Nathan Sidwell <nathan@acm.org>
Branch: master
Commit: 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46

Port c++/78252 from GCC

	PR c++/78252
	* cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
	(d_print_init): Initialize it.
	(d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
	is_lambda_arg for auto.
	<DEMANGLE_COMPONENT_REFERENCE,
	DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
	is_lambda_arg.
	<DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
	printing.
	* testsuite/demangle-expected: Add lambda auto mangling cases.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field
@ 2016-12-13 17:55 sergiodj+buildbot
  2016-12-18 15:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-13 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6a51754740513db76fdee3aa153cdd51e87a24a ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: a6a51754740513db76fdee3aa153cdd51e87a24a

[Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field

The internal CN register representation for coprocessor fields used in aarch64
sys, sysl instructions are removed in this patch.

After the change, those fields are represented as immediate. Related checks are
added as well.

opcodes/

	* aarch64-opc.c (aarch64_opnd_qualifiers): New CR value range
	qualifier.
	(operand_general_constraint_met_p): Remove case for CP_REG.
	(aarch64_print_operand): Print CRn, CRm operand using imm field.
	* aarch64-tbl.h (QL_SYS): Use CR qualifier.
	(QL_SYSL): Likewise.
	(aarch64_opcode_table): Change CRn, CRm operand class and type.
	* aarch64-opc-2.c : Regenerate.
	* aarch64-asm-2.c : Likewise.
	* aarch64-dis-2.c : Likewise.

include/

	* opcode/aarch64.h (aarch64_operand_class): Remove
	AARCH64_OPND_CLASS_CP_REG.
	(enum aarch64_opnd): Change AARCH64_OPND_Cn to AARCH64_OPND_CRn,
	AARCH64_OPND_Cm to AARCH64_OPND_CRm.
	(aarch64_opnd_qualifier): Define AARCH64_OPND_QLF_CR qualifier.

gas/

	* config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
	(get_reg_expected_msg): Remove CN register case.
	(parse_operands): rewrite parser for CRn, CRm operand.
	(reg_names): Remove CN register.
	* testsuite/gas/aarch64/diagnostic.s: Add a new test case.
	* testsuite/gas/aarch64/diagnostic.l: Adjust error message.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
@ 2016-12-14  7:22 sergiodj+buildbot
  2016-12-18 20:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  7:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a02c3512655cc2c8ad68e4b656959b7d284acc7d ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: a02c3512655cc2c8ad68e4b656959b7d284acc7d

bfd: aarch64: fix word and arrdess size declaration in ilp32 mode


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used"
@ 2016-12-14  8:12 sergiodj+buildbot
  2016-12-18 23:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  8:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98fa61facff8fb041205950d642f5403372bfd96 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 98fa61facff8fb041205950d642f5403372bfd96

Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used"

This reverts commit 6650f7bd18f8161b9f666d3e65a6346e23a9d85f.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode"
@ 2016-12-14  8:26 sergiodj+buildbot
  2016-12-19  2:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  8:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7acd51d6971f12b832cd7281f669a7ae7feddf45 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 7acd51d6971f12b832cd7281f669a7ae7feddf45

Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode"

This reverts commit a02c3512655cc2c8ad68e4b656959b7d284acc7d.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix and clarify MIPS16e commentary
@ 2016-12-14 22:56 sergiodj+buildbot
  2016-12-19  6:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-14 22:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63e014fccdd91a89873554f6b33d7128d7112813 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 63e014fccdd91a89873554f6b33d7128d7112813

MIPS16/opcodes: Fix and clarify MIPS16e commentary

Correct the note about JALRC/JRC being compact jumps rather than
branches, and add a reference from where the remaining MIPS16e additions
live and the jumps used to be too, complementing commit ceb94aa50d68
("Update insn_mo when converting to a MIPS16e compact jump"),
<https://sourceware.org/ml/binutils/2011-06/msg00369.html>.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Update comments on MIPS16e
	compact jumps.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] MIPS/opcodes: Reorder ELF file header flag handling in disassembler
@ 2016-12-15  0:13 sergiodj+buildbot
  2016-12-19 12:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-15  0:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8184783a4069e04deb2e43b4ad0d66d80f1ad2df ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8184783a4069e04deb2e43b4ad0d66d80f1ad2df

MIPS/opcodes: Reorder ELF file header flag handling in disassembler

Move ELF file header flag interpretation code, used to set disassembler
options, beyond architecture setup.  No functional change as the effects
of both code sections are disjoint from each other, but this provides
for a further expansion of ELF file header flag interpretation.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options): Reorder ELF file
	header flag interpretation code.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Linking non-ELF file broken by PR20908 fix
@ 2016-12-15 13:29 sergiodj+buildbot
  2016-12-19 22:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-15 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a961cdd5f139d3c3e09170db52bd8df7dafae13f ***

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

Linking non-ELF file broken by PR20908 fix

	PR ld/20968
	PR ld/20908
	* elflink.c (bfd_elf_final_link): Revert 2016-12-02 change.  Move
	reloc counting code later after ELF flavour test.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Implement and document --gc-keep-exported
@ 2016-12-16  3:46 sergiodj+buildbot
  2016-12-20  2:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-16  3:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 221855059a11ab76aa909a5df4104354f9384139 ***

Author: fincs <fincs.alt1@gmail.com>
Branch: master
Commit: 221855059a11ab76aa909a5df4104354f9384139

Implement and document --gc-keep-exported

include/
	* bfdlink.h (struct bfd_link_info): Add gc_keep_exported.
bfd/
	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
	for info->gc_keep_exported.
	(bfd_elf_gc_sections): Likewise.
ld/
	* ld.texinfo: Document --gc-keep-exported.
	* ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
	* lexsup.c (parse_args): Add handling for --gc-keep-exported.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Darwin: Fix gdb compilation.
@ 2016-12-16 12:50 sergiodj+buildbot
  2016-12-20  9:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-16 12:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97f00e367c8222cda51bc7c0e9d3073a487a5976 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 97f00e367c8222cda51bc7c0e9d3073a487a5976

Darwin: Fix gdb compilation.

Due to changes introduced by
commit 4d01a485d29732b19743e8b138897f3509e071b0
('struct expression *' -> gdb::unique_xmalloc_ptr<expression>)
compilation is broken on Darwin.

../gdb/darwin-nat-info.c:733:8: error: assigning to 'struct expression *'
from incompatible type
'expression_up' (aka 'std::__1::unique_ptr<expression, gdb::xfree_deleter<expression> >')
expr = parse_expression (exp);

Beside compilation, memory leak was solved as 'make_clean_up' was not called in previous
version.

2016-12-16  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:
	* darwin-nat-info.c (info_mach_region_command): Use expression_up.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Clean up gdb.gdb/selftest.exp
@ 2016-12-19 15:59 sergiodj+buildbot
  2016-12-21  8:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-19 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97 ***

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

Clean up gdb.gdb/selftest.exp

I recently see the test fails like this,

(gdb) PASS: gdb.gdb/selftest.exp: step over argv initialization
list^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: unknown source line (after step over argv initialization)

step^M
std::vector<cmdarg, std::allocator<cmdarg> >::vector (this=0x7fffffffdc10) at ../../binutils-gdb/gdb/main.c:487^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: step into xmalloc call

These fails are caused by using std::vector in commit
f60ee22ea1d62f7004511ec65a3ad76890032d88.  selttest.exp should match
the source code of GDB.  It is a maintenance pain, so this patch
removes do_steps_and_nexts.

gdb/testsuite:

2016-12-19  Yao Qi  <yao.qi@linaro.org>

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
	(test_with_self): Don't call do_steps_and_nexts, and remove
	code about stepping into xmalloc.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix an integer overflow in RISC-V relocation handling
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-22  6:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add opcodes RISC-V dependencies
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-21 11:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dd1d944e2321de26f75a21f42750dd38ed964714 ***

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

Add opcodes RISC-V dependencies

	* Makefile.am (TARGET_LIBOPCODES_CFILES): Add riscv files.
	* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Rework RISC-V relocations
@ 2016-12-20  2:07 sergiodj+buildbot
  2016-12-22  0:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Improve RISC-V LD error message
@ 2016-12-20  2:12 sergiodj+buildbot
  2016-12-21 14:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96b0927de3ebdb302d8d571c43da3db5ec23847e ***

Author: Palmer Dabbelt <palmer@dabbelt.com>
Branch: master
Commit: 96b0927de3ebdb302d8d571c43da3db5ec23847e

Improve RISC-V LD error message

I recently ran into this error message and found it's not helpful: it
just tells me some temporary file can't be linked.  This slightly
improved one at least tells me it's because of an elf32/elf64 conflict.

	* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve
	error message when linking elf32 and elf64.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains
@ 2016-12-20 17:00 sergiodj+buildbot
  2016-12-22 23:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Constify solib_find
@ 2016-12-20 19:34 sergiodj+buildbot
  2016-12-23  5:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove high bit set characters
@ 2016-12-21 11:51 sergiodj+buildbot
  2016-12-23 10:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Class-ify ui_out
@ 2016-12-22 22:01 sergiodj+buildbot
  2016-12-24  4:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] New syntax for mt print symbols,msymbols,psymbols.
@ 2016-12-23  0:18 sergiodj+buildbot
  2016-12-24  8:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] infrun.c (set_step_over_info): Add comment.
@ 2016-12-23  1:16 sergiodj+buildbot
  2016-12-24 12:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Bump version to 2.28.51
@ 2016-12-23  9:49 sergiodj+buildbot
  2016-12-24 21:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
@ 2016-12-23 14:34 sergiodj+buildbot
  2016-12-25  2:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-25 21:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling
@ 2016-12-23 21:34 sergiodj+buildbot
  2016-12-26  2:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling
@ 2016-12-23 22:25 sergiodj+buildbot
  2016-12-26  5:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] dynrelro section for read-only dynamic symbols copied into executable
@ 2016-12-26  6:54 sergiodj+buildbot
  2016-12-27 21:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use dynrelro for symbols in relro sections too
@ 2016-12-28 12:52 sergiodj+buildbot
  2016-12-28 18:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] link_hash_copy_indirect and symbol flags
@ 2016-12-29 14:37 sergiodj+buildbot
  2016-12-29 16:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Import config.sub
@ 2016-12-31  2:44 sergiodj+buildbot
  2016-12-31  3:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PRU BFD support
@ 2016-12-31  3:06 sergiodj+buildbot
  2016-12-31  8:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PRU Opcode Port
@ 2016-12-31  4:19 sergiodj+buildbot
  2016-12-31 11:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Create sdynrelro for elfn32 mips too
@ 2016-12-31  9:11 sergiodj+buildbot
  2016-12-31 17:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix riscv breakage
@ 2016-12-31 13:03 sergiodj+buildbot
  2016-12-31 20:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2016-12-31 13:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed ***

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

Fix riscv breakage

	* disassemble.c (disassembler): Add break accidentally removed
	by PRU patch.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] update copyright year range in GDB files
@ 2017-01-01  8:25 sergiodj+buildbot
  2017-01-01 11:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR20989, sparc GOT sequence optimisation
@ 2017-01-04  0:08 sergiodj+buildbot
  2017-01-04  5:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  0:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b86074c4a84e32ca55a6c72c5fca45d97dc9374 ***

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

PR20989, sparc GOT sequence optimisation

	PR ld/20989
	* elfxx-sparc.c (gdop_relative_offset_ok): New function.
	(_bfd_sparc_elf_relocate_section): Use it to validate GOT
	indirect to GOT pointer relative code edit.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Set SHF_INFO_LINK for .PARISC.unwind
@ 2017-01-04  1:00 sergiodj+buildbot
  2017-01-04  9:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix compile time warning about using a possibly uninitialised variable.
@ 2017-01-04  1:38 sergiodj+buildbot
  2017-01-04 23:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Regen opcodes cgen files
@ 2017-01-04  2:06 sergiodj+buildbot
  2017-01-04 15:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add new Serbian translation for the opcodes library.
@ 2017-01-04  2:25 sergiodj+buildbot
  2017-01-05  3:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add fall through comment.
@ 2017-01-04  3:11 sergiodj+buildbot
  2017-01-05  7:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 14:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 10:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix an internal error on writing pieced value
@ 2017-01-04 10:10 sergiodj+buildbot
  2017-01-05 21:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  0:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] picflag.m4 high bit set in comment
@ 2017-01-04 13:51 sergiodj+buildbot
  2017-01-06  4:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Sync libiberty from gcc
@ 2017-01-04 14:42 sergiodj+buildbot
  2017-01-06  8:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] update-copyright.py for binutils
@ 2017-01-04 14:57 sergiodj+buildbot
  2017-01-06 11:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 14:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2a23b23e9ca7015acadbbc7a12c665791c8337 ***

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

update-copyright.py for binutils

This is a modified form of gcc's contrib/update-copyright.py.

	* update-copyright.py: New file.
	* add-log.el: Update copyright year range.
	* texi2pod.pl: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [DWARF] Sync GCC dwarf.def change on AArch64
@ 2017-01-04 16:08 sergiodj+buildbot
  2017-01-06 14:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use correct OSABI constant for FreeBSD/mips binaries.
@ 2017-01-04 20:32 sergiodj+buildbot
  2017-01-06 18:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 21:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  0:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix ARI warning
@ 2017-01-05 15:02 sergiodj+buildbot
  2017-01-07  4:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update gdb_ptrace.h in HFILES_NO_SRCDIR
@ 2017-01-06 14:17 sergiodj+buildbot
  2017-01-07  7:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include ax.h in ax-gdb.h
@ 2017-01-06 15:00 sergiodj+buildbot
  2017-01-07 11:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include doublest.h and expression.h in dfp.h
@ 2017-01-06 15:35 sergiodj+buildbot
  2017-01-07 14:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include target.h in inf-loop.h
@ 2017-01-06 16:36 sergiodj+buildbot
  2017-01-07 18:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 051d2ddae5a2289d1f253b563e57a8e8496a06bb ***

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

Include target.h in inf-loop.h

$ make check-headers CHECK_HEADERS="target.h inf-loop.h"
...
../../binutils-gdb/gdb/inf-loop.h:23:42: error: use of enum 'inferior_event_type' without previous declaration
 extern void inferior_event_handler (enum inferior_event_type event_type,
                                          ^
gdb:

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

	* inf-loop.c: Don't include "target.h".
	* inf-loop.h: Include it here.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Include mi-cmds.h in mi-parse.h
@ 2017-01-06 17:08 sergiodj+buildbot
  2017-01-07 21:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  0:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include ppc-tdep.h in ppc-linux-tdep.h
@ 2017-01-06 19:22 sergiodj+buildbot
  2017-01-08  6:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include serial.h in ser-base.h.
@ 2017-01-06 19:51 sergiodj+buildbot
  2017-01-08 10:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Include gdb_proc_service.h in x86-linux-nat.h
@ 2017-01-06 20:40 sergiodj+buildbot
  2017-01-08 14:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e2d6fa6a38ae2b80a56d786a41d905c9541906f ***

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

Include gdb_proc_service.h in x86-linux-nat.h

$ make check-headers CHECK_HEADERS="x86-linux-nat.h"
...
../../binutils-gdb/gdb/x86-linux-nat.h:29:8: error: 'ps_err_e' does not name a type
 extern ps_err_e x86_linux_get_thread_area (pid_t pid, void *addr,
        ^

gdb:

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

	* x86-linux-nat.h: Include gdb_proc_service.h.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] S/390: Issue error for overflowing relocs.
@ 2017-01-07 21:17 sergiodj+buildbot
  2017-01-08 17:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [D] Fix crash when debug expression enabled.
@ 2017-01-08 10:52 sergiodj+buildbot
  2017-01-09  8:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Speed up objdump when displaying disassembly mixed with line number and source code information.
@ 2017-01-09 17:05 sergiodj+buildbot
  2017-01-09 19:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-09 17:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd6581da62c32a391f9a4c2c5d248a11aa6fa8f7 ***

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

Speed up objdump when displaying disassembly mixed with line number and source code information.

bfd	* dwarf2.c (lookup_address_in_function_table): Return early if
	there are no functions in the given comp unit, or if the high
	address of the last function in the comp unit is less than the
	desired address.

binutils * objdump.c (display_file): Add new parameter 'last_file'.  If
	last_file is true, do not call bfd_close at the end of the
	function.
	(main): Set the value of the last_file parameter when calling
	display_file.


^ permalink raw reply	[flat|nested] 3460+ 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  1:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update help of the "frame" command
@ 2017-01-10 15:35 sergiodj+buildbot
  2017-01-10 16:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Don't use elf_i386_eh_frame_plt directly
@ 2017-01-10 19:51 sergiodj+buildbot
  2017-01-11  0:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  4:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] i386/x32: Align .eh_frame section to 4 bytes
@ 2017-01-10 22:48 sergiodj+buildbot
  2017-01-11  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce py-ref.h
@ 2017-01-11  5:41 sergiodj+buildbot
  2017-01-11 11:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-type.c
@ 2017-01-11  6:08 sergiodj+buildbot
  2017-01-11 18:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints
@ 2017-01-11  7:09 sergiodj+buildbot
  2017-01-12  8:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change event code to use gdbpy_ref
@ 2017-01-11  7:18 sergiodj+buildbot
  2017-01-11 15:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-framefilter.c
@ 2017-01-11  7:59 sergiodj+buildbot
  2017-01-12 12:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_string_to_argv
@ 2017-01-11  8:42 sergiodj+buildbot
  2017-01-11 21:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in call_doc_function
@ 2017-01-11  9:54 sergiodj+buildbot
  2017-01-12 19:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-11 10:24 sergiodj+buildbot
  2017-01-13  3:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-value.c
@ 2017-01-11 11:14 sergiodj+buildbot
  2017-01-13  6:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors
@ 2017-01-11 11:23 sergiodj+buildbot
  2017-01-12  5:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_lookup_symbol
@ 2017-01-11 11:29 sergiodj+buildbot
  2017-01-13 10:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter
@ 2017-01-11 11:46 sergiodj+buildbot
  2017-01-13 13:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-breakpoint.c
@ 2017-01-11 12:35 sergiodj+buildbot
  2017-01-13 17:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-inferior.c
@ 2017-01-11 13:22 sergiodj+buildbot
  2017-01-14  4:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-linetable.c
@ 2017-01-11 13:26 sergiodj+buildbot
  2017-01-12 15:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-objfile.c
@ 2017-01-11 14:12 sergiodj+buildbot
  2017-01-14  7:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python.c
@ 2017-01-11 14:43 sergiodj+buildbot
  2017-01-14 15:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethods.c
@ 2017-01-11 15:49 sergiodj+buildbot
  2017-01-14 22:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-unwind.c
@ 2017-01-11 16:05 sergiodj+buildbot
  2017-01-15  1:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  5:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook
@ 2017-01-11 17:26 sergiodj+buildbot
  2017-01-15 13:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python_interactive_command
@ 2017-01-11 18:16 sergiodj+buildbot
  2017-01-15 16:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethod.c
@ 2017-01-11 19:03 sergiodj+buildbot
  2017-01-16  3:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c
@ 2017-01-11 19:07 sergiodj+buildbot
  2017-01-14  1:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter_varobj and use it
@ 2017-01-11 19:18 sergiodj+buildbot
  2017-01-16  6:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-param.c
@ 2017-01-11 20:19 sergiodj+buildbot
  2017-01-16 20:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 20:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2865bfce3875fa16046b0a987d98ab19fc8bbb9a ***

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

Use gdbpy_enter in py-param.c

This converts the remaining functions in py-param.c to use
gdbpy_enter.

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

	* python/py-param.c (get_set_value, get_show_value): Use
	gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python.c
@ 2017-01-11 20:35 sergiodj+buildbot
  2017-01-17  0:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7785f8c797183eb363e95c201343df67d8536c6 ***

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

Use gdbpy_enter in python.c

This changes the last functions in python.c to use gdbpy_enter.  I
split gdbpy_finish_initialization into two functions in order to avoid
some "goto"s.

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

	* python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
	(do_finish_initialization): New function.  Use gdbpy_ref.
	(gdbpy_finish_initialization): Use gdbpy_enter.  Call
	do_finish_initialization.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-progspace.c
@ 2017-01-11 21:38 sergiodj+buildbot
  2017-01-14 11:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change type of encoding argument to gdbpy_extract_lazy_string
@ 2017-01-11 21:40 sergiodj+buildbot
  2017-01-17  7:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1eba63835ea23cbae6059c076db985a47e39ce24 ***

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

Change type of encoding argument to gdbpy_extract_lazy_string

This changes gdbpy_extract_lazy_string's "encoding" argument to be a
unique_xmalloc_ptr.  I chose this rather than std::string because it
can sometimes be NULL.

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

	* python/py-prettyprint.c (print_string_repr, print_children):
	Update.
	* python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
	of "encoding".
	* varobj.c (varobj_value_get_print_value): Update.
	* python/python-internal.h (gdbpy_extract_lazy_string): Update.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in varobj_value_get_print_value
@ 2017-01-11 21:55 sergiodj+buildbot
  2017-01-17 10:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 21:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68cdc55720bbe34d9d844ef2a0c4d75fcab4bc99 ***

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

Use gdbpy_enter_varobj in varobj_value_get_print_value

This changes the last function in varobj.c to use gdbpy_enter_varobj.

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

	* varobj.c (varobj_value_get_print_value): Use
	gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py_print_frame
@ 2017-01-11 22:26 sergiodj+buildbot
  2017-01-17 17:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 22:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b4e0e01f8b19269d720948ee2350cb753f8ede4 ***

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

Use gdbpy_ref in py_print_frame

This changes py_print_frame to use gdbpy_ref in a few spots.

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

	* python/py-framefilter.c (py_print_frame): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Change python_run_simple_file to use gdbpy_ref
@ 2017-01-11 23:31 sergiodj+buildbot
  2017-01-18  1:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 23:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9de10f6d53dffbec12cec9843662d5764526983d ***

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

Change python_run_simple_file to use gdbpy_ref

This changes python_run_simple_file to use gdbpy_ref and
unique_xmalloc_ptr.  Thi fixes a latent bug in this function, where
the error path previously ran the cleanups and then referred to one of
the objects just freed.

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

	* python/python.c (python_run_simple_file): Use
	unique_xmalloc_ptr, gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-inferior.c
@ 2017-01-12  1:51 sergiodj+buildbot
  2017-01-19  0:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  1:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9205649a38c609a42ba52680a316fceaa08c1543 ***

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

Use gdbpy_ref in py-inferior.c

This changes py-inferior.c to use gdbpy_ref in more places.

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

	* python/py-inferior.c (find_thread_object, build_inferior_list):
	Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-param.c
@ 2017-01-12  2:37 sergiodj+buildbot
  2017-01-19  3:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  2:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97d83487d5fbffd04d68a049f97009e1df2562a3 ***

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

Use gdbpy_ref in py-param.c

This changes py-param.c to use gdbpy_ref in a couple more spots.

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

	* python/py-param.c (get_doc_string, compute_enum_values): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-12  2:53 sergiodj+buildbot
  2017-01-19  7:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  2:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59876f8f9f32081b2831aed83a03a815e8d85a97 ***

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

Use gdbpy_ref in python.c

This changes more places in python.c to use gdbpy_ref.

Additionally, previously gdbpy_apply_type_printers would return
EXT_LANG_RC_ERROR if a type printer returned None.  However, that
doesn't seem correct to me; this patch changes it to return
EXT_LANG_RC_NOP in this case.

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

	* python/python.c (eval_python_command, gdbpy_decode_line)
	(gdbpy_run_events, gdbpy_start_type_printers)
	(gdbpy_apply_type_printers): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in pyuw_object_attribute_to_pointer
@ 2017-01-12  3:09 sergiodj+buildbot
  2017-01-19 11:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  3:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4586d54305ed275bb909f3373a7372c02d7e579e ***

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

Use gdbpy_ref in pyuw_object_attribute_to_pointer

This changes pyuw_object_attribute_to_pointer to use gdbpy_ref.

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

	* python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref rather than make_cleanup_py_decref
@ 2017-01-12  4:30 sergiodj+buildbot
  2017-01-19 22:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  4:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13df46cc0f340253e8a7bd984d1e4f38f29eec2d ***

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

Use gdbpy_ref rather than make_cleanup_py_decref

This changes some spots in py-framefilter.c to use gdbpy_ref rather
than make_cleanup_py_decref or make_cleanup_py_xdecref.

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

	* python/py-framefilter.c (py_mi_print_variables): Use gdbpy_ref.
	(py_print_locals, enumerate_locals, py_print_args): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove make_cleanup_py_decref and make_cleanup_py_xdecref
@ 2017-01-12  4:45 sergiodj+buildbot
  2017-01-20  2:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  4:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8dbcee674ea4a8daa55f880ad7ade96efca96951 ***

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

Remove make_cleanup_py_decref and make_cleanup_py_xdecref

make_cleanup_py_decref and make_cleanup_py_xdecref are now unused, so
this patch removes themm.  Future Python changes should use gdbpy_ref
instead.

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

	* python/python-internal.h (make_cleanup_py_decref)
	(make_cleanup_py_xdecref): Don't declare.
	* python/py-utils.c (py_decref, make_cleanup_py_decref)
	(py_xdecref, make_cleanup_py_xdecref): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in invoke_match_method
@ 2017-01-12  5:21 sergiodj+buildbot
  2017-01-15 23:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add gdb_ref_ptr.h
@ 2017-01-12  5:46 sergiodj+buildbot
  2017-01-20  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  5:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50315b21779d71c172eb98a786a9b8281622e407 ***

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

Add gdb_ref_ptr.h

This adds a new gdb_ref_ptr.h, that implements a reference-counting
smart pointer class, where the user of the class supplies a
reference-counting policy object.

This class will be used in the next patch, which changes most explicit
BFD reference counts to use this new type.  Meanwhile, this patch
changes gdbpy_ref to be a specialization of this new class.

This change required adding new nullptr_t overloads some operators in
gdb_ref_ptr.h.  I suspect this was needed because some Python header
redefines NULL, but I'm not certain.

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

	* common/gdb_ref_ptr.h: New file.
	* python/py-ref.h (struct gdbpy_ref_policy): New.
	(gdbpy_ref): Now a typedef.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove make_cleanup_discard_psymtabs
@ 2017-01-12  7:06 sergiodj+buildbot
  2017-01-20 20:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 906768f970826102252e8cfd30ee72da71de29f7 ***

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

Remove make_cleanup_discard_psymtabs

This removes make_cleanup_discard_psymtabs in favor of a new class.

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

	* dwarf2read.c (dwarf2_build_psymtabs): Use psymtab_discarder.
	* psympriv.h (make_cleanup_discard_psymtabs): Don't declare.
	* psymtab.c (discard_psymtabs_upto): Remove.
	(make_cleanup_discard_psymtabs): Remove.
	(struct psymtab_state): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in py-varobj.c
@ 2017-01-12  7:27 sergiodj+buildbot
  2017-01-16 10:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 788f258604773ccbe9ccba71f9b1725930324275 ***

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

Use gdbpy_enter_varobj in py-varobj.c

This converts the remaining functions in py-varobj.c to use
gdbpy_enter_varobj.

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

	* python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
	Use gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add scoped_value_mark
@ 2017-01-12  7:52 sergiodj+buildbot
  2017-01-20 23:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eb115069323087e15210c09e3b581be0f6fb5852 ***

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

Add scoped_value_mark

This adds a scoped_value_mark class, that records the value mark in
the constructor and then calls value_free_to_mark in the destructor.
It then updates various spots in gdb to use this class, rather than a
cleanup.

It would be better overall to replace "struct value *" with a
shared_ptr, maybe eliminating the need for this class (watchpoints
would perhaps need some new mechanism as well).  However, that's
difficult to do.

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

	* python/py-value.c (valpy_dereference, valpy_referenced_value)
	(valpy_reference_value, valpy_const_value, valpy_get_address)
	(valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
	(valpy_getitem, valpy_call, valpy_binop_throw, valpy_negative)
	(valpy_absolute, valpy_richcompare_throw): Use scoped_value_mark.
	* dwarf2loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use
	scoped_value_mark.
	* dwarf2-frame.c (execute_stack_op): Use scoped_value_mark.
	* value.h (scoped_value_mark): New class.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove cleanups from execute_gdb_command
@ 2017-01-12  8:23 sergiodj+buildbot
  2017-01-21  6:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ac32117f7224620f44ac966b5ca53df6e4fc5bd ***

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

Remove cleanups from execute_gdb_command

This replaces a cleanup in execute_gdb_command with an instance of
std::string.

Testing showed that this originally missed a cleanup that was returned
by prevent_dont_repeat.  This version of the patch changes
prevent_dont_repeat to return a scoped_restore rather than a cleanup.

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

	* top.c (prevent_dont_repeat): Change return type.
	* python/python.c (execute_gdb_command): Use std::string.
	Update.
	* guile/guile.c (gdbscm_execute_gdb_command): Update.
	* command.h (prevent_dont_repeat): Change return type.
	* breakpoint.c (bpstat_do_actions_1): Update.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add constructor and destructor to demangle_parse_info
@ 2017-01-12  8:38 sergiodj+buildbot
  2017-01-21 10:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8b23b3f89fbb0ed28d6b78f775b0038d8604798 ***

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

Add constructor and destructor to demangle_parse_info

This adds a constructor and destructor to demangle_parse_info, and
then changes all the users to use them.  This removes
make_cleanup_cp_demangled_name_parse_free and its single use.

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

	* python/py-type.c (typy_legacy_template_argument): Update.
	* cp-support.h (struct demangle_parse_info) (demangle_parse_info,
	~demangle_parse_info): Declare new members.
	(cp_demangled_name_to_comp): Return unique_ptr.
	(cp_demangled_name_parse_free)
	(make_cleanup_cp_demangled_name_parse_free)
	(cp_new_demangle_parse_info): Remove.
	* cp-support.c (do_demangled_name_parse_free_cleanup)
	(make_cleanup_cp_demangled_name_parse_free): Remove.
	(inspect_type, cp_canonicalize_string_full)
	(cp_canonicalize_string): Update.
	(mangled_name_to_comp): Change return type.
	(cp_class_name_from_physname, method_name_from_physname)
	(cp_func_name, cp_remove_params): Update.
	* cp-name-parser.y (demangle_parse_info): New constructor, from
	cp_new_demangle_parse_info.
	(~demangle_parse_info): New destructor, from
	cp_demangled_name_parse_free.
	(cp_merge_demangle_parse_infos): Update.
	(cp_demangled_name_to_comp): Change return type.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter in fnpy_call
@ 2017-01-12  8:52 sergiodj+buildbot
  2017-01-16 17:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e9dcc758786feaaaf5026c6e59af42b30a35d36 ***

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

Use gdbpy_enter in fnpy_call

This changes fnpy_call to use gdbpy_enter and gdbpy_ref.

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

	* python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add support for x86/64 redox target.
@ 2017-01-12  9:28 sergiodj+buildbot
  2017-01-21 13:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  9:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2e2d2f54b462db40efac449f4d7724ae4728fe5 ***

Author: Jeremy Soller <jackpot51@gmail.com>
Branch: master
Commit: f2e2d2f54b462db40efac449f4d7724ae4728fe5

Add support for x86/64 redox target.

bfd	* config.bfd: Add entries for i686-redox and x86_64-redox.

gas	* configure.tgt: Add entry for i386-redox.

ld	* configure.tgt: Add entries for x86-redox and x86_64-redox.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Fix typo in lookup_cmd_1 comment
@ 2017-01-12 10:14 sergiodj+buildbot
  2017-01-21 16:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 10:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ad2da7317c11fbf09e8feb9948b446d30ba9ec2 ***

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

Fix typo in lookup_cmd_1 comment

gdb/ChangeLog:

	* cli/cli-decode.c (lookup_cmd_1): Fix typo in comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in more of varobj.c
@ 2017-01-12 10:32 sergiodj+buildbot
  2017-01-17  3:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bde7b3e3a0d5e1f0b66730d692b21c98a8686f75 ***

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

Use gdbpy_enter_varobj in more of varobj.c

This converts most of the remaining functions in varobj.c to use
gdbpy_enter_varobj.

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

	* varobj.c (varobj_get_display_hint)
	(dynamic_varobj_has_child_method, install_new_value_visualizer)
	(varobj_set_visualizer, free_variable): Use
	gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x86-64: Correct unwind info for the BND PLT
@ 2017-01-12 10:59 sergiodj+buildbot
  2017-01-21 20:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 10:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e65917652e994b0864b344bfa47014155d93100 ***

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

x86-64: Correct unwind info for the BND PLT

Since the BND PLT has

 230:	68 00 00 00 00       	pushq  $0x0
 235:	f2 e9 e5 ff ff ff    	bnd jmpq 220 <.plt>
 23b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

instead of

 230:	ff 25 e2 0d 20 00    	jmpq   *0x200de2(%rip)        # 201018
<func>
 236:	68 00 00 00 00       	pushq  $0x0
 23b:	e9 e0 ff ff ff       	jmpq   220 <.plt>

its unwind info should be

DW_CFA_def_cfa_expression (DW_OP_breg7 (rsp): 8; DW_OP_breg16 (rip): 0;
DW_OP_lit15; DW_OP_and; DW_OP_lit5; DW_OP_ge; DW_OP_lit3; DW_OP_shl;
DW_OP_plus)

bfd/

	PR ld/21038
	* elf64-x86-64.c (elf_x86_64_eh_frame_bnd_plt): New.
	(elf_x86_64_bnd_arch_bed): Use elf_x86_64_eh_frame_bnd_plt and
	elf_x86_64_eh_frame_plt_got.
	(elf_x86_64_size_dynamic_sections): Get unwind info from
	elf_x86_64_bnd_arch_bed for the BND PLT.

ld/

	PR ld/21038
	* testsuite/ld-x86-64/pr21038a.d: New file.
	* testsuite/ld-x86-64/pr21038a.s: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Return -1 on memory error in print_insn_msp430
@ 2017-01-12 11:14 sergiodj+buildbot
  2017-01-22  0:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d95014a2ef6e9aee927c13960fa37e509d46eb32 ***

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

Return -1 on memory error in print_insn_msp430

Disassemblers in opcodes return -1 on memory error, but msp430 doesn't
follow this convention.  If I change GDB not to throw exception in
disassemble_info.memory_error_func and rely on the return value of
disassembler, I'll get the following output.

(gdb) disassemble 0x0,+8
Dump of assembler code from 0x0 to 0x8:
   0x00000000:  .word   0xffff; ????
   0x00000002:  .word   0xffff; ????
   0x00000004:  .word   0xffff; ????
   0x00000006:  .word   0xffff; ????
End of assembler dump.

This patch teaches print_insn_msp430 and its callees to return -1
on memory error.

opcodes:

2017-01-12  Yao Qi  <yao.qi@linaro.org>

	* msp430-dis.c (msp430_singleoperand): Return -1 if
	msp430dis_opcode_signed returns false.
	(msp430_doubleoperand): Likewise.
	(msp430_branchinstr): Return -1 if
	msp430dis_opcode_unsigned returns false.
	(msp430x_calla_instr): Likewise.
	(print_insn_msp430): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove ensure_python_env
@ 2017-01-12 12:41 sergiodj+buildbot
  2017-01-17 13:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17a22718b113a220de121ef4211fc3990d9b1745 ***

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

Remove ensure_python_env

All of gdb has been converted away from ensure_python_env and
varobj_ensure_python_env now; so remove them.

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

	* python/python.c (ensure_python_env, restore_python_env):
	Remove.
	* python/python-internal.h (ensure_python_env): Don't declare.
	* varobj.h (varobj_ensure_python_env): Don't declare.
	* varobj.c (varobj_ensure_python_env): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-prettyprint.c
@ 2017-01-12 14:12 sergiodj+buildbot
  2017-01-17 21:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2bd5759dcb71adfb26b1c7cf20b3b032af29b845 ***

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

Use gdbpy_ref in py-prettyprint.c

This changes some spots in py-prettyprint.c to use gdbpy_ref.  It also
changes push_dummy_python_frame to be a class, rather than having it
create a cleanup.

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

	* python/py-prettyprint.c (print_stack_unless_memory_error)
	(print_string_repr, print_children): Use gdbpy_ref.
	(dummy_python_frame): New class.
	(dummy_python_frame::dummy_python_frame): Rename from
	push_dummy_python_frame.
	(py_restore_tstate): Remove.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop
@ 2017-01-12 15:55 sergiodj+buildbot
  2017-01-18  9:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 15:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64081434cce13f38288d82d3d31b6199e9deff4a ***

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

Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop

This changes gdbpy_breakpoint_cond_says_stop to use gdbpy_ref rather
than explicit reference management.

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

	* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove dead serial_interface_lookup calls
@ 2017-01-12 15:58 sergiodj+buildbot
  2017-01-22  4:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 15:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca1ca08b0893eb6ec530db0cc7e12537417244fa ***

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

Remove dead serial_interface_lookup calls

By inspecting the serial_add_interface calls, I found that the serial
interface names that we have today are:

 - hardwire
 - terminal
 - pipe
 - tcp
 - event

 The calls to serial_interface_lookup with any other names are most
 likely leftovers which can be removed since these serial interfaces
 don't exist anymore.  The commits that removed the "pc" and "parallel"
 interfaces are respectively:

  cb2a4ac5dae478fcd9d6e772530c3aba0576fc7a

and

  e386d4d2fb55042f77d0557a0849ed2464aee7b3

gdb/ChangeLog:

	* serial.c (serial_open): Forget about "pc" and "lpt" serial interface.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update comment in linux_nat_can_async_p
@ 2017-01-12 16:22 sergiodj+buildbot
  2017-01-22  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fde1b17d37fd5557a22948d500bb5f4b6ef5d089 ***

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

Update comment in linux_nat_can_async_p

I think this comment is outdated.  Nowadays, linux-nat is always async,
unless the user has explictly turned it off with
"maint set target-async off".

gdb/ChangeLog:

	* linux-nat.c (linux_nat_can_async_p): Update comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-cmd.c
@ 2017-01-12 16:30 sergiodj+buildbot
  2017-01-18 13:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905f2ccab1b7070c7953e9f12de638e2dc147a9a ***

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

Use gdbpy_ref in py-cmd.c

This changes py-cmd.c to use gdbpy_ref in more places.  This also
fixes a latent memory leak in cmdpy_completer_helper, which
unnecessarily increfs the result of PyObject_CallMethodObjArgs.  This
is not needed because that function returns a new reference.

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

	* python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref.  Remove
	extra incref.
	(cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
	Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Update comment in remote_can_async_p
@ 2017-01-12 17:08 sergiodj+buildbot
  2017-01-22 11:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3015c06465584a437261c65a397fbd8f1a71aae7 ***

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

Update comment in remote_can_async_p

I find this comment counter intuitive, and it probably predates the
always-target-async change.  AFAIK, remote will always be async, unless
the user explicitly prevents it with "maint set target-async off".

gdb/ChangeLog:

	* remote.c (remote_can_async_p): Update comment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add support for locating separate debug info files via the build-id method.
@ 2017-01-12 17:39 sergiodj+buildbot
  2017-01-22 18:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2425a30e406a0523020b7e70abb864a06a45bb97 ***

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

Add support for locating separate debug info files via the build-id method.

	PR binutils/20876
bfd	* opncls.c (find_separate_debug_file): Add include_dirs
	parameter.  Only include the directory part of the bfd's filename
	in search paths if include_dirs is true.  Add a couple of extra
	locations for looking for debug files.
	( bfd_follow_gnu_debuglink): Update invocation of
	find_separate_debug_file.
	(bfd_follow_gnu_debugaltlink): Likewise.
	(get_build_id): New function: Finds the build-id of the given bfd.
	(get_build_id_name): New function: Computes the name of the
	separate debug info file for a bfd, based upon its build-id.
	(check_build_id_file): New function: Checks to see if a separate
	debug info file exists at the given location, and that its
	build-id matches that of the original bfd.
	(bfd_follow_build_id_debuglink): New function: Finds a separate
	debug info file for a given bfd by using the build-id method.
	* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Try using the build-id
	method of locating a separate debug info file before using the
	debuglink method.
	* bfd-in2.h: Regenerate.

binutils * NEWS: Mention the new feature.
	* testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
	New proc to test the location of separate debug info files using
	the build-id method.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py_print_frame
@ 2017-01-12 17:47 sergiodj+buildbot
  2017-01-18 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74c49d454b81c84fcffbc090466e241bdefd2f3a ***

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

Use gdbpy_ref in py_print_frame

This changes py_print_frame to use gdbpy_ref in more places.

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

	* python/py-framefilter.c (py_print_frame): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x86-64: Also generate unwind info for .plt.bnd
@ 2017-01-12 18:52 sergiodj+buildbot
  2017-01-23  1:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 18:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8361ed4d6b7049264153434e8dc15e6dc2200ebf ***

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

x86-64: Also generate unwind info for .plt.bnd

Also generate unwind info for the .plt.bnd section.  Sine it is the same
as unwind info for the .plt.got section, we use unwind info for the
.plt.got section to cover the the .plt.bnd section.

bfd/

	PR ld/21038
	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add
	plt_bnd_eh_frame.
	(elf_x86_64_check_relocs): Create .eh_frame section for the
	.plt.bnd section.
	(elf_x86_64_size_dynamic_sections): Allocate and initialize
	.eh_frame section for the .plt.bnd section.
	(elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
	for the .plt.bnd section.

ld/

	PR ld/21038
	* testsuite/ld-x86-64/pr21038b.d: Updated.
	* testsuite/ld-x86-64/pr21038c.d: New file.
	* testsuite/ld-x86-64/pr21038c.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr21038c.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-utils.c
@ 2017-01-12 21:33 sergiodj+buildbot
  2017-01-19 15:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 21:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 830a493402da4a055bf2d34ab300a83305391095 ***

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

Use gdbpy_ref in py-utils.c

This changes more places in py-utils.c to use gdbpy_ref.

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

	* python/py-utils.c (unicode_to_encoded_string)
	(python_string_to_target_string)
	(python_string_to_target_python_string)
	(python_string_to_host_string, gdbpy_obj_to_string)
	(get_addr_from_python): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove make_cleanup_htab_delete
@ 2017-01-13  0:44 sergiodj+buildbot
  2017-01-20  6:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13  0:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc4007c969ec4208fb7c7cee2f50211a9aa0f40f ***

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

Remove make_cleanup_htab_delete

This removes make_cleanup_htab_delete in favor of destructors,
building on an earlier patch that added the htab_up typedef.

Testing revealed that more cleanup-removal work was needed in
dwarf2loc.c, so this version of the patch changes code there to use
unordered_set and vector, removing some more cleanups.

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

	* utils.h (make_cleanup_htab_delete): Don't declare.
	* utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete):
	Remove.
	* linespec.c (decode_compound_collector): Add constructor,
	destructor.
	(lookup_prefix_sym): Remove cleanup.
	(symtab_collector): Add constructor, destructor.
	(collect_symtabs_from_filename): Remove cleanup.
	* disasm.c (do_mixed_source_and_assembly): Use htab_up.
	* compile/compile-c-symbols.c (generate_c_for_variable_locations):
	Use htab_up.
	* gnu-v3-abi.c (gnuv3_print_vtable): Use htab_up.
	* dwarf2read.c (dw2_expand_symtabs_matching)
	(dw2_map_symbol_filenames, dwarf_decode_macros)
	(write_psymtabs_to_index): Use htab_up.
	* dwarf2loc.c (func_verify_no_selftailcall)
	(call_site_find_chain_1, func_verify_no_selftailcall)
	(chain_candidate, call_site_find_chain_1): Use std::unordered_set,
	std::vector, gdb::unique_xmalloc_ptr.
	(call_sitep): Remove typedef.
	(dwarf2_locexpr_baton_eval): Remove unused variable.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use scoped_value_mark in dwarf2_evaluate_loc_desc_full
@ 2017-01-13  5:07 sergiodj+buildbot
  2017-01-21  3:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13  5:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0cf082277804ba3747be70a4013019f68b92bb84 ***

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

Use scoped_value_mark in dwarf2_evaluate_loc_desc_full

This changes dwarf2_evaluate_loc_desc_full to use scoped_value_mark.

Note that this function previously called do_cleanup using the same
cleanup multiple times.  I had thought this was buggy, but re-reading
make_my_cleanup2 indicates that it is not.  Nevertheless it is
surprising, and at least one of the calls (the one that is completely
removed in this patch) seems to have been done under the assumption
that it would still have some effect.

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

	* value.h (scoped_value_mark::~scoped_value_mark): Call
	free_to_mark.
	(scoped_value_mark::free_to_mark): New method.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use
	scoped_value_mark.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Return -1 on memory error in print_insn_m68k
@ 2017-01-13 12:56 sergiodj+buildbot
  2017-01-23  8:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 12:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9608051a0eba6303adcadff7d09b70a36067fba3 ***

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

Return -1 on memory error in print_insn_m68k

m68k-dis.c:print_insn_m68k doesn't return -1 on memory error, but GDB
expects it returning -1 on memory error.

opcodes:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* m68k-dis.c (match_insn_m68k): Extend comments.  Return -1
	if FETCH_DATA returns 0.
	(m68k_scan_mask): Likewise.
	(print_insn_m68k): Update code to handle -1 return value.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Enable Intel AVX512_VPOPCNTDQ instructions
@ 2017-01-13 14:22 sergiodj+buildbot
  2017-01-22 15:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 14:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 620214f742f7816e2844e1bb7f78a7a684431927 ***

Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Branch: master
Commit: 620214f742f7816e2844e1bb7f78a7a684431927

Enable Intel AVX512_VPOPCNTDQ instructions

gas/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	* config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
	(cpu_noarch): Add noavx512_vpopcntdq.
	* doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
	* testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
	* testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
	* testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
	* testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.

opcodes/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	* i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
	* i386-dis-evex.h (evex_table): Updated.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
	CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
	(cpu_flags): Add CpuAVX512_VPOPCNTDQ.
	* i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
	(i386_cpu_flags): Add cpuavx512_vpopcntdq.
	* i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Ditto.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] 'make check-headers' for c++ header
@ 2017-01-13 15:29 sergiodj+buildbot
  2017-01-23 11:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 15:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4241ace685d9886c14f1362e1e1783129774b7c ***

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

'make check-headers' for c++ header

If I run 'make check-headers', I get these errors,
....
In file included from ../../binutils-gdb/gdb/common/common-defs.h:78:0,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from <command-line>:0:
../../binutils-gdb/gdb/common/common-utils.h:23:18: fatal error: string: No such file or directory
 #include <string>
                  ^

because we still parse headers as c file with a c compiler, which is no
longer true after we moved to C++.  This patch changes it to use C++
compiler and parse headers as c++ headers.

gdb:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (checker-headers): Use CXX and CXX_DIALET instead
	of CC.  Pass "-x c++-header" instead of "-x c".


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Don't print too much if remote_debug is on
@ 2017-01-13 16:01 sergiodj+buildbot
  2017-01-23 15:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 16:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f8976bfd6d7848268849b88e95917217ee31d3e ***

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

Don't print too much if remote_debug is on

If we turn "remote debug" on and GDB does some vFile operations,
a lot of things will be printed in the screen, which makes
"remote debug" useless.

This patch changes the code that we only print 512 chars in max in
debugging messages, like this,

Sending packet: $qXfer:features:read:target.xml:0,fff#7d...Packet received: l<?xml version="1.0"?>\n<!-- Copyright (C) 2010-2016 Free Software Foundation, Inc.\n\n     Copying and distribution of this file, with or without modification,\n     are permitted in any medium without royalty provided the copyright\n     notice and this notice are preserved.  -->\n\n<!-- AMD64 with AVX - Includes Linux-only special "register".  -->\n\n<!DOCTYPE target SYSTEM "gdb-target.dtd">\n<target>\n  <architecture>i386:x86-64</architecture>\n  <osabi>GNU/Linux</osabi>\n  <xi:include href="64bit-core.xml"/>\n  <xi:[14 bytes omitted]

Sending packet: $qXfer:auxv:read::0,1000#6b...Packet received: l!\000\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000@\000@\000\000\000\000\000\004\000\000\000\000\000\000\0008\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000\177\000\000\b\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\000\004@\000\000\000\000\000\013\000\000\000\000\000\000\003\000\000\000\000\000\000\f\000\000\000\000\000\000\003\000\000\000\000\000\000\r\000\000\000\000\000\000\003\000\000\000\000\000\000\016\000\000\000\000\000\000\003\000\000\000\000\000\000\027\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\031\000\000\000\000\000\000\177\000\000\037\000\000\000\000\000\000\000\000\017\000\000\000\000\000\000\00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000[582 bytes omitted]

gdb:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* remote.c (REMOTE_DEBUG_MAX_CHAR): New macro.
	(putpkt_binary): Print only REMOTE_DEBUG_MAX_CHAR chars in debug
	output.
	(getpkt_or_notif_sane_1): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb: sparc: split real and pseudo registers.
@ 2017-01-16 17:05 sergiodj+buildbot
  2017-01-23 20:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-16 17:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a36499abc7d110e83cb60f4895d0fcfbab43bf4 ***

Author: Ivo Raisr <ivo.raisr@oracle.com>
Branch: master
Commit: 7a36499abc7d110e83cb60f4895d0fcfbab43bf4

gdb: sparc: split real and pseudo registers.

gdb/ChangeLog:

2017-01-16  Ivo Raisr  <ivo.raisr@oracle.com>

	Split real and pseudo registers.
	* sparc-tdep.h (SPARC_CORE_REGISTERS): New macro.
	(sparc32_pseudo_regnum): New enum.
	* sparc64-tdep.h (sparc64_pseudo_regnum): New enum.
	* sparc-tdep.c (SPARC32_FPU_REGISTERS): New macro.
	(SPARC32_CP0_REGISTERS): New macro.
	(sparc32_pseudo_register_name): New function.
	(sparc32_register_name): Use sparc32_pseudo_register_name.
	(sparc32_pseudo_register_type): New function.
	(sparc32_register_type): Use sparc32_pseudo_register_type.
	(sparc32_pseudo_register_read, sparc32_pseudo_register_write): Handle
	pseudo register numbers.
	* sparc64-tdep.c SPARC64_FPU_REGISTERS): New macro.
	(SPARC64_CP0_REGISTERS): New macro.
	(sparc64_pseudo_register_name): New function.
	(sparc64_register_name): Use sparc64_pseudo_register_name.
	(sparc64_pseudo_register_type): New function.
	(sparc64_register_type): Use sparc64_pseudo_register_type.
	(sparc64_pseudo_register_read, sparc64_pseudo_register_write): Handle
	pseudo register numbers.
	(sparc64_store_floating_fields, sparc64_extract_floating_fields,
	sparc64_store_arguments): Handle pseudo register numbers.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add command to erase all flash memory regions
@ 2017-01-20 14:41 sergiodj+buildbot
  2017-01-24 17:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-01-20 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78cbbba8e0bc8b0288f5ce4360b4689ab893aa13 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 78cbbba8e0bc8b0288f5ce4360b4689ab893aa13

Add command to erase all flash memory regions

Changes in v4:

- Replaced phex call with hex_string.

Changes in v3:

- Addressed comments by Pedro.
- Output of memory region size now in hex format.
- Misc formatting fixups.
- Addressed Simon's comments on formatting.
- Adjusted command text in the manual entry.
- Fixed up ChangeLog.
- Renamed flash_erase_all_command to flash_erase_command.

Changes in v2:

- Added NEWS entry.
- Fixed long lines.
- Address printing with paddress.

Years ago we contributed flash programming patches upstream.  The following
patch is a leftover one that complements that functionality by adding a new
command to erase all reported flash memory blocks.

The command is most useful when we're dealing with flash-enabled targets
(mostly bare-metal) and we need to reset the board for some reason.

The wiping out of flash memory regions should help the target come up with a
known clean state from which the user can load a new image and resume
debugging. It is convenient enough to do this from the debugger, and there is
also an MI command to expose this functionality to the IDE's.

gdb/doc/ChangeLog:

2017-01-20  Mike Wrighton  <mike_wrighton@codesourcery.com>
	    Luis Machado  <lgustavo@codesourcery.com>

	* gdb.texinfo (-target-flash-erase): New MI command description.
	(flash-erase): New CLI command description.

gdb/ChangeLog:

2017-01-20  Mike Wrighton  <mike_wrighton@codesourcery.com>
	    Luis Machado  <lgustavo@codesourcery.com>

	* NEWS (New commands): Mention flash-erase.
	(New MI commands): Mention target-flash-erase.
	* mi/mi-cmds.c (mi_cmd_target_flash_erase): Add target-flash-erase MI
	command.
	* mi/mi-cmds.h (mi_cmd_target_flash_erase): New declaration.
	* mi/mi-main.c (mi_cmd_target_flash_erase): New function.
	* target.c (flash_erase_command): New function.
	(initialize_targets): Add new flash-erase command.
	* target.h (flash_erase_command): New declaration.


^ permalink raw reply	[flat|nested] 3460+ 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 11:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix PTRACE_GETREGSET failure for compat inferiors on arm64
@ 2017-01-27 11:41 sergiodj+buildbot
  2017-01-27 14:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-27 17:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] amd64: simplify addition of new general registers.
@ 2017-01-27 16:10 sergiodj+buildbot
  2017-01-28  0:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  4:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS: Add options to control branch ISA checks
@ 2017-01-30 17:32 sergiodj+buildbot
  2017-01-30 19:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/varobj.c: Fix leak
@ 2017-02-01  0:40 sergiodj+buildbot
  2017-02-01  5:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/stack.c: Remove unused mem_fileopen
@ 2017-02-01  0:56 sergiodj+buildbot
  2017-02-01  9:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/mi/mi-interp.c: Fix typos
@ 2017-02-01  1:15 sergiodj+buildbot
  2017-02-01 12:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ob/pushed] Use gdb_insn_length instead of creating dummy stream
@ 2017-02-01  1:27 sergiodj+buildbot
  2017-02-01 15:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT be85ce7dcbe99a8e7cd847a0c5b449a0b18a8ce7 ***

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

[ob/pushed] Use gdb_insn_length instead of creating dummy stream

gdb/ChangeLog:
2017-02-01  Pedro Alves  <palves@redhat.com>

	* i386-tdep.c (i386_fast_tracepoint_valid_at): Use gdb_insn_length.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] thread: add can_access_registers_ptid
@ 2017-02-01 13:56 sergiodj+buildbot
  2017-02-01 19:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: add unsupported/untested messages when skipping tests
@ 2017-02-01 15:06 sergiodj+buildbot
  2017-02-02  1:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote non-stop test
@ 2017-02-01 15:42 sergiodj+buildbot
  2017-02-02  4:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 15:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote fail
@ 2017-02-01 16:37 sergiodj+buildbot
  2017-02-02  8:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused file_string parameter in gdb_disassembly
@ 2017-02-02  4:29 sergiodj+buildbot
  2017-02-02 19:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add back gdb_pretty_print_insn
@ 2017-02-02 11:42 sergiodj+buildbot
  2017-02-02 22:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Reuse buffers across gdb_pretty_print_insn calls
@ 2017-02-02 13:22 sergiodj+buildbot
  2017-02-03  4:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Tweak pretty_print_disassembler's intro comment
@ 2017-02-02 13:57 sergiodj+buildbot
  2017-02-03  9:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix "-gdb-set logging redirect on" crash
@ 2017-02-02 14:53 sergiodj+buildbot
  2017-02-03 12:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Move "tee" building down to interpreter::set_logging_proc
@ 2017-02-02 22:23 sergiodj+buildbot
  2017-02-03 15:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-03 18:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'
@ 2017-02-02 23:37 sergiodj+buildbot
  2017-02-03 22:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  9:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix "maintenance selftest" printing stray instructions
@ 2017-02-03  0:38 sergiodj+buildbot
  2017-02-04 16:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table'
@ 2017-02-03  1:31 sergiodj+buildbot
  2017-02-04  2:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  1:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f8c4b60ef3953a2373992e468106ae833049fff ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0f8c4b60ef3953a2373992e468106ae833049fff

MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table'

Make all hash table references throughout `mips_elf_sort_hash_table' use
`htab', simplifying code and improving readability.

	bfd/
	* elfxx-mips.c (mips_elf_sort_hash_table): Use `htab' throughout
	to access the hash table.


^ permalink raw reply	[flat|nested] 3460+ 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  6:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] struct mi_interp: Remove unused fields
@ 2017-02-03  4:25 sergiodj+buildbot
  2017-02-04 13:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use bool in Rust code
@ 2017-02-03  5:37 sergiodj+buildbot
  2017-02-05  3:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use std::string in Rust code
@ 2017-02-03  6:34 sergiodj+buildbot
  2017-02-04 20:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  8:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] C++-fy struct interp/cli_interp/tui_interp/mi_interp
@ 2017-02-03 16:50 sergiodj+buildbot
  2017-02-05 11:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix ptype of single-member Rust enums
@ 2017-02-04  6:28 sergiodj+buildbot
  2017-02-05 15:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  9:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 13:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [ARC] Provide an interface to decode ARC instructions.
@ 2017-02-06 10:53 sergiodj+buildbot
  2017-02-06 17:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 15:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: fix ARI warning in sparc-tdep.c
@ 2017-02-07 21:40 sergiodj+buildbot
  2017-02-07 23:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix segfault when .plt section does not exist
@ 2017-02-08  2:16 sergiodj+buildbot
  2017-02-08  4:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Command names: make them case sensitive
@ 2017-02-08 18:32 sergiodj+buildbot
  2017-02-08 19:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-02-08 18:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d7b173c29900879c9a5958dd6029fd36666e57c ***

Author: Jerome Guitton <guitton@adacore.com>
Branch: master
Commit: 3d7b173c29900879c9a5958dd6029fd36666e57c

Command names: make them case sensitive

Case-insensitive search for command names is an obscure undocumented
feature, which seems to be unused, is not tested and not quite
consistent. Remove it.

gdb/ChangeLog:

	* cli-decode.c (lookup_cmd_1, lookup_cmd_composition):
	Remove case-insensitive search.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Command abbreviation in define
@ 2017-02-08 19:25 sergiodj+buildbot
  2017-02-08 23:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Eliminate interp::quiet_p
@ 2017-02-08 20:52 sergiodj+buildbot
  2017-02-09  2:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address
@ 2017-02-10 18:09 sergiodj+buildbot
  2017-02-10 22:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove some ui_out-related cleanups from Python
@ 2017-02-10 20:08 sergiodj+buildbot
  2017-02-11  2:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbpy_ref to simplify some logic
@ 2017-02-10 22:25 sergiodj+buildbot
  2017-02-11 10:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change one more spot to use gdbpy_ref
@ 2017-02-10 23:27 sergiodj+buildbot
  2017-02-11 13:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Do not send queries on secondary UIs
@ 2017-02-10 23:51 sergiodj+buildbot
  2017-02-12 11:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove some gotos from Python
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-11 17:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unnecessary local variables
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-11 20:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix Python test to use lowercase command
@ 2017-02-11  2:51 sergiodj+buildbot
  2017-02-12  0:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix use after free in cgen instruction lookup
@ 2017-02-11  7:43 sergiodj+buildbot
  2017-02-12 15:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  7:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make gdb.arch/i386-biarch-core.exp more robust
@ 2017-02-13 13:29 sergiodj+buildbot
  2017-02-13 15:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  3:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: preserve call stack on function switch
@ 2017-02-14  9:47 sergiodj+buildbot
  2017-02-14 11:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: Export btrace_decode_error function.
@ 2017-02-14 10:44 sergiodj+buildbot
  2017-02-14 18:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] btrace: Use binary search to find instruction.
@ 2017-02-14 12:24 sergiodj+buildbot
  2017-02-14 22:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add record_start and record_stop functions.
@ 2017-02-14 13:41 sergiodj+buildbot
  2017-02-15  3:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] python: Create Python bindings for record history.
@ 2017-02-14 15:41 sergiodj+buildbot
  2017-02-15 12:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Big-endian targets: Fix implptrpiece.exp
@ 2017-02-14 23:03 sergiodj+buildbot
  2017-02-17  2:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR python/13598 - add before_prompt event
@ 2017-02-14 23:42 sergiodj+buildbot
  2017-02-17  6:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add ldn/stn single support, fix ldnr support.
@ 2017-02-15  1:30 sergiodj+buildbot
  2017-02-17  9:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add SFENCE.VMA instruction
@ 2017-02-15 18:56 sergiodj+buildbot
  2017-02-18 14:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] i386: Allow "lea foo@GOT, %reg" in PIC
@ 2017-02-15 21:34 sergiodj+buildbot
  2017-02-18 20:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-19  0:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen}
@ 2017-02-17  1:56 sergiodj+buildbot
  2017-02-19 20:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add target description for avx-avx512.
@ 2017-02-17 13:45 sergiodj+buildbot
  2017-02-20 21:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Alpha executables segfault when linked with -z,now
@ 2017-02-20 10:47 sergiodj+buildbot
  2017-02-21 12:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix thinko on last commit
@ 2017-02-20 13:23 sergiodj+buildbot
  2017-02-21 17:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Code cleanup: Split create_debug_types_hash_table
@ 2017-02-20 20:29 sergiodj+buildbot
  2017-02-21 21:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix recent compiler warnings.
@ 2017-02-21  8:59 sergiodj+buildbot
  2017-02-22 10:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 16:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Default initialize enum flags to 0
@ 2017-02-21 17:22 sergiodj+buildbot
  2017-02-22 20:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC ld segfault on script discarding dynamic sections
@ 2017-02-21 23:12 sergiodj+buildbot
  2017-02-22 23:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  3:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  6:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 13:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: drop stray VEX opcode 82 references
@ 2017-02-23 10:18 sergiodj+buildbot
  2017-02-23 21:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use xfree rather than delete for varobj_iter
@ 2017-02-23 12:12 sergiodj+buildbot
  2017-02-24  5:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  9:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce gdb::function_view
@ 2017-02-23 19:06 sergiodj+buildbot
  2017-02-24 16:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdb::function_view in iterate_over_symtabs & co
@ 2017-02-23 19:28 sergiodj+buildbot
  2017-02-24 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] S/390: Add support for new cpu architecture - arch12.
@ 2017-02-23 20:15 sergiodj+buildbot
  2017-02-25  0:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: also correctly support TEST opcode aliases
@ 2017-02-24  9:18 sergiodj+buildbot
  2017-02-25 15:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove use of MAX_REGISTER_SIZE
@ 2017-02-24 16:45 sergiodj+buildbot
  2017-02-25 23:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd: RISC-V: relax to gp in more cases.
@ 2017-02-24 20:26 sergiodj+buildbot
  2017-02-26  8:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 20:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0f744f970225f68460eb36a4975ae92a2e9495a ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: d0f744f970225f68460eb36a4975ae92a2e9495a

bfd: RISC-V: relax to gp in more cases.

bfd/ChangeLog:

2017-02-24  Andrew Waterman  <andrew@sifive.com>

	* elfnn-riscv.c (GP_NAME): New macro.
	(riscv_global_pointer_value): Use it.
	(_bfd_riscv_relax_lui): If symbol and global pointer are in same
	output section, consider only that section's alignment.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] symtab.c: Small refactor
@ 2017-02-24 21:09 sergiodj+buildbot
  2017-02-26 11:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [AArch64] Add a "compnum" feature
@ 2017-02-24 23:37 sergiodj+buildbot
  2017-02-26 16:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 16:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add missing smov support, and clean up existing umov support.
@ 2017-02-26  5:34 sergiodj+buildbot
  2017-02-28  0:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] DWARF-5: Initialization due to a false compiler warning
@ 2017-02-26 16:22 sergiodj+buildbot
  2017-02-28 13:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove MAX_REGISTER_SIZE from remote.c
@ 2017-02-27 10:31 sergiodj+buildbot
  2017-02-28 18:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 10:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e3681243c642d667164bd23ae9a376620da0780 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 8e3681243c642d667164bd23ae9a376620da0780

Remove MAX_REGISTER_SIZE from remote.c

gdb/
	* regcache.c (regcache_raw_update): New function.
	(regcache_raw_read): Move code to regcache_raw_update.
	* regcache.h (regcache_raw_update): New declaration.
	* remote.c (remote_prepare_to_store): Call regcache_raw_update.


^ permalink raw reply	[flat|nested] 3460+ 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 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix array out of bound access
@ 2017-02-27 17:42 sergiodj+buildbot
  2017-03-01  3:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use range-based for loop in remote_add_target_side_condition
@ 2017-02-27 18:58 sergiodj+buildbot
  2017-03-01  7:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 14:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Don't make dynamic .data.rel.ro SEC_READONLY
@ 2017-02-28  3:19 sergiodj+buildbot
  2017-03-01 19:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Nios2 dynobj handling fixes
@ 2017-02-28  5:23 sergiodj+buildbot
  2017-03-02  2:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC addpcis fix again
@ 2017-02-28 14:32 sergiodj+buildbot
  2017-03-02 10:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 14:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs.
@ 2017-03-01 11:25 sergiodj+buildbot
  2017-03-02 18:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Sync libiberty sources with GCC mainline.
@ 2017-03-01 15:42 sergiodj+buildbot
  2017-03-02 22:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-03-01 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 134e805d3e18cf700a5046912b8dca9301fe6f2e ***

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

Sync libiberty sources with GCC mainline.

Brings in:
  2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>

	PR PR c++/70182
	* cp-demangle.c (d_unqualified_name): Handle "on" for
	operator names.
	* testsuite/demangle-expected: Add tests.

 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>

	PR c++/77489
	* cp-demangle.c (d_discriminator): Handle discriminator >= 10.
	* testsuite/demangle-expected: Add tests for discriminator.

 2016-12-13  Jakub Jelinek  <jakub@redhat.com>

	PR c++/78761
	* cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto).
	* testsuite/demangle-expected: Add test for decltype(auto).


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] PowerPC VLE typo fix
@ 2017-03-02  0:24 sergiodj+buildbot
  2017-03-03  3:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-03 22:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix "layout reg" crash
@ 2017-03-07 16:03 sergiodj+buildbot
  2017-03-08  0:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f6fd321915fae0194e01322d22cad4e451e8d20 ***

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

Fix "layout reg" crash

Commit d7e747318f4d04 ("Eliminate make_cleanup_ui_file_delete / make
ui_file a class hierarchy") introduced a problem when using "layout
regs", that leads gdb to crash when issuing:

./gdb ./a.out -ex 'layout regs' -ex start

>From the backtrace, it's caused by this 'delete' on tui_restore_gdbout():

 (gdb) bt
 #0  0x00007ffff6b962b2 in free () from /lib64/libc.so.6
 #1  0x000000000059fa47 in tui_restore_gdbout (ui=0x22997b0) at ../../gdb/tui/tui-regs.c:714
 #2  0x0000000000619996 in do_my_cleanups (pmy_chain=pmy_chain@entry=0x1e08320 <cleanup_chain>, old_chain=old_chain@entry=0x235b4b0) at ../../gdb/common/cleanups.c:154
 #3  0x0000000000619b1d in do_cleanups (old_chain=old_chain@entry=0x235b4b0) at ../../gdb/common/cleanups.c:176
 #4  0x000000000059fb0d in tui_register_format (frame=frame@entry=0x22564e0, regnum=regnum@entry=0) at ../../gdb/tui/tui-regs.c:747
 #5  0x000000000059ffeb in tui_get_register (data=0x2434d18, changedp=0x0, regnum=0, frame=0x22564e0) at ../../gdb/tui/tui-regs.c:768
 #6  tui_show_register_group (refresh_values_only=<optimized out>, frame=0x22564e0, group=0x1e09250 <general_group>) at ../../gdb/tui/tui-regs.c:287
 #7  tui_show_registers (group=0x1e09250 <general_group>) at ../../gdb/tui/tui-regs.c:156
 #8  0x00000000005a07cf in tui_check_register_values (frame=frame@entry=0x22564e0) at ../../gdb/tui/tui-regs.c:496
 #9  0x00000000005a3e65 in tui_check_data_values (frame=frame@entry=0x22564e0) at ../../gdb/tui/tui-windata.c:232
 #10 0x000000000059cf65 in tui_refresh_frame_and_register_information (registers_too_p=1) at ../../gdb/tui/tui-hooks.c:156
 #11 0x00000000006d5c05 in generic_observer_notify (args=0x7fffffffdbe0, subject=<optimized out>) at ../../gdb/observer.c:167
 #12 observer_notify_normal_stop (bs=<optimized out>, print_frame=print_frame@entry=1) at ./observer.inc:61
 #13 0x00000000006a6409 in normal_stop () at ../../gdb/infrun.c:8364
 #14 0x00000000006af8f5 in fetch_inferior_event (client_data=<optimized out>) at ../../gdb/infrun.c:3990
 #15 0x000000000066f0fd in gdb_wait_for_event (block=block@entry=0) at ../../gdb/event-loop.c:859
 #16 0x000000000066f237 in gdb_do_one_event () at ../../gdb/event-loop.c:322
 #17 0x000000000066f386 in gdb_do_one_event () at ../../gdb/event-loop.c:353
 #18 0x00000000007411bc in wait_sync_command_done () at ../../gdb/top.c:570
 #19 0x0000000000741426 in maybe_wait_sync_command_done (was_sync=0) at ../../gdb/top.c:587
 #20 execute_command (p=<optimized out>, p@entry=0x7fffffffe43a "start", from_tty=from_tty@entry=1) at ../../gdb/top.c:676
 #21 0x00000000006c2048 in catch_command_errors (command=0x741200 <execute_command(char*, int)>, arg=0x7fffffffe43a "start", from_tty=1) at ../../gdb/main.c:376
 #22 0x00000000006c2b60 in captured_main_1 (context=0x7fffffffde70) at ../../gdb/main.c:1119
 #23 captured_main (data=0x7fffffffde70) at ../../gdb/main.c:1140
 #24 gdb_main (args=args@entry=0x7fffffffdf90) at ../../gdb/main.c:1158
 #25 0x0000000000408cf5 in main (argc=<optimized out>, argv=<optimized out>) at ../../gdb/gdb.c:32
 (gdb) f 1
 #1  0x000000000059fa47 in tui_restore_gdbout (ui=0x22997b0) at ../../gdb/tui/tui-regs.c:714
 714	  delete gdb_stdout;

The problem is simply that the commit mentioned above made the ui_file
that gdb_stdout is temporarily set to be a stack-allocated
string_file, while before it used to be a heap-allocated ui_file.  The
fix is simply to remove the now-incorrect delete.

New test included, which exercises enabling all TUI layouts, with and
without execution.  (This particular crash only triggers with
execution.)

gdb/ChangeLog:
2017-03-07  Pedro Alves  <palves@redhat.com>

	* tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.

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

	* gdb.base/tui-layout.c: New file.
	* gdb.base/tui-layout.exp: New file.


^ permalink raw reply	[flat|nested] 3460+ 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  4:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Share gdb/environ.[ch] with gdbserver
@ 2017-03-07 21:08 sergiodj+buildbot
  2017-03-08 13:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Move TUI completion tests to gdb.tui/completion.exp
@ 2017-03-08  1:27 sergiodj+buildbot
  2017-03-08 21:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
@ 2017-03-08 13:45 sergiodj+buildbot
  2017-03-09 13:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 13:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d ***

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

"gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported

Currently I get:

 (gdb) print have_pkru()
 $1 = 0
 (gdb) FAIL: gdb.arch/i386-pkru.exp: probe PKRU support
 UNSUPPORTED: gdb.arch/i386-pkru.exp: processor does not support protection key feature.

Probing suceeded, so that should be a PASS -> UNSUPPORTED.

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

	* gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
	PKRU as not supported as a PASS.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] gdb: Fix a few unstable test names
@ 2017-03-08 14:07 sergiodj+buildbot
  2017-03-09  9:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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 17:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage
@ 2017-03-08 17:58 sergiodj+buildbot
  2017-03-10  1:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix PR18360 - internal error when using "interrupt -a"
@ 2017-03-08 20:16 sergiodj+buildbot
  2017-03-10 13:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add support for the new 'lnia' extended mnemonic.
@ 2017-03-08 20:33 sergiodj+buildbot
  2017-03-11  9:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  5:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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  1:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use CpuCET on rdsspq
@ 2017-03-09 16:05 sergiodj+buildbot
  2017-03-13 22:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-14 18:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] X86: Add pseudo prefixes to control encoding
@ 2017-03-09 18:26 sergiodj+buildbot
  2017-03-16  1:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add basic recognition of new EM_ ELF machine numbers.
@ 2017-03-10 11:14 sergiodj+buildbot
  2017-03-16 20:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] c++/8218: Destructors w/arguments.
@ 2017-03-10 18:58 sergiodj+buildbot
  2017-03-17 17:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
[parent not found: <@gdb-build>]
* [binutils-gdb] testsuite: Introduce dejagnu_version
@ 2017-03-21 21:25 sergiodj+buildbot
  2017-03-22  7:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-23  2:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for regformats source file generation
@ 2017-03-21 22:27 sergiodj+buildbot
  2017-03-23 23:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from nat/
@ 2017-03-21 23:46 sergiodj+buildbot
  2017-03-26 12:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from target/
@ 2017-03-22  0:39 sergiodj+buildbot
  2017-03-24 19:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from gdbserver/
@ 2017-03-22  0:48 sergiodj+buildbot
  2017-03-28  4:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from common/
@ 2017-03-22  1:03 sergiodj+buildbot
  2017-03-29  1:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from common/
@ 2017-03-22  1:38 sergiodj+buildbot
  2017-03-25 16:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Introduce regcache_get_ptid
@ 2017-03-22  2:06 sergiodj+buildbot
  2017-03-30 18:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add asserts in target_fetch/store_registers
@ 2017-03-22  2:21 sergiodj+buildbot
  2017-03-31 14:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-01 17:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-02 13:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from arch/
@ 2017-03-22  3:38 sergiodj+buildbot
  2017-03-27  8:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:39 sergiodj+buildbot
  2017-04-03  9:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] RISC-V: Fix [dis]assembly of srai/srli
@ 2017-03-22  6:11 sergiodj+buildbot
  2017-04-08 10:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-09  8:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for the remaining %-ipa.o objects
@ 2017-03-22  6:40 sergiodj+buildbot
  2017-03-29 21:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix expect for gdb.cp/m-static.exp
@ 2017-03-22  7:47 sergiodj+buildbot
  2017-04-12 19:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [Patch] Fix variable type glitch in inf-ptrace.c
@ 2017-03-22  8:05 sergiodj+buildbot
  2017-04-13 17:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] New function tyscm_scm_to_type.
@ 2017-03-22  8:23 sergiodj+buildbot
  2017-04-14 15:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add instruction_reader to arm process record
@ 2017-03-22 10:10 sergiodj+buildbot
  2017-04-17  6:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix arm process record for some instructions
@ 2017-03-22 10:25 sergiodj+buildbot
  2017-04-18  2:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-21 18:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-04  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] E6500 spr mnemonics
@ 2017-03-22 12:43 sergiodj+buildbot
  2017-05-04 12:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-05-05 15:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR remote/21188: Fix remote serial timeout
@ 2017-03-22 13:24 sergiodj+buildbot
  2017-05-06 11:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Restore test-cp-name-parser build
@ 2017-03-22 13:41 sergiodj+buildbot
  2017-04-05  0:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-07  6:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08  3:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] linux-nat: Exploit /proc/<pid>/mem for writing
@ 2017-03-22 14:42 sergiodj+buildbot
  2017-04-05 20:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bsd-uthread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 15:22 sergiodj+buildbot
  2017-05-09  0:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 16:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] corelow: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 16:13 sergiodj+buildbot
  2017-05-09 19:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-10 15:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make length_of_subexp static
@ 2017-03-22 16:41 sergiodj+buildbot
  2017-04-07 12:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-11 12:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 17:59 sergiodj+buildbot
  2017-07-21  7:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] i386-bsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 18:49 sergiodj+buildbot
  2017-07-22  4:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] i386-darwin-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:06 sergiodj+buildbot
  2017-07-23  0:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] i386-gnu-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:22 sergiodj+buildbot
  2017-07-23 20:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] DT_TEXTREL vs IFUNC
@ 2017-03-22 19:37 sergiodj+buildbot
  2017-07-24 18:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR 21266, unstable qsort in bfd/elf64-ppc.c
@ 2017-03-22 19:52 sergiodj+buildbot
  2017-07-25 20:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add DW_OP_GNU_variable_value
@ 2017-03-22 20:08 sergiodj+buildbot
  2017-04-10  4:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns
@ 2017-03-22 20:36 sergiodj+buildbot
  2017-07-27  1:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-11  0:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix spurious FAILs with examine-backward.exp
@ 2017-03-22 20:51 sergiodj+buildbot
  2017-07-28  5:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add a better diagnostic message in mi_gdb_test
@ 2017-03-22 21:28 sergiodj+buildbot
  2017-07-29 21:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add -file-list-shared-libraries MI command
@ 2017-03-22 21:43 sergiodj+buildbot
  2017-07-30 18:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-11 22:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add definitions for rvalue reference types
@ 2017-03-22 22:25 sergiodj+buildbot
  2017-07-31 15:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add ability to return rvalue reference values from value_ref
@ 2017-03-22 23:28 sergiodj+buildbot
  2017-08-02  7:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Implement demangling for rvalue reference type names
@ 2017-03-22 23:58 sergiodj+buildbot
  2017-08-03 23:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Support DW_TAG_rvalue_reference type
@ 2017-03-23  0:29 sergiodj+buildbot
  2017-08-05 17:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix various python lazy string bugs.
@ 2017-03-23  1:38 sergiodj+buildbot
  2017-04-15 11:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add rvalue references to overloading resolution
@ 2017-03-23  1:42 sergiodj+buildbot
  2017-08-08  6:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Copy lazy string handling fixes from Python.
@ 2017-03-23  2:39 sergiodj+buildbot
  2017-04-16  7:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use ptid from regcache in almost all remaining nat files
@ 2017-03-23  3:08 sergiodj+buildbot
  2017-08-09 23:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix break on Python 2
@ 2017-03-23  4:06 sergiodj+buildbot
  2017-08-11 21:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Decode properly flags of %ccr register on sparc64.
@ 2017-03-23  4:21 sergiodj+buildbot
  2017-08-12 21:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] S/390: Remove vx2 facility flag
@ 2017-03-23  5:15 sergiodj+buildbot
  2017-08-14 15:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove remaining reference to struct serial::current_timeout
@ 2017-03-23  5:30 sergiodj+buildbot
  2017-08-15 15:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-20  0:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] windows: Use ptid from regcache in register fetch/store
@ 2017-03-23  5:45 sergiodj+buildbot
  2017-08-16 11:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Wrap locally used classes in anonymous namespace
@ 2017-03-23  6:14 sergiodj+buildbot
  2017-08-19  5:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-08-20  1:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef.
@ 2017-03-23  7:41 sergiodj+buildbot
  2017-04-22 16:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-05-03 15:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix memory leak in python.c:do_start_initialization
@ 2017-03-23 11:28 sergiodj+buildbot
  2017-08-21 10:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove constness of libdir in do_start_initialization
@ 2017-03-23 12:14 sergiodj+buildbot
  2017-08-22 15:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove AARCH64_RECORD_FAILURE
@ 2017-03-23 15:04 sergiodj+buildbot
  2017-08-23  5:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused parameter in solib_add and update_solib_list
@ 2017-03-24  3:12 sergiodj+buildbot
  2017-07-29  1:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change {lookup,make}_reference_type API
@ 2017-03-24  7:12 sergiodj+buildbot
  2017-08-01 10:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Support rvalue reference type in parser
@ 2017-03-24  9:10 sergiodj+buildbot
  2017-08-03  3:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Implement printing of rvalue reference types and values
@ 2017-03-24 11:12 sergiodj+buildbot
  2017-08-04 20:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Support rvalue references in the gdb python module (includes doc/)
@ 2017-03-24 13:22 sergiodj+buildbot
  2017-08-06 13:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Convert lvalue reference type check to general reference type check
@ 2017-03-24 14:23 sergiodj+buildbot
  2017-08-07 10:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add rvalue reference tests and docs
@ 2017-03-24 16:24 sergiodj+buildbot
  2017-08-09  3:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid
@ 2017-03-24 18:26 sergiodj+buildbot
  2017-08-11  1:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] arc/nps400: Add cp16/cp32 instructions to opcodes library
@ 2017-03-24 21:27 sergiodj+buildbot
  2017-08-13 17:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py
@ 2017-03-25  1:28 sergiodj+buildbot
  2017-08-17 23:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial
@ 2017-03-25  4:31 sergiodj+buildbot
  2017-08-20 22:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused function set_inferior_target_data
@ 2017-08-24 21:53 sergiodj+buildbot
  2017-08-31  8:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdbserver: Rename some functions, thread -> inferior
@ 2017-08-25  9:18 sergiodj+buildbot
  2017-09-01  4:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
[parent not found: <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>]
* [binutils-gdb] x86: Remove redundant "symbol" in comments
@ 2017-08-26  0:39 sergiodj+buildbot
  2017-09-02  2:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type
@ 2017-08-26  1:01 sergiodj+buildbot
  2017-09-02 20:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC TPREL reloc handling
@ 2017-08-26 11:54 sergiodj+buildbot
  2017-09-03 17:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Disallow copy relocation against protected data symbol
@ 2017-08-27  2:54 sergiodj+buildbot
  2017-09-04 14:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Initialize def_protected
@ 2017-08-27 14:46 sergiodj+buildbot
  2017-09-07 11:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-08-27 14:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 596dc58f33e20bd2784459dc0931e92922465444 ***

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

x86: Initialize def_protected

	* elf32-i386.c (elf_i386_link_hash_newfunc): Initialize
	def_protected.
	* elf64-x86-64.c (elf_x86_64_link_hash_newfunc): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
[parent not found: <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>]
[parent not found: <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>]
* [binutils-gdb] x86: Check for valid PLT section size
@ 2017-08-28 18:53 sergiodj+buildbot
  2017-09-08  0:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] define_command: Don't convert command name to lower case
@ 2017-08-28 21:32 sergiodj+buildbot
  2017-09-09  0:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb.base/commands.exp: Remove unused global references
@ 2017-08-28 22:28 sergiodj+buildbot
  2017-09-10 22:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab
@ 2017-08-28 23:21 sergiodj+buildbot
  2017-09-11 21:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix simulation of MSP430's open system call.
@ 2017-08-29 13:35 sergiodj+buildbot
  2017-09-13  8:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Check valid PLT sections before checking dynamic relocations
@ 2017-08-29 18:16 sergiodj+buildbot
  2017-09-14  9:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Simplify bad return in get_synthetic_symtab
@ 2017-08-29 18:56 sergiodj+buildbot
  2017-09-14 14:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c
@ 2017-08-29 21:02 sergiodj+buildbot
  2017-09-15 16:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c
@ 2017-08-29 22:11 sergiodj+buildbot
  2017-09-17 12:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-18  8:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
[parent not found: <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>]
* [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization
@ 2017-08-30 11:36 sergiodj+buildbot
  2017-09-18 20:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization
@ 2017-08-30 12:05 sergiodj+buildbot
  2017-09-19 19:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-20 14:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done
@ 2017-08-30 13:41 sergiodj+buildbot
  2017-09-21  9:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation
@ 2017-08-30 15:38 sergiodj+buildbot
  2017-09-22  9:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create
@ 2017-08-30 16:30 sergiodj+buildbot
  2017-09-23 11:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Check target_id instead of elf_machine_code
@ 2017-08-30 18:41 sergiodj+buildbot
  2017-09-24  7:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Redesign mock environment for gdbarch selftests
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-05  5:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-10  7:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 18:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR21167, relocation sections not included in groups
@ 2017-10-04 23:08 sergiodj+buildbot
  2017-10-11  0:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd_error_on_input is for archives
@ 2017-10-05  1:09 sergiodj+buildbot
  2017-10-11 15:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] bfd_set_input_error
@ 2017-10-05  1:42 sergiodj+buildbot
  2017-10-12  6:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Update my email address.
@ 2017-10-05  4:45 sergiodj+buildbot
  2017-10-13  4:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] tile: Dump dynamic relocation info to the map file
@ 2017-10-05 13:02 sergiodj+buildbot
  2017-10-14  2:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-16  0:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-14 18:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Handle the NT_ARM_VFP core dump note on FreeBSD.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-15  9:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Clean up some DFP interfaces
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-17 11:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Clean up includes of doublest.h and floatformat.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-16 20:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove unused "union agent_val" from ax.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-18  4:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix fork-related regressions on GNU/Linux
@ 2017-10-05 17:35 sergiodj+buildbot
  2017-10-18 19:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] powerpc: Dump dynamic relocation info to the map file
@ 2017-10-06  1:11 sergiodj+buildbot
  2017-10-19 10:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add TLS_TRANSITION_IE_TO_LE_P
@ 2017-10-06  7:18 sergiodj+buildbot
  2017-10-20  1:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:26 sergiodj+buildbot
  2017-10-20 19:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Add RESOLVED_LOCALLY_P
@ 2017-10-06  7:30 sergiodj+buildbot
  2017-10-21 12:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P
@ 2017-10-06  7:36 sergiodj+buildbot
  2017-10-22  3:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P
@ 2017-10-06  7:42 sergiodj+buildbot
  2017-10-22 18:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:44 sergiodj+buildbot
  2017-10-23  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add COPY_INPUT_RELOC_P
@ 2017-10-06  7:49 sergiodj+buildbot
  2017-10-23 23:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add VERIFY_PLT_ENTRY
@ 2017-10-06  7:51 sergiodj+buildbot
  2017-10-24 14:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Add VERIFY_COPY_RELOC
@ 2017-10-06  7:54 sergiodj+buildbot
  2017-10-25  5:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb: Fix decoding of ARM neon memory hint insns.
@ 2017-10-06  9:53 sergiodj+buildbot
  2017-10-25 19:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] [RFC] Replicate src dir in build dir
@ 2017-10-06 10:17 sergiodj+buildbot
  2017-10-26  9:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Share code updating gdb_target_obs
@ 2017-10-06 10:23 sergiodj+buildbot
  2017-10-27  1:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit
@ 2017-10-06 10:53 sergiodj+buildbot
  2017-10-27 16:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix more GDB build breakage on mingw32
@ 2017-10-06 11:06 sergiodj+buildbot
  2017-10-28  7:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-10-28 22:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Move i386.o to arch/i386.o
@ 2017-10-06 13:11 sergiodj+buildbot
  2017-10-29 13:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-10-30  4:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-10-30 20:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes.
@ 2017-10-06 21:43 sergiodj+buildbot
  2017-10-31 12:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
@ 2017-10-06 22:49 sergiodj+buildbot
  2017-11-01  2:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments
@ 2017-10-07  0:08 sergiodj+buildbot
  2017-11-02  9:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] x86: Use zero_undefweak in elf_x86_link_hash_entry
@ 2017-10-07  1:04 sergiodj+buildbot
  2017-11-01 18:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] sparc: Dump dynamic relocation info to the map file
@ 2017-10-08  0:51 sergiodj+buildbot
  2017-11-03  1:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Reformat elf_x86_allocate_dynrelocs
@ 2017-10-08 20:47 sergiodj+buildbot
  2017-11-05 23:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-06 15:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] sparc: Remove a strayed comment
@ 2017-10-09  0:35 sergiodj+buildbot
  2017-11-07  6:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] sh: Dump dynamic relocation info to the map file
@ 2017-10-09  1:20 sergiodj+buildbot
  2017-11-08  2:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] PR22212, memory leak in nm
@ 2017-10-09  5:11 sergiodj+buildbot
  2017-11-08 18:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Change search_symbols to return std::vector
@ 2017-10-09  5:31 sergiodj+buildbot
  2017-11-09  8:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove make_cleanup_value_free
@ 2017-10-09  5:51 sergiodj+buildbot
  2017-11-09 23:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove some cleanups from dwarf2read.c
@ 2017-10-09  7:27 sergiodj+buildbot
  2017-11-11  5:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer
@ 2017-10-09  8:52 sergiodj+buildbot
  2017-11-10 14:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ 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-11 20:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Make cp_remove_params return a gdb::unique_xmalloc_ptr
@ 2017-10-09 15:34 sergiodj+buildbot
  2017-11-12 11:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Fix automatic dependency tracking
@ 2017-10-09 16:13 sergiodj+buildbot
  2017-11-13  1:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] S/390: Sync with IBM z14 POP - SI_RD format
@ 2017-10-09 17:35 sergiodj+buildbot
  2017-11-13 17:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] S/390: Sync with latest POP - 3 new instructions
@ 2017-10-09 17:56 sergiodj+buildbot
  2017-11-14  8:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Don't try building gdb against guile-2.2
@ 2017-10-09 18:14 sergiodj+buildbot
  2017-11-14 23:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t.
@ 2017-10-09 19:00 sergiodj+buildbot
  2017-11-15 13:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64
@ 2017-10-09 19:41 sergiodj+buildbot
  2017-11-16 18:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Multi-arch exec, more register reading avoidance
@ 2017-10-09 21:45 sergiodj+buildbot
  2017-11-16  4:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] mn10300: Don't free cached internal symbol table
@ 2017-10-09 22:40 sergiodj+buildbot
  2017-11-17 23:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove "do_nothing"
@ 2017-10-10  0:03 sergiodj+buildbot
  2017-11-18 16:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c478e2d060bebea341696806fed6f67122efab6 ***

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

Remove "do_nothing"

The do_nothing function in mi-main.c is used as a splay tree
key-deleting function; but NULL serves the same purpose and is used
elsewhere in gdb.  This patch removes the unneeded function.

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

	* mi/mi-main.c (do_nothing): Remove.
	(list_available_thread_groups): Update.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] bfin: Don't create .interp section for info->nointerp
@ 2017-10-10  0:15 sergiodj+buildbot
  2017-11-17  8:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ 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] 3460+ messages in thread
* [binutils-gdb] Remove free_splay_tree cleanup
@ 2017-10-10  0:23 sergiodj+buildbot
  2017-11-19  8:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a56bfa56ed967c5f6ed98f75834408417a062ff ***

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

Remove free_splay_tree cleanup

One spot in gdb uses a cleanup to free a splay tree.  This patch
introduces a unique_ptr specialization for this case.

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

	* mi/mi-main.c (free_splay_tree): Remove.
	(list_available_thread_groups): Use splay_tree_up.
	* common/gdb_splay_tree.h: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Prepare powerpc64 for late check_relocs
@ 2017-10-10  5:29 sergiodj+buildbot
  2017-11-20  0:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  5:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9399fcf4ec90d898a610e39bd9141e85c008fbb ***

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

Prepare powerpc64 for late check_relocs

check_relocs was setting up some data used by the --gc-sections
gc_mark_hook.  If we change ld to run check_relocs after gc_sections
that data needs to be set up elsewhere.  Done by this patch in the
backend check_directives function (ppc64_elf_before_check_relocs).

	* elf64-ppc.c (ppc64_elf_before_check_relocs): Set sec_type for
	.opd whenever .opd is present and non-zero size.  Move code
	setting abiversion to/from output file earlier.  Only set
	u.opd.func_sec when --gc-sections.  Read relocs and set up
	u.opd.func_sec values here..
	(ppc64_elf_check_relocs): ..rather than here.  Simplify opd
	section tests.
	(ppc64_elf_edit_opd): Don't set sec_type for .opd here.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] riscv: Cache the max alignment of output sections
@ 2017-10-10  5:49 sergiodj+buildbot
  2017-11-20 15:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  5:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc3c534364ca6d6de4f0dbcaf347ec85f5e2f8ff ***

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

riscv: Cache the max alignment of output sections

Cache the max alignment of output sections instead of scanning all
output sections for each input section, which can take a very long
time if there are millions of input/output sections.

	PR ld/22274
	* elfnn-riscv.c (riscv_elf_link_hash_table): Add max_alignment.
	(riscv_elf_link_hash_table_create): Initialize max_alignment to
	(bfd_vma) -1.
	(_bfd_riscv_relax_section): Cache the max alignment of output
	sections if possible.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] [ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.
@ 2017-10-10 16:08 sergiodj+buildbot
  2017-11-21 10:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c699715f68be7d8c468e965fbefce997f7ed937 ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 6c699715f68be7d8c468e965fbefce997f7ed937

[ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.

Similar as aarch64 backend, arm backend only overrides the decision on undefined
weak symbols. arm backend part already emits necessary relative relocation for
this case.

bfd/

	PR ld/21402
	* elf32-arm.c (allocate_dynrelocs_for_symbol): Only make undefined weak
	symbols into dynamic.

ld/

	PR ld/21402
	* testsuite/ld-arm/tls-app.d: Update address.
	* testsuite/ld-arm/tls-app.r: Remove relocations.
	* testsuite/ld-arm/unresolved-1-dyn.d: Update.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Eliminate catch_errors
@ 2017-10-10 16:39 sergiodj+buildbot
  2017-11-22  1:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 16:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf4692711232eb96cd840f96d88897a2746d8190 ***

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

Eliminate catch_errors

If you want to use catch_errors with a function with parameters, then
currently you have to manually write a "capture" struct wrapping the
arguments and marshall/unmarshall that.

https://sourceware.org/ml/gdb-patches/2017-09/msg00834.html proposed
adjusting catch_errors to use gdb::function_view, which would allow
passing lambdas with automatic captures.  However, it seems like using
TRY/CATCH directly instead ends up producing clearer and easier to
debug code.  This is what this commit does.

Note that removing catch_errors exposes further cleanup opportunities
around no longer having to follow catch_errors callback type, and also
removes a few cleanups.

I didn't do anything to save/restore current_uiout because I think
that should be the responsibility of the code that changes
current_uiout in the first place.

(Another approach could be to make catch_errors a variadic template
like:

  template<typename Function, typename... Args>
  int catch_errors (const char *errstring, return_mask mask,
		    Function &&func, Args... args);

and then with:

  extern void function_with_args (int, int);
  extern void function_with_no_args ();

calls to the above functions would be wrapped like this:

  catch_errors ("some error happened", RETURN_MASK_ERROR,
                function_with_args, arg1, arg2);

  catch_errors ("some error happened", RETURN_MASK_ERROR,
                function_with_no_args);

but I'm thinking that that doesn't improve much if at all either.)

gdb/ChangeLog
2017-10-10  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* breakpoint.c (breakpoint_cond_eval): Change return type to bool
	and reverse logic.
	(WP_DELETED, WP_VALUE_CHANGED, WP_VALUE_NOT_CHANGED, WP_IGNORE):
	No longer macros.  Instead ...
	(enum wp_check_result): They're now values of this new
	enumeration.
	(watchpoint_check): Change return type to wp_check_result and
	parameter type to bpstat.
	(bpstat_check_watchpoint): Use TRY/CATCH instead of catch_errors.
	(bpstat_check_breakpoint_conditions): Use TRY/CATCH instead of
	catch_errors.  Reverse logic of watchpoint_check call.
	(breakpoint_re_set_one): Now returns void and takes a breakpoint
	pointer as parameter.
	(breakpoint_re_set): Use TRY/CATCH instead of catch_errors.
	* common/common-exceptions.c (throw_exception_sjlj): Update
	comments to avoid mentioning catch_errors.
	* exceptions.c (catch_errors): Delete.
	* exceptions.h: Update comments to avoid mentioning catch_errors.
	(catch_errors_ftype, catch_errors): Delete.
	* infrun.c (normal_stop): Use TRY/CATCH instead of catch_errors.
	(hook_stop_stub): Delete.
	(restore_selected_frame): Change return type to void, and
	parameter type to const frame_id &.
	(restore_infcall_control_state): Use TRY/CATCH instead of
	catch_errors.
	* main.c (captured_command_loop): Return void and remove
	parameter.  Remove references to catch_errors.
	(captured_main): Use TRY/CATCH instead of catch_errors.
	* objc-lang.c (objc_submethod_helper_data)
	(find_objc_msgcall_submethod_helper): Delete.
	(find_objc_msgcall_submethod): Use TRY/CATCH instead of
	catch_errors.
	* record-full.c (record_full_message): Return void.
	(record_full_message_args, record_full_message_wrapper): Delete.
	(record_full_message_wrapper_safe): Return bool and use TRY/CATCH
	instead of catch_errors.
	* solib-aix.c (solib_aix_open_symbol_file_object): Change
	parameter type to int.
	* solib-darwin.c (open_symbol_file_object): Ditto.
	* solib-dsbt.c (open_symbol_file_object): Ditto.
	* solib-frv.c (open_symbol_file_object): Ditto.
	* solib-svr4.c (open_symbol_file_object): Ditto.
	* solib-target.c (solib_target_open_symbol_file_object): Ditto.
	* solib.c (update_solib_list): Use TRY/CATCH instead of
	catch_errors.
	* solist.h (struct target_so_ops) <open_symbol_file_object>:
	Change type.
	* symmisc.c (struct print_symbol_args): Remove.
	(dump_symtab_1): Use TRY/CATCH instead of catch_errors.
	(print_symbol): Change type.
	* windows-nat.c (handle_load_dll, handle_unload_dll): Return void
	and remove parameters.
	(catch_errors): New.
	(get_windows_debug_event): Adjust.

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

	* lib/selftest-support.exp (selftest_setup): Update for
	captured_command_loop's prototype change.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg
@ 2017-10-10 17:00 sergiodj+buildbot
  2017-11-22 15:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65630365f7d073430e62b4fe65f34dcdc0a4b05e ***

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

Eliminate catch_exceptions/catch_exceptions_with_msg

This patch gets rid of catch_exceptions / catch_exceptions_with_msg.
The latter is done mostly by getting rid of the three remaining
vestigial libgdb wrapper functions, which are really pointless
nowadays.  This results in a good number of simplifications.

(I checked that Insight doesn't use those functions.)

The gdb.mi/mi-pthreads.exp change is necessary because this actually
fixes a bug, IMO -- the patch stops MI's -thread-select causing output
on the CLI stream.

I.e., before:
 -thread-select 123456789
 &"Thread ID 123456789 not known.\n"
 ^error,msg="Thread ID 123456789 not known."
 (gdb)

After:
 -thread-select 123456789
 ^error,msg="Thread ID 123456789 not known."
 (gdb)

gdb/ChangeLog
2017-10-10  Pedro Alves <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* breakpoint.c (struct captured_breakpoint_query_args)
	(do_captured_breakpoint_query, gdb_breakpoint_query): Delete.
	(print_breakpoint): New.
	* breakpoint.h (print_breakpoint): Declare.
	* common/common-exceptions.h (enum return_reason): Remove
	references to catch_exceptions.
	* exceptions.c (catch_exceptions, catch_exceptions_with_msg):
	Delete.
	* exceptions.h (catch_exceptions_ftype, catch_exceptions)
	(catch_exception_ftype, catch_exceptions_with_msg): Delete.
	* gdb.h: Delete.
	* gdbthread.h (thread_select): Declare.
	* mi/mi-cmd-break.c: Don't include gdb.h.
	(breakpoint_notify): Use print_breakpoint.
	* mi/mi-cmd-catch.c: Don't include gdb.h.
	* mi/mi-interp.c: Don't include gdb.h.
	(mi_print_breakpoint_for_event): New.
	(mi_breakpoint_created, mi_breakpoint_modified): Use
	mi_print_breakpoint_for_event.
	* mi/mi-main.c: Don't include gdb.h.
	(mi_cmd_thread_select): Parse the global thread ID here.  Use
	thread_select instead of gdb_thread_select.
	(mi_cmd_thread_list_ids): Output "thread-ids" tuple here instead
	of using gdb_list_thread_ids.
	* remote-fileio.c (do_remote_fileio_request): Change type.  Reply
	FILEIO_ENOSYS here.
	(remote_fileio_request): Use TRY/CATCH instead of
	catch_exceptions.
	* symfile-mem.c (struct symbol_file_add_from_memory_args)
	(symbol_file_add_from_memory_wrapper): Delete.
	(add_vsyscall_page): Use TRY/CATCH instead of catch_exceptions.
	* thread.c: Don't include gdb.h.
	(do_captured_list_thread_ids, gdb_list_thread_ids): Delete.
	(thread_alive): Use thread_select.
	(do_captured_thread_select): Delete, parts salvaged as ...
	(thread_select): ... this new function.
	(gdb_thread_select): Delete.

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

	* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
	expect CLI output.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] get_integer_valueof: Don't output value in test name
@ 2017-10-10 19:34 sergiodj+buildbot
  2017-11-23  7:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 19:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f20e312aad64c0f5257b9725fa5ffa3e8a93ca2 ***

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

get_integer_valueof: Don't output value in test name

The get_integer_valueof outputs the value it has read as part of the
test name.  This causes test names to vary from run to run, and adds
some noise when diffing test results.  e.g.:

-PASS: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: killed outside: get integer valueof "mypid" (28770)
+PASS: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: killed outside: get integer valueof "mypid" (32238)

This patch removes that, since it's probably not very useful.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (get_integer_valueof): Don't output read value in test name.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] x86: Set GOT refcount to 1
@ 2017-10-10 23:19 sergiodj+buildbot
  2017-11-24  4:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 23:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f09b4d8d8f7c5d249c8375c5c42d4eba3bdc858 ***

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

x86: Set GOT refcount to 1

Since x86 check_relocs is called after opening all inputs and garbage
collection, they never see the removed sections.  There is no need
for incrementing GOT refcount.  But since PLT refcount is also used in

  /* Don't create the PLT entry if there are only function pointer
     relocations which can be resolved at run-time.  */
  else if (htab->elf.dynamic_sections_created
           && (h->plt.refcount > eh->func_pointer_refcount
               || eh->plt_got.refcount > 0))
    {

we must increment it.

	* elf32-i386.c (elf_i386_check_relocs): Set GOT refcount to 1
	instead of incrementing it.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Flash memory size not aligned to address
@ 2017-10-11  8:11 sergiodj+buildbot
  2017-11-24 20:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9b477e3b7388732ed5293d929ceb5fc609916fe ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: d9b477e3b7388732ed5293d929ceb5fc609916fe

Flash memory size not aligned to address

(This patch is from Mark Rages <markrages@gmail.com>.)

The Nordic nRF52 memory map, reported from black magic probe:

Num Enb Low Addr High Addr Attrs
0 y 0x00000000 0x00080000 flash blocksize 0x1000 nocache
1 y 0x10001000 0x10001210 flash blocksize 0x210 nocache
2 y 0x20000000 0x20010000 rw nocache

The region at 0x10001000 is "UICR" and it is a section of flash that is
erased all at once.

Notice the odd size: 0x210 is the size of the region defined in the
datasheet.

But because the block size was listed as 0x210, gdb was insisting on
issuing two erase commands divisible by 0x210, starting below 0x10001000.

This patch fixes it by doing the alignment computation from the start of
the region, not from address 0.

gdb/ChangeLog:

	* target-memory.c (block_boundaries): Fix for block address not
	aligned on block size.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove unnecessary parentheses in declarations
@ 2017-10-11 10:21 sergiodj+buildbot
  2017-11-25 12:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 10:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fa29be949a96f68ee65dcdb4f56f132609170db ***

Author: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Branch: master
Commit: 7fa29be949a96f68ee65dcdb4f56f132609170db

Remove unnecessary parentheses in declarations

GCC commit a94975e57 ("C++ warning on vexing parse") introduces new
warnings "unnecessary parentheses in the declaration of ...".  These
cause the build of binutils and gdb to fail.  This patch removes those
parentheses for a successful build.

gdb/ChangeLog:
2017-10-11  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>

	* macrotab.h (macro_lookup_inclusion): Remove unnecessary
	parentheses in the declaration.
	(macro_lookup_inclusion): Likewise.
	(macro_lookup_definition): Likewise.
	* p-lang.h (pascal_builtin_types): Likewise.
	* tui/tui-data.c (tui_win_list): Likewise.
	* tui/tui-data.h (tui_win_list): Likewise.
	* utils.h (make_cleanup_free_section_addr_info): Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others)
@ 2017-10-11 12:08 sergiodj+buildbot
  2017-11-27 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f314ad58ec824ce6c8467af29f11583f79a80ea ***

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

Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others)

Building bfd/ for DJGPP, I see:

 ../../src/bfd/bfd.c:642:1: error: conflicting types for '_doprnt'
  _doprnt (FILE *stream, const char *format, va_list ap)
  ^~~~~~~
 In file included from ../../src/bfd/sysdep.h:37:0,
		  from ../../src/bfd/bfd.c:367:
 /usr/lib64/gcc/i586-pc-msdosdjgpp/6.1.0/include-fixed/stdio.h:171:5: note: previous declaration of '_doprnt' was here
  int _doprnt(const char *_fmt, va_list _args, FILE *_f);
      ^~~~~~~

Possible fixes the build on other systems too -- _doprnt was/is an
exported symbol on old Unix/BSD systems too.

bfd/ChangeLog:
2017-10-11  Pedro Alves  <palves@redhat.com>

	* bfd.c (_doprnt): Rename to ...
	(_bfd_doprnt): ... this.
	(error_handler_internal): Adjust.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] arc: Pass proper CPU value to the disassembler
@ 2017-10-11 13:11 sergiodj+buildbot
  2017-11-28 12:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 13:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56d704daee44b036d1eff86123de6dec0c55f61b ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 56d704daee44b036d1eff86123de6dec0c55f61b

arc: Pass proper CPU value to the disassembler

There was a problem with generation of the disassembler options for ARC in GDB,
because a BFD architecture name was used as a CPU name, but they have different
meaning even if some architectures have same name as respective CPUs.  Target
description specifies a BFD architecture, which is different from ARC CPU, as
accepted by the disassembler (and most other ARC tools), because CPU values are
much more fine grained - there can be multiple CPU values per single BFD
architecture.  As a result this code should translate architecture to some CPU
value.  Since there is no info on exact CPU configuration, it is best to use
the most feature-rich CPU, so that the disassembler will recognize all
instructions available to the specified architecture.

gdb/ChangeLog
yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* arc-tdep.c (arc_gdbarch_init): Pass proper cpu value to disassembler.
	* arc-tdep.h (arc_arch_is_em): New function.
	(arc_arch_is_hs): Likewise.

gdb/testsuite/ChangeLog
yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* gdb.arch/arc-tdesc-cpu.exp: New file.
	* gdb.arch/arc-tdesc-cpu.xml: Likewise.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Use std::vector for symtab_fns
@ 2017-10-11 14:08 sergiodj+buildbot
  2017-11-29  3:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905014d7205d4f171c5cabf695fe1ec3da9b33d3 ***

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

Use std::vector for symtab_fns

Simple replacement of VEC with std::vector.

gdb/ChangeLog:

	* symfile.c (registered_sym_fns): Make struct, not typedef.
	(DEF_VEC_O (registered_sym_fns)): Remove.
	(symtab_fns): Change type to std::vector.
	(add_symtab_fns): Adjust.
	(find_sym_fns): Adjust.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Garbage collect reattach_breakpoints
@ 2017-10-11 14:30 sergiodj+buildbot
  2017-11-29 20:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 14:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 458ca1d02e47db0af0e22d524df0e4b88fc54b6e ***

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

Garbage collect reattach_breakpoints

Not used anywhere.

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

	* breakpoint.c (reattach_breakpoints): Delete.
	* breakpoint.h (reattach_breakpoints): Delete.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64'
@ 2017-10-11 15:19 sergiodj+buildbot
  2017-12-02  9:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72bc1bb934ba99bc9182179a866c0d2c77d027c8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 72bc1bb934ba99bc9182179a866c0d2c77d027c8

ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64'

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and move the padding of the `elf_external_linux_prpsinfo64' structure to
match the corresponding 64-bit Linux kernel `elf_prpsinfo' structure.

The 64-bit kernel structure is defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_nice
$1 = 0x3
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_flag
$2 = 0x8
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_uid
$3 = 0x10
(gdb) print sizeof(((struct elf_prpsinfo *)0)->pr_flag)
$4 = 8
(gdb)

with implicit padding present before the `pr_flag' member, to correctly
align it to a multiple of 8.  Conversely `elf_external_linux_prpsinfo64'
has padding after its `pr_flag' member:

(top-gdb) ptype struct elf_external_linux_prpsinfo64
type = struct elf_external_linux_prpsinfo64 {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    char pr_flag[8];
    char gap[4];
    char pr_uid[4];
    char pr_gid[4];
    char pr_pid[4];
    char pr_ppid[4];
    char pr_pgrp[4];
    char pr_sid[4];
    char pr_fname[16];
    char pr_psargs[80];
}
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_nice
$1 = 0x3
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_flag
$2 = 0x4
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_uid
$3 = 0x10
(top-gdb)

and consequently `pr_flag' is misplaced.  Move `gap' ahead of `pr_flag'
then.

	bfd/
	* elf-linux-core.h (elf_external_linux_prpsinfo64): Move the
	`gap' member ahead of `pr_flag'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ELF/BFD, GDB: Handle both variants of the 32-bit Linux core PRPSINFO note
@ 2017-10-11 16:09 sergiodj+buildbot
  2017-12-03  0:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2f63b2e7a5da01ff828b45c7e0e57265ee24131 ***

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

ELF/BFD,GDB: Handle both variants of the 32-bit Linux core PRPSINFO note

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and commit b3ac9c77560a ("Put more info in NT_PRPSINFO Linux notes"),
<https://sourceware.org/ml/binutils/2013-02/msg00024.html>, and handle
both variants of the 32-bit Linux core PRPSINFO note across all targets.

The 32-bit Linux core PRPSINFO note matches the 32-bit kernel structure,
defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb)

where the individual data types of most members are the same across all
32-bit Linux ports, with the exception of `__kernel_uid_t' and
`__kernel_gid_t'.  These are defined in <asm-generic/posix_types.h> as
32-bit `unsigned int' by default, however overridden as 16-bit `unsigned
short' in port-specific <asm/posix_types.h> for a few targets, mostly
earlier ports of Linux, specifically: ARM, CRIS, FR-V, M32R, m68k,
MN10300/AM33, s390, SuperH, SPARC and i386.

The default is the same as the PowerPC variant already handled, as from
the commits referred.  Make the special PowerPC case generic then,
removing the GDB part, and provide a backend flag to switch between the
two cases possible, with the 32-bit one being the default and the 16-bit
one explicitly selected.  Set the flag in the target backends affected.

	bfd/
	* elf-bfd.h (elf_backend_data): Add `linux_prpsinfo32_ugid16'
	member.
	(elfcore_write_ppc_linux_prpsinfo32): Remove prototype.
	* elf32-ppc.c (elfcore_write_ppc_linux_prpsinfo32): Remove.
	(elf_external_ppc_linux_prpsinfo32)
	(swap_ppc_linux_prpsinfo32_out): Move to...
	* elf-linux-core.h (elf_external_linux_prpsinfo32_ugid32)
	(swap_linux_prpsinfo32_ugid32_out): ... these.
	(elf_external_linux_prpsinfo32): Rename to...
	(elf_external_linux_prpsinfo32_ugid16): ... this.
	(swap_linux_prpsinfo32_out): Rename to...
	(swap_linux_prpsinfo32_ugid16_out): ... this.
	* elfxx-target.h [!elf_backend_linux_prpsinfo32_ugid16]
	(elf_backend_linux_prpsinfo32_ugid16): Define.
	(elfNN_bed): Initialize `linux_prpsinfo32_ugid16' member.
	* elf.c (elfcore_write_linux_prpsinfo32): Handle both variants
	of the 32-bit Linux core PRPSINFO note.
	* elf32-am33lin.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-arm.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-cris.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-frv.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-i386.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-m32r.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-m68k.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-s390.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-sh.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-sparc.c (elf_backend_linux_prpsinfo32_ugid16): Define.

	gdb/
	* ppc-linux-tdep.c (ppc_linux_init_abi): Remove call to
	`set_gdbarch_elfcore_write_linux_prpsinfo'.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note
@ 2017-10-11 16:30 sergiodj+buildbot
  2017-12-03 16:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3c9a7b0d6d84425ea24d222a1a31e206e587374f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 3c9a7b0d6d84425ea24d222a1a31e206e587374f

ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and handle both variants of the 64-bit Linux core PRPSINFO note across
all targets.

The 64-bit Linux core PRPSINFO note matches the 64-bit kernel structure,
defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb)

where the individual data types of most members are the same across all
64-bit Linux ports, with the exception of `__kernel_uid_t' and
`__kernel_gid_t'.  These are defined in <asm-generic/posix_types.h> as
32-bit `unsigned int' by default, however overridden as 16-bit `unsigned
short' in port-specific <asm/posix_types.h> for the SuperH target.

The default is already handled, as from the commit referred.  Add the
other variant then and provide a backend flag to switch between the two
cases possible, with the 32-bit one being the default and the 16-bit one
explicitly selected.  Set the flag in the SuperH target backend.  This
arrangement is analogous to how the 32-bit Linux core PRPSINFO note is
handled.

	bfd/
	* elf-bfd.h (elf_backend_data): Add `linux_prpsinfo64_ugid16'
	member.
	* elf-linux-core.h (elf_external_linux_prpsinfo64): Rename to...
	(elf_external_linux_prpsinfo64_ugid32): ... this.
	(swap_linux_prpsinfo32_out): Rename to...
	(swap_linux_prpsinfo32_ugid32_out): ... this.
	(elf_external_linux_prpsinfo64_ugid16): New structure.
	(swap_linux_prpsinfo64_ugid16_out): New function.
	* elfxx-target.h [!elf_backend_linux_prpsinfo64_ugid16]
	(elf_backend_linux_prpsinfo64_ugid16): Define.
	(elfNN_bed): Initialize `linux_prpsinfo64_ugid16' member.
	* elf.c (elfcore_write_linux_prpsinfo64): Handle both variants
	of the 64-bit Linux core PRPSINFO note.
	* elf64-sh64.c (elf_backend_linux_prpsinfo64_ugid16): Define.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] GDB: Remove Linux core PRPSINFO note writer override
@ 2017-10-11 16:50 sergiodj+buildbot
  2017-12-12 11:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fe22022617a7122491aa83c893a10a8d861cde73 ***

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

GDB: Remove Linux core PRPSINFO note writer override

Revert parts of commit b3ac9c77560a ("Put more info in NT_PRPSINFO Linux
notes"), <https://sourceware.org/ml/binutils/2013-02/msg00024.html>, and
remove support for a Linux core PRPSINFO note writer override, now that
all variants are handled automatically within BFD itself.

	gdb/
	* linux-tdep.c (linux_make_corefile_notes): Remove call to
	`gdbarch_elfcore_write_linux_prpsinfo'.
	* gdbarch.sh (elfcore_write_linux_prpsinfo): Remove architecture
	method.
	(elf_internal_linux_prpsinfo): Remove declaration.
	* gdbarch.h: Regenerate.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add FreeBSD/arm architecture.
@ 2017-10-11 20:03 sergiodj+buildbot
  2017-12-13  1:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98 ***

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

Add FreeBSD/arm architecture.

Support for collecting and supplying general purpose and floating
point registers is provided along with signal frame unwinding.  While
FreeBSD/arm kernels do populate NT_FPREGSET notes, they are always
zero-filled, so this implementation ignores them.  Recent FreeBSD/arm
kernels generate NT_ARM_VFP notes which are used to supply
floating-point registers.  As with Linux, the AT_HWCAP feature flags
are used to determine the correct target description.

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Add arm-fbsd-tdep.o.
	(ALLDEPFILES): Add arm-fbsd-tdep.c.
	* NEWS: Mention new FreeBSD/arm target.
	* configure.tgt: Add arm*-*-freebsd*.
	* arm-fbsd-tdep.c: New file.
	* arm-fbsd-tdep.h: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Add native target for FreeBSD/arm.
@ 2017-10-11 20:32 sergiodj+buildbot
  2017-12-13 16:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 20:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f9d99066edcefab0e5868d20cb9ddaa7b76da52 ***

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

Add native target for FreeBSD/arm.

gdb/ChangeLog:

	* Makefile.in (ALLDEPFILES): Add arm-fbsd-nat.c.
	* NEWS: Mention new FreeBSD/arm native configuration.
	* configure.host: Add arm*-*-freebsd*.
	* configure.nat: Likewise.
	* arm-fbsd-nat.c: New file.


^ permalink raw reply	[flat|nested] 3460+ messages in thread
* [binutils-gdb] Remove some cleanups from breakpoint.c
@ 2017-10-11 22:32 sergiodj+buildbot
  2017-12-14  6:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 3460+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 81b1e71c4a1370c77ad1d462e1a761402d48b1c0 ***

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

Remove some cleanups from breakpoint.c

This removes some cleanups from breakpoint.c, replacing them with C++
data structures.

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

	* breakpoint.c (commands_command_1): Use std::string.
	(cleanup_executing_breakpoints): Remove.
	(bpstat_do_actions_1): Use scoped_restore.
	(bpstat_check_watchpoint): Use std::string.
	(decode_static_tracepoint_spec): Likewise.
	(break_range_command): Likewise.
	(watch_command_1): Likewise.
	(compare_breakpoints): Change argument types.
	(clear_command): Use std::vector.
	(cleanup_executing_breakpoints): Remove.
	(update_global_location_list): Use unique_xmalloc_ptr.
	(strace_command): Remove unused declaration.


^ permalink raw reply	[flat|nested] 3460+ messages in thread

end of thread, other threads:[~2017-12-14  6:58 UTC | newest]

Thread overview: 3460+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 14:12 [binutils-gdb] Don't truncate the history file when history size is unlimited sergiodj+buildbot
2015-06-17 14:05 ` Failures on Debian-i686, branch master sergiodj+buildbot
2015-06-17 14:21 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 14:28 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2015-06-17 14:29 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2015-06-17 14:31 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 14:39 ` Failures on Debian-x86_64-m64, " sergiodj+buildbot
2015-06-17 14:44 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2015-06-17 14:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2015-06-17 15:05 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-06-17 15:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 15:24 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-06-17 16:37 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2016-07-20 21:44 [binutils-gdb] Use a real vfork done event on FreeBSD when available sergiodj+buildbot
2016-07-21  9:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21  4:17 [binutils-gdb] Fix implib test failures sergiodj+buildbot
2016-07-21 12:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21  9:38 [binutils-gdb] Fix fail in gdb.server/solib-list.exp sergiodj+buildbot
2016-07-21 13:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 11:10 [binutils-gdb] Skip gdb.server/ tests if lack of XML support sergiodj+buildbot
2016-07-21 17:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 12:41 [binutils-gdb] Create sub classes of 'struct breakpoint' sergiodj+buildbot
2016-07-21 22:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 13:09 [binutils-gdb] Pass breakpoint type in set_breakpoint_at sergiodj+buildbot
2016-07-21 19:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 13:37 [binutils-gdb] Refactor clone_all_breakpoints sergiodj+buildbot
2016-07-21 23:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 14:36 [binutils-gdb] Make reinsert_breakpoint thread specific sergiodj+buildbot
2016-07-22  2:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 14:58 [binutils-gdb] Switch current_thread to lwp's thread in install_software_single_step_breakpoints sergiodj+buildbot
2016-07-22  5:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 15:20 [binutils-gdb] Use enqueue_pending_signal in linux_resume_one_thread sergiodj+buildbot
2016-07-22  7:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 15:58 [binutils-gdb] Enqueue signal even when resuming threads sergiodj+buildbot
2016-07-22 11:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 17:08 [binutils-gdb] Use reinsert_breakpoint for vCont;s sergiodj+buildbot
2016-07-22 14:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 17:54 [binutils-gdb] Support vCont s and S actions with software single step sergiodj+buildbot
2016-07-22 15:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 18:25 [binutils-gdb] Fix cast to 'gdb_breakpoint *' sergiodj+buildbot
2016-07-22 15:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 18:53 [binutils-gdb] Remove unused variable in gdb/varobj.c when built without Python support sergiodj+buildbot
2016-07-22 18:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 19:45 [binutils-gdb] Remove unused variable in windows-nat.c sergiodj+buildbot
2016-07-22 20:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 20:40 [binutils-gdb] Fix djgpp gdb build sergiodj+buildbot
2016-07-23  2:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-21 21:22 [binutils-gdb] Add -Wunused-but-set-* to build sergiodj+buildbot
2016-07-23  4:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-22  0:11 [binutils-gdb] Set BFD_VERSION to 2.27.51 sergiodj+buildbot
2016-07-23 18:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-22  3:02 [binutils-gdb] Allow empty struct expressions in Rust sergiodj+buildbot
2016-07-23 17:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-07-23 19:48 [binutils-gdb] Fix ARMv8.1/v8.2 for hw watchpoint and breakpoint sergiodj+buildbot
2016-07-23 22:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <e34879080d8935792ef3942efa5f25b4c3169b5a@gdb-build>
2016-07-24  7:17 ` sergiodj+buildbot
     [not found] <c0272db5854a799a9f3bb3803c3d03d1a62b9ac2@gdb-build>
2016-07-25 15:18 ` sergiodj+buildbot
     [not found] <0e1a6a5169023ee0c19de2c9160b469e43634b21@gdb-build>
2016-07-26  6:04 ` sergiodj+buildbot
     [not found] <e0461dbb653dbb3c46ea7a15054fd2c98f879f31@gdb-build>
2016-07-26 19:11 ` sergiodj+buildbot
     [not found] <9cf12d57c58a82cfe3e6fee26d1ea55dfe49f9c4@gdb-build>
2016-07-26 21:20 ` sergiodj+buildbot
     [not found] <40c31709c6a51926fcb409611caa52b2da6515c0@gdb-build>
2016-07-27  0:17 ` sergiodj+buildbot
     [not found] <54806ffa85643c3a1ee721d5c3f5586d32f86ee1@gdb-build>
2016-07-27  2:41 ` sergiodj+buildbot
     [not found] <6598661d14c90cabac1daa5e683d1e17883b2e41@gdb-build>
2016-07-27  8:03 ` sergiodj+buildbot
     [not found] <293acfae4e3c9aad417e262edc9847c79bbbbb11@gdb-build>
2016-07-27 10:27 ` sergiodj+buildbot
     [not found] <147d994bcdd36a177e49e7b6ac8d9c1f7b4cdcf5@gdb-build>
2016-07-27 15:33 ` sergiodj+buildbot
     [not found] <db18dbabad8e7b63e98d47813ef20acac7072350@gdb-build>
2016-07-27 18:37 ` sergiodj+buildbot
     [not found] <7bd374a44d1db21b54a9a52ecde1d064cdaa8cd1@gdb-build>
2016-07-28  4:29 ` sergiodj+buildbot
2016-08-01  9:52 [binutils-gdb] Tweak gdb.cp tests for aarch32 sergiodj+buildbot
2016-08-01 10:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-01 10:35 [binutils-gdb] Update Swedish translation in bfd directory sergiodj+buildbot
2016-08-01 15:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-01 13:20 [binutils-gdb] Swap "single-process" and "multi-process" in process-dies-while-detaching.exp sergiodj+buildbot
2016-08-01 15:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-01 17:20 [binutils-gdb] Bump version to 7.12.50.DATE-git sergiodj+buildbot
2016-08-01 21:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-01 18:17 [binutils-gdb] Update NEWS post GDB 7.12 branch creation sergiodj+buildbot
2016-08-02  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-01 21:12 [binutils-gdb] Fix some PowerPC VLE BFD issues and add some PowerPC VLE instructions sergiodj+buildbot
2016-08-02 11:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-02 12:23 [binutils-gdb] Fix SH GOT allocation in the presence of linker garbage collection sergiodj+buildbot
2016-08-02 13:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-02 14:43 [binutils-gdb] Synchronize libiberty sources with FSF GCC mainline version sergiodj+buildbot
2016-08-02 15:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-02 16:25 [binutils-gdb] PowerPC64 ld segfault with code in non-executable sections sergiodj+buildbot
2016-08-02 20:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-02 16:45 [binutils-gdb] [GDBserver] Remove td_ta_event_addr td_ta_set_event and td_ta_event_getmsg sergiodj+buildbot
2016-08-03  0:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-03 16:11 [binutils-gdb] Add myself as Rust maintainer sergiodj+buildbot
2016-08-03 16:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-03 17:44 [binutils-gdb] Update NEWS to mention Python breakpoint events sergiodj+buildbot
2016-08-03 19:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-03 18:31 [binutils-gdb] Avoid potential memory leak in find_frame_funname sergiodj+buildbot
2016-08-04  0:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-03 18:50 [binutils-gdb] PR python/18565 - make Frame.function work for inline frames sergiodj+buildbot
2016-08-04  4:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-04 10:44 [binutils-gdb] Quiet ptrace error ESRCH in regsets_fetch_inferior_registers sergiodj+buildbot
2016-08-04 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-04 11:45 [binutils-gdb] Determine target description for native aarch64 sergiodj+buildbot
2016-08-04 16:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-04 16:00 [binutils-gdb] 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com> sergiodj+buildbot
2016-08-05  8:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-04 16:49 [binutils-gdb] 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com> sergiodj+buildbot
2016-08-05 15:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-05 17:17 [binutils-gdb] gdb/configure --help: suggest --disable-build-with-cxx instead of --enable sergiodj+buildbot
2016-08-05 17:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-05 18:21 [binutils-gdb] gdb/NEWS: Mention that C++ is now the default sergiodj+buildbot
2016-08-06  0:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-05 20:42 [binutils-gdb] Fix PR remote/20398: File-IO write always outputs "Quit" sergiodj+buildbot
2016-08-06 21:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-05 22:57 [binutils-gdb] Remove unused cli_command_loop declaration sergiodj+buildbot
2016-08-07 20:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-08 16:36 [binutils-gdb] Fix memory leaks in chew program sergiodj+buildbot
2016-08-08 18:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09  7:29 [binutils-gdb] Regenerate some target description files sergiodj+buildbot
2016-08-09 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 13:06 [binutils-gdb] linux-procfs: Introduce enum proc_state sergiodj+buildbot
2016-07-26  3:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 13:28 [binutils-gdb] Handle correctly passing a bad interpreter name to new-ui sergiodj+buildbot
2016-07-26 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 13:36 [binutils-gdb] Fix PR gdb/20295: GDB segfaults printing bitfield member of optimized out value sergiodj+buildbot
2016-08-09 15:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 13:48 [binutils-gdb] PR python/20190 - compute TLS symbol without a frame sergiodj+buildbot
2016-07-27  5:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 20:38 [binutils-gdb] Correct the calculation of the use_counts of merged .got entries sergiodj+buildbot
2016-08-09 22:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-09 22:30 [binutils-gdb] Fix PR gdb/18653: gdb disturbs inferior's inherited signal dispositions sergiodj+buildbot
2016-08-10  0:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-10  0:26 [binutils-gdb] Fix PR mi/20431 - Missing MI prompts after sync execution MI command (-exec-continue, etc.) errors sergiodj+buildbot
2016-08-10 15:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
2016-08-10 16:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-10 21:20 [binutils-gdb] Quiet ARI gettext checks sergiodj+buildbot
2016-08-11  0:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  0:35 [binutils-gdb] Support setting thread names (MS-Windows) sergiodj+buildbot
2016-08-11  0:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  0:52 [binutils-gdb] MIPS/BFD: Set the ISA bit in microMIPS LA25 stub references sergiodj+buildbot
2016-08-11  1:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  1:15 [binutils-gdb] MIPS/BFD: Add microMIPS annotation to LA25 stub symbols sergiodj+buildbot
2016-08-11  4:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  1:27 [binutils-gdb] MIPS/BFD: Actually produce short microMIPS LA25 stubs sergiodj+buildbot
2016-08-11  7:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  7:55 [binutils-gdb] Fix PR gdb/19187 (process record over a fork causes internal error) sergiodj+buildbot
2016-08-12  5:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11  8:00 [binutils-gdb] Introduce 'enum remove_bp_reason' sergiodj+buildbot
2016-08-12  3:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-11 10:48 [binutils-gdb] Plumb enum remove_bp_reason all the way to target_remove_breakpoint sergiodj+buildbot
2016-08-12  4:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-12 10:33 [binutils-gdb] Fix fallout from gdb/20413's fix (x32: linux_ptrace_test_ret_to_nx: Cannot PTRACE_PEEKUSER) sergiodj+buildbot
2016-08-12 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-12 11:02 [binutils-gdb] Export the single step function from the AArch64 simulator sergiodj+buildbot
2016-08-12 12:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-12 13:46 [binutils-gdb] Fix warning in gdb.base/signals-state-child.c sergiodj+buildbot
2016-08-12 15:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-12 18:13 [binutils-gdb] Undo the previous change to the aarch64 sim - exporting aarch64_step() - and instead make aarch64_run correctly process sim events sergiodj+buildbot
2016-08-13 21:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-13 21:55 [binutils-gdb] Correct .dynsym sh_info sergiodj+buildbot
2016-08-13 23:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-14  1:05 [binutils-gdb] sim: bfin: split out common mach/model defines into arch.h [PR sim/20438] sergiodj+buildbot
2016-08-14  6:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-14  7:01 [binutils-gdb] sim: cgen: drop unused argv/envp definitions sergiodj+buildbot
2016-08-15 11:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 12:16 [binutils-gdb] sim: cgen: constify mode_names sergiodj+buildbot
2016-08-15 12:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 12:44 [binutils-gdb] sim: m68hc11: fix up various prototype related warnings sergiodj+buildbot
2016-08-15 13:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 12:49 [binutils-gdb] sim: m68hc11: standardize sim_cpu naming sergiodj+buildbot
2016-08-15 14:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 14:48 [binutils-gdb] Fix heap-buffer-overflow in explicit_location_lex_one sergiodj+buildbot
2016-08-15 15:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 20:09 [binutils-gdb] [GDB] Fix builds broken by proc-service changes sergiodj+buildbot
2016-08-16 15:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-15 20:14 [binutils-gdb] sim: unify symbol table handling sergiodj+buildbot
2016-08-17 14:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-17 21:25 [binutils-gdb] sim: m68hc11: use standard STATIC_INLINE helper sergiodj+buildbot
2016-08-17 21:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-17 23:52 [binutils-gdb] Remove stale comment sergiodj+buildbot
2016-08-18 14:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-18 14:37 [binutils-gdb] Add remove-inferiors test sergiodj+buildbot
2016-08-18 15:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-18 15:13 [binutils-gdb] Fix remove-inferior error message sergiodj+buildbot
2016-08-18 20:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-18 21:19 [binutils-gdb] ppc: Fix record of HTM instructions sergiodj+buildbot
2016-08-19  2:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19  5:31 [binutils-gdb] Add myself as write-after-approval GDB maintainer sergiodj+buildbot
2016-08-19  8:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19  6:30 [binutils-gdb] Fix for powerpc-power.exp gdb regression test for Power 9 sergiodj+buildbot
2016-08-19 10:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 12:02 [binutils-gdb] PR 20472, PowerPC64 ifunc confusion sergiodj+buildbot
2016-08-19 13:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 12:40 [binutils-gdb] PowerPC64, Don't copy weak symbol dyn_relocs to weakdef sergiodj+buildbot
2016-08-19 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 14:59 [binutils-gdb] Place .shstrtab section after .symtab and .strtab, thus restoring monotonically increasing section offsets sergiodj+buildbot
2016-08-19 15:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 16:06 [binutils-gdb] x32 Fast tracepoints: IPA target descriptions sergiodj+buildbot
2016-08-19 16:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 16:23 [binutils-gdb] x32 Fast tracepoints: Customize jump pad address sergiodj+buildbot
2016-08-19 17:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 16:52 [binutils-gdb] x32: gdbserver's agent bytecode JIT: fix "call" emission sergiodj+buildbot
2016-08-20  4:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 17:02 [binutils-gdb] x32: Avoid unsigned long when installing fast tracepoint jump pads sergiodj+buildbot
2016-08-19 20:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 18:19 [binutils-gdb] x32: gdb: Fix 'call' insn relocation with qRelocInsn sergiodj+buildbot
2016-08-20 11:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 18:48 [binutils-gdb] null-terminate string in linespec_location_completer sergiodj+buildbot
2016-08-22  2:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 19:59 [binutils-gdb] [AArch64] Match instruction "STP with base register" in prologue sergiodj+buildbot
2016-08-22 13:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-19 20:30 [binutils-gdb] x32: Fix gdb.trace/mi-trace-frame-collected.exp sergiodj+buildbot
2016-08-22  2:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-20  9:29 [binutils-gdb] Fix missing files for ld when test suite not compiled in the source directory sergiodj+buildbot
2016-08-22 19:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-22 20:15 [binutils-gdb] Error on unsupported PowerPC ifuncs sergiodj+buildbot
2016-08-22 20:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-22 21:15 [binutils-gdb] Free the string buffer used by the chew program to hold each file it parses sergiodj+buildbot
2016-08-22 23:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23  4:03 [binutils-gdb] Fix PR gdb/20505 - Make vDSO detection work with core files sergiodj+buildbot
2016-08-23  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 13:28 [binutils-gdb] R_OR1K_GOTOFF_* relocations sergiodj+buildbot
2016-08-23 14:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 14:15 [binutils-gdb] [AArch64] Add OP parameter to aarch64-tbl.h macros sergiodj+buildbot
2016-08-23 14:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 14:27 [binutils-gdb] [AArch64] Make more use of CORE/FP/SIMD_INSN sergiodj+buildbot
2016-08-23 15:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 15:01 [binutils-gdb] [AArch64] Add V8_2_INSN macro sergiodj+buildbot
2016-08-23 16:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 15:22 [binutils-gdb] Fix seg-fault in ARM linker when trying to parse a binary file sergiodj+buildbot
2016-08-23 19:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 16:22 [binutils-gdb] Fix signals-state-child.exp in remote testing sergiodj+buildbot
2016-08-23 23:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 17:39 [binutils-gdb] gdbserver_spawn "" rather than gdbserver_spawn ${binfile} sergiodj+buildbot
2016-08-24  0:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-23 22:53 [binutils-gdb] Fix PR20494 - User input stops being echoed in CLI sergiodj+buildbot
2016-08-24  2:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-24  0:00 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-08-24 14:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-24 18:02 [binutils-gdb] [ARC] Parse NOTE section in core dump files sergiodj+buildbot
2016-08-25  3:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-24 18:25 [binutils-gdb] [ARC] C++ compatibility for arc-dis.h sergiodj+buildbot
2016-08-25  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-24 18:43 [binutils-gdb] Fix for gdb.base/pc-fp.exp sergiodj+buildbot
2016-08-25  8:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-24 20:24 [binutils-gdb] Allow resetting an empty inferior-tty sergiodj+buildbot
2016-08-25  8:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-25  7:58 [binutils-gdb] Test case to detect recursive unwinding in Python-based unwinders sergiodj+buildbot
2016-08-25  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-25  8:11 [binutils-gdb] X86: Add ptwrite instruction sergiodj+buildbot
2016-08-25 10:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-25 10:27 [binutils-gdb] Sync proc_service definition with GLIBC sergiodj+buildbot
2016-08-25 19:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 10:59 [binutils-gdb] xtensa: Avoid designated inits, for C++ compliance sergiodj+buildbot
2016-08-26 11:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 11:41 [binutils-gdb] S390: Indentation fixes in elf32/64-s390.c sergiodj+buildbot
2016-08-26 13:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 12:23 [binutils-gdb] S390: Add support for core dump NOTE sections sergiodj+buildbot
2016-08-26 14:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 15:04 [binutils-gdb] Add support for stable secure gateway veneers addresses sergiodj+buildbot
2016-08-26 15:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 15:37 [binutils-gdb] Fixes to legacy ARC relocations sergiodj+buildbot
2016-08-26 16:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 15:56 [binutils-gdb] Several fixes related to ARC PIE support sergiodj+buildbot
2016-08-27  1:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 16:13 [binutils-gdb] Content for TLS_IE_GOT not written to .got sergiodj+buildbot
2016-08-26 19:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 16:28 [binutils-gdb] Fixed -init, -fini linker options sergiodj+buildbot
2016-08-27  4:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 17:24 [binutils-gdb] Dynamic TLS GOT entries would not be relocated sergiodj+buildbot
2016-08-27  7:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 17:28 [binutils-gdb] Add missing ARMv8-M special registers sergiodj+buildbot
2016-08-27  9:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-26 20:45 [binutils-gdb] Reduce parameter list in bfd_elf32_arm_target_relocs sergiodj+buildbot
2016-08-29 15:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-27  0:57 [binutils-gdb] opcodes, gas: fix mnemonic of sparc camellia_fl sergiodj+buildbot
2016-08-29 15:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-27  2:17 [binutils-gdb] 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com> sergiodj+buildbot
2016-08-27 15:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-27 12:09 [binutils-gdb] Fix commit 980aa3e6 sergiodj+buildbot
2016-08-29 15:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-27 13:37 [binutils-gdb] Lack of SHF_GROUP sections result in ld segfault sergiodj+buildbot
2016-08-29 17:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-30  6:44 [binutils-gdb] gdb.base/default.exp regression sergiodj+buildbot
2016-08-30 12:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-30 16:56 [binutils-gdb] i386: Issue an error on non-PIC call to IFUNC in PIC object sergiodj+buildbot
2016-08-30 17:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-30 18:41 [binutils-gdb] ppc apuinfo for spe parsed incorrectly sergiodj+buildbot
2016-08-30 19:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-31  4:17 [binutils-gdb] Fix order of inferiors in "thread apply all" sergiodj+buildbot
2016-08-31  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-31  5:42 [binutils-gdb] Fixed issue with NULL pointer access on header var sergiodj+buildbot
2016-08-31 14:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-31 18:21 [binutils-gdb] PowerPC VLE sh_flags and p_flags sergiodj+buildbot
2016-08-31 18:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-31 19:13 [binutils-gdb] PowerPC64, correct grouping of stubs for ld.bfd sergiodj+buildbot
2016-08-31 19:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-08-31 20:01 [binutils-gdb] Fix a typo in comment sergiodj+buildbot
2016-08-31 21:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-01  7:16 [binutils-gdb] Fix lwp_suspend/unsuspend imbalance in linux_wait_1 sergiodj+buildbot
2016-09-01  8:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-01 20:40 [binutils-gdb] Don't treat .opd section specially when ELFv2 sergiodj+buildbot
2016-09-01 21:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-01 21:43 [binutils-gdb] 2016-09-01 Thomas Preud'homme <thomas.preudhomme@arm.com> sergiodj+buildbot
2016-09-01 23:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-02  9:02 [binutils-gdb] Use target_continue{, _no_signal} instead of target_resume sergiodj+buildbot
2016-09-02 10:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-02 14:53 [binutils-gdb] Share target_wait prototype between GDB and gdbserver sergiodj+buildbot
2016-09-02 16:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-02 17:12 [binutils-gdb] Detect broken ptrace in gdb_skip_float_test sergiodj+buildbot
2016-09-02 18:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-02 19:40 [binutils-gdb] Skip floating point tests in return-nodebug.exp if gdb_skip_float_test is true sergiodj+buildbot
2016-09-02 20:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-02 22:03 [binutils-gdb] [GDBserver] Replace "reinsert_breakpoint" with "single_step_breakpoint" sergiodj+buildbot
2016-09-03 12:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-03 12:46 [binutils-gdb] Handle DW_OP_form_tls_address sergiodj+buildbot
2016-09-05 19:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-05 19:41 [binutils-gdb] Removed redundant line remote-utils.c sergiodj+buildbot
2016-09-05 21:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06  8:12 [binutils-gdb] Fix PR19927: Avoid unwinder recursion if sniffer uses calls parse_and_eval sergiodj+buildbot
2016-09-06  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 16:28 [binutils-gdb] gdb/: Require a C++ compiler sergiodj+buildbot
2016-09-06 17:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 18:00 [binutils-gdb] Fix PR ld/20545 - relaxation bugs in avr backend sergiodj+buildbot
2016-09-06 18:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 18:54 [binutils-gdb] Fix typo in ada_language_arch_info sergiodj+buildbot
2016-09-06 19:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 19:59 [binutils-gdb] Fix TYPE_SPECIFIC_FIELD for types created via arch_type sergiodj+buildbot
2016-09-06 22:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 20:46 [binutils-gdb] Add some missing arch_..._type helpers sergiodj+buildbot
2016-09-07  0:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 21:12 [binutils-gdb] Unify init_type and arch_type interface and helpers sergiodj+buildbot
2016-09-07  1:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 22:01 [binutils-gdb] Remove obsolete TYPE_FLAG_... values sergiodj+buildbot
2016-09-07  7:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 23:33 [binutils-gdb] Remove TYPE_NOSIGN "char" hack sergiodj+buildbot
2016-09-07  9:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-06 23:37 [binutils-gdb] Add missing format for built-in floating-point types sergiodj+buildbot
2016-09-07 11:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07  0:07 [binutils-gdb] Add gdbarch callback to provide formats for debug info float types sergiodj+buildbot
2016-09-07 16:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07  0:39 [binutils-gdb] Support 128-bit IEEE floating-point types on Intel and Power sergiodj+buildbot
2016-09-07 17:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07  1:30 [binutils-gdb] Resolve size relocation with copy relocation sergiodj+buildbot
2016-09-07 18:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07  5:56 [binutils-gdb] Introduce make_cleanup_restore_current_ui sergiodj+buildbot
2016-09-08 22:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07  7:09 [binutils-gdb] new-ui command: gdb internal errors if input is already pending sergiodj+buildbot
2016-09-08 22:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-07 21:00 [binutils-gdb] [arm] Automatically enable CRC instructions on supported ARMv8-A CPUs sergiodj+buildbot
2016-09-09 18:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-08  0:06 [binutils-gdb] X86: Allow additional ISAs for IAMCU in assembler sergiodj+buildbot
2016-09-09 18:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-10 20:57 [binutils-gdb] Remove some unneeded casts from remote.c sergiodj+buildbot
2016-09-10 21:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-10 23:25 [binutils-gdb] Pass HWCAP to ifunc resolver sergiodj+buildbot
2016-09-11 19:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-12 15:28 [binutils-gdb] Use target_sim_options for sim target sergiodj+buildbot
2016-09-12 16:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-12 17:26 [binutils-gdb] Fix false FAIL on gdb.base/stap-probe.exp, due to ICF optimization sergiodj+buildbot
2016-09-13 17:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-13 17:42 [binutils-gdb] S/390: Fix kmctr instruction type sergiodj+buildbot
2016-09-13 18:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-13 18:36 [binutils-gdb] S/390: Add alternate processor names sergiodj+buildbot
2016-09-14 11:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-14 12:25 [binutils-gdb] Fix for gdb.server/non-existing-program.exp test case sergiodj+buildbot
2016-09-14 13:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-14 13:01 [binutils-gdb] Fix for gdb.server/non-existing-program.exp test case sergiodj+buildbot
2016-09-14 15:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-14 16:07 [binutils-gdb] Stop the ARC disassembler from seg-faulting if initialised without a BFD present sergiodj+buildbot
2016-09-14 16:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-14 17:34 [binutils-gdb] Prevent segfault in GDB when searching for architecture matches sergiodj+buildbot
2016-09-14 19:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-15  3:38 [binutils-gdb] Fix seg-fault in objdump when run on a fuzzed PE binary sergiodj+buildbot
2016-09-15 12:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-15  4:45 [binutils-gdb] Fix ld --gc-section segfault with ARMv8-M entry function in absolute section sergiodj+buildbot
2016-09-15 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-15 21:47 [binutils-gdb] Modify POWER9 support to match final ISA 3.0 documentation sergiodj+buildbot
2016-09-15 22:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-15 23:31 [binutils-gdb] testsuite: Disable ccache sergiodj+buildbot
2016-09-16  1:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 14:17 [binutils-gdb] Update ISA 3.0 / POWER9 gdb tests to match GAS test cases sergiodj+buildbot
2016-09-16 14:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 18:19 [binutils-gdb] testsuite: Fix C++11 compilation failure for gdb.cp/m-static.exp sergiodj+buildbot
2016-09-16 19:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 19:43 [binutils-gdb] [ARC] Disassemble correctly extension instructions sergiodj+buildbot
2016-09-16 20:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 20:49 [binutils-gdb] testsuite: Fix false FAIL in gdb.cp/casts.exp sergiodj+buildbot
2016-09-16 21:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 21:38 [binutils-gdb] S390: Avoid direct access to lwp_info structure sergiodj+buildbot
2016-09-16 23:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 22:36 [binutils-gdb] S390: Migrate watch areas from list to VEC type sergiodj+buildbot
2016-09-17  2:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 23:12 [binutils-gdb] S390: Multi-inferior watchpoint support sergiodj+buildbot
2016-09-17  7:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-16 23:32 [binutils-gdb] S390: Enable "maint set show-debug-regs" sergiodj+buildbot
2016-09-17  8:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  0:28 [binutils-gdb] linux-nat: Add function lwp_is_stepping sergiodj+buildbot
2016-09-17 11:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  1:02 [binutils-gdb] S390: Hardware breakpoint support sergiodj+buildbot
2016-09-17 15:38 ` Failures on Fedora-ppc64be-native-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  1:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  5:15 [binutils-gdb] Introduce cleanup to restore current_uiout sergiodj+buildbot
2016-09-19  3:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-18 23:24 [binutils-gdb] Improve MinGW support in Readline sergiodj+buildbot
2016-09-19  6:14 ` Failures on Fedora-ppc64be-native-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 12:40 ` Failures on Fedora-ppc64be-native-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 12:59 ` Failures on Fedora-ppc64be-native-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 16:01 ` Failures on Fedora-ppc64be-native-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 16:34 ` Failures on Fedora-ppc64be-native-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:06 ` Failures on Fedora-ppc64be-native-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 18:58 ` Failures on Fedora-ppc64be-native-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-20 20:58 ` Failures on Fedora-ppc64be-native-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:16 ` Failures on Fedora-ppc64be-native-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 16:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 17:21 [binutils-gdb] MIPS/testsuite: mips16-thunks: Use `standard_output_file' sergiodj+buildbot
2016-09-21 20:34 ` Failures on Fedora-ppc64be-native-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:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 20:22 [binutils-gdb] [AArch64][SVE 13/32] Add an F_STRICT flag sergiodj+buildbot
2016-09-22  1:27 ` Failures on Fedora-ppc64be-native-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  3:45 ` Failures on Fedora-ppc64be-native-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  6:03 ` Failures on Fedora-ppc64be-native-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  7:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 23:40 [binutils-gdb] [AArch64][SVE 17/32] Add a prefix parameter to print_register_list sergiodj+buildbot
2016-09-22 10:21 ` Failures on Fedora-ppc64be-native-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 12:12 ` Failures on Fedora-ppc64be-native-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 14:11 ` Failures on Fedora-ppc64be-native-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 18:15 ` Failures on Fedora-ppc64be-native-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-22 19:07 ` Failures on Fedora-ppc64be-native-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-22 22:54 ` Failures on Fedora-ppc64be-native-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  3:16 ` Failures on Fedora-ppc64be-native-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  6:30 ` Failures on Fedora-ppc64be-native-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  7:08 ` Failures on Fedora-ppc64be-native-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  7:26 ` Failures on Fedora-ppc64be-native-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  9:12 ` Failures on Fedora-ppc64be-native-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 16:23 ` Failures on Fedora-ppc64be-native-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 18:12 ` Failures on Fedora-ppc64be-native-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 17:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 10:26 [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions sergiodj+buildbot
2016-09-23 19:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 11:51 [binutils-gdb] [AArch64] Add SVE condition codes sergiodj+buildbot
2016-09-23 21:40 ` Failures on Fedora-ppc64be-native-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-23 23:36 ` Failures on Fedora-ppc64be-native-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  4:50 ` Failures on Fedora-ppc64be-native-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  8:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 14:12 [binutils-gdb] Update and add .gitignore's sergiodj+buildbot
2016-09-24 11:47 ` Failures on Fedora-ppc64be-native-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-24 14:08 ` Failures on Fedora-ppc64be-native-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-24 15:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 17:43 [binutils-gdb] arc: New Synopsys ARC port sergiodj+buildbot
2016-09-24 21:44 ` Failures on Fedora-ppc64be-native-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  2:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 19:54 [binutils-gdb] Check the right proc name sergiodj+buildbot
2016-09-25  7:21 ` Failures on Fedora-ppc64be-native-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 13:18 ` Failures on Fedora-ppc64be-native-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-25 15:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 23:04 [binutils-gdb] Fix build breakage from commit 6ec2b2 sergiodj+buildbot
2016-09-25 17:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23  0:46 [binutils-gdb] Close gdbserver in mi_gdb_exit sergiodj+buildbot
2016-09-25 20:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 19:06 [binutils-gdb] Delete relocations associatesd with deleted exidx entries sergiodj+buildbot
2016-09-25 22:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 20:08 [binutils-gdb] gdb: Replace operator new / operator new[] sergiodj+buildbot
2016-09-26  0:31 ` Failures on Fedora-ppc64be-native-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  3:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 22:27 [binutils-gdb] Remove some unnecessary code sergiodj+buildbot
2016-09-26  3:47 ` Failures on Fedora-ppc64be-native-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  3:58 ` Failures on Fedora-ppc64be-native-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  4:49 ` Failures on Fedora-ppc64be-native-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  5:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  4:16 [binutils-gdb] Use std::vector in objfiles.c sergiodj+buildbot
2016-09-26  8:23 ` Failures on Fedora-ppc64be-native-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  9:38 ` Failures on Fedora-ppc64be-native-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 10:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 11:09 [binutils-gdb] Call debug_exit in linux_wait_1 sergiodj+buildbot
2016-09-26 16:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 16:58 [binutils-gdb] PowerPC .gnu.attributes sergiodj+buildbot
2016-09-26 17:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 19:24 [binutils-gdb] [ARC] ISA alignment sergiodj+buildbot
2016-09-27  1:21 ` Failures on Fedora-ppc64be-native-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  2:50 ` Failures on Fedora-ppc64be-native-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  5:12 ` Failures on Fedora-ppc64be-native-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-27 12:42 ` Failures on Fedora-ppc64be-native-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  5:25 ` Failures on Fedora-ppc64be-native-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 12:48 ` Failures on Fedora-ppc64be-native-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:18 ` Failures on Fedora-ppc64be-native-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  1:26 ` Failures on Fedora-ppc64be-native-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  7:56 ` Failures on Fedora-ppc64be-native-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 18:37 ` Failures on Fedora-ppc64be-native-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  6:15 ` Failures on Fedora-ppc64be-native-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 12:27 ` Failures on Fedora-ppc64be-native-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:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 15:11 [binutils-gdb] Remove syntactic sugar sergiodj+buildbot
2016-09-30 17:05 ` Failures on Fedora-ppc64be-native-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:11 ` Failures on Fedora-ppc64be-native-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:07 ` Failures on Fedora-ppc64be-native-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:31 ` Failures on Fedora-ppc64be-native-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:39 ` Failures on Fedora-ppc64be-native-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 11:52 ` Failures on Fedora-ppc64be-native-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:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:34 [binutils-gdb] Regenerate some regformats/rs6000/*.dat files sergiodj+buildbot
2016-10-05 16:40 ` Failures on Fedora-ppc64be-native-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 18:58 ` Failures on Fedora-ppc64be-native-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-05 23:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 14:41 [binutils-gdb] arc: Remove annoying debug message sergiodj+buildbot
2016-10-05 21:22 ` Failures on Fedora-ppc64be-native-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  1:48 ` Failures on Fedora-ppc64be-native-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:01 ` Failures on Fedora-ppc64be-native-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  6:10 ` Failures on Fedora-ppc64be-native-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  8:30 ` Failures on Fedora-ppc64be-native-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 10:52 ` Failures on Fedora-ppc64be-native-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 13:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  0:52 [binutils-gdb] -Wimplicit-fallthrough error fixes sergiodj+buildbot
2016-10-06 15:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  1:07 [binutils-gdb] -Wimplicit-fallthrough warning fixes sergiodj+buildbot
2016-10-06 17:41 ` Failures on Fedora-ppc64be-native-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 20:00 ` Failures on Fedora-ppc64be-native-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 22:09 ` Failures on Fedora-ppc64be-native-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  0:35 ` Failures on Fedora-ppc64be-native-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  7:31 ` Failures on Fedora-ppc64be-native-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 12:09 ` Failures on Fedora-ppc64be-native-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 14:25 ` Failures on Fedora-ppc64be-native-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 16:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 21:27 [binutils-gdb] Remove Java support sergiodj+buildbot
2016-10-07 19:30 ` Failures on Fedora-ppc64be-native-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  6:55 ` Failures on Fedora-ppc64be-native-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 11:23 ` Failures on Fedora-ppc64be-native-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 13:42 ` Failures on Fedora-ppc64be-native-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 18:22 ` Failures on Fedora-ppc64be-native-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  9:07 ` Failures on Fedora-ppc64be-native-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 20:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  7:33 [binutils-gdb] bfd_merge_private_bfd_data tidy sergiodj+buildbot
2016-10-08 16:02 ` Failures on Fedora-ppc64be-native-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:04 ` Failures on Fedora-ppc64be-native-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 22:51 ` Failures on Fedora-ppc64be-native-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  7:46 ` Failures on Fedora-ppc64be-native-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:08 ` Failures on Fedora-ppc64be-native-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:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10 11:41 [binutils-gdb] Share enum arm_breakpoint_kinds sergiodj+buildbot
2016-10-10 12:09 ` Failures on Fedora-ppc64be-native-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:15 ` Failures on Fedora-ppc64be-native-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 10:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 15:00 [binutils-gdb] testsuite: Use standard_output_file sergiodj+buildbot
2016-10-11 15:15 ` Failures on Fedora-ppc64be-native-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 17:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 23:35 [binutils-gdb] BFD_FAKE_SECTION macro params sergiodj+buildbot
2016-10-11 23:51 ` Failures on Fedora-ppc64be-native-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:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 13:03 [binutils-gdb] arc: Add a gdbarch_tdep structure sergiodj+buildbot
2016-10-12 14:16 ` Failures on Fedora-ppc64be-native-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 15:16 ` Failures on Fedora-ppc64be-native-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:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 16:00 [binutils-gdb] arc: Add support for Newlib sergiodj+buildbot
2016-10-12 16:19 ` Failures on Fedora-ppc64be-native-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  1:36 ` Failures on Fedora-ppc64be-native-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  2:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  2:59 [binutils-gdb] Turn wchar iterator into a class sergiodj+buildbot
2016-10-13  3:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  4:50 [binutils-gdb] Remove unnecessary null_cleanup sergiodj+buildbot
2016-10-13  4:58 ` Failures on Fedora-ppc64be-native-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  6:03 ` Failures on Fedora-ppc64be-native-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:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 15:27 [binutils-gdb] Share proc get_var_address sergiodj+buildbot
2016-10-13 16:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 17:38 [binutils-gdb] ARI: Remove true/false checks sergiodj+buildbot
2016-10-13 17:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14  7:30 [binutils-gdb] Include strings.h where available sergiodj+buildbot
2016-10-14 18:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14  9:25 [binutils-gdb] btrace: remove leftover comment sergiodj+buildbot
2016-10-15  0:03 ` Failures on Fedora-ppc64be-native-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  2:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 13:25 [binutils-gdb] Fix set sysroot command on AIX sergiodj+buildbot
2016-10-15  6:03 ` Failures on Fedora-ppc64be-native-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  9:35 ` Failures on Fedora-ppc64be-native-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 13:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 11:03 [binutils-gdb] Update list of ELF machine numbers sergiodj+buildbot
2016-10-17 13:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 13:56 [binutils-gdb] Removed pseudo invalid instructions opcodes sergiodj+buildbot
2016-10-17 17:26 ` Failures on Fedora-ppc64be-native-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-17 23:04 ` Failures on Fedora-ppc64be-native-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  2:06 ` Failures on Fedora-ppc64be-native-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  4:54 ` Failures on Fedora-ppc64be-native-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 17:35 ` Failures on Fedora-ppc64be-native-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-25 20:51 ` Failures on Fedora-ppc64be-native-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 18:06 ` Failures on Fedora-ppc64be-native-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-04 23:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 20:33 [binutils-gdb] gdb: Free inferior->priv when inferior exits sergiodj+buildbot
2016-10-26 20:33 ` Failures on Fedora-ppc64be-native-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  4:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 23:05 [binutils-gdb] PR 20569, segv in follow_exec sergiodj+buildbot
2016-11-05  8:38 ` Failures on Fedora-ppc64be-native-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  3:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 11:31 [binutils-gdb] btrace: update tail call heuristic sergiodj+buildbot
2016-11-06  3:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 14:01 [binutils-gdb] Fix gdb.base/maint.exp regressions sergiodj+buildbot
2016-11-06 12:58 ` Failures on Fedora-ppc64be-native-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-06 13:57 ` Failures on Fedora-ppc64be-native-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-06 17:48 ` Failures on Fedora-ppc64be-native-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-06 20:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 16:50 [binutils-gdb] gdb/NEWS: Mention C++11 requirement sergiodj+buildbot
2016-11-07  6:04 ` Failures on Fedora-ppc64be-native-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-07 21:42 ` Failures on Fedora-ppc64be-native-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  2:04 ` Failures on Fedora-ppc64be-native-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-08 12:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 19:39 [binutils-gdb] Enable Intel AVX512_4FMAPS instructions sergiodj+buildbot
2016-11-08 15:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 19:49 [binutils-gdb] Enable Intel AVX512_4VNNIW instructions sergiodj+buildbot
2016-11-08 18:13 ` Failures on Fedora-ppc64be-native-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  0:13 ` Failures on Fedora-ppc64be-native-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  3:09 ` Failures on Fedora-ppc64be-native-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-09  6:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:46 [binutils-gdb] Rename placed_size to kind sergiodj+buildbot
2016-11-09 20:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:50 [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc sergiodj+buildbot
2016-11-09 23:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:05 [binutils-gdb] Add default_breakpoint_from_pc sergiodj+buildbot
2016-11-10  3:41 ` Failures on Fedora-ppc64be-native-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  9:58 ` Failures on Fedora-ppc64be-native-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 10:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:59 [binutils-gdb] Deprecate old platforms sergiodj+buildbot
2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-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 10:44 ` Failures on Fedora-ppc64be-native-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 10:45 ` Failures on Fedora-ppc64be-native-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 10:45 ` Failures on Fedora-ppc64be-native-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 10:48 ` Failures on Fedora-ppc64be-native-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 10:48 ` Failures on Fedora-ppc64be-native-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 10:47 ` Failures on Fedora-ppc64be-native-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 10:47 ` Failures on Fedora-ppc64be-native-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 10:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:59 [binutils-gdb] arc: Implement NPS-400 dcmac instruction sergiodj+buildbot
2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-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 10:49 ` Failures on Fedora-ppc64be-native-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 10:49 ` Failures on Fedora-ppc64be-native-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 10:50 ` Failures on Fedora-ppc64be-native-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 10:51 ` Failures on Fedora-ppc64be-native-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 10:52 ` Failures on Fedora-ppc64be-native-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 10:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-05  4:41 [binutils-gdb] Fix a few typos sergiodj+buildbot
2016-11-10 11:49 ` Failures on Fedora-ppc64be-native-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  7:33 ` Failures on Fedora-ppc64be-native-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-11 10:38 ` Failures on Fedora-ppc64be-native-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-11 16:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 12:26 [binutils-gdb] Fix indentation sergiodj+buildbot
2016-11-11 20:45 ` Failures on Fedora-ppc64be-native-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-12  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 15:51 [binutils-gdb] Clear addr bit in next_pcs vector sergiodj+buildbot
2016-11-12 14:40 ` Failures on Fedora-ppc64be-native-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-12 22:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 20:24 [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression> sergiodj+buildbot
2016-11-13 10:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 21:02 [binutils-gdb] Introduce ui_file_as_string sergiodj+buildbot
2016-11-13 12:05 ` Failures on Fedora-ppc64be-native-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-13 20:21 ` Failures on Fedora-ppc64be-native-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-14  3:16 ` Failures on Fedora-ppc64be-native-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-14  8:58 ` Failures on Fedora-ppc64be-native-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-14 17:15 ` Failures on Fedora-ppc64be-native-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-14 18:50 ` Failures on Fedora-ppc64be-native-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-15 11:02 ` Failures on Fedora-ppc64be-native-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-15 20:10 ` Failures on Fedora-ppc64be-native-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-16  0:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 17:48 [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr> sergiodj+buildbot
2016-11-16 17:49 ` Failures on Fedora-ppc64be-native-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-16 19:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 20:30 [binutils-gdb] Remove parameter valaddr from la_val_print sergiodj+buildbot
2016-11-17  1:24 ` Failures on Fedora-ppc64be-native-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-17  5:22 ` Failures on Fedora-ppc64be-native-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-15 20:56 ` Failures on Fedora-ppc64be-native-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-17 15:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  3:59 [binutils-gdb] tui-winsource: Allocate for actual lines only sergiodj+buildbot
2016-11-18  4:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  4:19 [binutils-gdb] tui-disasm: Fix line buffer size calculation sergiodj+buildbot
2016-11-17 22:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  6:36 [binutils-gdb] tui-winsource: Remove failed-allocation logic sergiodj+buildbot
2016-11-18  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:45 [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix" sergiodj+buildbot
2016-11-18 17:32 ` Failures on Fedora-ppc64be-native-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-18 14:05 ` Failures on Fedora-ppc64be-native-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-18 20:36 ` Failures on Fedora-ppc64be-native-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-19  8:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  8:07 [binutils-gdb] tui-disasm: Fix window content buffer overrun sergiodj+buildbot
2016-11-17 18:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  9:30 [binutils-gdb] [AArch64] Bind defined symbol locally in PIE sergiodj+buildbot
2016-11-19 13:19 ` Failures on Fedora-ppc64be-native-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-19 18:39 ` Failures on Fedora-ppc64be-native-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-20  2:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 12:02 [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr sergiodj+buildbot
2016-11-20 10:19 ` Failures on Fedora-ppc64be-native-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-20 18:02 ` Failures on Fedora-ppc64be-native-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-20 23:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 17:32 [binutils-gdb] [AArch64] Add ARMv8.3 single source PAC instructions sergiodj+buildbot
2016-11-21  4:01 ` Failures on Fedora-ppc64be-native-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-21  6:57 ` Failures on Fedora-ppc64be-native-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-21 13:11 ` Failures on Fedora-ppc64be-native-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-22  5:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14 10:28 [binutils-gdb] btrace: read entire aux buffer sergiodj+buildbot
2016-11-22  8:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 20:24 [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition sergiodj+buildbot
2016-11-22 12:25 ` Failures on Fedora-ppc64be-native-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-22 19:21 ` Failures on Fedora-ppc64be-native-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-22 22:19 ` Failures on Fedora-ppc64be-native-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-23  6:38 ` Failures on Fedora-ppc64be-native-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-23 19:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 16:49 [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf sergiodj+buildbot
2016-11-23 23:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 18:31 [binutils-gdb] Document new hard requirement on GNU make sergiodj+buildbot
2016-11-24  1:14 ` Failures on Fedora-ppc64be-native-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-24  3:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 19:35 [binutils-gdb] Makefile: Replace old suffix rules with pattern rules sergiodj+buildbot
2016-11-24  5:51 ` Failures on Fedora-ppc64be-native-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-24  8:04 ` Failures on Fedora-ppc64be-native-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-24 14:33 ` Failures on Fedora-ppc64be-native-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-24 18:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:06 [binutils-gdb] Implement P0136R1, Rewording inheriting constructors sergiodj+buildbot
2016-11-25  5:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:14 [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings sergiodj+buildbot
2016-11-25  8:14 ` Failures on Fedora-ppc64be-native-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-11-25  3:14 ` Failures on Fedora-ppc64be-native-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-11-25 10:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 19:31 [binutils-gdb] libiberty: Add Rust symbol demangling sergiodj+buildbot
2016-11-25 21:05 ` Failures on Fedora-ppc64be-native-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-11-26  0:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  3:34 [binutils-gdb] Makefile: fix typo sergiodj+buildbot
2016-11-26  4:14 ` Failures on Fedora-ppc64be-native-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-11-26  6:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 14:37 [binutils-gdb] Create subobject value in pretty printer sergiodj+buildbot
2016-11-26 19:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 17:38 [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error sergiodj+buildbot
2016-11-26 21:34 ` Failures on Fedora-ppc64be-native-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-11-27  0:57 ` Failures on Fedora-ppc64be-native-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-11-27  4:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 11:18 [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs sergiodj+buildbot
2016-11-29 23:54 ` Failures on Fedora-ppc64be-native-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-11-30  4:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 15:10 [binutils-gdb] New regcache_raw_get_signed sergiodj+buildbot
2016-11-30  6:41 ` Failures on Fedora-ppc64be-native-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-11-30 15:06 ` Failures on Fedora-ppc64be-native-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-11-30 20:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  1:00 [binutils-gdb] Fix spelling mistakes in comments in shell scripts sergiodj+buildbot
2016-12-01 15:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  1:51 [binutils-gdb] gdbserver: Use debug_printf for debug output sergiodj+buildbot
2016-12-01 18:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  2:43 [binutils-gdb] gdbserver: Use warning for warnings sergiodj+buildbot
2016-12-01 21:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 15:19 [binutils-gdb] Makefiles: Flatten and sort file lists sergiodj+buildbot
2016-12-02  9:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 17:24 [binutils-gdb] gdb: Use C++11 std::chrono sergiodj+buildbot
2016-12-02 16:10 ` Failures on Fedora-ppc64be-native-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-02 19:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 14:48 [binutils-gdb] [ARM] Bind defined symbol locally in PIE sergiodj+buildbot
2016-12-02 21:50 ` Failures on Fedora-ppc64be-native-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-03  1:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 19:17 [binutils-gdb] Optimize byte-aligned copies in copy_bitwise() sergiodj+buildbot
2016-12-03  8:11 ` Failures on Fedora-ppc64be-native-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-03 11:45 ` Failures on Fedora-ppc64be-native-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-03 14:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 15:36 [binutils-gdb] Fix typos in comment sergiodj+buildbot
2016-12-03 19:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 16:29 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-12-03 17:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-26 15:59 [binutils-gdb] Remove stale comments sergiodj+buildbot
2016-12-04  2:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  4:20 [binutils-gdb] Remove unused functions and declarations sergiodj+buildbot
2016-12-04  5:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  5:56 [binutils-gdb] Fix return value of uo_redirect sergiodj+buildbot
2016-12-04 13:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  8:16 [binutils-gdb] Constify wrap_here/wrap_hint code path sergiodj+buildbot
2016-12-04 15:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 16:35 [binutils-gdb] Properly hide hidden versioned symbol in executable sergiodj+buildbot
2016-12-05  5:26 ` Failures on Fedora-ppc64be-native-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-05  7:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 19:38 [binutils-gdb] Restrict checking value.lval on using address sergiodj+buildbot
2016-12-05 12:18 ` Failures on Fedora-ppc64be-native-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-05 16:25 ` Failures on Fedora-ppc64be-native-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-05 13:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29 11:20 [binutils-gdb] [ARC] Fix disassembler option sergiodj+buildbot
2016-12-05 22:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 12:39 [binutils-gdb] [ARM] Read memory as unsigned integer sergiodj+buildbot
2016-12-06  7:18 ` Failures on Fedora-ppc64be-native-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-06 17:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  5:58 [binutils-gdb] Use std::string in ui_out_table sergiodj+buildbot
2016-12-06 23:05 ` Failures on Fedora-ppc64be-native-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-07 15:13 ` Failures on Fedora-ppc64be-native-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-07 18:32 ` Failures on Fedora-ppc64be-native-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-08  0:48 ` Failures on Fedora-ppc64be-native-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-08  3:30 ` Failures on Fedora-ppc64be-native-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-08  6:03 ` Failures on Fedora-ppc64be-native-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-08  8:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:20 [binutils-gdb] Use std::string for ui_out_hdr's text fields sergiodj+buildbot
2016-12-08 14:28 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  3:57 [binutils-gdb] Class-ify ui_out_level sergiodj+buildbot
2016-12-08 20:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  4:41 [binutils-gdb] Simplify ui-out level code sergiodj+buildbot
2016-12-08 23:25 ` Failures on Fedora-ppc64be-native-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-09  1:00 ` Failures on Fedora-ppc64be-native-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-09 15:24 ` Failures on Fedora-ppc64be-native-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-09 22:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 17:12 [binutils-gdb] Fix seg-fault in the linker when examining a corrupt binary sergiodj+buildbot
2016-12-10  0:17 ` Failures on Fedora-ppc64be-native-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-10  6:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 19:55 [binutils-gdb] Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution sergiodj+buildbot
2016-12-10  7:41 ` Failures on Fedora-ppc64be-native-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-10 10:38 ` Failures on Fedora-ppc64be-native-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-10 13:35 ` Failures on Fedora-ppc64be-native-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-10 16:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 22:35 [binutils-gdb] Introduce enum_flag type for ui_out flags sergiodj+buildbot
2016-12-10 18:47 ` Failures on Fedora-ppc64be-native-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-10 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 13:35 [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes sergiodj+buildbot
2016-12-11  9:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-04  2:02 [binutils-gdb] Fix bugs with tbnz/tbz instructions sergiodj+buildbot
2016-12-11 12:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 12:47 [binutils-gdb] Fix assertion failure in linker triggered by corrupt input file sergiodj+buildbot
2016-12-11 23:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 13:22 [binutils-gdb] Fix seg-fault in linker parsing a corrupt input file sergiodj+buildbot
2016-12-12  2:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 15:01 [binutils-gdb] bfd, ld: Continue after partially-successful relaxed call relocations in sparc sergiodj+buildbot
2016-12-12  6:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 16:45 [binutils-gdb] [ARM] Add ARMv8.3 VCMLA and VCADD instructions sergiodj+buildbot
2016-12-12 13:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06  8:18 [binutils-gdb] PowerPC64 toc optimisation for power9 sergiodj+buildbot
2016-12-13  2:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 14:59 [binutils-gdb] Assert on lval_register sergiodj+buildbot
2016-12-13  5:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 16:16 [binutils-gdb] Fix seg-fault running strip on a corrupt binary sergiodj+buildbot
2016-12-13  7:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 17:12 [binutils-gdb] Fix seg-fault in strip when copying a corrupt binary sergiodj+buildbot
2016-12-13  9:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 10:48 [binutils-gdb] Fix internal error in the linker by replacing a call to abort with an error message sergiodj+buildbot
2016-12-13 14:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 14:08 [binutils-gdb] MIPS16/opcodes: Update opcode table comment sergiodj+buildbot
2016-12-13 22:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 14:36 [binutils-gdb] MIPS/opcodes: Correct an `interaction' comment typo sergiodj+buildbot
2016-12-14  1:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 15:39 [binutils-gdb] MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK sergiodj+buildbot
2016-12-14  3:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 21:39 [binutils-gdb] Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes sergiodj+buildbot
2016-12-14  5:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08  8:11 [binutils-gdb] Hurd, C++: Explicitly cast "void *" sergiodj+buildbot
2016-12-14  7:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 10:43 [binutils-gdb] Hurd, C++: kern_return_t vs. error_t sergiodj+buildbot
2016-12-14 15:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 11:25 [binutils-gdb] Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++ sergiodj+buildbot
2016-12-14 17:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 13:58 [binutils-gdb] Fix crash when disassembling invalid range on powerpc vle sergiodj+buildbot
2016-12-15  4:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  8:00 [binutils-gdb] Hurd: Adjust to changes to "push pruning old threads down to the target" sergiodj+buildbot
2016-12-15 18:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 15:28 [binutils-gdb] Add test that exercises all bfd architecture, osabi, endian, etc. combinations sergiodj+buildbot
2016-12-16  3:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 16:12 [binutils-gdb] Create tdep->rl78_psw_type lazily sergiodj+buildbot
2016-12-16  6:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 19:39 [binutils-gdb] gdb: Remove support for obsolete OSABIs and a.out sergiodj+buildbot
2016-12-16 18:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 23:59 [binutils-gdb] MIPS16/opcodes: Reformat raw EXTEND and undecoded output sergiodj+buildbot
2016-12-16 21:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-10  0:31 [binutils-gdb] MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code sergiodj+buildbot
2016-12-17  0:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12  9:28 [binutils-gdb] Handle memory error in print_insn_rl78_common sergiodj+buildbot
2016-12-17 16:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12 18:30 [binutils-gdb] Port c++/78252 from GCC sergiodj+buildbot
2016-12-18  4:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-13 17:55 [binutils-gdb] [Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field sergiodj+buildbot
2016-12-18 15:47 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  7:22 [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode sergiodj+buildbot
2016-12-18 20:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  8:12 [binutils-gdb] Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used" sergiodj+buildbot
2016-12-18 23:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  8:26 [binutils-gdb] Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode" sergiodj+buildbot
2016-12-19  2:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14 22:56 [binutils-gdb] MIPS16/opcodes: Fix and clarify MIPS16e commentary sergiodj+buildbot
2016-12-19  6:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-15  0:13 [binutils-gdb] MIPS/opcodes: Reorder ELF file header flag handling in disassembler sergiodj+buildbot
2016-12-19 12:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-15 13:29 [binutils-gdb] Linking non-ELF file broken by PR20908 fix sergiodj+buildbot
2016-12-19 22:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-16  3:46 [binutils-gdb] Implement and document --gc-keep-exported sergiodj+buildbot
2016-12-20  2:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-16 12:50 [binutils-gdb] Darwin: Fix gdb compilation sergiodj+buildbot
2016-12-20  9:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-19 15:59 [binutils-gdb] Clean up gdb.gdb/selftest.exp sergiodj+buildbot
2016-12-21  8:09 ` Failures on Fedora-ppc64be-native-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-22  6:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:03 [binutils-gdb] Add opcodes RISC-V dependencies sergiodj+buildbot
2016-12-21 11:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:07 [binutils-gdb] Rework RISC-V relocations sergiodj+buildbot
2016-12-22  0:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:12 [binutils-gdb] Improve RISC-V LD error message sergiodj+buildbot
2016-12-21 14:47 ` Failures on Fedora-ppc64be-native-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-22 23:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 19:34 [binutils-gdb] gdb: Constify solib_find sergiodj+buildbot
2016-12-23  5:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 11:51 [binutils-gdb] Remove high bit set characters sergiodj+buildbot
2016-12-23 10:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-22 22:01 [binutils-gdb] Class-ify ui_out sergiodj+buildbot
2016-12-24  4:35 ` Failures on Fedora-ppc64be-native-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-24  8:18 ` Failures on Fedora-ppc64be-native-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-24 12:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  9:49 [binutils-gdb] Bump version to 2.28.51 sergiodj+buildbot
2016-12-24 21:44 ` Failures on Fedora-ppc64be-native-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-25  2:50 ` Failures on Fedora-ppc64be-native-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-25 21:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:34 [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling sergiodj+buildbot
2016-12-26  2:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 22:25 [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling sergiodj+buildbot
2016-12-26  5:34 ` Failures on Fedora-ppc64be-native-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-27 21:33 ` Failures on Fedora-ppc64be-native-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-28 18:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-29 14:37 [binutils-gdb] link_hash_copy_indirect and symbol flags sergiodj+buildbot
2016-12-29 16:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  2:44 [binutils-gdb] Import config.sub sergiodj+buildbot
2016-12-31  3:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  3:06 [binutils-gdb] PRU BFD support sergiodj+buildbot
2016-12-31  8:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  4:19 [binutils-gdb] PRU Opcode Port sergiodj+buildbot
2016-12-31 11:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  9:11 [binutils-gdb] Create sdynrelro for elfn32 mips too sergiodj+buildbot
2016-12-31 17:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31 13:03 [binutils-gdb] Fix riscv breakage sergiodj+buildbot
2016-12-31 20:19 ` Failures on Fedora-ppc64be-native-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 11:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  0:08 [binutils-gdb] PR20989, sparc GOT sequence optimisation sergiodj+buildbot
2017-01-04  5:51 ` Failures on Fedora-ppc64be-native-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:44 ` Failures on Fedora-ppc64be-native-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:04 ` Failures on Fedora-ppc64be-native-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-04 23:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  2:06 [binutils-gdb] Regen opcodes cgen files sergiodj+buildbot
2017-01-04 15:58 ` Failures on Fedora-ppc64be-native-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  3:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:11 [binutils-gdb] Add fall through comment sergiodj+buildbot
2017-01-05  7:07 ` Failures on Fedora-ppc64be-native-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 14:29 ` Failures on Fedora-ppc64be-native-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 10:37 ` Failures on Fedora-ppc64be-native-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-05 21:11 ` Failures on Fedora-ppc64be-native-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  0:53 ` Failures on Fedora-ppc64be-native-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  4:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 14:42 [binutils-gdb] Sync libiberty from gcc sergiodj+buildbot
2017-01-06  8:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 14:57 [binutils-gdb] update-copyright.py for binutils sergiodj+buildbot
2017-01-06 11:05 ` Failures on Fedora-ppc64be-native-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 14:15 ` Failures on Fedora-ppc64be-native-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-06 18:09 ` Failures on Fedora-ppc64be-native-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-06 21:33 ` Failures on Fedora-ppc64be-native-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  0:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05 15:02 [binutils-gdb] Fix ARI warning sergiodj+buildbot
2017-01-07  4:36 ` Failures on Fedora-ppc64be-native-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  7:46 ` Failures on Fedora-ppc64be-native-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 11:16 ` Failures on Fedora-ppc64be-native-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-07 14:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 16:36 [binutils-gdb] Include target.h in inf-loop.h sergiodj+buildbot
2017-01-07 18:05 ` Failures on Fedora-ppc64be-native-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-07 21:27 ` Failures on Fedora-ppc64be-native-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  0:24 ` Failures on Fedora-ppc64be-native-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  6:57 ` Failures on Fedora-ppc64be-native-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 10:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 20:40 [binutils-gdb] Include gdb_proc_service.h in x86-linux-nat.h sergiodj+buildbot
2017-01-08 14:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-07 21:17 [binutils-gdb] S/390: Issue error for overflowing relocs sergiodj+buildbot
2017-01-08 17:56 ` Failures on Fedora-ppc64be-native-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  8:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09 17:05 [binutils-gdb] Speed up objdump when displaying disassembly mixed with line number and source code information sergiodj+buildbot
2017-01-09 19:04 ` Failures on Fedora-ppc64be-native-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  1:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 15:35 [binutils-gdb] Update help of the "frame" command sergiodj+buildbot
2017-01-10 16:53 ` Failures on Fedora-ppc64be-native-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  0:52 ` Failures on Fedora-ppc64be-native-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  4:04 ` Failures on Fedora-ppc64be-native-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  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  5:41 [binutils-gdb] Introduce py-ref.h sergiodj+buildbot
2017-01-11 11:56 ` Failures on Fedora-ppc64be-native-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 18:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:09 [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints sergiodj+buildbot
2017-01-12  8:50 ` Failures on Fedora-ppc64be-native-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 15:30 ` Failures on Fedora-ppc64be-native-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 12:35 ` Failures on Fedora-ppc64be-native-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-11 21:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  9:54 [binutils-gdb] Use gdbpy_ref in call_doc_function sergiodj+buildbot
2017-01-12 19:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 10:24 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-13  3:23 ` Failures on Fedora-ppc64be-native-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  6:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:23 [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors sergiodj+buildbot
2017-01-12  5:50 ` Failures on Fedora-ppc64be-native-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 10:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:46 [binutils-gdb] Introduce gdbpy_enter sergiodj+buildbot
2017-01-13 13:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 12:35 [binutils-gdb] Use gdbpy_enter in py-breakpoint.c sergiodj+buildbot
2017-01-13 17:40 ` Failures on Fedora-ppc64be-native-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  4:41 ` Failures on Fedora-ppc64be-native-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 15:49 ` Failures on Fedora-ppc64be-native-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  7:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:43 [binutils-gdb] Use gdbpy_enter in python.c sergiodj+buildbot
2017-01-14 15:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 15:49 [binutils-gdb] Use gdbpy_enter in py-xmethods.c sergiodj+buildbot
2017-01-14 22:13 ` Failures on Fedora-ppc64be-native-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  1:50 ` Failures on Fedora-ppc64be-native-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  5:13 ` Failures on Fedora-ppc64be-native-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-15 13:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 18:16 [binutils-gdb] Use gdbpy_enter in python_interactive_command sergiodj+buildbot
2017-01-15 16:16 ` Failures on Fedora-ppc64be-native-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  3:05 ` Failures on Fedora-ppc64be-native-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  1:20 ` Failures on Fedora-ppc64be-native-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  6:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 20:19 [binutils-gdb] Use gdbpy_enter in py-param.c sergiodj+buildbot
2017-01-16 20:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 20:35 [binutils-gdb] Use gdbpy_enter in python.c sergiodj+buildbot
2017-01-17  0:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:38 [binutils-gdb] Use gdbpy_enter in py-progspace.c sergiodj+buildbot
2017-01-14 11:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:40 [binutils-gdb] Change type of encoding argument to gdbpy_extract_lazy_string sergiodj+buildbot
2017-01-17  7:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:55 [binutils-gdb] Use gdbpy_enter_varobj in varobj_value_get_print_value sergiodj+buildbot
2017-01-17 10:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 22:26 [binutils-gdb] Use gdbpy_ref in py_print_frame sergiodj+buildbot
2017-01-17 17:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 23:31 [binutils-gdb] Change python_run_simple_file to use gdbpy_ref sergiodj+buildbot
2017-01-18  1:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  1:51 [binutils-gdb] Use gdbpy_ref in py-inferior.c sergiodj+buildbot
2017-01-19  0:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  2:37 [binutils-gdb] Use gdbpy_ref in py-param.c sergiodj+buildbot
2017-01-19  3:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  2:53 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-19  7:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  3:09 [binutils-gdb] Use gdbpy_ref in pyuw_object_attribute_to_pointer sergiodj+buildbot
2017-01-19 11:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  4:30 [binutils-gdb] Use gdbpy_ref rather than make_cleanup_py_decref sergiodj+buildbot
2017-01-19 22:55 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  4:45 [binutils-gdb] Remove make_cleanup_py_decref and make_cleanup_py_xdecref sergiodj+buildbot
2017-01-20  2:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  5:21 [binutils-gdb] Use gdbpy_ref in invoke_match_method sergiodj+buildbot
2017-01-15 23:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  5:46 [binutils-gdb] Add gdb_ref_ptr.h sergiodj+buildbot
2017-01-20  9:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:06 [binutils-gdb] Remove make_cleanup_discard_psymtabs sergiodj+buildbot
2017-01-20 20:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:27 [binutils-gdb] Use gdbpy_enter_varobj in py-varobj.c sergiodj+buildbot
2017-01-16 10:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:52 [binutils-gdb] Add scoped_value_mark sergiodj+buildbot
2017-01-20 23:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:23 [binutils-gdb] Remove cleanups from execute_gdb_command sergiodj+buildbot
2017-01-21  6:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:38 [binutils-gdb] Add constructor and destructor to demangle_parse_info sergiodj+buildbot
2017-01-21 10:00 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:52 [binutils-gdb] Use gdbpy_enter in fnpy_call sergiodj+buildbot
2017-01-16 17:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  9:28 [binutils-gdb] Add support for x86/64 redox target sergiodj+buildbot
2017-01-21 13:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 10:14 [binutils-gdb] Fix typo in lookup_cmd_1 comment sergiodj+buildbot
2017-01-21 16:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 10:32 [binutils-gdb] Use gdbpy_enter_varobj in more of varobj.c sergiodj+buildbot
2017-01-17  3:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 10:59 [binutils-gdb] x86-64: Correct unwind info for the BND PLT sergiodj+buildbot
2017-01-21 20:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 11:14 [binutils-gdb] Return -1 on memory error in print_insn_msp430 sergiodj+buildbot
2017-01-22  0:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 12:41 [binutils-gdb] Remove ensure_python_env sergiodj+buildbot
2017-01-17 13:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 14:12 [binutils-gdb] Use gdbpy_ref in py-prettyprint.c sergiodj+buildbot
2017-01-17 21:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 15:55 [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop sergiodj+buildbot
2017-01-18  9:30 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 15:58 [binutils-gdb] Remove dead serial_interface_lookup calls sergiodj+buildbot
2017-01-22  4:01 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 16:22 [binutils-gdb] Update comment in linux_nat_can_async_p sergiodj+buildbot
2017-01-22  7:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 16:30 [binutils-gdb] Use gdbpy_ref in py-cmd.c sergiodj+buildbot
2017-01-18 13:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:08 [binutils-gdb] Update comment in remote_can_async_p sergiodj+buildbot
2017-01-22 11:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:39 [binutils-gdb] Add support for locating separate debug info files via the build-id method sergiodj+buildbot
2017-01-22 18:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:47 [binutils-gdb] Use gdbpy_ref in py_print_frame sergiodj+buildbot
2017-01-18 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 18:52 [binutils-gdb] x86-64: Also generate unwind info for .plt.bnd sergiodj+buildbot
2017-01-23  1:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 21:33 [binutils-gdb] Use gdbpy_ref in py-utils.c sergiodj+buildbot
2017-01-19 15:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13  0:44 [binutils-gdb] Remove make_cleanup_htab_delete sergiodj+buildbot
2017-01-20  6:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13  5:07 [binutils-gdb] Use scoped_value_mark in dwarf2_evaluate_loc_desc_full sergiodj+buildbot
2017-01-21  3:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 12:56 [binutils-gdb] Return -1 on memory error in print_insn_m68k sergiodj+buildbot
2017-01-23  8:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 14:22 [binutils-gdb] Enable Intel AVX512_VPOPCNTDQ instructions sergiodj+buildbot
2017-01-22 15:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 15:29 [binutils-gdb] 'make check-headers' for c++ header sergiodj+buildbot
2017-01-23 11:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 16:01 [binutils-gdb] Don't print too much if remote_debug is on sergiodj+buildbot
2017-01-23 15:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-16 17:05 [binutils-gdb] gdb: sparc: split real and pseudo registers sergiodj+buildbot
2017-01-23 20:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-01-20 14:41 [binutils-gdb] Add command to erase all flash memory regions sergiodj+buildbot
2017-01-24 17:19 ` Failures on Fedora-ppc64be-native-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 11:57 ` Failures on Fedora-ppc64be-native-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 14:21 ` Failures on Fedora-ppc64be-native-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-27 17:47 ` Failures on Fedora-ppc64be-native-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  0:48 ` Failures on Fedora-ppc64be-native-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  4:27 ` Failures on Fedora-ppc64be-native-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 19:14 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  0:40 [binutils-gdb] gdb/varobj.c: Fix leak sergiodj+buildbot
2017-02-01  5:23 ` Failures on Fedora-ppc64be-native-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  9:32 ` Failures on Fedora-ppc64be-native-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 12:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  1:27 [binutils-gdb] [ob/pushed] Use gdb_insn_length instead of creating dummy stream sergiodj+buildbot
2017-02-01 15:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 13:56 [binutils-gdb] thread: add can_access_registers_ptid sergiodj+buildbot
2017-02-01 19:13 ` Failures on Fedora-ppc64be-native-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  1:40 ` Failures on Fedora-ppc64be-native-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  4:54 ` Failures on Fedora-ppc64be-native-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 15:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 16:37 [binutils-gdb] btrace, testsuite: fix extended-remote fail sergiodj+buildbot
2017-02-02  8:53 ` Failures on Fedora-ppc64be-native-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-02 19:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 11:42 [binutils-gdb] Add back gdb_pretty_print_insn sergiodj+buildbot
2017-02-02 22:46 ` Failures on Fedora-ppc64be-native-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  4:59 ` Failures on Fedora-ppc64be-native-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  9:06 ` Failures on Fedora-ppc64be-native-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 12:16 ` Failures on Fedora-ppc64be-native-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-03 15:51 ` Failures on Fedora-ppc64be-native-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-03 18:42 ` Failures on Fedora-ppc64be-native-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-03 22:36 ` Failures on Fedora-ppc64be-native-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  9:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  0:38 [binutils-gdb] Fix "maintenance selftest" printing stray instructions sergiodj+buildbot
2017-02-04 16:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  1:31 [binutils-gdb] MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table' sergiodj+buildbot
2017-02-04  2:43 ` Failures on Fedora-ppc64be-native-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  6:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  4:25 [binutils-gdb] struct mi_interp: Remove unused fields sergiodj+buildbot
2017-02-04 13:07 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  5:37 [binutils-gdb] Use bool in Rust code sergiodj+buildbot
2017-02-05  3:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  6:34 [binutils-gdb] Use std::string in Rust code sergiodj+buildbot
2017-02-04 20:34 ` Failures on Fedora-ppc64be-native-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  8:15 ` Failures on Fedora-ppc64be-native-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-05 11:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-04  6:28 [binutils-gdb] Fix ptype of single-member Rust enums sergiodj+buildbot
2017-02-05 15:38 ` Failures on Fedora-ppc64be-native-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  9:16 ` Failures on Fedora-ppc64be-native-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-06 13:39 ` Failures on Fedora-ppc64be-native-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-06 17:34 ` Failures on Fedora-ppc64be-native-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 15:38 ` Failures on Fedora-ppc64be-native-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-07 23:06 ` Failures on Fedora-ppc64be-native-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:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 18:32 [binutils-gdb] Command names: make them case sensitive sergiodj+buildbot
2017-02-08 19:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 19:25 [binutils-gdb] Command abbreviation in define sergiodj+buildbot
2017-02-08 23:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 20:52 [binutils-gdb] Eliminate interp::quiet_p sergiodj+buildbot
2017-02-09  2:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 18:09 [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address sergiodj+buildbot
2017-02-10 22:21 ` Failures on Fedora-ppc64be-native-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  2:07 ` Failures on Fedora-ppc64be-native-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 10:10 ` Failures on Fedora-ppc64be-native-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 13:26 ` Failures on Fedora-ppc64be-native-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 11:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove some gotos from Python sergiodj+buildbot
2017-02-11 17:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove unnecessary local variables sergiodj+buildbot
2017-02-11 20:25 ` Failures on Fedora-ppc64be-native-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  0:18 ` Failures on Fedora-ppc64be-native-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 15:20 ` Failures on Fedora-ppc64be-native-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  7:59 ` Failures on Fedora-ppc64be-native-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 15:25 ` Failures on Fedora-ppc64be-native-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  3:04 ` Failures on Fedora-ppc64be-native-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 11:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 10:44 [binutils-gdb] btrace: Export btrace_decode_error function sergiodj+buildbot
2017-02-14 18:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 12:24 [binutils-gdb] btrace: Use binary search to find instruction sergiodj+buildbot
2017-02-14 22:14 ` Failures on Fedora-ppc64be-native-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  3:25 ` Failures on Fedora-ppc64be-native-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 12:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 23:03 [binutils-gdb] Big-endian targets: Fix implptrpiece.exp sergiodj+buildbot
2017-02-17  2:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 23:42 [binutils-gdb] PR python/13598 - add before_prompt event sergiodj+buildbot
2017-02-17  6:10 ` Failures on Fedora-ppc64be-native-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  9:52 ` Failures on Fedora-ppc64be-native-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 20:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 18:56 [binutils-gdb] Add SFENCE.VMA instruction sergiodj+buildbot
2017-02-18 14:03 ` Failures on Fedora-ppc64be-native-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 20:55 ` Failures on Fedora-ppc64be-native-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-19  0:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  1:56 [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen} sergiodj+buildbot
2017-02-19 20:54 ` Failures on Fedora-ppc64be-native-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:46 ` Failures on Fedora-ppc64be-native-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:44 ` Failures on Fedora-ppc64be-native-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:23 ` Failures on Fedora-ppc64be-native-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:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 13:23 [binutils-gdb] Fix thinko on last commit sergiodj+buildbot
2017-02-21 17:09 ` Failures on Fedora-ppc64be-native-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 21:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21  8:59 [binutils-gdb] Fix recent compiler warnings sergiodj+buildbot
2017-02-22 10:16 ` Failures on Fedora-ppc64be-native-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 16:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 17:22 [binutils-gdb] Default initialize enum flags to 0 sergiodj+buildbot
2017-02-22 20:01 ` Failures on Fedora-ppc64be-native-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-22 23:32 ` Failures on Fedora-ppc64be-native-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  3:10 ` Failures on Fedora-ppc64be-native-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  6:48 ` Failures on Fedora-ppc64be-native-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 13:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 10:18 [binutils-gdb] x86: drop stray VEX opcode 82 references sergiodj+buildbot
2017-02-23 21:34 ` Failures on Fedora-ppc64be-native-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  5:08 ` Failures on Fedora-ppc64be-native-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  9:26 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 19:06 [binutils-gdb] Introduce gdb::function_view sergiodj+buildbot
2017-02-24 16:44 ` Failures on Fedora-ppc64be-native-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-24 20:21 ` Failures on Fedora-ppc64be-native-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  0:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  9:18 [binutils-gdb] x86: also correctly support TEST opcode aliases sergiodj+buildbot
2017-02-25 15:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 16:45 [binutils-gdb] Remove use of MAX_REGISTER_SIZE sergiodj+buildbot
2017-02-25 23:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 20:26 [binutils-gdb] bfd: RISC-V: relax to gp in more cases sergiodj+buildbot
2017-02-26  8:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 21:09 [binutils-gdb] symtab.c: Small refactor sergiodj+buildbot
2017-02-26 11:56 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 23:37 [binutils-gdb] [AArch64] Add a "compnum" feature sergiodj+buildbot
2017-02-26 16:13 ` Failures on Fedora-ppc64be-native-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 16:43 ` Failures on Fedora-ppc64be-native-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-28  0:08 ` Failures on Fedora-ppc64be-native-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 13:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 10:31 [binutils-gdb] Remove MAX_REGISTER_SIZE from remote.c sergiodj+buildbot
2017-02-28 18:15 ` Failures on Fedora-ppc64be-native-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 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 17:42 [binutils-gdb] Fix array out of bound access sergiodj+buildbot
2017-03-01  3:23 ` Failures on Fedora-ppc64be-native-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-03-01  7:06 ` Failures on Fedora-ppc64be-native-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 14:41 ` Failures on Fedora-ppc64be-native-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 19:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  5:23 [binutils-gdb] Nios2 dynobj handling fixes sergiodj+buildbot
2017-03-02  2:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 14:32 [binutils-gdb] PowerPC addpcis fix again sergiodj+buildbot
2017-03-02 10:36 ` Failures on Fedora-ppc64be-native-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 14:36 ` Failures on Fedora-ppc64be-native-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 18:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-01 15:42 [binutils-gdb] Sync libiberty sources with GCC mainline sergiodj+buildbot
2017-03-02 22:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-02  0:24 [binutils-gdb] PowerPC VLE typo fix sergiodj+buildbot
2017-03-03  3:09 ` Failures on Fedora-ppc64be-native-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-03 22:52 ` Failures on Fedora-ppc64be-native-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:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 16:03 [binutils-gdb] Fix "layout reg" crash sergiodj+buildbot
2017-03-08  0:56 ` Failures on Fedora-ppc64be-native-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  4:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 21:08 [binutils-gdb] Share gdb/environ.[ch] with gdbserver sergiodj+buildbot
2017-03-08 13:51 ` Failures on Fedora-ppc64be-native-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-08 21:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 13:45 [binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported sergiodj+buildbot
2017-03-09 13:51 ` Failures on Fedora-ppc64be-native-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  9:47 ` Failures on Fedora-ppc64be-native-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 17:41 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 17:58 [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage sergiodj+buildbot
2017-03-10  1:30 ` Failures on Fedora-ppc64be-native-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-10 13:19 ` Failures on Fedora-ppc64be-native-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  9:55 ` Failures on Fedora-ppc64be-native-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  5:46 ` Failures on Fedora-ppc64be-native-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  1:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 16:05 [binutils-gdb] Use CpuCET on rdsspq sergiodj+buildbot
2017-03-13 22:17 ` Failures on Fedora-ppc64be-native-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-14 18:41 ` Failures on Fedora-ppc64be-native-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  1:12 ` Failures on Fedora-ppc64be-native-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-16 20:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-10 18:58 [binutils-gdb] c++/8218: Destructors w/arguments sergiodj+buildbot
2017-03-17 17:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <@gdb-build>
2017-03-18  3:13 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-18  3:37 ` sergiodj+buildbot
2017-03-21 21:25 [binutils-gdb] testsuite: Introduce dejagnu_version sergiodj+buildbot
2017-03-22  7:00 ` Failures on Fedora-ppc64be-native-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-23  2:48 ` Failures on Fedora-ppc64be-native-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-23 23:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 23:46 [binutils-gdb] gdbserver: Use pattern rule for objects from nat/ sergiodj+buildbot
2017-03-26 12:56 ` Failures on Fedora-ppc64be-native-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-24 19:54 ` Failures on Fedora-ppc64be-native-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-03-28  4:32 ` Failures on Fedora-ppc64be-native-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-03-29  1:31 ` Failures on Fedora-ppc64be-native-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-25 16:40 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:06 [binutils-gdb] Introduce regcache_get_ptid sergiodj+buildbot
2017-03-30 18:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:21 [binutils-gdb] Add asserts in target_fetch/store_registers sergiodj+buildbot
2017-03-31 14:49 ` Failures on Fedora-ppc64be-native-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-01 17:35 ` Failures on Fedora-ppc64be-native-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-02 13:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:38 [binutils-gdb] gdbserver: Use pattern rule for objects from arch/ sergiodj+buildbot
2017-03-27  8:42 ` Failures on Fedora-ppc64be-native-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-03  9:06 ` Failures on Fedora-ppc64be-native-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-08 10:53 ` Failures on Fedora-ppc64be-native-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-09  8:22 ` Failures on Fedora-ppc64be-native-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-03-29 21:46 ` Failures on Fedora-ppc64be-native-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-12 19:38 ` Failures on Fedora-ppc64be-native-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-13 17:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  8:23 [binutils-gdb] New function tyscm_scm_to_type sergiodj+buildbot
2017-04-14 15:05 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:10 [binutils-gdb] Add instruction_reader to arm process record sergiodj+buildbot
2017-04-17  6:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:25 [binutils-gdb] Fix arm process record for some instructions sergiodj+buildbot
2017-04-18  2:36 ` Failures on Fedora-ppc64be-native-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-21 18:08 ` Failures on Fedora-ppc64be-native-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-04  4:51 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 12:43 [binutils-gdb] E6500 spr mnemonics sergiodj+buildbot
2017-05-04 12:08 ` Failures on Fedora-ppc64be-native-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-05-05 15:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:24 [binutils-gdb] PR remote/21188: Fix remote serial timeout sergiodj+buildbot
2017-05-06 11:04 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:41 [binutils-gdb] Restore test-cp-name-parser build sergiodj+buildbot
2017-04-05  0:57 ` Failures on Fedora-ppc64be-native-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-07  6:53 ` Failures on Fedora-ppc64be-native-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-08  3:14 ` Failures on Fedora-ppc64be-native-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-05 20:41 ` Failures on Fedora-ppc64be-native-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-09  0:08 ` Failures on Fedora-ppc64be-native-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-06 16:27 ` Failures on Fedora-ppc64be-native-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-09 19:52 ` Failures on Fedora-ppc64be-native-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-10 15:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:41 [binutils-gdb] Make length_of_subexp static sergiodj+buildbot
2017-04-07 12:12 ` Failures on Fedora-ppc64be-native-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-11 12:01 ` Failures on Fedora-ppc64be-native-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-07-21  7:58 ` Failures on Fedora-ppc64be-native-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-07-22  4:17 ` Failures on Fedora-ppc64be-native-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-07-23  0:35 ` Failures on Fedora-ppc64be-native-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-07-23 20:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:37 [binutils-gdb] DT_TEXTREL vs IFUNC sergiodj+buildbot
2017-07-24 18:04 ` Failures on Fedora-ppc64be-native-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-07-25 20:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:08 [binutils-gdb] Add DW_OP_GNU_variable_value sergiodj+buildbot
2017-04-10  4:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:36 [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns sergiodj+buildbot
2017-07-27  1:09 ` Failures on Fedora-ppc64be-native-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-11  0:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:51 [binutils-gdb] Fix spurious FAILs with examine-backward.exp sergiodj+buildbot
2017-07-28  5:08 ` Failures on Fedora-ppc64be-native-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-07-29 21:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 21:43 [binutils-gdb] Add -file-list-shared-libraries MI command sergiodj+buildbot
2017-07-30 18:46 ` Failures on Fedora-ppc64be-native-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-11 22:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 22:25 [binutils-gdb] Add definitions for rvalue reference types sergiodj+buildbot
2017-07-31 15:06 ` Failures on Fedora-ppc64be-native-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-08-02  7:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 23:58 [binutils-gdb] Implement demangling for rvalue reference type names sergiodj+buildbot
2017-08-03 23:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  0:29 [binutils-gdb] Support DW_TAG_rvalue_reference type sergiodj+buildbot
2017-08-05 17:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:38 [binutils-gdb] Fix various python lazy string bugs sergiodj+buildbot
2017-04-15 11:48 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:42 [binutils-gdb] Add rvalue references to overloading resolution sergiodj+buildbot
2017-08-08  6:20 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  2:39 [binutils-gdb] Copy lazy string handling fixes from Python sergiodj+buildbot
2017-04-16  7:35 ` Failures on Fedora-ppc64be-native-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-08-09 23:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:06 [binutils-gdb] Fix break on Python 2 sergiodj+buildbot
2017-08-11 21:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:21 [binutils-gdb] Decode properly flags of %ccr register on sparc64 sergiodj+buildbot
2017-08-12 21:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:15 [binutils-gdb] S/390: Remove vx2 facility flag sergiodj+buildbot
2017-08-14 15:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:30 [binutils-gdb] Remove remaining reference to struct serial::current_timeout sergiodj+buildbot
2017-08-15 15:33 ` Failures on Fedora-ppc64be-native-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-20  0:40 ` Failures on Fedora-ppc64be-native-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-08-16 11:53 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  6:14 [binutils-gdb] Wrap locally used classes in anonymous namespace sergiodj+buildbot
2017-08-19  5:44 ` Failures on Fedora-ppc64be-native-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-08-20  1:57 ` Failures on Fedora-ppc64be-native-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-22 16:11 ` Failures on Fedora-ppc64be-native-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-05-03 15:53 ` Failures on Fedora-ppc64be-native-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-08-21 10:59 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 12:14 [binutils-gdb] Remove constness of libdir in do_start_initialization sergiodj+buildbot
2017-08-22 15:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:04 [binutils-gdb] Remove AARCH64_RECORD_FAILURE sergiodj+buildbot
2017-08-23  5:52 ` Failures on Fedora-ppc64be-native-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-07-29  1:22 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  7:12 [binutils-gdb] Change {lookup,make}_reference_type API sergiodj+buildbot
2017-08-01 10:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  9:10 [binutils-gdb] Support rvalue reference type in parser sergiodj+buildbot
2017-08-03  3:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 11:12 [binutils-gdb] Implement printing of rvalue reference types and values sergiodj+buildbot
2017-08-04 20:19 ` Failures on Fedora-ppc64be-native-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-08-06 13:53 ` Failures on Fedora-ppc64be-native-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-08-07 10:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 16:24 [binutils-gdb] Add rvalue reference tests and docs sergiodj+buildbot
2017-08-09  3:16 ` Failures on Fedora-ppc64be-native-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-08-11  1:26 ` Failures on Fedora-ppc64be-native-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-08-13 17:23 ` Failures on Fedora-ppc64be-native-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-08-17 23:01 ` Failures on Fedora-ppc64be-native-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-08-20 22:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-24 21:53 [binutils-gdb] Remove unused function set_inferior_target_data sergiodj+buildbot
2017-08-31  8:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-25  9:18 [binutils-gdb] gdbserver: Rename some functions, thread -> inferior sergiodj+buildbot
2017-09-01  4:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>
2017-08-26  0:37 ` sergiodj+buildbot
2017-08-26  0:39 [binutils-gdb] x86: Remove redundant "symbol" in comments sergiodj+buildbot
2017-09-02  2:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master 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-02 20:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-26 11:54 [binutils-gdb] PowerPC TPREL reloc handling sergiodj+buildbot
2017-09-03 17:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-27  2:54 [binutils-gdb] Disallow copy relocation against protected data symbol sergiodj+buildbot
2017-09-04 14:11 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-27 14:46 [binutils-gdb] x86: Initialize def_protected sergiodj+buildbot
2017-09-07 11:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>
2017-08-28  0:04 ` sergiodj+buildbot
     [not found] <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>
2017-08-28 18:46 ` sergiodj+buildbot
2017-08-28 18:53 [binutils-gdb] x86: Check for valid PLT section size sergiodj+buildbot
2017-09-08  0:44 ` Failures on Fedora-ppc64be-native-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-09  0:04 ` Failures on Fedora-ppc64be-native-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-10 22:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 23:21 [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab sergiodj+buildbot
2017-09-11 21:10 ` Failures on Fedora-ppc64be-native-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-13  8:10 ` Failures on Fedora-ppc64be-native-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-14  9:24 ` Failures on Fedora-ppc64be-native-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-14 14:39 ` Failures on Fedora-ppc64be-native-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-15 16:21 ` Failures on Fedora-ppc64be-native-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-17 12:57 ` Failures on Fedora-ppc64be-native-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-18  8:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>
2017-08-30 11:34 ` sergiodj+buildbot
2017-08-30 11:36 [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization sergiodj+buildbot
2017-09-18 20:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 12:05 [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization sergiodj+buildbot
2017-09-19 19:43 ` Failures on Fedora-ppc64be-native-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-20 14:05 ` Failures on Fedora-ppc64be-native-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-21  9:41 ` Failures on Fedora-ppc64be-native-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-22  9:09 ` Failures on Fedora-ppc64be-native-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-23 11:57 ` Failures on Fedora-ppc64be-native-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-24  7:06 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Redesign mock environment for gdbarch selftests sergiodj+buildbot
2017-10-05  5:47 ` Failures on Fedora-ppc64be-native-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-10  7:42 ` Failures on Fedora-ppc64be-native-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-06 18:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 23:08 [binutils-gdb] PR21167, relocation sections not included in groups sergiodj+buildbot
2017-10-11  0:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:09 [binutils-gdb] bfd_error_on_input is for archives sergiodj+buildbot
2017-10-11 15:02 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:42 [binutils-gdb] bfd_set_input_error sergiodj+buildbot
2017-10-12  6:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  4:45 [binutils-gdb] Update my email address sergiodj+buildbot
2017-10-13  4:52 ` Failures on Fedora-ppc64be-native-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-14  2:12 ` Failures on Fedora-ppc64be-native-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-16  0:23 ` Failures on Fedora-ppc64be-native-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-14 18:23 ` Failures on Fedora-ppc64be-native-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-15  9:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up some DFP interfaces sergiodj+buildbot
2017-10-17 11:36 ` Failures on Fedora-ppc64be-native-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-16 20:36 ` Failures on Fedora-ppc64be-native-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-18  4:35 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:35 [binutils-gdb] Fix fork-related regressions on GNU/Linux sergiodj+buildbot
2017-10-18 19:39 ` Failures on Fedora-ppc64be-native-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-19 10:54 ` Failures on Fedora-ppc64be-native-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-20  1:58 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:26 [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-20 19:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:30 [binutils-gdb] Add RESOLVED_LOCALLY_P sergiodj+buildbot
2017-10-21 12:23 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:36 [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P sergiodj+buildbot
2017-10-22  3:21 ` Failures on Fedora-ppc64be-native-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-22 18:46 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:44 [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-23  9:27 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:49 [binutils-gdb] x86: Add COPY_INPUT_RELOC_P sergiodj+buildbot
2017-10-23 23:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:51 [binutils-gdb] x86: Add VERIFY_PLT_ENTRY sergiodj+buildbot
2017-10-24 14:49 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:54 [binutils-gdb] x86: Add VERIFY_COPY_RELOC sergiodj+buildbot
2017-10-25  5:14 ` Failures on Fedora-ppc64be-native-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-10-25 19:31 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:17 [binutils-gdb] [RFC] Replicate src dir in build dir sergiodj+buildbot
2017-10-26  9:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:23 [binutils-gdb] Share code updating gdb_target_obs sergiodj+buildbot
2017-10-27  1:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:53 [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit sergiodj+buildbot
2017-10-27 16:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 11:06 [binutils-gdb] Fix more GDB build breakage on mingw32 sergiodj+buildbot
2017-10-28  7:42 ` Failures on Fedora-ppc64be-native-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-10-28 22:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:11 [binutils-gdb] Move i386.o to arch/i386.o sergiodj+buildbot
2017-10-29 13:40 ` Failures on Fedora-ppc64be-native-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-10-30  4:20 ` Failures on Fedora-ppc64be-native-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-10-30 20:08 ` Failures on Fedora-ppc64be-native-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-10-31 12:04 ` Failures on Fedora-ppc64be-native-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-01  2:28 ` Failures on Fedora-ppc64be-native-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-02  9:56 ` Failures on Fedora-ppc64be-native-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-01 18:25 ` Failures on Fedora-ppc64be-native-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-03  1:44 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08 20:47 [binutils-gdb] Reformat elf_x86_allocate_dynrelocs sergiodj+buildbot
2017-11-05 23:24 ` Failures on Fedora-ppc64be-native-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-06 15:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  0:35 [binutils-gdb] sparc: Remove a strayed comment sergiodj+buildbot
2017-11-07  6:42 ` Failures on Fedora-ppc64be-native-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-08  2:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:11 [binutils-gdb] PR22212, memory leak in nm sergiodj+buildbot
2017-11-08 18:21 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:31 [binutils-gdb] Change search_symbols to return std::vector sergiodj+buildbot
2017-11-09  8:52 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:51 [binutils-gdb] Remove make_cleanup_value_free sergiodj+buildbot
2017-11-09 23:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  7:27 [binutils-gdb] Remove some cleanups from dwarf2read.c sergiodj+buildbot
2017-11-11  5:37 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  8:52 [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer sergiodj+buildbot
2017-11-10 14:11 ` Failures on Fedora-ppc64be-native-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-11 20:34 ` Failures on Fedora-ppc64be-native-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-12 11:17 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 16:13 [binutils-gdb] Fix automatic dependency tracking sergiodj+buildbot
2017-11-13  1:13 ` Failures on Fedora-ppc64be-native-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-13 17:50 ` Failures on Fedora-ppc64be-native-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-14  8:19 ` Failures on Fedora-ppc64be-native-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-14 23:24 ` Failures on Fedora-ppc64be-native-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-11-15 13:44 ` Failures on Fedora-ppc64be-native-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-11-16 18:57 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 21:45 [binutils-gdb] Multi-arch exec, more register reading avoidance sergiodj+buildbot
2017-11-16  4:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 22:40 [binutils-gdb] mn10300: Don't free cached internal symbol table sergiodj+buildbot
2017-11-17 23:03 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:03 [binutils-gdb] Remove "do_nothing" sergiodj+buildbot
2017-11-18 16:45 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:15 [binutils-gdb] bfin: Don't create .interp section for info->nointerp sergiodj+buildbot
2017-11-17  8:42 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:23 [binutils-gdb] Remove free_splay_tree cleanup sergiodj+buildbot
2017-11-19  8:36 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  5:29 [binutils-gdb] Prepare powerpc64 for late check_relocs sergiodj+buildbot
2017-11-20  0:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  5:49 [binutils-gdb] riscv: Cache the max alignment of output sections sergiodj+buildbot
2017-11-20 15:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 16:08 [binutils-gdb] [ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol sergiodj+buildbot
2017-11-21 10:13 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 16:39 [binutils-gdb] Eliminate catch_errors sergiodj+buildbot
2017-11-22  1:15 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 17:00 [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg sergiodj+buildbot
2017-11-22 15:50 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 19:34 [binutils-gdb] get_integer_valueof: Don't output value in test name sergiodj+buildbot
2017-11-23  7:32 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 23:19 [binutils-gdb] x86: Set GOT refcount to 1 sergiodj+buildbot
2017-11-24  4:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11  8:11 [binutils-gdb] Flash memory size not aligned to address sergiodj+buildbot
2017-11-24 20:10 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 10:21 [binutils-gdb] Remove unnecessary parentheses in declarations sergiodj+buildbot
2017-11-25 12:43 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 12:08 [binutils-gdb] Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others) sergiodj+buildbot
2017-11-27 22:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 13:11 [binutils-gdb] arc: Pass proper CPU value to the disassembler sergiodj+buildbot
2017-11-28 12:54 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 14:08 [binutils-gdb] Use std::vector for symtab_fns sergiodj+buildbot
2017-11-29  3:39 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 14:30 [binutils-gdb] Garbage collect reattach_breakpoints sergiodj+buildbot
2017-11-29 20:18 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 15:19 [binutils-gdb] ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64' sergiodj+buildbot
2017-12-02  9:33 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:09 [binutils-gdb] ELF/BFD, GDB: Handle both variants of the 32-bit Linux core PRPSINFO note sergiodj+buildbot
2017-12-03  0:24 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:30 [binutils-gdb] ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note sergiodj+buildbot
2017-12-03 16:19 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:50 [binutils-gdb] GDB: Remove Linux core PRPSINFO note writer override sergiodj+buildbot
2017-12-12 11:25 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 20:03 [binutils-gdb] Add FreeBSD/arm architecture sergiodj+buildbot
2017-12-13  1:34 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 20:32 [binutils-gdb] Add native target for FreeBSD/arm sergiodj+buildbot
2017-12-13 16:12 ` Failures on Fedora-ppc64be-native-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 22:32 [binutils-gdb] Remove some cleanups from breakpoint.c sergiodj+buildbot
2017-12-14  6:58 ` Failures on Fedora-ppc64be-native-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).