public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [ARM] Add ARMv8.2 FP16 vmul/vmla/vmls (by scalar)
@ 2016-04-05 15:52 sergiodj+buildbot
  2016-04-05 15:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
                   ` (6 more replies)
  0 siblings, 7 replies; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 15:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 589a7d88306628fb332ba0a98ac4a4b3b84b7b2c ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 589a7d88306628fb332ba0a98ac4a4b3b84b7b2c

[ARM] Add ARMv8.2 FP16 vmul/vmla/vmls (by scalar)

gas/
  * config/tc-arm.c (do_neon_mac_maybe_scalar): Allow F16.
  * testsuite/gas/arm/armv8-2-fp16-simd.s: New tests.
  * testsuite/gas/arm/armv8-2-fp16-simd.d: New expected results.
  * testsuite/gas/arm/armv8-2-fp16-simd-thum.d: Likewise for Thumb.
  * testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New warning results.
  * testsuite/gas/arm/simd_by_scalar_low_regbank.s: New test source.
  * testsuite/gas/arm/simd_by_scalar_low_regbank.d: New testcase.
  * testsuite/gas/arm/simd_by_scalar_low_regbank_thumb.d: Likewise for Thumb.
  * testsuite/gas/arm/simd_by_scalar_low_regbank.l: New warning results.

opcodes/
  * arm-dis.c: Support FP16 vmul, vmla, vmls (by scalar).


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add native target for FreeBSD/arm.
@ 2017-10-11 20:32 sergiodj+buildbot
  2017-12-13  9:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Garbage collect reattach_breakpoints
@ 2017-10-11 14:30 sergiodj+buildbot
  2017-11-29 13:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove unnecessary parentheses in declarations
@ 2017-10-11 10:21 sergiodj+buildbot
  2017-11-25  6:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Flash memory size not aligned to address
@ 2017-10-11  8:11 sergiodj+buildbot
  2017-11-24 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg
@ 2017-10-10 17:00 sergiodj+buildbot
  2017-11-22  9:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Eliminate catch_errors
@ 2017-10-10 16:39 sergiodj+buildbot
  2017-11-21 18:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  0:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] riscv: Cache the max alignment of output sections
@ 2017-10-10  5:49 sergiodj+buildbot
  2017-11-20  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove "do_nothing"
@ 2017-10-10  0:03 sergiodj+buildbot
  2017-11-18 10:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  7:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Don't try building gdb against guile-2.2
@ 2017-10-09 18:14 sergiodj+buildbot
  2017-11-14 16:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix automatic dependency tracking
@ 2017-10-09 16:13 sergiodj+buildbot
  2017-11-12 18:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  4:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 14:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove some cleanups from dwarf2read.c
@ 2017-10-09  7:27 sergiodj+buildbot
  2017-11-10 23:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PR22212, memory leak in nm
@ 2017-10-09  5:11 sergiodj+buildbot
  2017-11-08 11:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] sh: Dump dynamic relocation info to the map file
@ 2017-10-09  1:20 sergiodj+buildbot
  2017-11-07 14:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] sparc: Dump dynamic relocation info to the map file
@ 2017-10-08  0:51 sergiodj+buildbot
  2017-11-02 19:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 12:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments
@ 2017-10-07  0:08 sergiodj+buildbot
  2017-11-02  3:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
@ 2017-10-06 22:49 sergiodj+buildbot
  2017-10-31 19:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 13:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-29 21:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Move i386.o to arch/i386.o
@ 2017-10-06 13:11 sergiodj+buildbot
  2017-10-29  7:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 15:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [RFC] Replicate src dir in build dir
@ 2017-10-06 10:17 sergiodj+buildbot
  2017-10-26  3:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Add VERIFY_COPY_RELOC
@ 2017-10-06  7:54 sergiodj+buildbot
  2017-10-24 22:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:44 sergiodj+buildbot
  2017-10-23  3:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add RESOLVED_LOCALLY_P
@ 2017-10-06  7:30 sergiodj+buildbot
  2017-10-21  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix fork-related regressions on GNU/Linux
@ 2017-10-05 17:35 sergiodj+buildbot
  2017-10-18 13:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Clean up includes of doublest.h and floatformat.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-16 14:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Clean up some DFP interfaces
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-17  5:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove unused "union agent_val" from ax.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-17 22:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-15 17:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] bfd_set_input_error
@ 2017-10-05  1:42 sergiodj+buildbot
  2017-10-12  0:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PR21167, relocation sections not included in groups
@ 2017-10-04 23:08 sergiodj+buildbot
  2017-10-10 17:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Redesign mock environment for gdbarch selftests
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-04 23:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  1:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Check target_id instead of elf_machine_code
@ 2017-08-30 18:41 sergiodj+buildbot
  2017-09-23 20:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create
@ 2017-08-30 16:30 sergiodj+buildbot
  2017-09-22 17:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation
@ 2017-08-30 15:38 sergiodj+buildbot
  2017-09-21 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done
@ 2017-08-30 13:41 sergiodj+buildbot
  2017-09-21  0:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 12:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization
@ 2017-08-30 12:05 sergiodj+buildbot
  2017-09-19  9:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization
@ 2017-08-30 11:36 sergiodj+buildbot
  2017-09-18 11:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
[parent not found: <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>]
* [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register.
@ 2017-08-29 23:07 sergiodj+buildbot
  2017-09-17 23:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c
@ 2017-08-29 22:11 sergiodj+buildbot
  2017-09-16 12:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c
@ 2017-08-29 21:02 sergiodj+buildbot
  2017-09-16  4:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb.base/commands.exp: Remove unused global references
@ 2017-08-28 22:28 sergiodj+buildbot
  2017-09-10 13:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Disallow copy relocation against protected data symbol
@ 2017-08-27  2:54 sergiodj+buildbot
  2017-09-04  5:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86: Remove redundant "symbol" in comments
@ 2017-08-26  0:39 sergiodj+buildbot
  2017-09-01 15:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
[parent not found: <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>]
* [binutils-gdb] Remove unused function set_inferior_target_data
@ 2017-08-24 21:53 sergiodj+buildbot
  2017-08-31  1:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial
@ 2017-03-25  4:31 sergiodj+buildbot
  2017-08-20 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add rvalue reference tests and docs
@ 2017-03-24 16:24 sergiodj+buildbot
  2017-08-08 18:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Support rvalue reference type in parser
@ 2017-03-24  9:10 sergiodj+buildbot
  2017-08-02 18:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add ability to return rvalue reference values from value_ref
@ 2017-03-22 23:28 sergiodj+buildbot
  2017-08-01 22:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-03 19:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix arm process record for some instructions
@ 2017-03-22 10:25 sergiodj+buildbot
  2017-04-17 17:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:39 sergiodj+buildbot
  2017-04-02 23:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] testsuite: Introduce dejagnu_version
@ 2017-03-21 21:25 sergiodj+buildbot
  2017-03-21 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
[parent not found: <@gdb-build>]
* [binutils-gdb] Add support for the new 'lnia' extended mnemonic.
@ 2017-03-08 20:33 sergiodj+buildbot
  2017-03-11  0:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command
@ 2017-03-08 13:00 sergiodj+buildbot
  2017-03-09  5:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 13:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e5d74e74756fafe59e8198c4cc462cf7c57e12c ***

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

Fix PR 21218: GDB dumps core when escaping newline in multi-line command

With commit 3b12939dfc2399 ("Replace the sync_execution global with a
new enum prompt_state tristate"), GDB started aborting if you try
splitting an input line with a continuation char (backslash) while in
a multi-line command:

 (gdb) commands
 Type commands for breakpoint(s) 1, one per line.
 End with a line saying just "end".
 >print \

 (gdb) 1      # note "(gdb)" incorrectly printed here.
 >end

 readline: readline_callback_read_char() called with no handler!
 $

That abort is actually a symptom of an old problem introduced when
gdb_readline_wrapper was rewritten to use asynchronous readline, back
in 2007.  Note how the "(gdb)" prompt is printed above in the "(gdb)
1" line.  Clearly it shouldn't be there, but it already was before the
commit mentioned above.  Fixing that also fixes the readline abort
shown above.

The problem starts when command_line_input passes a NULL prompt to
gdb_readline_wrapper when it finds previous incomplete input due to a
backslash, trying to fetch more input without printing another ">"
secondary prompt.  That itself should not be a problem, because
passing NULL to gdb_readline_wrapper has the same meaning as passing a
pointer to empty string, since gdb_readline_wrapper exposes the same
interface as 'readline(char *)'.  However, gdb_readline_wrapper passes
the prompt argument directly to display_gdb_prompt, and for the
latter, a NULL prompt argument has a different meaning - it requests
printing the primary prompt.

Before commit 782a7b8ef9c096 (which rewrote gdb_readline_wrapper to
use asynchronous readline), GDB behaved like this:

 (gdb) commands
 [....]
 >print \
 1
 >end
 (gdb)

The above is what this commit restores GDB back to.

New test included.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR cli/21218
	* top.c (gdb_readline_wrapper): Avoid passing NULL to
	display_gdb_prompt.
	(command_line_input): Add comment.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>
	    Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR cli/21218
	* gdb.base/commands.exp (backslash_in_multi_line_command_test):
	New proc.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs.
@ 2017-03-01 11:25 sergiodj+buildbot
  2017-03-02 17:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PowerPC addpcis fix again
@ 2017-02-28 14:32 sergiodj+buildbot
  2017-03-02  9:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling
@ 2017-02-24  1:21 sergiodj+buildbot
  2017-02-25 11:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d58c7337972bb24caea7598d0ae4d461b0fc22b ***

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

MIPS/BFD: Remove duplicate NewABI JALR relocation handling

Remove separate original NewABI JALR relocation handling, introduced
with commit d06471104a83 ("relax jalr $t9 [R_MIPS_JALR symbol] to bal
symbol"), <https://sourceware.org/ml/binutils/2003-03/msg00394.html>,
and only used by LD with the `--relax' option specified, and rely solely
on `mips_elf_perform_relocation' code, which has been introduced with
commit 1367d393bb74 ("On the RM9000 convert jal to bal if in range"),
<https://www.sourceware.org/ml/binutils/2004-12/msg00088.html> and since
made more complete, across all the three ABIs.

Also remove the `--relax' option, now irrelevant, from the tests added
with the former commit.

	bfd/
	* elfxx-mips.h (_bfd_mips_relax_section): Remove prototype.
	* elfxx-mips.c (_bfd_mips_relax_section): Remove function.
	* elf64-mips.c (bfd_elf64_bfd_relax_section): Remove macro.
	* elfn32-mips.c (bfd_elf32_bfd_relax_section): Likewise.

	ld/
	* testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
	option.
	* testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use xfree rather than delete for varobj_iter
@ 2017-02-23 12:12 sergiodj+buildbot
  2017-02-24  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add SVE system registers
@ 2017-02-15 17:26 sergiodj+buildbot
  2017-02-18 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 773fb663445646ebe45298e255d263f9520b2e2e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 773fb663445646ebe45298e255d263f9520b2e2e

[AArch64] Add SVE system registers

This patch adds the SVE-specific system registers.

opcodes/
	* aarch64-opc.c (aarch64_sys_regs): Add SVE registers.
	(aarch64_sys_reg_supported_p): Handle them.

gas/
	* testsuite/gas/aarch64/sve-sysreg.s,
	testsuite/gas/aarch64/sve-sysreg.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix bit/bif instructions.
@ 2017-02-15  2:56 sergiodj+buildbot
  2017-02-17 12:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  2:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf25e9a0f1315829defcb6ef36d8fef9d370e822 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: bf25e9a0f1315829defcb6ef36d8fef9d370e822

Fix bit/bif instructions.

	sim/aarch64/
	* simulator.c (do_vec_bit): Change loop limits from 16 and 8 to 4 and
	2.  Move test_false if inside loop.  Fix logic for computing result
	stored to vd.

	sim/testsuite/sim/aarch64
	* bit.s: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] python: Implement btrace Python bindings for record history.
@ 2017-02-14 17:02 sergiodj+buildbot
  2017-02-15 15:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 17:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 75c0bdf484b7a949a53b04edd95edca5f4662184 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 75c0bdf484b7a949a53b04edd95edca5f4662184

python: Implement btrace Python bindings for record history.

This patch implements the gdb.Record Python object methods and fields for
record target btrace.  Also, implement a stub for record target full.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o,
	py-record-full.o.
	(SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c.
	* python/py-record-btrace.c, python/py-record-btrace.h,
	python/py-record-full.c, python/py-record-full.h: New file.
	* python/py-record.c: Add include for py-record-btrace.h and
	py-record-full.h.
	(recpy_method, recpy_format, recpy_goto, recpy_replay_position,
	recpy_instruction_history, recpy_function_call_history, recpy_begin,
	recpy_end): Use functions from py-record-btrace.c and py-record-full.c.
	* python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t):
	New definition.
	(gdbpy_initialize_btrace): New export.
	* python/python.c (_initialize_python): Add gdbpy_initialize_btrace.

Change-Id: I8bd893672ffc7e619cc1386767897249e125973a


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't use "_gp" on RISC-V, use "_global_pointer$" instead
@ 2017-02-13 18:27 sergiodj+buildbot
  2017-02-14  6:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10ddfe62f8979cfe380b07c4f827e72681cc612a ***

Author: Palmer Dabbelt <palmer@dabbelt.com>
Branch: master
Commit: 10ddfe62f8979cfe380b07c4f827e72681cc612a

Don't use "_gp" on RISC-V, use "_global_pointer$" instead

"_gp" could conflict with ABI-complient code.  While it's probably OK
because MIPS uses this name, we figured it'd be good to clean this up
before a release with RISC-V in it.

ld/ChangeLog:

2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>

        * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
        _gp to __global_pointer$.

bfd/ChangeLog:

2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>

        * elfnn-riscv.c (riscv_global_pointer_value): Change _gp to
        __global_pointer$.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR gdb/21122: Fix documentation mistakes for breakpoint commands
@ 2017-02-10 16:54 sergiodj+buildbot
  2017-02-10 17:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 16:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 18da0c51da58527152e019924cc5105cd89765d6 ***

Author: Martin Galvan <omgalvan.86@gmail.com>
Branch: master
Commit: 18da0c51da58527152e019924cc5105cd89765d6

PR gdb/21122: Fix documentation mistakes for breakpoint commands

Currently, the breakpoint documentation refers to some commands taking breakpoint
"ranges" as arguments. We discussed this with Pedro and concluded that it would
be more accurate to speak in terms of breakpoint "lists", whose elements can optionally
be ranges. I also fixed a couple of minor mistakes in the docs.

gdb/ChangeLog:

	* breakpoint.c (_initialize_breakpoint): Update the help description
	of the 'commands' command to indicate that it takes a list argument.

gdb/doc/ChangeLog:

	* gdb.texinfo (Breakpoints): Reword documentation to speak in terms of
	space-separated breakpoint lists.  Also add a missing @table command
	and @cindex for breakpoint lists.

gdb/testsuite/ChangeLog:

	* gdb.base/help.exp: Update match pattern for testing 'help commands'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix NULL pointer dereference
@ 2017-02-09 15:56 sergiodj+buildbot
  2017-02-09 16:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-09 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893

Fix NULL pointer dereference

This commit fixes a segmentation fault on tab completion when
certain debuginfo is installed:

  https://bugzilla.redhat.com/show_bug.cgi?id=1398387

gdb/ChangeLog:

	* symtab.c (add_symtab_completions): Prevent NULL pointer
	dereference.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix segfault when .plt section does not exist
@ 2017-02-08  2:16 sergiodj+buildbot
  2017-02-08  3:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 14:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARC] Provide an interface to decode ARC instructions.
@ 2017-02-06 10:53 sergiodj+buildbot
  2017-02-06 16:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 12:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  7:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use bool in Rust code
@ 2017-02-03  5:37 sergiodj+buildbot
  2017-02-05  2:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Reindent rust-lang.c
@ 2017-02-03  4:54 sergiodj+buildbot
  2017-02-04 23:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  4:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b50f188dfa065c9edfe82c874e2f8c179eb6d697 ***

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

Reindent rust-lang.c

I noticed a few spots in rust-lang.c had incorrect indentation.  This
patch fixes this.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-lang.c: Reindent.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] struct mi_interp: Remove unused fields
@ 2017-02-03  4:25 sergiodj+buildbot
  2017-02-04 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  1:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix "maintenance selftest" printing stray instructions
@ 2017-02-03  0:38 sergiodj+buildbot
  2017-02-04 15:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Tweak pretty_print_disassembler's intro comment
@ 2017-02-02 13:57 sergiodj+buildbot
  2017-02-03  8:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy
@ 2017-02-02 12:25 sergiodj+buildbot
  2017-02-03  0:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 12:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7e747318f4d04af033f16325f9b6d74f67079ec ***

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

Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy

This patch starts from the desire to eliminate
make_cleanup_ui_file_delete, but then goes beyond.  It makes ui_file &
friends a real C++ class hierarchy, and switches temporary
ui_file-like objects to stack-based allocation.

- mem_fileopen -> string_file

mem_fileopen is replaced with a new string_file class that is treated
as a value class created on the stack.  This alone eliminates most
make_cleanup_ui_file_delete calls, and, simplifies code a whole lot
(diffstat shows around 1k loc dropped.)

string_file's internal buffer is a std::string, thus the "string" in
the name.  This simplifies the implementation much, compared to
mem_fileopen, which managed growing its internal buffer manually.

- ui_file_as_string, ui_file_strdup, ui_file_obsavestring all gone

The new string_file class has a string() method that provides direct
writable access to the internal std::string buffer.  This replaced
ui_file_as_string, which forced a copy of the same data the stream had
inside.  With direct access via a writable reference, we can instead
move the string out of the string_stream, avoiding deep string
copying.

Related, ui_file_xstrdup calls are replaced with xstrdup'ping the
stream's string, and ui_file_obsavestring is replaced by
obstack_copy0.

With all those out of the way, getting rid of the weird ui_file_put
mechanism was possible.

- New ui_file::printf, ui_file::puts, etc. methods

These simplify / clarify client code.  I considered splitting
client-code changes, like these, e.g.:

  -  stb = mem_fileopen ();
  -  fprintf_unfiltered (stb, "%s%s%s",
  -		      _("The valid values are:\n"),
  -		      regdesc,
  -		      _("The default is \"std\"."));
  +  string_file stb;
  +  stb.printf ("%s%s%s",
  +	      _("The valid values are:\n"),
  +	      regdesc,
  +	      _("The default is \"std\"."));

In two steps, with the first step leaving fprintf_unfiltered (etc.)
calls in place, and only afterwards do a pass to change all those to
call stb.printf etc..  I didn't do that split, because (when I tried),
it turned out to be pointless make-work: the first pass would have to
touch the fprintf_unfiltered line anyway, to replace "stb" with
"&stb".

- gdb_fopen replaced with stack-based objects

This avoids the need for cleanups or unique_ptr's.  I.e., this:

      struct ui_file *file = gdb_fopen (filename, "w");
      if (filename == NULL)
 	perror_with_name (filename);
      cleanups = make_cleanup_ui_file_delete (file);
      // use file.
      do_cleanups (cleanups);

is replaced with this:

      stdio_file file;
      if (!file.open (filename, "w"))
 	perror_with_name (filename);
      // use file.

- odd contorsions in null_file_write / null_file_fputs around when to
  call to_fputs / to_write eliminated.

- Global null_stream object

A few places that were allocating a ui_file in order to print to
"nowhere" are adjusted to instead refer to a new 'null_stream' global
stream.

- TUI's tui_sfileopen eliminated.  TUI's ui_file much simplified

The TUI's ui_file was serving a dual purpose.  It supported being used
as string buffer, and supported being backed by a stdio FILE.  The
string buffer part is gone, replaced by using of string_file.  The
'FILE *' support is now much simplified, by making the TUI's ui_file
inherit from stdio_file.

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

	* ada-lang.c (type_as_string): Use string_file.
	* ada-valprint.c (ada_print_floating): Use string_file.
	* ada-varobj.c (ada_varobj_scalar_image)
	(ada_varobj_get_value_image): Use string_file.
	* aix-thread.c (aix_thread_extra_thread_info): Use string_file.
	* arm-tdep.c (_initialize_arm_tdep): Use string_printf.
	* breakpoint.c (update_inserted_breakpoint_locations)
	(insert_breakpoint_locations, reattach_breakpoints)
	(print_breakpoint_location, print_one_detail_ranged_breakpoint)
	(print_it_watchpoint): Use string_file.
	(save_breakpoints): Use stdio_file.
	* c-exp.y (oper): Use string_file.
	* cli/cli-logging.c (set_logging_redirect): Use ui_file_up and
	tee_file.
	(pop_output_files): Use delete.
	(handle_redirections): Use stdio_file and tee_file.
	* cli/cli-setshow.c (do_show_command): Use string_file.
	* compile/compile-c-support.c (c_compute_program): Use
	string_file.
	* compile/compile-c-symbols.c (generate_vla_size): Take a
	'string_file &' instead of a 'ui_file *'.
	(generate_c_for_for_one_variable): Take a 'string_file &' instead
	of a 'ui_file *'.  Use string_file.
	(generate_c_for_variable_locations): Take a 'string_file &'
	instead of a 'ui_file *'.
	* compile/compile-internal.h (generate_c_for_for_one_variable):
	Take a 'string_file &' instead of a 'ui_file *'.
	* compile/compile-loc2c.c (push, pushf, unary, binary)
	(print_label, pushf_register_address, pushf_register)
	(do_compile_dwarf_expr_to_c): Take a 'string_file &' instead of a
	'ui_file *'.  Adjust.
	* compile/compile.c (compile_to_object): Use string_file.
	* compile/compile.h (compile_dwarf_expr_to_c)
	(compile_dwarf_bounds_to_c): Take a 'string_file &' instead of a
	'ui_file *'.
	* cp-support.c (inspect_type): Use string_file and obstack_copy0.
	(replace_typedefs_qualified_name): Use string_file and
	obstack_copy0.
	* disasm.c (gdb_pretty_print_insn): Use string_file.
	(gdb_disassembly): Adjust reference the null_stream global.
	(do_ui_file_delete): Delete.
	(gdb_insn_length): Use null_stream.
	* dummy-frame.c (maintenance_print_dummy_frames): Use stdio_file.
	* dwarf2loc.c (dwarf2_compile_property_to_c)
	(locexpr_generate_c_location, loclist_generate_c_location): Take a
	'string_file &' instead of a 'ui_file *'.
	* dwarf2loc.h (dwarf2_compile_property_to_c): Likewise.
	* dwarf2read.c (do_ui_file_peek_last): Delete.
	(dwarf2_compute_name): Use string_file.
	* event-top.c (gdb_setup_readline): Use stdio_file.
	* gdbarch.sh (verify_gdbarch): Use string_file.
	* gdbtypes.c (safe_parse_type): Use null_stream.
	* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
	string_file.
	* guile/scm-disasm.c (gdbscm_print_insn_from_port): Take a
	'string_file *' instead of a 'ui_file *'.
	(gdbscm_arch_disassemble): Use string_file.
	* guile/scm-frame.c (frscm_print_frame_smob): Use string_file.
	* guile/scm-ports.c (class ioscm_file_port): Now a class that
	inherits from ui_file.
	(ioscm_file_port_delete, ioscm_file_port_rewind)
	(ioscm_file_port_put): Delete.
	(ioscm_file_port_write): Rename to ...
	(ioscm_file_port::write): ... this.  Remove file_port_magic
	checks.
	(ioscm_file_port_new): Delete.
	(ioscm_with_output_to_port_worker): Use ioscm_file_port and
	ui_file_up.
	* guile/scm-type.c (tyscm_type_name): Use string_file.
	* guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
	Use string_file.
	* infcmd.c (print_return_value_1): Use string_file.
	* infrun.c (print_target_wait_results): Use string_file.
	* language.c (add_language): Use string_file.
	* location.c (explicit_to_string_internal): Use string_file.
	* main.c (captured_main_1): Use null_file.
	* maint.c (maintenance_print_architecture): Use stdio_file.
	* mi/mi-cmd-stack.c (list_arg_or_local): Use string_file.
	* mi/mi-common.h (struct mi_interp) <out, err, log, targ,
	event_channel>: Change type to mi_console_file pointer.
	* mi/mi-console.c (mi_console_file_fputs, mi_console_file_flush)
	(mi_console_file_delete): Delete.
	(struct mi_console_file): Delete.
	(mi_console_file_magic): Delete.
	(mi_console_file_new): Delete.
	(mi_console_file::mi_console_file): New.
	(mi_console_file_delete): Delete.
	(mi_console_file_fputs): Delete.
	(mi_console_file::write): New.
	(mi_console_raw_packet): Delete.
	(mi_console_file::flush): New.
	(mi_console_file_flush): Delete.
	(mi_console_set_raw): Rename to ...
	(mi_console_file::set_raw): ... this.
	* mi/mi-console.h (class mi_console_file): New class.
	(mi_console_file_new, mi_console_set_raw): Delete.
	* mi/mi-interp.c (mi_interpreter_init): Use mi_console_file.
	(mi_set_logging): Use delete and tee_file.  Adjust.
	* mi/mi-main.c (output_register): Use string_file.
	(mi_cmd_data_evaluate_expression): Use string_file.
	(mi_cmd_data_read_memory): Use string_file.
	(mi_cmd_execute, print_variable_or_computed): Use string_file.
	* mi/mi-out.c (mi_ui_out::main_stream): New.
	(mi_ui_out::rewind): Use main_stream and
	string_file.
	(mi_ui_out::put): Use main_stream and string_file.
	(mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	Allocate a 'string_file' instead.
	(mi_out_new): Don't allocate a mem_fileopen stream here.
	* mi/mi-out.h (mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	(mi_ui_out::main_stream): Declare method.
	* printcmd.c (eval_command): Use string_file.
	* psymtab.c (maintenance_print_psymbols): Use stdio_file.
	* python/py-arch.c (archpy_disassemble): Use string_file.
	* python/py-breakpoint.c (bppy_get_commands): Use string_file.
	* python/py-frame.c (frapy_str): Use string_file.
	* python/py-framefilter.c (py_print_type, py_print_single_arg):
	Use string_file.
	* python/py-type.c (typy_str): Use string_file.
	* python/py-unwind.c (unwind_infopy_str): Use string_file.
	* python/py-value.c (valpy_str): Use string_file.
	* record-btrace.c (btrace_insn_history): Use string_file.
	* regcache.c (regcache_print): Use stdio_file.
	* reggroups.c (maintenance_print_reggroups): Use stdio_file.
	* remote.c (escape_buffer): Use string_file.
	* rust-lang.c (rust_get_disr_info): Use string_file.
	* serial.c (serial_open_ops_1): Use stdio_file.
	(do_serial_close): Use delete.
	* stack.c (print_frame_arg): Use string_file.
	(print_frame_args): Remove local mem_fileopen stream, not used.
	(print_frame): Use string_file.
	* symmisc.c (maintenance_print_symbols): Use stdio_file.
	* symtab.h (struct symbol_computed_ops) <generate_c_location>:
	Take a 'string_file *' instead of a 'ui_file *'.
	* top.c (new_ui): Use stdio_file and stderr_file.
	(free_ui): Use delete.
	(execute_command_to_string): Use string_file.
	(quit_confirm): Use string_file.
	* tracepoint.c (collection_list::append_exp): Use string_file.
	* tui/tui-disasm.c (tui_disassemble): Use string_file.
	* tui/tui-file.c: Don't include "ui-file.h".
	(enum streamtype, struct tui_stream): Delete.
	(tui_file_new, tui_file_delete, tui_fileopen, tui_sfileopen)
	(tui_file_isatty, tui_file_rewind, tui_file_put): Delete.
	(tui_file::tui_file): New method.
	(tui_file_fputs): Delete.
	(tui_file_get_strbuf): Delete.
	(tui_file::puts): New method.
	(tui_file_adjust_strbuf): Delete.
	(tui_file_flush): Delete.
	(tui_file::flush): New method.
	* tui/tui-file.h: Tweak intro comment.
	Include ui-file.h.
	(tui_fileopen, tui_sfileopen, tui_file_get_strbuf)
	(tui_file_adjust_strbuf): Delete declarations.
	(class tui_file): New class.
	* tui/tui-io.c (tui_initialize_io): Use tui_file.
	* tui/tui-regs.c (tui_restore_gdbout): Use delete.
	(tui_register_format): Use string_stream.
	* tui/tui-stack.c (tui_make_status_line): Use string_file.
	(tui_get_function_from_frame): Use string_file.
	* typeprint.c (type_to_string): Use string_file.
	* ui-file.c (struct ui_file, ui_file_magic, ui_file_new): Delete.
	(null_stream): New global.
	(ui_file_delete): Delete.
	(ui_file::ui_file): New.
	(null_file_isatty): Delete.
	(ui_file::~ui_file): New.
	(null_file_rewind): Delete.
	(ui_file::printf): New.
	(null_file_put): Delete.
	(null_file_flush): Delete.
	(ui_file::putstr): New.
	(null_file_write): Delete.
	(ui_file::putstrn): New.
	(null_file_read): Delete.
	(ui_file::putc): New.
	(null_file_fputs): Delete.
	(null_file_write_async_safe): Delete.
	(ui_file::vprintf): New.
	(null_file_delete): Delete.
	(null_file::write): New.
	(null_file_fseek): Delete.
	(null_file::puts): New.
	(ui_file_data): Delete.
	(null_file::write_async_safe): New.
	(gdb_flush, ui_file_isatty): Adjust.
	(ui_file_put, ui_file_rewind): Delete.
	(ui_file_write): Adjust.
	(ui_file_write_for_put): Delete.
	(ui_file_write_async_safe, ui_file_read): Adjust.
	(ui_file_fseek): Delete.
	(fputs_unfiltered): Adjust.
	(set_ui_file_flush, set_ui_file_isatty, set_ui_file_rewind)
	(set_ui_file_put, set_ui_file_write, set_ui_file_write_async_safe)
	(set_ui_file_read, set_ui_file_fputs, set_ui_file_fseek)
	(set_ui_file_data): Delete.
	(string_file::~string_file, string_file::write)
	(struct accumulated_ui_file, do_ui_file_xstrdup, ui_file_xstrdup)
	(do_ui_file_as_string, ui_file_as_string): Delete.
	(do_ui_file_obsavestring, ui_file_obsavestring): Delete.
	(struct mem_file): Delete.
	(mem_file_new): Delete.
	(stdio_file::stdio_file): New.
	(mem_file_delete): Delete.
	(stdio_file::stdio_file): New.
	(mem_fileopen): Delete.
	(stdio_file::~stdio_file): New.
	(mem_file_rewind): Delete.
	(stdio_file::set_stream): New.
	(mem_file_put): Delete.
	(stdio_file::open): New.
	(mem_file_write): Delete.
	(stdio_file_magic, struct stdio_file): Delete.
	(stdio_file_new, stdio_file_delete, stdio_file_flush): Delete.
	(stdio_file::flush): New.
	(stdio_file_read): Rename to ...
	(stdio_file::read): ... this.  Adjust.
	(stdio_file_write): Rename to ...
	(stdio_file::write): ... this.  Adjust.
	(stdio_file_write_async_safe): Rename to ...
	(stdio_file::write_async_safe) ... this.  Adjust.
	(stdio_file_fputs): Rename to ...
	(stdio_file::puts) ... this.  Adjust.
	(stdio_file_isatty): Delete.
	(stdio_file_fseek): Delete.
	(stdio_file::isatty): New.
	(stderr_file_write): Rename to ...
	(stderr_file::write) ... this.  Adjust.
	(stderr_file_fputs): Rename to ...
	(stderr_file::puts) ... this.  Adjust.
	(stderr_fileopen, stdio_fileopen, gdb_fopen): Delete.
	(stderr_file::stderr_file): New.
	(tee_file_magic): Delete.
	(struct tee_file): Delete.
	(tee_file::tee_file): New.
	(tee_file_new): Delete.
	(tee_file::~tee_file): New.
	(tee_file_delete): Delete.
	(tee_file_flush): Rename to ...
	(tee_file::flush): ... this.  Adjust.
	(tee_file_write): Rename to ...
	(tee_file::write): ... this.  Adjust.
	(tee_file::write_async_safe): New.
	(tee_file_fputs): Rename to ...
	(tee_file::puts): ... this.  Adjust.
	(tee_file_isatty): Rename to ...
	(tee_file::isatty): ... this.  Adjust.
	* ui-file.h (struct obstack, struct ui_file): Don't
	forward-declare.
	(ui_file_new, ui_file_flush_ftype, set_ui_file_flush)
	(ui_file_write_ftype)
	(set_ui_file_write, ui_file_fputs_ftype, set_ui_file_fputs)
	(ui_file_write_async_safe_ftype, set_ui_file_write_async_safe)
	(ui_file_read_ftype, set_ui_file_read, ui_file_isatty_ftype)
	(set_ui_file_isatty, ui_file_rewind_ftype, set_ui_file_rewind)
	(ui_file_put_method_ftype, ui_file_put_ftype, set_ui_file_put)
	(ui_file_delete_ftype, set_ui_file_data, ui_file_fseek_ftype)
	(set_ui_file_fseek): Delete.
	(ui_file_data, ui_file_delete, ui_file_rewind)
	(struct ui_file): New.
	(ui_file_up): New.
	(class null_file): New.
	(null_stream): Declare.
	(ui_file_write_for_put, ui_file_put): Delete.
	(ui_file_xstrdup, ui_file_as_string, ui_file_obsavestring):
	Delete.
	(ui_file_fseek, mem_fileopen, stdio_fileopen, stderr_fileopen)
	(gdb_fopen, tee_file_new): Delete.
	(struct string_file): New.
	(struct stdio_file): New.
	(stdio_file_up): New.
	(struct stderr_file): New.
	(class tee_file): New.
	* ui-out.c (ui_out::field_stream): Take a 'string_file &' instead
	of a 'ui_file *'.  Adjust.
	* ui-out.h (class ui_out) <field_stream>: Likewise.
	* utils.c (do_ui_file_delete, make_cleanup_ui_file_delete)
	(null_stream): Delete.
	(error_stream): Take a 'string_file &' instead of a 'ui_file *'.
	Adjust.
	* utils.h (struct ui_file): Delete forward declaration..
	(make_cleanup_ui_file_delete, null_stream): Delete declarations.
	(error_stream): Take a 'string_file &' instead of a
	'ui_file *'.
	* varobj.c (varobj_value_get_print_value): Use string_file.
	* xtensa-tdep.c (xtensa_verify_config): Use string_file.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote fail
@ 2017-02-01 16:37 sergiodj+buildbot
  2017-02-02  8:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads
@ 2017-02-01 14:07 sergiodj+buildbot
  2017-02-01 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd4007e43421a2f974f51574b6e2b52b9b1a7a50 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: cd4007e43421a2f974f51574b6e2b52b9b1a7a50

btrace: allow recording to be started (and stopped) for running threads

When recording is started for a running thread, GDB was able to start tracing
but then failed to read registers to insert the initial entry for the current
PC.  We don't really need that initial entry if we don't know where exactly we
started recording.  Skip that step to allow recording to be started while
threads are running.

If we do run into errors, we need to undo the tracing enable to not leak this
thread.  The operation did not complete so our caller won't clean up this
thread.

For the BTRACE_FORMAT_PT btrace format, we don't need that initial entry since
it will be recorded in the trace.  We can omit the call to btrace_add_pc.

gdb/
	* btrace.c (btrace_enable): Do not call btrace_add_pc for
	BTRACE_FORMAT_PT or if can_access_registers_ptid returns false.
	(btrace_fetch): Assert can_access_registers_ptid.
	* record-btrace.c (require_btrace_thread, record_btrace_info): Call
	validate_registers_access.

testsuite/
	* gdb.btrace/enable-running.c: New.
	* gdb.btrace/enable-running.exp: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb/varobj.c: Fix leak
@ 2017-02-01  0:40 sergiodj+buildbot
  2017-02-01  4:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS: Add options to control branch ISA checks
@ 2017-01-30 17:32 sergiodj+buildbot
  2017-01-30 18:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  3:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] amd64: remove additional comparison for validity of a register number.
@ 2017-01-27 15:16 sergiodj+buildbot
  2017-01-27 20:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 15:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7005d26ac72abbf12e02947ab87dbb3804f326a8 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 7005d26ac72abbf12e02947ab87dbb3804f326a8

amd64: remove additional comparison for validity of a register number.

Second part of the && is already guaranteed in the "regnum < num_regs"
due to comparison above.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

	* amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic
	that checks validity of a register number.


^ permalink raw reply	[flat|nested] 2223+ 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:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb: sparc: split real and pseudo registers.
@ 2017-01-16 17:05 sergiodj+buildbot
  2017-01-23 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 14:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] 'make check-headers' for c++ header
@ 2017-01-13 15:29 sergiodj+buildbot
  2017-01-23 11:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove magic numbers in m68k-dis.c:print_insn_arg
@ 2017-01-13 12:41 sergiodj+buildbot
  2017-01-23  4:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f622ea96de49d77646f52501ef00d03132fcb2df ***

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

Remove magic numbers in m68k-dis.c:print_insn_arg

When I inspect the return values of disassmblers, I happen to see
various -1/-2/-3 magic numbers are used in m68k-dis.c.  This patch
is to replace them with enum.

-1 and -2 is "clearly documented" in print_ins_arg's comments, but
-3 isn't.  In fact, -3 is returned when FETCH_DATA returns false,
which means memory error (because fetch_data return 0 on memory
error).  So I name enum PRINT_INSN_ARG_MEMORY_ERROR for -3.

This patch is a refactor patch, doesn't affect any functionality.

opcodes:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* m68k-dis.c (enum print_insn_arg_error): New.
	(NEXTBYTE): Replace -3 with
	PRINT_INSN_ARG_MEMORY_ERROR.
	(NEXTULONG): Likewise.
	(NEXTSINGLE): Likewise.
	(NEXTDOUBLE): Likewise.
	(NEXTDOUBLE): Likewise.
	(NEXTPACKED): Likewise.
	(FETCH_ARG): Likewise.
	(FETCH_DATA): Update comments.
	(print_insn_arg): Update comments. Replace magic numbers with
	enum.
	(match_insn_m68k): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-utils.c
@ 2017-01-12 21:33 sergiodj+buildbot
  2017-01-19 13:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86-64: Also generate unwind info for .plt.bnd
@ 2017-01-12 18:52 sergiodj+buildbot
  2017-01-23  0:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 17:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Update comment in remote_can_async_p
@ 2017-01-12 17:08 sergiodj+buildbot
  2017-01-22 10:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in bpfinishpy_out_of_scope
@ 2017-01-12 17:03 sergiodj+buildbot
  2017-01-18 15:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16361ffbd145c877952f3c124c247460a6005d26 ***

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

Use gdbpy_ref in bpfinishpy_out_of_scope

This changes bpfinishpy_out_of_scope to use gdbpy_ref.

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

	* python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-cmd.c
@ 2017-01-12 16:30 sergiodj+buildbot
  2017-01-18 12:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove dead serial_interface_lookup calls
@ 2017-01-12 15:58 sergiodj+buildbot
  2017-01-22  3:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop
@ 2017-01-12 15:55 sergiodj+buildbot
  2017-01-18  8:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-prettyprint.c
@ 2017-01-12 14:12 sergiodj+buildbot
  2017-01-17 20:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Return -1 on memory error in print_insn_msp430
@ 2017-01-12 11:14 sergiodj+buildbot
  2017-01-21 23:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x86-64: Correct unwind info for the BND PLT
@ 2017-01-12 10:59 sergiodj+buildbot
  2017-01-21 19:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in fnpy_call
@ 2017-01-12  8:52 sergiodj+buildbot
  2017-01-16 16:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add constructor and destructor to demangle_parse_info
@ 2017-01-12  8:38 sergiodj+buildbot
  2017-01-21  9:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add scoped_value_mark
@ 2017-01-12  7:52 sergiodj+buildbot
  2017-01-20 22:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in py-varobj.c
@ 2017-01-12  7:27 sergiodj+buildbot
  2017-01-16  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove make_cleanup_discard_psymtabs
@ 2017-01-12  7:06 sergiodj+buildbot
  2017-01-20 19:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use class to manage BFD reference counts
@ 2017-01-12  6:35 sergiodj+buildbot
  2017-01-20 12:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  6:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 192b62ce0b4bb5c61188f570e127a26d2c32f716 ***

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

Use class to manage BFD reference counts

This introduces a new specialization of gdb::ref_ptr that can be used
to manage BFD reference counts.  Then it changes most places in gdb to
use this new class, rather than explicit reference-counting or
cleanups.  This patch removes make_cleanup_bfd_unref.

If you look you will see a couple of spots using "release" where a use
of gdb_bfd_ref_ptr would be cleaner.  These will be fixed in the next
patch.

I think this patch fixes some latent bugs.  For example, it seems to
me that previously objfpy_add_separate_debug_file leaked a BFD.

I'm not 100% certain that the macho_symfile_read_all_oso change is
correct.  The existing code here is hard for me to follow.  One goal
of this sort of automated reference counting, though, is to make it
more difficult to make logic errors; so hopefully the code is clear
now.

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

	* windows-tdep.c (windows_xfer_shared_library): Update.
	* windows-nat.c (windows_make_so): Update.
	* utils.h (make_cleanup_bfd_unref): Remove.
	* utils.c (do_bfd_close_cleanup, make_cleanup_bfd_unref): Remove.
	* symfile.h (symfile_bfd_open)
	(find_separate_debug_file_in_section): Return gdb_bfd_ref_ptr.
	* symfile.c (read_symbols, symbol_file_add)
	(separate_debug_file_exists): Update.
	(symfile_bfd_open): Return gdb_bfd_ref_ptr.
	(generic_load, reread_symbols): Update.
	* symfile-mem.c (symbol_file_add_from_memory): Update.
	* spu-linux-nat.c (spu_bfd_open): Return gdb_bfd_ref_ptr.
	(spu_symbol_file_add_from_memory): Update.
	* solist.h (struct target_so_ops) <bfd_open>: Return
	gdb_bfd_ref_ptr.
	(solib_bfd_fopen, solib_bfd_open): Return gdb_bfd_ref_ptr.
	* solib.c (solib_bfd_fopen, solib_bfd_open): Return
	gdb_bfd_ref_ptr.
	(solib_map_sections, reload_shared_libraries_1): Update.
	* solib-svr4.c (enable_break): Update.
	* solib-spu.c (spu_bfd_fopen): Return gdb_bfd_ref_ptr.
	* solib-frv.c (enable_break2): Update.
	* solib-dsbt.c (enable_break): Update.
	* solib-darwin.c (gdb_bfd_mach_o_fat_extract): Return
	gdb_bfd_ref_ptr.
	(darwin_solib_get_all_image_info_addr_at_init): Update.
	(darwin_bfd_open): Return gdb_bfd_ref_ptr.
	* solib-aix.c (solib_aix_bfd_open): Return gdb_bfd_ref_ptr.
	* record-full.c (record_full_save): Update.
	* python/py-objfile.c (objfpy_add_separate_debug_file): Update.
	* procfs.c (insert_dbx_link_bpt_in_file): Update.
	* minidebug.c (find_separate_debug_file_in_section): Return
	gdb_bfd_ref_ptr.
	* machoread.c (macho_add_oso_symfile): Change abfd to
	gdb_bfd_ref_ptr.
	(macho_symfile_read_all_oso): Update.
	(macho_check_dsym): Return gdb_bfd_ref_ptr.
	(macho_symfile_read): Update.
	* jit.c (bfd_open_from_target_memory): Return gdb_bfd_ref_ptr.
	(jit_bfd_try_read_symtab): Update.
	* gdb_bfd.h (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
	(gdb_bfd_openw, gdb_bfd_openr_iovec)
	(gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
	gdb_bfd_ref_ptr.
	(gdb_bfd_ref_policy): New struct.
	(gdb_bfd_ref_ptr): New typedef.
	* gdb_bfd.c (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
	(gdb_bfd_openw, gdb_bfd_openr_iovec)
	(gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
	gdb_bfd_ref_ptr.
	* gcore.h (create_gcore_bfd): Return gdb_bfd_ref_ptr.
	* gcore.c (create_gcore_bfd): Return gdb_bfd_ref_ptr.
	(gcore_command): Update.
	* exec.c (exec_file_attach): Update.
	* elfread.c (elf_symfile_read): Update.
	* dwarf2read.c (dwarf2_get_dwz_file): Update.
	(try_open_dwop_file, open_dwo_file): Return gdb_bfd_ref_ptr.
	(open_and_init_dwo_file): Update.
	(open_dwp_file): Return gdb_bfd_ref_ptr.
	(open_and_init_dwp_file): Update.
	* corelow.c (core_open): Update.
	* compile/compile-object-load.c (compile_object_load): Update.
	* common/gdb_ref_ptr.h (ref_ptr::operator->): New operator.
	* coffread.c (coff_symfile_read): Update.
	* cli/cli-dump.c (bfd_openr_or_error, bfd_openw_or_error): Return
	gdb_bfd_ref_ptr.  Rename.
	(dump_bfd_file, restore_command): Update.
	* build-id.h (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
	* build-id.c (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
	(find_separate_debug_file_by_buildid): Update.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in invoke_match_method
@ 2017-01-12  5:21 sergiodj+buildbot
  2017-01-15 23:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  1:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-12  2:53 sergiodj+buildbot
  2017-01-19  7:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-param.c
@ 2017-01-12  2:37 sergiodj+buildbot
  2017-01-19  2:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-inferior.c
@ 2017-01-12  1:51 sergiodj+buildbot
  2017-01-18 23:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py_print_frame
@ 2017-01-11 22:26 sergiodj+buildbot
  2017-01-17 16:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-progspace.c
@ 2017-01-11 21:38 sergiodj+buildbot
  2017-01-14 10:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-param.c
@ 2017-01-11 20:19 sergiodj+buildbot
  2017-01-16 19:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in cmdpy_function
@ 2017-01-11 19:49 sergiodj+buildbot
  2017-01-16 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12a5cedd4f2c5b1f4e303efda6f8ac3e06eec944 ***

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

Use gdbpy_enter in cmdpy_function

This changes cmdpy_function to use gdbpy_enter and gdbpy_ref.

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

	* python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c
@ 2017-01-11 19:07 sergiodj+buildbot
  2017-01-14  0:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers
@ 2017-01-11 18:31 sergiodj+buildbot
  2017-01-15 19:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 572a5524c1eb50d8064a44108fd0ef22a0e63bf8 ***

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

Use gdbpy_enter in gdbpy_get_matching_xmethod_workers

Change gdbpy_get_matching_xmethod_workers to use gdbpy_enter and
gdbpy_ref.

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

	* python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
	gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook
@ 2017-01-11 17:26 sergiodj+buildbot
  2017-01-15 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-prettyprint.c
@ 2017-01-11 17:11 sergiodj+buildbot
  2017-01-15  8:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 17:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9f0c3639f33dc76fcab1b9299209c29ef2ee26e ***

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

Use gdbpy_enter in py-prettyprint.c

Change py-prettyprint.c to use gdbpy_enter.

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

	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
	gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-unwind.c
@ 2017-01-11 16:05 sergiodj+buildbot
  2017-01-15  0:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-inferior.c
@ 2017-01-11 13:22 sergiodj+buildbot
  2017-01-14  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-breakpoint.c
@ 2017-01-11 12:35 sergiodj+buildbot
  2017-01-13 16:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter
@ 2017-01-11 11:46 sergiodj+buildbot
  2017-01-13 12:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-value.c
@ 2017-01-11 11:14 sergiodj+buildbot
  2017-01-13  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Change event code to use gdbpy_ref
@ 2017-01-11  7:18 sergiodj+buildbot
  2017-01-11 14:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-type.c
@ 2017-01-11  6:08 sergiodj+buildbot
  2017-01-11 17:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] i386/x32: Align .eh_frame section to 4 bytes
@ 2017-01-10 22:48 sergiodj+buildbot
  2017-01-11  6:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Change return type of ui_out redirect to void
@ 2017-01-10 16:47 sergiodj+buildbot
  2017-01-10 19:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 16:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7becfd03bad526c02216eeb5ec2bebae694b1af1 ***

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

Change return type of ui_out redirect to void

All implementations of redirect/do_redirect in the ui_out subsystem
always return 0 (success).  We can therefore clean it up and make them
return void.

gdb/ChangeLog:

	* cli-out.c (cli_ui_out::do_redirect): Change return type to
	void.
	* cli-out.h (cli_ui_out::do_redirect): Likewise.
	* mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
	* mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
	* ui-out.c (ui_out::redirect): Likewise.
	* ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
	* cli/cli-logging.c (set_logging_redirect): Update call site of
	ui_out::redirect.
	(handle_redirections): Likewise.
	* scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
	* top.c (execute_command_to_string): Likewise.
	* utils.c (do_ui_out_redirect_pop): Likewise.


^ permalink raw reply	[flat|nested] 2223+ 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:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.
@ 2017-01-09  9:47 sergiodj+buildbot
  2017-01-09 11:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-09  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98f02962fefbacf1b805e93fb7bddeb58ec6ff70 ***

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

Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.

	PR binutils/21013
	* coffgen.c (_bfd_coff_get_external_symbols): Generate an error
	message if there are too many symbols to load.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [D] Fix crash when debug expression enabled.
@ 2017-01-08 10:52 sergiodj+buildbot
  2017-01-09  7:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 13:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Include serial.h in ser-base.h.
@ 2017-01-06 19:51 sergiodj+buildbot
  2017-01-08  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h
@ 2017-01-06 18:31 sergiodj+buildbot
  2017-01-08  2:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb ***

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

Include signal.h in nat/amd64-linux-siginfo.h

$ make check-headers CHECK_HEADERS="nat/amd64-linux-siginfo.h"
....
../../binutils-gdb/gdb/nat/amd64-linux-siginfo.h:52:39: error: 'siginfo_t' was not declared in this scope
 int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
                                       ^
gdb:

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

	* nat/amd64-linux-siginfo.h: Include signal.h.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Include mi-cmds.h in mi-parse.h
@ 2017-01-06 17:08 sergiodj+buildbot
  2017-01-07 20:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Include target.h in inf-loop.h
@ 2017-01-06 16:36 sergiodj+buildbot
  2017-01-07 17:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Include ax.h in ax-gdb.h
@ 2017-01-06 15:00 sergiodj+buildbot
  2017-01-07 10:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix ARI warning
@ 2017-01-05 15:02 sergiodj+buildbot
  2017-01-07  3:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 20:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] update-copyright.py for binutils
@ 2017-01-04 14:57 sergiodj+buildbot
  2017-01-06 10:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] picflag.m4 high bit set in comment
@ 2017-01-04 13:51 sergiodj+buildbot
  2017-01-06  3:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-05 23:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix an internal error on writing pieced value
@ 2017-01-04 10:10 sergiodj+buildbot
  2017-01-05 20:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  9:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 13:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Sync dwarf headers with master versions in gcc repository.
@ 2017-01-04  1:22 sergiodj+buildbot
  2017-01-04 19:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains
@ 2016-12-20 17:00 sergiodj+buildbot
  2016-12-22 22:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix compile time warning building arm-dis.c
@ 2016-12-16 11:03 sergiodj+buildbot
  2016-12-20  2:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-16 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db7b55faa1a11e632ddf57505c9bb64bc783471a ***

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

Fix compile time warning building arm-dis.c


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Implement and document --gc-keep-exported
@ 2016-12-16  3:46 sergiodj+buildbot
  2016-12-20  0:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Linking non-ELF file broken by PR20908 fix
@ 2016-12-15 13:29 sergiodj+buildbot
  2016-12-19 21:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MAINTAINERS: Add myself as a MIPS maintainer
@ 2016-12-15  1:26 sergiodj+buildbot
  2016-12-19 19:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-15  1:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cadf97cf20cf76af35e41075dff81197fbec0e51 ***

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

MAINTAINERS: Add myself as a MIPS maintainer

	* MAINTAINERS (Maintainers for particular sims): Add myself as
	a MIPS maintainer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/opcodes: Also set disassembler's ASE flags from ELF structures
@ 2016-12-15  0:54 sergiodj+buildbot
  2016-12-19 15:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-15  0:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e7fc731f80e0d08385a05ad47dda332a49d9341 ***

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

MIPS/opcodes: Also set disassembler's ASE flags from ELF structures

Respect any ASE flags recorded in ELF file structures for the purpose of
selecting instructions to be disassembled, preventing code from being
hex-dumped even though having been clearly indicated as valid at the
assembly time.  Use date from the MIPS ABI flags structure if present,
and otherwise there may be an MDMX ASE flag set in the ELF file header.
For backwards compatibility only set extra flags and do not clear any,
preserving all previously set by the architecture selected to be
disassembled for.

	include/
	* elf/mips.h (Elf_Internal_ABIFlags_v0): Also declare struct
	typedef as `elf_internal_abiflags_v0'.

	bfd/
	* bfd-in.h (elf_internal_abiflags_v0): New struct declaration.
	(bfd_mips_elf_get_abiflags): New prototype.
	* elfxx-mips.c (bfd_mips_elf_get_abiflags): New function.
	* bfd-in2.h: Regenerate.

	opcodes/
	* mips-dis.c (mips_convert_abiflags_ases): New function.
	(set_default_mips_dis_options): Also infer ASE flags from ELF
	file structures.

	binutils/
	* testsuite/binutils-all/mips/mips-ase-1.d: New test.
	* testsuite/binutils-all/mips/mips-ase-2.d: New test.
	* testsuite/binutils-all/mips/mips-ase-3.d: New test.
	* testsuite/binutils-all/mips/mips-ase-1.s: New test source.
	* testsuite/binutils-all/mips/mips-ase-2.s: New test source.
	* testsuite/binutils-all/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 2223+ 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 11:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS16: Fix SP-relative SD instruction annotation
@ 2016-12-14 23:46 sergiodj+buildbot
  2016-12-19 10:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-14 23:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 353abf7c10561aab3e8e7ffce6e270c3743376f0 ***

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

MIPS16: Fix SP-relative SD instruction annotation

Fix the annotation of SP-relative SD instructions incorrectly marked as
reading from the PC rather than SP, which in turn prevented their 16-bit
forms from being scheduled into jump delay slots.  This bug has been
there since forever.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set RD_SP rather than RD_PC in
	`pinfo2' with SP-relative "sd" entries.

	gas/
	* testsuite/gas/mips/mips16-sprel-swap.d: New test.
	* testsuite/gas/mips/mips16-sprel-swap.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix and clarify MIPS16e commentary
@ 2016-12-14 22:56 sergiodj+buildbot
  2016-12-19  6:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used
@ 2016-12-14  9:08 sergiodj+buildbot
  2016-12-19  4:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  9:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b

ld: aarch64: fix TLS relaxation where TCB_SIZE is used

TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl   __tls_get_addr => add R0, R0, TCB_SIZE

But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);

Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.

The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);

But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.

There are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.

Yury

	* bfd/elfnn-aarch64.c: fix TLS relaxations for ilp32 where
	TCB_SIZE is used.
	* ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for the case.
	* ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
	* ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.

Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>


^ permalink raw reply	[flat|nested] 2223+ 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  1:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 22:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used
@ 2016-12-14  6:47 sergiodj+buildbot
  2016-12-18 17:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  6:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6650f7bd18f8161b9f666d3e65a6346e23a9d85f ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 6650f7bd18f8161b9f666d3e65a6346e23a9d85f

ld: aarch64: fix TLS relaxation where TCB_SIZE is used

TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl   __tls_get_addr => add R0, R0, TCB_SIZE

But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);

Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.

The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);

But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.

THere are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.

Yury


^ permalink raw reply	[flat|nested] 2223+ 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 14:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.
@ 2016-12-13 17:09 sergiodj+buildbot
  2016-12-18 12:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-13 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 963201cf5d29c4dc718b5fb3507e085b302ff896 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 963201cf5d29c4dc718b5fb3507e085b302ff896

Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.

	sim/aarch64
	* simulator.c (NEG, POS): Move before set_flags_for_add64.
	(set_flags_for_add64): Replace with a modified copy of
	set_flags_for_sub64.

	sim/testsuite/sim/aarch64
	* testutils.inc (pass): Move .Lpass to start.
	(fail): Move .Lfail to start.  Return 1 instead of 0.
	(start): Moved .Lpass and .Lfail to here.
	* adds.s: New.
	* fstur.s: New.
	* tbnz.s: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't add PHDR for objcopy/strip or ld script specifying PHDRS
@ 2016-12-13  0:21 sergiodj+buildbot
  2016-12-18  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-13  0:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22b05d33b4c870d65972ff8aefdd297ddc66d139 ***

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

Don't add PHDR for objcopy/strip or ld script specifying PHDRS

HPPA64 needs to add a DT_PHDR header for shared libs.  That's fine
when linking but shouldn't happen for strip/objcopy.  Also PHDR must
come first so there's no need to look at all program headers.

bfd/
	* elf64-hppa.c (elf64_hppa_modify_segment_map): Don't add PHDR
	for objcopy/strip or when a ld script specifies PHDRS.
ld/
	* testsuite/ld-elf/nobits-1.d: Remove xfail for hppa64.
	* testsuite/ld-elf/note-1.d: Likewise.
	* testsuite/ld-elf/note-2.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't fudge p_vaddr when PHDR in segment
@ 2016-12-12 23:39 sergiodj+buildbot
  2016-12-18  6:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 23:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6392030005291f7c783da2247b63ae31dc8352e0 ***

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

Don't fudge p_vaddr when PHDR in segment

RX does horrible fudges to PT_LOAD p_vaddr, that affect the testsuite
and mean the target won't support dynamic objects.  The latter
probably doesn't matter too much since RX is an embedded target, but
it's easy to stop some of the fudges in order to reduce special cases
for RX in the testsuite.  The changes make sense in isolation too.

bfd/
	* elf32-rx.c (elf32_rx_modify_program_headers): Don't adjust
	segments that include the ELF file header or program headers.
ld/
	* testsuite/ld-elf/flags1.d: Run for RX.
	* testsuite/ld-scripts/phdrs.exp: Likewise.
	* testsuite/ld-scripts/pr14962.d: Likewise.
	* testsuite/ld-scripts/pr14962-2.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Port c++/78252 from GCC
@ 2016-12-12 18:30 sergiodj+buildbot
  2016-12-18  4:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove assert on exec_bfd in cris_delayed_get_disassembler
@ 2016-12-12 10:51 sergiodj+buildbot
  2016-12-17 21:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 10:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d36cab83a963f5bb3773e0218cc02f63b0851d0b ***

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

Remove assert on exec_bfd in cris_delayed_get_disassembler

cris_delayed_get_disassembler has an assert that exec_bfd can't be
NULL, but this assert can be triggered like this,

(gdb) set architecture cris
The target architecture is assumed to be cris
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:
../../binutils-gdb/gdb/cris-tdep.c:3798: internal-error: int cris_delayed_get_disassembler(bfd_vma, disassemble_info*): Assertion `exec_bfd != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

however, cris_get_disassembler does have code to handle the case that
bfd is NULL,

  /* If there's no bfd in sight, we return what is valid as input in all
     contexts if fed back to the assembler: disassembly *with* register
     prefix.  Unfortunately this will be totally wrong for v32.  */
  if (abfd == NULL)
    return print_insn_cris_with_register_prefix;

This patch is to remove this assert.

gdb:

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

	PR tdep/20955
	* cris-tdep.c (cris_delayed_get_disassembler): Remove the
	assert.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Handle memory error in print_insn_rx
@ 2016-12-12 10:38 sergiodj+buildbot
  2016-12-17 19:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 10:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 029e9d52de3ac7fe984dc079ebd24506fd1eace7 ***

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

Handle memory error in print_insn_rx

Nowadays, memory error in rx disassembly is not handled, so if I
start a fresh GDB, and disassemble,

(gdb) set architecture rx
The target architecture is assumed to be rx
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	brk
   0x00000001:	brk
   0x00000002:	brk
   0x00000003:	brk

the output is wrong.  This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rx.  With this patch applied,

(gdb) set architecture rx
The target architecture is assumed to be rx
(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>

	* rx-dis.c: Include <setjmp.h>
	(struct private): New.
	(rx_get_byte): Check return value of read_memory_func, and
	call memory_error_func and OPCODES_SIGLONGJMP on error.
	(print_insn_rx): Call OPCODES_SIGSETJMP.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Handle memory error in print_insn_rl78_common
@ 2016-12-12  9:28 sergiodj+buildbot
  2016-12-17 16:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS16: Remove unused `>' operand code
@ 2016-12-10  1:40 sergiodj+buildbot
  2016-12-17  2:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-10  1:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64c111834081a117f902cffc15dadbc535f1c65e ***

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

MIPS16: Remove unused `>' operand code

This code has never been used throughout the repository history, and
likely not before either, as due to the assymetry of MIPS16 instruction
set encoding there are no 32-bit shift operations having their immediate
shift count placed in the position of the usual `rx' instruction field.

	gas/
	* config/tc-mips.c (mips16_macro_build) <'>'>: Remove case.

	include/
	* opcode/mips.h: Remove references to `>' operand code.

	opcodes/
	* mips16-opc.c (decode_mips16_operand) <'>'>: Remove cases.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code
@ 2016-12-10  0:31 sergiodj+buildbot
  2016-12-16 23:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Reformat raw EXTEND and undecoded output
@ 2016-12-09 23:59 sergiodj+buildbot
  2016-12-16 20:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily
@ 2016-12-09 17:14 sergiodj+buildbot
  2016-12-16  9:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 17:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a28aa6edd4ba848c110cd73fd4e29c2bbdb2cb72 ***

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

Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily

I build GDB with all targets enabled, and "set architecture rx",
GDB crashes,

(gdb) set architecture rx

Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926				   name);
(gdb) bt 10
 #0  append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
 #1  0x00000000004ce725 in rx_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rx-tdep.c:1051
 #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=0x20bee81 "rx ", 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=0x20bee70 "set architecture rx ", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
 #7  0x00000000006935f4 in command_handler (command=0x20bee70 "set architecture rx ") 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=0x20be7f0 "") 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/20954
	* rx-tdep.c (rx_psw_type): New function.
	(rx_fpsw_type): New function.
	(rx_register_type): Call rx_psw_type and rx_fpsw_type.
	(rx_gdbarch_init): Move code to rx_psw_type and
	rx_fpsw_type.

gdb/testsuite:

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

	* gdb.base/all-architectures.exp.in: Remove kfail for "rx".


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Create tdep->rl78_psw_type lazily
@ 2016-12-09 16:12 sergiodj+buildbot
  2016-12-16  6:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use code cache in aarch64 prologue analyzer
@ 2016-12-09 11:55 sergiodj+buildbot
  2016-12-16  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc2f703edb656c69b0026a006c6063cdb255e06a ***

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

Use code cache in aarch64 prologue analyzer

This patch change aarch prologue analyzer using code cache, in order
to improve the performance of remote debugging.

gdb.perf/skip-prologue.exp (measured by wall-time) is improved when
the program is compiled without debug information.

			Original	Patched		Original	Patched
			without dbg	without dbg	with dbg	with dbg

/			11.1635239124	9.99472999573	9.65339517593	9.66648793221
-fstack-protector-all	11.2560930252	9.338118	9.63896489143	9.59474396706

gdb:

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

	* aarch64-tdep.c (instruction_reader::read): Call
	read_code_unsigned_integer instead of
	read_memory_unsigned_integer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use code cache in arm prologue analyzer
@ 2016-12-09 11:10 sergiodj+buildbot
  2016-12-15 23:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 11:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 198cd59d289209ad63cdd6da45e02a1c12b423a7 ***

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

Use code cache in arm prologue analyzer

This patch change arm prologue analyzer using code cache, in order
to improve the performance of remote debugging.

gdb.perf/skip-prologue.exp (measured by wall-time) is improved a lot,

			Original	Patched		Original	Patched
			without dbg	without dbg	with dbg	with dbg

-marm			14.166741848	9.32852292061  	11.4908499718  	9.16302204132
-marm   		14.6705040932  	9.34849786758  	18.2788009644  	9.14823913574
\-fstack-protector-all
-mthumb			34.4391930103	10.6062178612 	13.7886838913	10.3094120026
-mthumb
\-fstack-protector-all	34.9310460091	10.6413481236	25.3875930309	10.6294929981

gdb:

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

	* arm-tdep.c (skip_prologue_function): Call
	read_code_unsigned_integer instead of
	read_memory_unsigned_integer.
	(thumb_analyze_prologue): Likewise.
	(arm_analyze_load_stack_chk_guard): Likewise.
	(arm_skip_stack_protector): Likewise.
	(arm_analyze_prologue):Likewise.
	(extend_buffer_earlier): Call target_read_code instead
	of target_read_memory.
	(arm_adjust_breakpoint_address): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Compile gdb.perf/skip-prologue.c with and without debug info
@ 2016-12-09 10:25 sergiodj+buildbot
  2016-12-15 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 10:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 364ca42e71dfdce3f34e97ef028f7e3d5b5d880e ***

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

Compile gdb.perf/skip-prologue.c with and without debug info

gdb.perf/skip-prologue.exp is intended to measure the performance of
skipping prologue with prologue analysis by setting breakpoints.
However, if program is compiled with debug info, GDB is smart to
skip prologue by line table from debug info, so prologue analysis
is not exercised at all.

This patch adds a parameter COMPILE to specify compiling with
debug information, otherwise, it is compiled without debug
information.

gdb/testsuite:

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

	* gdb.perf/skip-prologue.exp: Add parameter COMPILE.


^ permalink raw reply	[flat|nested] 2223+ 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 17:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Avoid PATH_MAX usage
@ 2016-12-09  7:23 sergiodj+buildbot
  2016-12-15 14:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  7:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53488a6e194af11c2528e5e284facb8a6171b695 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 53488a6e194af11c2528e5e284facb8a6171b695

Avoid PATH_MAX usage

On GNU/Hurd, there is no "#define PATH_MAX", so this failed to build.

	gdb/
	* inferior.c (print_selected_inferior): Avoid PATH_MAX usage.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg'
@ 2016-12-09  1:29 sergiodj+buildbot
  2016-12-15 12:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  1:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39f66f3ae25ebd3a065218ce880280fd5b4b861c ***

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

MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg'

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Remove extraneous
	indentation space across.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment
@ 2016-12-09  0:50 sergiodj+buildbot
  2016-12-15 10:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  0:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 860b03a8f357d1565bd9d79ae25121059b2d28ae ***

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

MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment

Complement commit dd8b7c222e0e ("MIPS: mips16e jalrc/jrc opcodes"),
<https://sourceware.org/ml/binutils/2005-07/msg00349.html>, and stop the
disassembler making a delay-slot adjustment for PC-relative operations
following either MIPS16e compact jumps, or undefined RR/J(AL)R(C)
encodings that have the `l' (link) and `ra' (source register is `ra')
bits set both at a time.  Adjust code description for accuracy.  Add a
suitable test case.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Avoid delay-slot
	adjustment for PC-relative operations following MIPS16e compact
	jumps or undefined RR/J(AL)R(C) encodings.

	binutils/
	* testsuite/binutils-all/mips/mips16-pcrel.d: New test.
	* testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
	* testsuite/binutils-all/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] AArch64/opcodes: Correct another `index' global shadowing error
@ 2016-12-09  0:14 sergiodj+buildbot
  2016-12-15  8:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 329d01f70ea6367a9593c9b31e268c06dd729ec9 ***

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

AArch64/opcodes: Correct another `index' global shadowing error

Fix a commit c2c4ff8d52a2 ("[AArch64] Add ARMv8.3 FCMLA and FCADD
instructions") build regression:

cc1: warnings being treated as errors
.../opcodes/aarch64-dis.c: In function 'aarch64_ext_sve_addr_rr_lsl':
.../opcodes/aarch64-dis.c:1324: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[4]: *** [aarch64-asm.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	opcodes/
	* aarch64-asm.c (aarch64_ins_reglane): Rename `index' local
	variable to `reglane_index'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix crash when disassembling invalid range on powerpc vle
@ 2016-12-08 13:58 sergiodj+buildbot
  2016-12-15  3:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] sync binutils config/ with gcc
@ 2016-12-08 13:02 sergiodj+buildbot
  2016-12-15  0:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT da17fe9de923fcee29e6f809693eb7e590966575 ***

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

sync binutils config/ with gcc

config/
	* acx.m4: Import from gcc.
	* bootstrap-asan.mk: Likewise.
	* multi.m4: Likewise.
/
	* configure: Regnerate.
gas/
	* configure: Regnerate.
ld/
	* configure: Regnerate.
libiberty/
	* configure: Regnerate.
zlib/
	* configure: Regnerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR20932, Internal error during record link assignment
@ 2016-12-08 12:39 sergiodj+buildbot
  2016-12-14 22:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 12:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e2a4f11d477986aa360a3b588d35a194efe58f8 ***

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

PR20932, Internal error during record link assignment

	PR ld/20932
	* elflink.c (bfd_elf_record_link_assignment): Handle warning symbols.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid
@ 2016-12-08 11:33 sergiodj+buildbot
  2016-12-14 19:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 11:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c3187fa5cc72734e6fc766a85d657018c0516bad ***

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

Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid

Follow-up to commit 14f6890677849172a4b13779acd9089c9baa3a81.
global_thread_id_to_ptid expects global thread numbers, which are nowadays only
used in MI, never presented to the user in the CLI.  Since this is a CLI
command, it should accept the inferior-qualified format instead.

	gdb/
	* gnu-nat.c (set_sig_thread_cmd): Use parse_thread_id instead of
	global_thread_id_to_ptid.


^ permalink raw reply	[flat|nested] 2223+ 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 16:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Hurd, C++: kern_return_t vs. error_t
@ 2016-12-08 10:43 sergiodj+buildbot
  2016-12-14 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Hurd, C++: Avoid "const char *" to "char *" casts
@ 2016-12-08  9:33 sergiodj+buildbot
  2016-12-14 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  9:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 785102a7d34f2d48f9a1616bf931fea6de2385fb ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 785102a7d34f2d48f9a1616bf931fea6de2385fb

Hurd, C++: Avoid "const char *" to "char *" casts

... by a bit of code refactoring:

	gdb/
	* gnu-nat.c (set_task_pause_cmd, set_signals_cmd)
	(set_exceptions_cmd): Add variants taking an "int arg" instead of
	a "char *".  Make the "char *" variants use the former.
	(set_noninvasive_cmd): Also use the "int arg" variants.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Hurd, C++: Avoid GNU C nested functions
@ 2016-12-08  9:00 sergiodj+buildbot
  2016-12-14  8:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  9:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a9617a426d001a748168fbc399fcc77e6d8d3cac ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: a9617a426d001a748168fbc399fcc77e6d8d3cac

Hurd, C++: Avoid GNU C nested functions

..., which C++ doesn't allow, so...

	gdb/
	* gnu-nat.c (gnu_create_inferior): Move nested "trace_me"
	function...
	(gnu_ptrace_me): ... here.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Hurd, C++: Explicitly cast "void *"
@ 2016-12-08  8:11 sergiodj+buildbot
  2016-12-14  6:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK
@ 2016-12-07 15:39 sergiodj+buildbot
  2016-12-14  2:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS/opcodes: Correct an `interaction' comment typo
@ 2016-12-07 14:36 sergiodj+buildbot
  2016-12-13 23:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Update opcode table comment
@ 2016-12-07 14:08 sergiodj+buildbot
  2016-12-13 21:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] MIPS/opcodes: Reformat `-M' disassembler option's help text
@ 2016-12-07 13:56 sergiodj+buildbot
  2016-12-13 18:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6725647ca2a0adc9206059814725102b53ea6478 ***

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

MIPS/opcodes: Reformat `-M' disassembler option's help text

Align output produced consistently and fix other formatting issues.

	opcodes/
	* mips-dis.c (print_mips_disassembler_options): Reformat output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3
@ 2016-12-07 13:08 sergiodj+buildbot
  2016-12-13 17:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 13:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8760d2cb51517789110c7b2dbd8f61dce08291d ***

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

MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3

Complement commit 8f4f9071ad5f ("Add MIPS32 DSPr3 support.").

	include/
	* opcode/mips.h (ASE_DSPR3): Add a comment.


^ permalink raw reply	[flat|nested] 2223+ 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:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove unnecessary inferior lookup in inferior_command
@ 2016-12-06 21:38 sergiodj+buildbot
  2016-12-13 12:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173 ***

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

Remove unnecessary inferior lookup in inferior_command

In the case where we switch to a non-running inferior, we do a
"find_inferior_id (num)", although we did the same call right before.

gdb/ChangeLog:

	* inferior.c (inferior_command): Remove duplicate
	find_inferior_id call.


^ permalink raw reply	[flat|nested] 2223+ 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  8:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix seg-fault running strip on a corrupt binary.
@ 2016-12-06 16:16 sergiodj+buildbot
  2016-12-13  6:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Assert on lval_register
@ 2016-12-06 14:59 sergiodj+buildbot
  2016-12-13  4:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PowerPC64 toc optimisation for power9
@ 2016-12-06  8:18 sergiodj+buildbot
  2016-12-13  0:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] argv.c (expandargv): Check for directories passed as @-files.
@ 2016-12-06  7:30 sergiodj+buildbot
  2016-12-12 23:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-06  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc72affa6875e81fc9d495a216a8bcb34045ffcd ***

Author: DJ Delorie <dj@redhat.com>
Branch: master
Commit: fc72affa6875e81fc9d495a216a8bcb34045ffcd

argv.c (expandargv): Check for directories passed as @-files.

gcc pr 78584


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix seg-fault in the binutils utilities when reading a corrupt input file.
@ 2016-12-05 18:41 sergiodj+buildbot
  2016-12-12 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 18:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa6631b4eecfcca00c13b9594e6336dffd40982f ***

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

Fix seg-fault in the binutils utilities when reading a corrupt input file.

	PR binutils/20905
	* peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
	the end of the string buffer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix abort when running tools on a bogus binary.
@ 2016-12-05 17:56 sergiodj+buildbot
  2016-12-12 18:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52c4f3bdd5957a31b671a9791f462be5e8eadd85 ***

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

Fix abort when running tools on a bogus binary.

	PR binutils/20907
	* peicode.h (pe_ILF_build_a_bfd): Replace abort with error return.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix seg-fault running strip on a corrupt binary.
@ 2016-12-05 17:30 sergiodj+buildbot
  2016-12-12 16:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 17:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e2996cc315d6ea242e1a954dc20246485ccc8512 ***

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

Fix seg-fault running strip on a corrupt binary.

	PR binutils/20921
	* aoutx.h (squirt_out_relocs): Check for and report any relocs
	that could not be recognised.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 VCMLA and VCADD instructions
@ 2016-12-05 16:45 sergiodj+buildbot
  2016-12-12 11:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 VJCVT instruction
@ 2016-12-05 16:01 sergiodj+buildbot
  2016-12-12  9:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 16:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49e8a725825c77aacc7458b9d7771cb2fa2f64c7 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 49e8a725825c77aacc7458b9d7771cb2fa2f64c7

[ARM] Add ARMv8.3 VJCVT instruction

Add support for VJCVT javascript conversion instruction.

gas/
	* config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
	(insns): Add vjcvt.
	* testsuite/gas/aarch64/armv8_3-a-fp.s: New.
	* testsuite/gas/aarch64/armv8_3-a-fp.d: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.

opcodes/
	* arm-dis.c (coprocessor_opcodes): Add vjcvt.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 command line option and feature flag
@ 2016-12-05 15:33 sergiodj+buildbot
  2016-12-12  9:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 15:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587

[ARM] Add ARMv8.3 command line option and feature flag

ARMv8.3 is an architectural extension of ARMv8.  Add the
feature macro and -march=armv8.3-a gas command line option
for the ARM target.

https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

gas/
	* config/tc-arm.c (arm_archs): Add "armv8.3-a".
	* doc/c-arm.texi (-march): Add "armv8.3-a".

include/
	* opcode/arm.h (ARM_EXT2_V8_3A, ARM_AEXT2_V8_3A): New.
	(ARM_ARCH_V8_3A): New.


^ permalink raw reply	[flat|nested] 2223+ 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  5:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix seg-fault attempting to strip a corrupt binary.
@ 2016-12-05 14:06 sergiodj+buildbot
  2016-12-12  4:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 14:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a55c9876bb111fd301b4762cf501de0040b8f9db ***

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

Fix seg-fault attempting to strip a corrupt binary.

	PR binutils/20922
	* elf.c (find_link): Check for null headers before attempting to
	match them.


^ permalink raw reply	[flat|nested] 2223+ 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  0:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 21:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix bugs with tbnz/tbz instructions.
@ 2016-12-04  2:02 sergiodj+buildbot
  2016-12-11  9:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes
@ 2016-12-03 13:35 sergiodj+buildbot
  2016-12-11  6:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Tidy ppc64_elf_hide_symbol
@ 2016-12-03 13:02 sergiodj+buildbot
  2016-12-11  4:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8ac28419be22fe0cc72f6eaaba1ab029610fc71 ***

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

Tidy ppc64_elf_hide_symbol

	* elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
	elf_link_hash_table rather than ppc_link_hash_table.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PowerPC64 add_symbol_adjust
@ 2016-12-03 12:21 sergiodj+buildbot
  2016-12-11  3:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 12:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35dc6e06960790cd60b890c14e45f82f110b898f ***

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

PowerPC64 add_symbol_adjust

	* elf64-ppc.c (add_symbol_adjust): Delete dead code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Indirect and warning symbols
@ 2016-12-03 11:55 sergiodj+buildbot
  2016-12-11  0:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4 ***

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

Indirect and warning symbols

It's possible but unlikely that an indirect symbol points at a warning
symbol.

	* elf64-ppc.c (add_symbol_adjust): Correct order of tests for
	warning and indirect symbols.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix
@ 2016-12-03 11:13 sergiodj+buildbot
  2016-12-10 21:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Introduce enum_flag type for ui_out flags
@ 2016-12-02 22:35 sergiodj+buildbot
  2016-12-10 18:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp
@ 2016-12-02 21:50 sergiodj+buildbot
  2016-12-10 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Test user-defined gdb commands and arguments stack
@ 2016-12-02 20:34 sergiodj+buildbot
  2016-12-10  9:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  6:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  4:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp
@ 2016-12-02 18:11 sergiodj+buildbot
  2016-12-10  1:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 18:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 008459ea88ad4fdcb7da37dad7f68888ef6ecc47 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 008459ea88ad4fdcb7da37dad7f68888ef6ecc47

Revert change to gdb.cp/ovldbreak.exp

This reverts the timeout handling (removed by
018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we
decide what to do about this particular function.

gdb/testsuite/ChangeLog:

2016-12-02  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
	timeout handling.


^ permalink raw reply	[flat|nested] 2223+ 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-09 23:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram
@ 2016-12-02 16:48 sergiodj+buildbot
  2016-12-09 21:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Rename some trace functions
@ 2016-12-02 16:03 sergiodj+buildbot
  2016-12-09 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e5a873b7071d74320d4e0cbbc2f358dcf2322557 ***

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

Rename some trace functions

This patch renames a few trace-related functions, so that they adhere to
the de facto standard of naming command entry point functions
<command>_command.  I like the ease of looking up a command entry point
if they all follow that rule.

An enum label "tstop_command" conflicts with a new function name, so I
renamed this one trace_stop_command.

In v2:

- Rename functions of the trace_find family, as well as
  trace_dump_command.

gdb/ChangeLog:

	* tracefile-tfile.c (tfile_write_status): Adjust to renames.
	* tracefile.c (trace_save_command): Rename to...
	(tsave_command): ...this.
	(_initialize_tracefile): Adjust to renames.
	* tracepoint.c (trace_actions_command): Rename to...
	(actions_command): ...this.
	(trace_start_command): Rename to...
	(tstart_command): ...this, and adjust to renames..
	(trace_stop_command): Rename to...
	(tstop_command): ...this.
	(trace_status_command): Rename to...
	(tstatus_command): ...this, and adjust to renames.
	(trace_find_command): Rename to...
	(tfind_command): ...this.
	(trace_find_pc_command): Rename to...
	(tfind_pc_command): ...this.
	(trace_find_tracepoint_command): Rename to...
	(tfind_tracepoint_command): ...this.
	(trace_find_line_command): Rename to...
	(tfind_line_command): ...this.
	(trace_find_range_command): Rename to...
	(tfind_range_command): ...this.
	(trace_find_outside_command): Rename to...
	(tfind_outside_command): ...this.
	(trace_dump_command): Rename to...
	(tdump_command): ...this.
	(tfind_1): Adjust to renames.
	(trace_find_end_command): Rename to...
	(tfind_end_command): ...this, and adjust to renames..
	(trace_status_mi): Adjust to renames.
	(parse_trace_status): Adjust to renames.
	(_initialize_tracepoint): Adjust to renames.
	* tracepoint.h (enum trace_stop_reason) <tstop_command>: Rename
	to...
	<trace_stop_command>: ...this.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove mi_out_data::suppress_output
@ 2016-12-02 15:26 sergiodj+buildbot
  2016-12-09 16:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 15:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3 ***

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

Remove mi_out_data::suppress_output

The suppress_output field of the mi_ui_out_data structure is never actually
set to 1/true.  We can therefore remove it, and remove all the

  if (suppress_output)

checks.

gdb/ChangeLog:

	* mi/mi-out.c (mi_ui_out_data) <suppress_output>: Remove.
	(mi_table_body): Remove suppress_output check.
	(mi_table_end): Likewise.
	(mi_table_header): Likewise.
	(mi_begin): Likewise.
	(mi_end): Likewise.
	(mi_field_int): Likewise.
	(mi_field_string): Likewise.
	(mi_field_fmt): Likewise.
	(mi_out_data_ctor): Likewise.


^ permalink raw reply	[flat|nested] 2223+ 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:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add support for Fushia OS.
@ 2016-12-02 11:30 sergiodj+buildbot
  2016-12-09 11:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 11:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d5451cd45325d12b2cc3d10ffe67f09b0e26b967 ***

Author: Josh Conner <joshconner@google.com>
Branch: master
Commit: d5451cd45325d12b2cc3d10ffe67f09b0e26b967

Add support for Fushia OS.

        * configure.ac: Add fuchsia to targets that use ELF.
        * configure: Regenerated.

bfd     * configure.tgt: Add support for fuchsia (OS).

gas     * configure.tgt: Add support for fuchsia (OS).

ld      * Makefile.am: Add dependency information for earmelf_fuchsia.c.
        * Makefile.in: Regenerate.
        * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
        x86_64-*-fuchsia* targets.
        * emulparams/armelf_fuchsia.sh: New file.
        * emulparams/armelfb_fuchsia.sh: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Recognize STR instruction in prologue
@ 2016-12-02 10:50 sergiodj+buildbot
  2016-12-09 10:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 432ec0814b01a93b88eddf13092ea6abef34652d ***

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

[AArch64] Recognize STR instruction in prologue

This patch teaches GDB AArch64 backend to recognize STR instructions
in prologue, like 'str x19, [sp, #-48]!' or 'str w0, [sp, #44]'.
The unit test is added too.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c (aarch64_analyze_prologue): Recognize STR
	instruction.
	(aarch64_analyze_prologue_test): More tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add unit test to aarch64 prologue analyzer
@ 2016-12-02 10:11 sergiodj+buildbot
  2016-12-09  6:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d9a9006139d1ceea787cdda871dff8943e493f0 ***

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

Add unit test to aarch64 prologue analyzer

We don't have an effective way to test prologue analyzer which is
highly dependent on instruction patterns in prologue generated by
compiler.  GDB prologue analyzer may not handle the new sequences
generated by new compiler, or may still handle some sequences that
generated by very old compilers which are no longer used.  The
former is a functionality issue, while the latter is a maintenance
issue.

The input and output of prologue analyzer is quite clear, so it
fits for unit test.  The input is series of instructions, and the
output are 1) where prologue end, 2) where registers are saved.
In aarch64, they are represented in 'struct aarch64_prologue_cache'.

This patch refactors aarch64_analyze_prologue so it can read
instructions from either real target or test harness.  In unit
test aarch64_analyze_prologue_test, aarch64_analyze_prologue gets
instructions we prepared in the test, as the input of prologue
analyzer.  Then, we checked various fields in
'struct aarch64_prologue_cache'.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c: Include "selftest.h".
	(abstract_instruction_reader): New class.
	(instruction_reader): New class.
	(aarch64_analyze_prologue): Add new parameter reader.  Call
	reader.read instead of read_memory_unsigned_integer.
	[GDB_SELF_TEST] (instruction_reader_test): New class.
	(aarch64_analyze_prologue_test): New function.
	(_initialize_aarch64_tdep) [GDB_SELF_TEST]: Register
	selftests::aarch64_analyze_prologue_test.
	* trad-frame.c (trad_frame_cache_zalloc):
	(trad_frame_alloc_saved_regs): Add a new function.
	* trad-frame.h (trad_frame_alloc_saved_regs): Declare.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't handle timeout inside gdb_test_multiple
@ 2016-12-02  6:01 sergiodj+buildbot
  2016-12-09  6:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  6:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 018572b88885ae67d22612937fa1e4fd98d5f5ad ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 018572b88885ae67d22612937fa1e4fd98d5f5ad

Don't handle timeout inside gdb_test_multiple

This fixes a few cases where the testcase is explicitly handling timeouts
inside gdb_test_multiple when it is not necessary.

It also converts two gdb_test_multiple calls to gdb_test_no_output calls
(also removing the timeout handling).

gdb/testsuite/ChangeLog:

2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
	* gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
	gdb_test_no_output for a couple of cases.
	* gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Class-ify ui_out_table
@ 2016-12-02  5:34 sergiodj+buildbot
  2016-12-09  3:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  5:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36d18bc526b055be896d8dc319cb3ade42238534 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 36d18bc526b055be896d8dc319cb3ade42238534

Class-ify ui_out_table

This patch makes a class out of the ui_out_table structure, the
structure responsible for managing the generation of an UI table.

To simplify the ui_out_table object, I changed it so that it can only be
used for generating a single object.  Instead of clearing the header
list when starting a new table, we an ui_out_table when starting a
table and delete it when we're done.  Therefore, the checks:

  if (uiout->table->flag)
  if (!uiout->table->flag)

are respectively replaced with

  if (uiout->table != nullptr)
  if (uiout->table == nullptr)

Note: I removed the check at the beginning of ui_out_begin, because
there is an equivalent check at the beginning of verify_field.

New in v2:

  - use "enum class" for ui_out_table::state and update references.

gdb/ChangeLog:

	* ui-out.c (enum ui_out_table_state): Move to class
	ui_out_table as ui_out_table::state.
	(struct ui_out_table): Change to ...
	(class ui_out_table): ... this.
	<flag>: Remove.
	<entry_level>: Rename to ...
	<m_entry_level>: ... this.
	<columns>: Rename to ...
	<m_nr_cols>: ... this.
	<id>: Rename to ...
	<m_id>: ... this.
	<headers>: Rename to ...
	<m_headers>: ... this.
	<headers_iterator>: Rename to ...
	<m_headers_iterator>: ... this.
	<start_body, append_header, start_row, get_next_header,
	query_field, current_state, entry_level>: New methods.
	(struct ui_out) <table>: Change type to unique_ptr to
	ui_out_table.
	(append_header_to_list, get_next_header, clear_header_list,
	clear_table): Remove.
	(ui_out_table_begin): Instantiate ui_out_table object.  Update
	table check.
	(ui_out_table_body): Update table check, replace code with call
	to ui_out_table::start_body.
	(ui_out_table_end): Update table check, replace manual cleanup
	with assignment of uiout->table unique_ptr to nullptr.
	(ui_out_table_header): Update table check, replace call to
	append_header_to_list with call to append_header method.
	(ui_out_begin): Remove one table state check, update another.
	Replace code with call to start_row method.
	(verify_field): Update table checks.
	(ui_out_query_field): Update table check, replace code with call
	to query_field method.
	(ui_out_new): Remove table initialization code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ui_out_table: Replace boolean flag with enum
@ 2016-12-02  5:00 sergiodj+buildbot
  2016-12-09  0:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Simplify ui-out level code
@ 2016-12-02  4:41 sergiodj+buildbot
  2016-12-08 21:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Class-ify ui_out_level
@ 2016-12-02  3:57 sergiodj+buildbot
  2016-12-08 20:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Class-ify ui_out_hdr
@ 2016-12-02  2:49 sergiodj+buildbot
  2016-12-08 16:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37e20dd6599203c4e261fc3a2e86711c90cbbed9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 37e20dd6599203c4e261fc3a2e86711c90cbbed9

Class-ify ui_out_hdr

This patch makes ui_out_hdr (the object that represents an ui-out table
header) a proper C++ class.  No behavior changes, it's all about
encapsulation.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr): Replace with ...
	(class ui_out_hdr): ... this.
	(append_header_to_list): Update.
	(get_next_header): Update.
	(ui_out_query_field): Update.


^ permalink raw reply	[flat|nested] 2223+ 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 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator
@ 2016-12-02  2:11 sergiodj+buildbot
  2016-12-08 11:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78afa7f8599e46eb94a93510b383dfb35e549f7e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 78afa7f8599e46eb94a93510b383dfb35e549f7e

Replace hand-made linked list of ui_out_hdr by vector and iterator

Instead of keeping pointers to first, last and current ui_out_hdr in
ui_out_table, we can use an std::vector and an iterator.  Direct random
access of to vector helps make get_next_header a bit nicer by avoiding
iterating on all the headers.  append_header_to_list is also a bit
simpler.

Also, using unique_ptr inside the vector allows expressing the ownership
of the ui_out_hdr objects by the ui_out_table object, and it simplifies
the destruction.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr) <next>: Remove.
	(struct ui_out_table) <header_first, header_last, header_next>: Remove.
	<headers, headers_iterator>: New fields.
	(ui_out_table_body): Update for the new data structure.
	(ui_out_begin): Likewise.
	(clear_header_list): Likewise.
	(append_header_to_list): Likewise.
	(get_next_header): Likewise.
	(ui_out_query_field): Likewise.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages
@ 2016-12-02  1:27 sergiodj+buildbot
  2016-12-08  8:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e

Fixup testcases outputting own name as a test name and standardize failed compilation messages

Changes in v3:

- Adjusted some testcases where the message "failed to compile" was not unique.

Changes in v2:

- Addressed comments from reviewers.
- Fixed spurious whitespaces.
- Changed compilation failure messages that included source/binary paths to
  ones that are short and deterministic.

---

Another bit of cleanup to the testsuite. We have a number of tests that are
not honoring the rule of not outputting their own name as a test name.

I fixed up all the offenders i could find with the following regular
expression:

"(xfail|kfail|kpass|fail|pass|unsupported|untested) ([A-Za-z0-9]+|\\\$(.)*testfile(.)*)\.exp$"

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names and standardize compilation error messages throughout
	the following files:

	* gdb.ada/start.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/e500-prologue.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/gdb1291.exp
	* gdb.arch/gdb1431.exp
	* gdb.arch/gdb1558.exp
	* gdb.arch/i386-dr3-watch.exp
	* gdb.arch/i386-sse-stack-align.exp
	* gdb.arch/ia64-breakpoint-shadow.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-aix-prologue.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.base/annota1.exp
	* gdb.base/annota3.exp
	* gdb.base/arrayidx.exp
	* gdb.base/assign.exp
	* gdb.base/attach.exp
	* gdb.base/auxv.exp
	* gdb.base/bang.exp
	* gdb.base/bfp-test.exp
	* gdb.base/bigcore.exp
	* gdb.base/bitfields2.exp
	* gdb.base/break-fun-addr.exp
	* gdb.base/break-probes.exp
	* gdb.base/call-rt-st.exp
	* gdb.base/callexit.exp
	* gdb.base/catch-fork-kill.exp
	* gdb.base/charset.exp
	* gdb.base/checkpoint.exp
	* gdb.base/comprdebug.exp
	* gdb.base/constvars.exp
	* gdb.base/coredump-filter.exp
	* gdb.base/cursal.exp
	* gdb.base/cvexpr.exp
	* gdb.base/detach.exp
	* gdb.base/display.exp
	* gdb.base/dmsym.exp
	* gdb.base/dprintf-pending.exp
	* gdb.base/dso2dso.exp
	* gdb.base/dtrace-probe.exp
	* gdb.base/dump.exp
	* gdb.base/enum_cond.exp
	* gdb.base/exe-lock.exp
	* gdb.base/exec-invalid-sysroot.exp
	* gdb.base/execl-update-breakpoints.exp
	* gdb.base/exprs.exp
	* gdb.base/fileio.exp
	* gdb.base/find.exp
	* gdb.base/finish.exp
	* gdb.base/fixsection.exp
	* gdb.base/foll-vfork.exp
	* gdb.base/frame-args.exp
	* gdb.base/gcore.exp
	* gdb.base/gdb1250.exp
	* gdb.base/global-var-nested-by-dso.exp
	* gdb.base/gnu-ifunc.exp
	* gdb.base/hashline1.exp
	* gdb.base/hashline2.exp
	* gdb.base/hashline3.exp
	* gdb.base/hbreak-in-shr-unsupported.exp
	* gdb.base/huge.exp
	* gdb.base/infcall-input.exp
	* gdb.base/info-fun.exp
	* gdb.base/info-shared.exp
	* gdb.base/jit-simple.exp
	* gdb.base/jit-so.exp
	* gdb.base/jit.exp
	* gdb.base/jump.exp
	* gdb.base/label.exp
	* gdb.base/lineinc.exp
	* gdb.base/logical.exp
	* gdb.base/longjmp.exp
	* gdb.base/macscp.exp
	* gdb.base/miscexprs.exp
	* gdb.base/new-ui-echo.exp
	* gdb.base/new-ui-pending-input.exp
	* gdb.base/new-ui.exp
	* gdb.base/nodebug.exp
	* gdb.base/nofield.exp
	* gdb.base/offsets.exp
	* gdb.base/overlays.exp
	* gdb.base/pending.exp
	* gdb.base/pointers.exp
	* gdb.base/pr11022.exp
	* gdb.base/printcmds.exp
	* gdb.base/prologue.exp
	* gdb.base/ptr-typedef.exp
	* gdb.base/realname-expand.exp
	* gdb.base/relativedebug.exp
	* gdb.base/relocate.exp
	* gdb.base/remote.exp
	* gdb.base/reread.exp
	* gdb.base/return2.exp
	* gdb.base/savedregs.exp
	* gdb.base/sep.exp
	* gdb.base/sepdebug.exp
	* gdb.base/sepsymtab.exp
	* gdb.base/set-inferior-tty.exp
	* gdb.base/setshow.exp
	* gdb.base/shlib-call.exp
	* gdb.base/sigaltstack.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/signals.exp
	* gdb.base/signull.exp
	* gdb.base/sigrepeat.exp
	* gdb.base/so-impl-ld.exp
	* gdb.base/solib-display.exp
	* gdb.base/solib-overlap.exp
	* gdb.base/solib-search.exp
	* gdb.base/solib-symbol.exp
	* gdb.base/structs.exp
	* gdb.base/structs2.exp
	* gdb.base/symtab-search-order.exp
	* gdb.base/twice.exp
	* gdb.base/unload.exp
	* gdb.base/varargs.exp
	* gdb.base/watchpoint-solib.exp
	* gdb.base/watchpoint.exp
	* gdb.base/whatis.exp
	* gdb.base/wrong_frame_bt_full.exp
	* gdb.btrace/dlopen.exp
	* gdb.cell/ea-standalone.exp
	* gdb.cell/ea-test.exp
	* gdb.cp/dispcxx.exp
	* gdb.cp/gdb2384.exp
	* gdb.cp/method2.exp
	* gdb.cp/nextoverthrow.exp
	* gdb.cp/pr10728.exp
	* gdb.disasm/am33.exp
	* gdb.disasm/h8300s.exp
	* gdb.disasm/mn10300.exp
	* gdb.disasm/sh3.exp
	* gdb.dwarf2/dw2-dir-file-name.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/library-module.exp
	* gdb.guile/scm-pretty-print.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-type.exp
	* gdb.guile/scm-value.exp
	* gdb.linespec/linespec.exp
	* gdb.mi/gdb701.exp
	* gdb.mi/gdb792.exp
	* gdb.mi/mi-breakpoint-changed.exp
	* gdb.mi/mi-dprintf-pending.exp
	* gdb.mi/mi-dprintf.exp
	* gdb.mi/mi-exit-code.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/new-ui-mi-sync.exp
	* gdb.mi/pr11022.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.opt/solib-intra-step.exp
	* gdb.python/py-events.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-prettyprint.exp
	* gdb.python/py-shared.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-template.exp
	* gdb.python/py-type.exp
	* gdb.python/py-value.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.server/solib-list.exp
	* gdb.stabs/weird.exp
	* gdb.threads/reconnect-signal.exp
	* gdb.threads/stepi-random-signal.exp
	* gdb.trace/actions.exp
	* gdb.trace/ax.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/deltrace.exp
	* gdb.trace/ftrace-lock.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/infotrace.exp
	* gdb.trace/mi-tracepoint-changed.exp
	* gdb.trace/packetlen.exp
	* gdb.trace/passcount.exp
	* gdb.trace/pending.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/report.exp
	* gdb.trace/stap-trace.exp
	* gdb.trace/tfind.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/trace-enable-disable.exp
	* gdb.trace/trace-mt.exp
	* gdb.trace/tracecmd.exp
	* gdb.trace/tspeed.exp
	* gdb.trace/tsv.exp
	* lib/perftest.exp


^ permalink raw reply	[flat|nested] 2223+ 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  6:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  5:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output
@ 2016-12-01 22:09 sergiodj+buildbot
  2016-12-07 21:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 22:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11

Fix test names starting with uppercase using gdb_test_no_output

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a single-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.base/charset.exp
	* gdb.base/eval.exp
	* gdb.base/multi-forks.exp
	* gdb.guile/scm-progspace.exp
	* gdb.opencl/datatypes.exp
	* gdb.python/py-block.exp
	* gdb.python/py-function.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-xmethods.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/break-reverse.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/consecutive-reverse.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/finish-reverse.exp
	* gdb.reverse/fstatat-reverse.exp
	* gdb.reverse/getresuid-reverse.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/i386-reverse.exp
	* gdb.reverse/i386-sse-reverse.exp
	* gdb.reverse/i387-stack-reverse.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/machinestate.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/pipe-reverse.exp
	* gdb.reverse/readv-reverse.exp
	* gdb.reverse/recvmsg-reverse.exp
	* gdb.reverse/rerun-prec.exp
	* gdb.reverse/s390-mvcle.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/sigall-reverse.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/step-reverse.exp
	* gdb.reverse/time-reverse.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/until-reverse.exp
	* gdb.reverse/waitpid-reverse.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.reverse/watch-reverse.exp


^ permalink raw reply	[flat|nested] 2223+ 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 17:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 14:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix bug with FP stur instructions.
@ 2016-12-01 17:48 sergiodj+buildbot
  2016-12-07 12:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88ddd4a1ef8818984f87f574b424ccdc7db19660 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 88ddd4a1ef8818984f87f574b424ccdc7db19660

Fix bug with FP stur instructions.

sim/aarch64
	* simulator.c (fsturs): Switch use of rn and st variables.
	(fsturd, fsturq): Likewise


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode.
@ 2016-12-01 14:12 sergiodj+buildbot
  2016-12-07 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cd1d8bcc24e948e86a636161e6d72f6316545a7 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 5cd1d8bcc24e948e86a636161e6d72f6316545a7

Fix accesses to the GOT for AARCH64 operating in 32-bit mode.

	PR ld/20868
bfd	* elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
	to the GOT when operating in 32-bit mode.

ld	* testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
	* testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
	test.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix handling of MIPS16 HI16 relocs.
@ 2016-12-01 13:18 sergiodj+buildbot
  2016-12-07  9:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 13:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40a0bfddf07620f5321927b3231502debb3b73bc ***

Author: Ma Jiang <ma.jiang@zte.com.cn>
Branch: master
Commit: 40a0bfddf07620f5321927b3231502debb3b73bc

Fix handling of MIPS16 HI16 relocs.

	PR ld/16720
	* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
	test for HI16 relocs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix a seg-fault disassembling a corrupt binary.
@ 2016-12-01 12:29 sergiodj+buildbot
  2016-12-07  6:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e82ab856bb4689330c29fb9f1c57a8555b26380e ***

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

Fix a seg-fault disassembling a corrupt binary.

	PR binutils/20892
	* aoutx.h (find_nearest_line): Handle the case where the function
	name is empty.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix abort in x86 disassembler.
@ 2016-12-01 12:11 sergiodj+buildbot
  2016-12-07  3:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a37a2806e3289294ed214aed3c8a45db46026b39 ***

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

Fix abort in x86 disassembler.

	PR binutils/20893
	* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
	opcode designator.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix seg-fault running addr2line on a corrupt binary.
@ 2016-12-01 10:32 sergiodj+buildbot
  2016-12-07  1:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50455f1ab2935f7321215dfa681745c9b1cb5b19 ***

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

Fix seg-fault running addr2line on a corrupt binary.

	PR binutils/20891
	* aoutx.h (find_nearest_line): Handle the case where the main file
	name and the directory name are both empty.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use std::string in ui_out_table
@ 2016-12-01  5:58 sergiodj+buildbot
  2016-12-06 21:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use std::vector for cli_ui_out_data::streams
@ 2016-12-01  5:08 sergiodj+buildbot
  2016-12-06 21:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  5:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9b118c3bb29052ee76c6bf32b99962cda5113ba ***

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

Use std::vector for cli_ui_out_data::streams

Use a standard vector instead of the home-made version.  I used a vector
of plain pointers, because the cli_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).

gdb/ChangeLog:

	* cli-out.h (cli_ui_out_data) <streams>: Change type to
	std::vector.
	* cli-out.c: Remove vec.h include.
	(cli_uiout_dtor): Update.
	(cli_field_fmt): Update.
	(cli_spaces): Update.
	(cli_text): Update.
	(cli_message): Update.
	(cli_flush): Update.
	(cli_redirect): Update.
	(out_field_fmt): Update.
	(field_separator): Update.
	(cli_out_data_ctor): Update.
	(cli_out_new): Update.
	(cli_out_set_stream): Update.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use std::vector for mi_ui_out_data::streams
@ 2016-12-01  4:21 sergiodj+buildbot
  2016-12-06 16:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use std::vector for ui_out::levels
@ 2016-12-01  3:47 sergiodj+buildbot
  2016-12-06 14:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56df3084847984aeddd8c24ca997242ec8c5a369 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 56df3084847984aeddd8c24ca997242ec8c5a369

Use std::vector for ui_out::levels

Convert the levels field of struct ui_out to be a vector of unique_ptr
to ui_out_level.  This way, the ownership of the ui_out_level objects by
the ui_out instance is clear.

gdb/ChangeLog:

	* ui-out.c (ui_out_level_p): Remove typedef.
	(DEF_VEC_P (ui_out_level_p)): Remove definition.
	(struct ui_out) <levels>: Change type to vector of unique_ptr of
	ui_out_level.
	(current_level): Update.
	(push_level): Update.
	(pop_level): Update, don't manually delete the ui_out_level
	instance.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use new/delete instead of malloc/free-based functions
@ 2016-12-01  3:08 sergiodj+buildbot
  2016-12-06 13:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5486f16481dffa1c1a0d1fd9e38b97e3678078ed ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5486f16481dffa1c1a0d1fd9e38b97e3678078ed

Use new/delete instead of malloc/free-based functions

The following patches introduce C++ vectors and strings as fields of the
various ui_out structures.  We therefore need to use new/delete so that
their contructor/destructor is called.  I find it simpler to change all
the allocations in a separate preliminary patch, rather than in each
individual patch.

gdb/ChangeLog:

	* cli-out.c (cli_uiout_dtor): Use delete instead of xfree.
	(cli_out_new): Use new instead of XNEW.
	* mi/mi-out.c (mi_out_data_dtor): Use delete instead of xfree.
	(mi_out_new): Use new instead of XNEW.
	* tui/tui-out.c (tui_out_new): Likewise.
	* ui-out.c (push_level): Likewise.
	(pop_level): Use delete instead of xfree.
	(clear_header_list): Use delete instead of xfree.
	(append_header_to_list): Use new instead of XNEW.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Makefiles: Disable suffix rules and implicit rules
@ 2016-11-30 21:56 sergiodj+buildbot
  2016-12-06  9:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 21:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad02e4fe877f3a874145dd045626501245e65624 ***

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

Makefiles: Disable suffix rules and implicit rules

Since we don't use suffix rules nor implicit rules in gdb, we can
disable them.  The advantage is a slightly faster make [1].

Here are some numbers about the speedup.  I ran this on my trusty old
Intel Q6600, so the time numbers are probably higher than what you'd get
on any recent hardware.  I ran "make" in the gdb/ directory of an
already built repository (configured with --enable-targets=all).  I
recorded the time of execution (average of 5).  I then ran "make -d" and
recorded the number of printed lines, which gives a rough idea of the
number of operations done.

I compared the following configurations, to see the impact of both the
empty .SUFFIXES target and the empty pattern rules, as well as running
"make -r", which can be considered the "ideal" case.

 A - baseline
 B - baseline + .SUFFIXES
 C - baseline + pattern rules
 D - baseline + .SUFFIXES + pattern rules
 E - baseline + make -r

 config | time (s) | "make -d"
 -----------------------------
    A   |   5.74   |  2396643
    B   |   1.19   |   298469
    C   |   2.81   |  1266573
    D   |   1.13   |   245489
    E   |   1.01   |   163914

We can see that the empty .SUFFIXES target has a bigger impact than the
empty pattern rules, but still it doesn't hurt to disable the implicit
pattern rules as well.

There are still some mentions of implicit rules I can't get rid of in
the "make -d" output.  For example, it's trying to build .c files from
.w files:

  Looking for an implicit rule for '/home/simark/src/binutils-gdb/gdb/infrun.c'.
  Trying pattern rule with stem 'infrun'.
  Trying implicit prerequisite '/home/simark/src/binutils-gdb/gdb/infrun.w'.

and trying to build Makefile.in from a bunch of extensions:

  Looking for an implicit rule for 'Makefile.in'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.o'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.c'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.cc'.
  ... many more ...

If somebody knows how to disable them, we can do it, but at this point
the returns are minimal, so it is not that important.

I verified that both in-tree and out-of-tree builds work.

[1] Switching from explicit rules to pattern rules for files in
    subdirectories actually made it slower, so this is kind of a way to
    redeem myself.  But it the end it's faster than it was previously,
    so it was all worth it. :)

gdb/ChangeLog:

	* disable-implicit-rules.mk: New file.
	* Makefile.in: Include disable-implicit-rules.mk.
	* data-directory/Makefile.in: Likewise.
	* gnulib/Makefile.in: Likewise.

gdb/doc/ChangeLog:

	* Makefile.in: Likewise.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.

gdb/testsuite/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Read memory as unsigned integer
@ 2016-11-30 12:39 sergiodj+buildbot
  2016-12-06  7:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Revert accidental elf.c change
@ 2016-11-30 12:13 sergiodj+buildbot
  2016-12-06  6:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 12:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9a38e0f5287ce7b4629f5f923191e38dd7355c0 ***

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

Revert accidental elf.c change

	* elf.c (get_program_header_size): Revert accidental change.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs
@ 2016-11-30  7:01 sergiodj+buildbot
  2016-12-06  2:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-30  7:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea3d7d1cab4221ab729327bb4d957352c79d05f0 ***

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

PR20886, looping in ppc64_elf_size_stubs

The PR20886 binary is large enough that there are two stub sections
servicing .text (which is 88M).  It so happens that between one
iteration of sizing and the next that one stub section grows while
the other shrinks.  Since one section is always growing, the loop
never terminates.

This patch changes the algorithm to not update previous size on
shrinking, once we go past a certain number of iterations.

	PR ld/20886
	* elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
	on any pass past STUB_SHRINK_ITER.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting.
@ 2016-11-29 12:01 sergiodj+buildbot
  2016-12-06  0:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-29 12:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abe7c33b45288b407e6d001aad713183d4bab5c6 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: abe7c33b45288b407e6d001aad713183d4bab5c6

[ARC] Add checking for LP_COUNT reg usage, improve error reporting.

gas/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (find_opcode_match): New function argument
	errmsg.
	(assemble_tokens): Collect and report the eventual error message
	found during opcode matching process.
	* testsuite/gas/arc/lpcount-err.s: New file.
	* testsuite/gas/arc/add_s-err.s: Update error message.

opcode/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (insert_ra_chk): New function.
	(insert_rb_chk): Likewise.
	(insert_rad): Update text error message.
	(insert_rcd): Likewise.
	(insert_rhv2): Likewise.
	(insert_r0): Likewise.
	(insert_r1): Likewise.
	(insert_r2): Likewise.
	(insert_r3): Likewise.
	(insert_sp): Likewise.
	(insert_gp): Likewise.
	(insert_pcl): Likewise.
	(insert_blink): Likewise.
	(insert_ilink1): Likewise.
	(insert_ilink2): Likewise.
	(insert_ras): Likewise.
	(insert_rbs): Likewise.
	(insert_rcs): Likewise.
	(insert_simm3s): Likewise.
	(insert_rrange): Likewise.
	(insert_fpel): Likewise.
	(insert_blinkel): Likewise.
	(insert_pcel): Likewise.
	(insert_nps_3bit_dst): Likewise.
	(insert_nps_3bit_dst_short): Likewise.
	(insert_nps_3bit_src2_short): Likewise.
	(insert_nps_bitop_size_2b): Likewise.
	(MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Likewise.
	(RA_CHK): Define.
	(RB): Adjust.
	(RB_CHK): Define.
	(RC): Adjust.
	* arc-dis.c (print_insn_arc): Add LOAD and STORE class.
	* arc-tbl.h (div, divu): All instructions are DIVREM class.
	Change first insn argument to check for LP_COUNT usage.
	(rem): Likewise.
	(ld, ldd): All instructions are LOAD class.  Change first insn
	argument to check for LP_COUNT usage.
	(st, std): All instructions are STORE class.
	(mac, mpy, dmac, mul, dmpy): All instructions are MPY class.
	Change first insn argument to check for LP_COUNT usage.
	(mov): All instructions are MOVE class.  Change first insn
	argument to check for LP_COUNT usage.

include/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_class_t): Add DIVREM, LOAD, MOVE, MPY, STORE
	instruction classes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Fix disassembler option.
@ 2016-11-29 11:20 sergiodj+buildbot
  2016-12-05 21:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix debug output in record_full_open_1
@ 2016-11-29  3:18 sergiodj+buildbot
  2016-12-05 17:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-29  3:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0640e3ba9a668c4c317520c48246e1cc8d75ca ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 0a0640e3ba9a668c4c317520c48246e1cc8d75ca

Fix debug output in record_full_open_1

The printed function name should be record_full_open_1, not
record_full_open.

gdb/ChangeLog:

	* record-full.c (record_full_open_1): Fix debug output.


^ permalink raw reply	[flat|nested] 2223+ 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 12:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 15:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Adjust Value.location for lval_register
@ 2016-11-28 19:26 sergiodj+buildbot
  2016-12-05  9:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 19:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7dc54575d91a2b41f6c3e838eec44a7017a24436 ***

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

Adjust Value.location for lval_register

value.regnum and value.next_frame_id are only used for lval_register,
so this patch moves them to union value.location.  As a result, when
we copy value, only copy location, don't need to copy regnum and
next_frame_id.

This patch also changes regnum's type to int as there is no space
constraint, so update deprecated_value_regnum_hack return type too.

gdb:

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

	* valops.c (value_slice): Don't set frame id of slice.
	* value.c (struct value) <regnum, next_frame_id>: Move them to...
	(struct value) <location>: ... here.  Update comments.
	(allocate_value_lazy): Don't set frame id and regnum.
	(deprecated_value_next_frame_id_hack): Adjust.
	(deprecated_value_regnum_hack): Adjust.
	(value_copy): Don't copy frame id and regnu.
	(value_primitive_field): Likewise.
	(value_from_component): Likewise.
	(deprecated_value_regnum_hack): Return int *.
	* value.h (deprecated_value_regnum_hack): Update declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Move computed value's frame id to piece_closure
@ 2016-11-28 17:50 sergiodj+buildbot
  2016-12-05  6:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Properly hide hidden versioned symbol in executable
@ 2016-11-28 16:35 sergiodj+buildbot
  2016-12-05  3:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove verbosity from ui_out_message and friends
@ 2016-11-27  8:30 sergiodj+buildbot
  2016-12-04 17:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  8:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e

Remove verbosity from ui_out_message and friends

That concept is never actually used, so it's just a burden.  Removing it
facilitates the refactoring in upcoming patches.

gdb/ChangeLog:

	* mi/mi-out.c (mi_message): Remove verbosity argument.
	* ada-tasks.c (print_ada_task_info, info_task, task_command):
	Update call.
	* auto-load.c (auto_load_info_scripts): Likewise.
	* breakpoint.c (breakpoint_1, watchpoints_info, tracepoints_info):
	Likewise.
	* cli-out.c (cli_message): Remove verbosity argument.
	* inferior.c (print_inferior): Update call.
	* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
	* probe.c (info_probes_for_ops): Likewise.
	* skip.c (skip_info): Likewise.
	* solib.c (info_sharedlibrary_command): Likewise.
	* symfile.c (load_progress): Likewise.
	* thread.c (print_thread_info_1): Likewise.
	* ui-out.c (uo_message, ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	* ui-out.h (ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	(message_ftype): Remove verbosity argument.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Constify wrap_here/wrap_hint code path
@ 2016-11-27  8:16 sergiodj+buildbot
  2016-12-04 15:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix return value of uo_redirect
@ 2016-11-27  5:56 sergiodj+buildbot
  2016-12-04 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove ui_out_destroy
@ 2016-11-27  5:37 sergiodj+buildbot
  2016-12-04 10:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  5:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4975d6a9cd8aaf3fb14135b36850964def131d7 ***

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

Remove ui_out_destroy

It's not actually used, and removing it simplifies the upcoming patches
a bit.  After the whole series, destroying an ui_out object will be
simply "delete uiout", which will call the default destructor.

gdb/ChangeLog:

	* ui-out.c (ui_out_destroy, uo_data_destroy): Remove.
	* ui-out.h (ui_out_destroy): Remove.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Rename ui_out_data to mi_ui_out_data
@ 2016-11-27  4:37 sergiodj+buildbot
  2016-12-04  6:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  4:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0abe66b59fda0689c32fe9d96b3690b4d49a3027 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 0abe66b59fda0689c32fe9d96b3690b4d49a3027

Rename ui_out_data to mi_ui_out_data

Just a little cleanup, so the name is more consistent with the naming of
the equivalent structures of cli and tui.  It goes away in subsequent
patches anyway, but it might help follow the changes in those patches...

gdb/ChangeLog:

	* mi/mi-out.c (ui_out_data): Rename to ...
	(mi_ui_out_data): ... this.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove unused functions and declarations
@ 2016-11-27  4:20 sergiodj+buildbot
  2016-12-04  4:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove stale comments
@ 2016-11-26 15:59 sergiodj+buildbot
  2016-12-04  1:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove check requiring void argument to functions with no parameters.
@ 2016-11-25 21:27 sergiodj+buildbot
  2016-12-04  0:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8227ffad95fcd835dd5fcb3e4915159e4552b397 ***

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

Remove check requiring void argument to functions with no parameters.

C++ treats an empty parameter list as no parameters unlike C.

gdb/ChangeLog:

	* contrib/ari/gdb_ari.sh (no parameter function): Remove check.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix typo in Makefile
@ 2016-11-25 17:47 sergiodj+buildbot
  2016-12-03 22:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50cc587fe49621a87283f06655fe922d45095076 ***

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

Fix typo in Makefile

Fix a typo I made in my previous Makefile cleanup series.

Thanks to Patrick Monnerat for reporting.

gdb/ChangeLog:

	* Makefile.in: Fix typo.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-11-25 16:29 sergiodj+buildbot
  2016-12-03 15:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix typos in comment
@ 2016-11-25 15:36 sergiodj+buildbot
  2016-12-03 19:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 12:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add noexcept to custom non-throwing new operators.
@ 2016-11-24 21:00 sergiodj+buildbot
  2016-12-03  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbe910e6e1140cb484a74911f3cea854cf9e7e2a ***

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

Add noexcept to custom non-throwing new operators.

Both libc++ and libstdc++ declare non-throwing new operators as
noexcept and overloads must also be noexcept.  This fixes a
-Wmissing-exception-spec warning with clang.

gdb/ChangeLog:

	* common/new-op.c (operator new): Mark 'noexcept'.
	(operator new[]): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Optimize byte-aligned copies in copy_bitwise()
@ 2016-11-24 19:17 sergiodj+buildbot
  2016-12-03  7:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add unit test for copy_bitwise
@ 2016-11-24 19:13 sergiodj+buildbot
  2016-12-03  5:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 19:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad06383f106ccfa299a6c7ac9720178d2d3d583f ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: ad06383f106ccfa299a6c7ac9720178d2d3d583f

Add unit test for copy_bitwise

This adds a unit test for the copy_bitwise function in dwarf2loc.c.
With the old (broken) version of copy_bitwise this test would generate
the following failure message:

(gdb) maintenance selftest
Self test failed: copy_bitwise 11000000 != 10000000 (7+2 -> 0)

gdb/ChangeLog:
2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
	    Pedro Alves  <palves@redhat.com>

	* dwarf2loc.c (bits_to_str, check_copy_bitwise)
	(copy_bitwise_tests): New functions.
	(_initialize_dwarf2loc): Register the new function
	copy_bitwise_tests as a unit test.
	* selftest.c (run_self_tests): Improve the failure message's
	wording and formatting.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix copy_bitwise()
@ 2016-11-24 18:47 sergiodj+buildbot
  2016-12-03  3:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af

Fix copy_bitwise()

When the user writes or reads a variable whose location is described
with DWARF pieces (DW_OP_piece or DW_OP_bit_piece), GDB's helper
function copy_bitwise is invoked for each piece.  The implementation of
this function has a bug that may result in a corrupted copy, depending
on alignment and bit size.  (Full-byte copies are not affected.)

This rewrites copy_bitwise, replacing its algorithm by a fixed version,
and adding an appropriate test case.  Without the fix the new test case
fails, e.g.:

  print def_t
  $2 = {a = 0, b = 4177919}
  (gdb) FAIL: gdb.dwarf2/nonvar-access.exp: print def_t

Written in binary, the wrong result above looks like this:

  01111111011111111111111

Which means that two zero bits have sneaked into the copy of the
original all-one bit pattern.  The test uses this simple all-one value
in order to avoid another GDB bug that causes the DWARF piece of a
DW_OP_stack_value to be taken from the wrong end on big-endian
architectures.

gdb/ChangeLog:

	* dwarf2loc.c (extract_bits_primitive): Remove.
	(extract_bits): Remove.
	(copy_bitwise): Rewrite.  Fixes a possible corruption that may
	occur for non-byte-aligned copies.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/nonvar-access.exp: Add a test for accessing
	non-byte-aligned bit fields.


^ permalink raw reply	[flat|nested] 2223+ 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  0:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARM] Bind defined symbol locally in PIE
@ 2016-11-24 14:48 sergiodj+buildbot
  2016-12-02 20:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
@ 2016-11-24  3:59 sergiodj+buildbot
  2016-12-02 18:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb: Use C++11 std::chrono
@ 2016-11-23 17:24 sergiodj+buildbot
  2016-12-02 15:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Minor formatting fixups in Makefiles
@ 2016-11-23 17:10 sergiodj+buildbot
  2016-12-02 13:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 17:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8629c02c0db6ff3f7444397567a57dd36a3eed41 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 8629c02c0db6ff3f7444397567a57dd36a3eed41

Minor formatting fixups in Makefiles

Mostly some whitespace changes to make things a bit more consistent.

gdb/ChangeLog:

	* Makefile.in: Fix whitespace formatting.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Fix whitespace formatting.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Normalize names of some source files
@ 2016-11-23 16:36 sergiodj+buildbot
  2016-12-02 10:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3

Normalize names of some source files

Most tdep/nat files are named:

  <cpu>-<os>-tdep.c
  <cpu>-<os>-nat.c

A few files do not respect this scheme.  This patch renames them so that
they are consistent with the rest of the files.  It builds fine with
--enable-targets=all, but that doesn't test the nat files.  I can only
hope that my grep skill is good enough.

gdb/ChangeLog:

	* Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS,
	HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
	* alphabsd-nat.c: Rename to ...
	* alpha-bsd-nat.c: ... this, adjust include.
	* alphabsd-tdep.c: Rename to ...
	* alpha-bsd-tdep.c: ... this, adjust include.
	* alphabsd-tdep.h: Rename to ...
	* alpha-bsd-tdep.h: ... this, adjust include barrier and comment.
	* alphafbsd-tdep.c: Rename to ...
	* alpha-fbsd-tdep.c: ... this.
	* alphanbsd-tdep.c: Rename to ...
	* alpha-nbsd-tdep.c: ... this, adjust include.
	* alphaobsd-tdep.c: Rename to ...
	* alpha-obsd-tdep.c: ... this, adjust include.
	* amd64bsd-nat.c: Rename to ...
	* amd64-bsd-nat.c: ... this, adjust include.
	* amd64fbsd-nat.c: Rename to ...
	* amd64-fbsd-nat.c: ... this, adjust include.
	* amd64fbsd-tdep.c: Rename to ...
	* amd64-fbsd-tdep.c: ... this, adjust include.
	* amd64nbsd-nat.c: Rename to ...
	* amd64-nbsd-nat.c: ... this.
	* amd64nbsd-tdep.c: Rename to ...
	* amd64-nbsd-tdep.c: ... this.
	* amd64obsd-nat.c: Rename to ...
	* amd64-obsd-nat.c: ... this.
	* amd64obsd-tdep.c: Rename to ...
	* amd64-obsd-tdep.c: ... this.
	* amd64-tdep.h: Update comments.
	* armbsd-tdep.c: Rename to ...
	* arm-bsd-tdep.c: ... this.
	* armnbsd-nat.c: Rename to ...
	* arm-nbsd-nat.c: ... this.
	* armnbsd-tdep.c: Rename to ...
	* arm-nbsd-tdep.c: ... this.
	* armobsd-tdep.c: Rename to ...
	* arm-obsd-tdep.c: ... this.
	* arm-tdep.h: Update comments.
	* hppabsd-tdep.c: Rename to ...
	* hppa-bsd-tdep.c: ... this, adjust include.
	* hppabsd-tdep.h: Rename to ...
	* hppa-bsd-tdep.h: ... this, adjust include barrier and comment.
	* hppanbsd-nat.c: Rename to ...
	* hppa-nbsd-nat.c: ... this.
	* hppanbsd-tdep.c: Rename to ...
	* hppa-nbsd-tdep.c: ... this, adjust include.
	* hppaobsd-nat.c: Rename to ...
	* hppa-obsd-nat.c: ... this.
	* hppaobsd-tdep.c: Rename to ...
	* hppa-obsd-tdep.c: ... this, adjust include.
	* i386bsd-nat.c: Rename to ...
	* i386-bsd-nat.c: ... this, adjust include.
	* i386bsd-nat.h: Rename to ...
	* i386-bsd-nat.h: ... this, adjust include barrier and comment.
	* i386bsd-tdep.c: Rename to ...
	* i386-bsd-tdep.c: ... this.
	* i386fbsd-nat.c: Rename to ...
	* i386-fbsd-nat.c: ... this, adjust include.
	* i386fbsd-tdep.c: Rename to ...
	* i386-fbsd-tdep.c: ... this, adjust include.
	* i386fbsd-tdep.h: Rename to ...
	* i386-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* i386gnu-nat.c: Rename to ...
	* i386-gnu-nat.c: ... this.
	* i386gnu-tdep.c: Rename to ...
	* i386-gnu-tdep.c: ... this.
	* i386nbsd-nat.c: Rename to ...
	* i386-nbsd-nat.c: ... this, adjust include.
	* i386nbsd-tdep.c: Rename to ...
	* i386-nbsd-tdep.c: ... this.
	* i386obsd-nat.c: Rename to ...
	* i386-obsd-nat.c: ... this, adjust include.
	* i386obsd-tdep.c: Rename to ...
	* i386-obsd-tdep.c: ... this.
	* i386v4-nat.c: Rename to ...
	* i386-v4-nat.c: ... this.
	* i386-tdep.h: Update comments.
	* m68k-tdep.h: Update comments.
	* m68kbsd-nat.c: Rename to ...
	* m68k-bsd-nat.c: ... this.
	* m68kbsd-tdep.c: Rename to ...
	* m68k-bsd-tdep.c: ... this.
	* m68klinux-nat.c: Rename to ...
	* m68k-linux-nat.c: ... this.
	* m68klinux-tdep.c: Rename to ...
	* m68k-linux-tdep.c: ... this.
	* m88kbsd-nat.c: Rename to ...
	* m88k-bsd-nat.c: ... this.
	* mipsnbsd-nat.c: Rename to ...
	* mips-nbsd-nat.c: ... this, adjust include.
	* mipsnbsd-tdep.c: Rename to ...
	* mips-nbsd-tdep.c: ... this, adjust include.
	* mipsnbsd-tdep.h: Rename to ...
	* mips-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* mips64obsd-nat.c: Rename to ...
	* mips64-obsd-nat.c: ... this.
	* mips64obsd-tdep.c: Rename to ...
	* mips64-obsd-tdep.c: ... this.
	* ppcfbsd-nat.c: Rename to ...
	* ppc-fbsd-nat.c: ... this, adjust include.
	* ppcfbsd-tdep.c: Rename to ...
	* ppc-fbsd-tdep.c: ... this, adjust include.
	* ppcfbsd-tdep.h: Rename to ...
	* ppc-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcnbsd-nat.c: Rename to ...
	* ppc-nbsd-nat.c: ... this, adjust include.
	* ppcnbsd-tdep.c: Rename to ...
	* ppc-nbsd-tdep.c: ... this, adjust include.
	* ppcnbsd-tdep.h: Rename to ...
	* ppc-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcobsd-nat.c: Rename to ...
	* ppc-obsd-nat.c: ... this, adjust include.
	* ppcobsd-tdep.c: Rename to ...
	* ppc-obsd-tdep.c: ... this, adjust include.
	* ppcobsd-tdep.h: Rename to ...
	* ppc-obsd-tdep.h: ... this, adjust include barrier and comment.
	* shnbsd-nat.c: Rename to ...
	* sh-nbsd-nat.c: ... this.
	* shnbsd-tdep.c: Rename to ...
	* sh-nbsd-tdep.c: ... this.
	* sparcnbsd-nat.c: Rename to ...
	* sparc-nbsd-nat.c: ... this.
	* sparcnbsd-tdep.c: Rename to ...
	* sparc-nbsd-tdep.c: ... this.
	* sparcobsd-tdep.c: Rename to ...
	* sparc-obsd-tdep.c: ... this.
	* sparc64fbsd-nat.c: Rename to ...
	* sparc64-fbsd-nat.c: ... this.
	* sparc64fbsd-tdep.c: Rename to ...
	* sparc64-fbsd-tdep.c: ... this.
	* sparc64nbsd-nat.c: Rename to ...
	* sparc64-nbsd-nat.c: ... this.
	* sparc64nbsd-tdep.c: Rename to ...
	* sparc64-nbsd-tdep.c: ... this.
	* sparc64obsd-nat.c: Rename to ...
	* sparc64-obsd-nat.c: ... this.
	* sparc64obsd-tdep.c: Rename to ...
	* sparc64-obsd-tdep.c: ... this.
	* sparc64-tdep.h: Update comments.
	* vaxbsd-nat.c: Rename to ...
	* vax-bsd-nat.c: ... this.
	* vaxnbsd-tdep.c: Rename to ...
	* vax-nbsd-tdep.c: ... this.
	* vaxobsd-tdep.c: Rename to ...
	* vax-obsd-tdep.c: ... this.
	* x86bsd-nat.h: Rename to ...
	* x86-bsd-nat.h: ... this, adjust include barrier and comment.
	* x86bsd-nat.c: Rename to ...
	* x86-bsd-nat.c: ... this, adjust include.
	* configure.tgt: Update renamed files.
	* config/alpha/fbsd.mh: Update renamed files.
	* config/alpha/nbsd.mh: Update renamed files.
	* config/arm/nbsdelf.mh: Update renamed files.
	* config/djgpp/fnchange.lst: Update renamed files.
	* config/i386/fbsd.mh: Update renamed files.
	* config/i386/fbsd64.mh: Update renamed files.
	* config/i386/i386gnu.mh: Update renamed files.
	* config/i386/i386sol2.mh: Update renamed files.
	* config/i386/nbsd64.mh: Update renamed files.
	* config/i386/nbsdelf.mh: Update renamed files.
	* config/i386/obsd.mh: Update renamed files.
	* config/i386/obsd64.mh: Update renamed files.
	* config/i386/sol2-64.mh: Update renamed files.
	* config/m68k/linux.mh: Update renamed files.
	* config/m68k/nbsdelf.mh: Update renamed files.
	* config/m68k/obsd.mh: Update renamed files.
	* config/m88k/obsd.mh: Update renamed files.
	* config/mips/nbsd.mh: Update renamed files.
	* config/mips/obsd64.mh: Update renamed files.
	* config/pa/nbsd.mh: Update renamed files.
	* config/pa/obsd.mh: Update renamed files.
	* config/powerpc/fbsd.mh: Update renamed files.
	* config/powerpc/nbsd.mh: Update renamed files.
	* config/powerpc/obsd.mh: Update renamed files.
	* config/sh/nbsd.mh: Update renamed files.
	* config/sparc/fbsd.mh: Update renamed files.
	* config/sparc/nbsd64.mh: Update renamed files.
	* config/sparc/nbsdelf.mh: Update renamed files.
	* config/sparc/obsd64.mh: Update renamed files.
	* config/vax/nbsdelf.mh: Update renamed files.
	* config/vax/obsd.mh: Update renamed files.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Makefiles: Flatten and sort file lists
@ 2016-11-23 15:19 sergiodj+buildbot
  2016-12-02  7:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries.
@ 2016-11-23 11:55 sergiodj+buildbot
  2016-12-02  5:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a9ccd70f9a75dc6b48d340059f28ef3550c107b ***

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

Fix the linker so that it will not silently generate ELF binaries with invalid program headers.  Fix readelf to report such invalid binaries.

	PR ld/20815
bfd	* elf.c (elf_modify_segment_map): Allow empty LOAD segments if
	they contain the program headers.
	(_bfd_elf_map_sections_to_segments): If the linker created the
	PHDR segment then always attempt to include it in a LOAD segment.
	(assign_file_positions_for_non_load_sections): Allow LOAD segments
	to overlap PHDR segments.
	(phdr_sorter): New function.  Sorts program headers.
	(assign_file_positions_except_relocs): Sort the program headers
	before writing them out.  Issue an error if the PHDR segment is
	not covered by a LOAD segment, unless the backend allows it.
	* elf-bfd.h (struct elf_backend_data): Add
	elf_backend_allow_non_load_phdr.
	* elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
	default definition that returns FALSE.
	(elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
	field.
	* elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
	Returns TRUE.
	(elf_backend_allow_non_load_phdr): Define.
	* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
	place the interpreter string into the .interp section if the
	nointerp flag is set in the link info structure.
	* elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
	* elf32-score7.c (score_elf_final_link_relocate): Allow for the
	_gp symbol not being part of the output.

binutils* readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
	segments for validity.

ld	* ld.texinfo: Note that PT_TLS can be used as a segment type.
	* testsuite/ld-discard/discard.ld: Add space for program headers.
	* testsuite/ld-elf/flags1.ld: Likewise.
	* testsuite/ld-elf/maxpage3.t: Likewise.
	* testsuite/ld-elf/noload-1.t: Likewise.
	* testsuite/ld-elf/orphan.ld: Likewise.
	* testsuite/ld-elf/overlay.t: Likewise.
	* testsuite/ld-elf/pr14052.t: Likewise.
	* testsuite/ld-elf/pr19539.t: Likewise.
	* testsuite/ld-elf/provide-hidden-1.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-s.ld: Likewise.
	* testsuite/ld-elf/weak-dyn-1.ld: Likewise.
	* testsuite/ld-i386/pr19539.t: Likewise.
	* testsuite/ld-scripts/defined.t: Likewise.
	* testsuite/ld-scripts/defined6.t: Likewise.
	* testsuite/ld-scripts/dynamic-sections.t: Likewise.
	* testsuite/ld-scripts/empty-aligned.t: Likewise.
	* testsuite/ld-scripts/provide-2.t: Likewise.
	* testsuite/ld-scripts/provide-4.t: Likewise.
	* testsuite/ld-vax-elf/plt-local.ld: Likewise.
	* testsuite/ld-x86-64/pr19539.t: Likewise.
	* testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
	dynamic linker.
	* testsuite/ld-elf/ehdr_start-weak.d: Likewise.
	* testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
	* testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
	* testsuite/ld-elf/noload-2.d: Likewise.
	* testsuite/ld-powerpc/vxworks2.sd: Likewise.
	* testsuite/ld-scripts/phdrs3a.d: Likewise.
	* testsuite/ld-scripts/size-2.d: Likewise.
	* testsuite/ld-elf/group.ld: Add program headers.
	* testsuite/ld-elf/overlay.d: Skip for SPU.
	* testsuite/ld-elf/flags1.d: Skip for RX.
	* testsuite/ld-elf/pr19162.d: Skip for HPPA64.
	* testsuite/ld-elf/pr19539.d: Skip for ALPHA.
	* testsuite/ld-scripts/empty-orphan.t: Update program headers.
	* testsuite/ld-scripts/size-2.t: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] elf_backend_dtrel_excludes_plt
@ 2016-11-23  9:06 sergiodj+buildbot
  2016-12-02  3:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64f52338e924cce3a205527136e145da660a4686 ***

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

elf_backend_dtrel_excludes_plt

Now that all targets creating .rel.plt/.rela.plt use the ELF hash
table shortcut srelplt, the generic ELF code can set up DT_RELSZ/
DT_RELASZ and DT_REL/DT_RELA for targets that don't want PLT relocs
included in those tags.

	* elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
	* elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
	(elfNN_bed): Init new field.
	* elflink.c (bfd_elf_final_link): Add and use htab variable.  Handle
	dtrel_excludes_plt.
	* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
	subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
	and DT_REL code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
	DT_RELASZ and DT_RELA code.  Use ELF htab shortcuts for other
	dynamic sections.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	* elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Delete duplicate target short-cuts to dynamic sections
@ 2016-11-23  8:40 sergiodj+buildbot
  2016-12-02  0:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  8:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce558b89b15a18fd67fdc02a4d410a6d92d2ba63 ***

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

Delete duplicate target short-cuts to dynamic sections

We'd like to have the elf_link_hash_table srelplt field rather than
some private target field used to save short-cuts to a PLT relocation
section.  This save a little space but mainly is so that the generic
ELF code can access the field.  Ditto for other dynamic sections.

	* elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
	to dynamic sections.
	(mn10300_elf_final_link_relocate): Likewise.
	(_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_size_dynamic_sections): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
	* elf32-bfin.c (bfin_check_relocs): Likewise.
	(bfin_relocate_section): Likewise.
	(bfin_gc_sweep_hook): Likewise.
	(struct bfinfdpic_elf_link_hash_table): Delete sgot, sgotrel, splt
	and spltrel.
	(bfinfdpic_got_section, bfinfdpic_gotrel_section,
	bfinfdpic_plt_section, bfinfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_bfin_create_got_section): Use elf htab shortcuts to dyn sections.
	Delete dead code.
	(bfin_finish_dynamic_symbol): Use elf htab shortcuts to dyn sections.
	(bfin_size_dynamic_sections): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_create_got_section): Likewise.
	(cr16_elf_check_relocs): Likewise.
	(cr16_elf_final_link_relocate): Likewise.
	(_bfd_cr16_elf_create_dynamic_sections): Likewise.
	(_bfd_cr16_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_size_dynamic_sections): Likewise.
	(_bfd_cr16_elf_finish_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_finish_dynamic_sections): Likewise.
	* elf32-cris.c (cris_elf_relocate_section): Likewise.
	(elf_cris_finish_dynamic_symbol): Likewise.
	(elf_cris_finish_dynamic_sections): Likewise.
	(cris_elf_gc_sweep_hook): Likewise.
	(elf_cris_adjust_gotplt_to_got): Likewise.
	(elf_cris_adjust_dynamic_symbol): Likewise.
	(cris_elf_check_relocs): Likewise.  Delete dead code.
	(elf_cris_size_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(elf_cris_discard_excess_program_dynamics): Likewise.
	* elf32-frv.c (struct frvfdpic_elf_link_hash_table): Delete sgot,
	sgotrel, splt and spltrel.
	(frvfdpic_got_section, frvfdpic_gotrel_section,
	frvfdpic_plt_section, frvfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_frv_create_got_section): Likewise.
	* elf32-hppa.c (struct elf32_hppa_link_hash_table): Delete sgot,
	srelgot, splt and srelplt.
	(hppa_build_one_stub): Use elf htab shortcuts to dynamic sections.
	(elf32_hppa_create_dynamic_sections): Likewise.
	(elf32_hppa_check_relocs): Likewise.
	(allocate_plt_static): Likewise.
	(allocate_dynrelocs): Likewise.
	(elf32_hppa_size_dynamic_sections): Likewise.
	(elf32_hppa_relocate_section): Likewise.
	(elf32_hppa_finish_dynamic_symbol): Likewise.
	(elf32_hppa_finish_dynamic_sections): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
	* elf32-lm32.c (struct elf_lm32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(lm32fdpic_got_section, lm32fdpic_gotrel_section): Define using elf
	shortcut sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(lm32_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(lm32_elf_check_relocs): Likewise.
	(lm32_elf_finish_dynamic_sections): Likewise.
	(lm32_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(lm32_elf_size_dynamic_sections): Likewise.
	(lm32_elf_create_dynamic_sections): Likewise.
	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
	(m32c_elf_check_relocs): Likewise.
	(m32c_elf_finish_dynamic_sections): Likewise.
	(m32c_elf_always_size_sections): Likewise.
	* elf32-m32r.c (struct elf_m32r_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(m32r_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(m32r_elf_size_dynamic_sections): Likewise.
	(m32r_elf_relocate_section): Likewise.
	(m32r_elf_finish_dynamic_symbol): Likewise.
	(m32r_elf_finish_dynamic_sections): Likewise.
	(m32r_elf_check_relocs): Likewise.
	* elf32-m68k.c (elf_m68k_partition_multi_got): Likewise.
	(elf_m68k_check_relocs): Likewise.
	(elf_m68k_adjust_dynamic_symbol): Likewise.
	(elf_m68k_size_dynamic_sections): Likewise.
	(elf_m68k_relocate_section): Likewise.
	(elf_m68k_finish_dynamic_symbol): Likewise.
	(elf_m68k_finish_dynamic_sections): Likewise.
	* elf32-metag.c (struct elf_metag_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_metag_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(elf_metag_create_dynamic_sections): Likewise.  Allocate got header
	here in .got.
	(elf_metag_check_relocs): Use elf htab shortcuts to dynamic sections.
	(allocate_dynrelocs): Likewise.
	(elf_metag_size_dynamic_sections): Likewise.
	(elf_metag_finish_dynamic_symbol): Likewise.
	(elf_metag_finish_dynamic_sections): Likewise.
	(elf_metag_size_stubs): Likewise.
	(elf_backend_got_header_size): Don't define.
	(elf_backend_want_got_plt): Define.
	* elf32-microblaze.c (struct elf32_mb_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelpl.
	(microblaze_elf_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(microblaze_elf_check_relocs): Use elf htab shortcuts to dyn sections.
	(microblaze_elf_create_dynamic_sections): Likewise.
	(allocate_dynrelocs): Likewise.
	(microblaze_elf_size_dynamic_sections): Likewise.
	(microblaze_elf_finish_dynamic_symbol): Likewise.
	(microblaze_elf_finish_dynamic_sections): Likewise.
	* elf32-nds32.c (nds32_elf_link_hash_table_create): Don't NULL
	already zero fields.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(nds32_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(nds32_elf_size_dynamic_sections): Likewise.
	(nds32_elf_relocate_section): Likewise.
	(nds32_elf_finish_dynamic_symbol): Likewise.
	(nds32_elf_finish_dynamic_sections): Likewise.
	(nds32_elf_check_relocs): Likewise.
	(calculate_plt_memory_address): Likewise.
	(calculate_got_memory_address): Likewise.
	* elf32-nds32.h (struct elf_nds32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
	(or1k_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(or1k_elf_check_relocs): Use elf htab shortcuts to dynamic sections.
	(or1k_elf_finish_dynamic_sections): Likewise.
	(or1k_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(or1k_elf_size_dynamic_sections): Likewise.
	(or1k_elf_create_dynamic_sections): Likewise.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Delete got, relgot,
	plt, relplt, iplt, reliplt and sgotplt.
	(ppc_elf_create_got): Use elf htab shortcuts to dynamic sections.
	(ppc_elf_create_glink): Likewise.
	(ppc_elf_create_dynamic_sections): Likewise.
	(ppc_elf_check_relocs): Likewise.
	(ppc_elf_select_plt_layout): Likewise.
	(ppc_elf_tls_setup): Likewise.
	(allocate_got): Likewise.
	(allocate_dynrelocs): Likewise.
	(ppc_elf_size_dynamic_sections): Likewise.
	(ppc_elf_relax_section): Likewise.
	(ppc_elf_relocate_section): Likewise.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_reloc_type_class): Likewise.
	(ppc_elf_finish_dynamic_sections): Likewise.
	* elf32-rl78.c (rl78_elf_relocate_section): Likewise.
	(rl78_elf_check_relocs): Likewise.
	(rl78_elf_finish_dynamic_sections): Likewise.
	(rl78_elf_always_size_sections): Likewise.
	* elf32-s390.c 	(create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf32-score.c (score_elf_create_got_section): Set elf shortcuts.
	(s3_bfd_score_elf_finish_dynamic_sections): Use elf shortcuts.
	* elf32-score7.c (score_elf_create_got_section): As above.
	(s7_bfd_score_elf_finish_dynamic_sections): As above.
	* elf32-sh.c (struct elf_sh_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Don't set them.
	(sh_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(sh_elf_size_dynamic_sections): Likewise.
	(sh_elf_add_rofixup): Likewise.
	(sh_elf_relocate_section): Likewise.
	(sh_elf_check_relocs): Likewise.
	(sh_elf_finish_dynamic_symbol): Likewise.
	(sh_elf_finish_dynamic_sections): Likewise.
	* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
	* elf32-tilepro.c (tilepro_elf_create_got_section): Likewise.
	* elf32-vax.c (elf_vax_check_relocs): Likewise.
	(elf_vax_adjust_dynamic_symbol): Likewise.
	(elf_vax_always_size_sections): Likewise.
	(elf_vax_instantiate_got_entries): Likewise.
	(elf_vax_relocate_section): Likewise.
	(elf_vax_finish_dynamic_symbol): Likewise.
	(elf_vax_finish_dynamic_sections): Likewise.
	* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
	(xstormy16_elf_always_size_sections): Likewise.
	(xstormy16_elf_relocate_section): Likewise.
	(xstormy16_elf_finish_dynamic_sections): Likewise.
	* elf32-xtensa.c (struct elf_xtensa_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_xtensa_create_dynamic_sections): Use elf htab shortcuts to
	dynamic sections.
	(elf_xtensa_allocate_dynrelocs): Likewise.
	(elf_xtensa_allocate_local_got_size): Likewise.
	(elf_xtensa_size_dynamic_sections): Likewise.
	(elf_xtensa_relocate_section): Likewise.
	(elf_xtensa_finish_dynamic_sections): Likewise.
	(shrink_dynamic_reloc_sections): Likewise.
	(elf_xtensa_get_plt_section): Likewise.
	(elf_xtensa_get_gotplt_section): Likewise.
	(xtensa_callback_required_dependence): Likewise.
	* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Set elf htab
	shortcuts to dynamic sections.
	(elf64_alpha_adjust_dynamic_symbol): Use elf htab shortcuts to
	dynamic sections.
	(elf64_alpha_size_plt_section): Likewise.
	(elf64_alpha_size_rela_got_1): Likewise.
	(elf64_alpha_size_rela_got_section): Likewise.
	(elf64_alpha_relocate_section): Likewise.
	(elf64_alpha_finish_dynamic_symbol): Likewise.
	(elf64_alpha_finish_dynamic_sections): Likewise.
	* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
	* elf64-s390.c (create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf64-sh64.c (sh_elf64_relocate_section): Use elf htab shortcuts to
	dynamic sections.
	(sh_elf64_check_relocs): Likewise.
	(sh64_elf64_adjust_dynamic_symbol): Likewise.
	(sh64_elf64_size_dynamic_sections): Likewise.
	(sh64_elf64_finish_dynamic_symbol): Likewise.
	(sh64_elf64_finish_dynamic_sections): Likewise.
	* elflink.c (_bfd_elf_create_got_section): Likewise.
	* elfnn-aarch64.c (aarch64_elf_create_got_section): Likewise.
	* elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
	(elfNN_ia64_finish_dynamic_sections): Likewise.
	* elfnn-riscv.c (riscv_elf_create_got_section): Likewise.
	* elfxx-mips.c (struct mips_elf_link_hash_table): Delete srellt,
	sgotplt, splt and sgot.
	(mips_elf_initialize_tls_slots): Use elf htab shortcuts to dynamic
	sections.
	(mips_elf_gotplt_index): Likewise.
	(mips_elf_primary_global_got_index): Likewise.
	(mips_elf_global_got_index): Likewise.
	(mips_elf_got_offset_from_index): Likewise.
	(mips_elf_create_local_got_entry): Likewise.
	(mips_elf_create_got_section): Likewise.
	(mips_elf_calculate_relocation): Likewise.
	(_bfd_mips_elf_create_dynamic_sections): Likewise.
	(_bfd_mips_elf_adjust_dynamic_symbol): Likewise.
	(mips_elf_lay_out_got): Likewise.
	(mips_elf_set_plt_sym_value): Likewise.
	(_bfd_mips_elf_size_dynamic_sections): Likewise.
	(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	(mips_finish_exec_plt): Likewise.
	(mips_vxworks_finish_exec_plt): Likewise.
	(mips_vxworks_finish_shared_plt): Likewise.
	(_bfd_mips_elf_finish_dynamic_sections): Likewise.
	* elfxx-sparc.c (sparc_finish_dyn): Likewise.
	* elfxx-tilegx.c (tilegx_elf_create_got_section): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Regen POTFILES.in
@ 2016-11-23  7:46 sergiodj+buildbot
  2016-12-01 22:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  7:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29 ***

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

Regen POTFILES.in

bfd/
	* po/BLD-POTFILES.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
gas/
	* po/POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix spelling mistakes in comments in configure scripts
@ 2016-11-23  3:21 sergiodj+buildbot
  2016-12-01 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  3:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96fe45624e51f1bb747e36cf8bdaab216f31c5ec ***

Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Branch: master
Commit: 96fe45624e51f1bb747e36cf8bdaab216f31c5ec

Fix spelling mistakes in comments in configure scripts

All changes are limited to comments, and no run-time behavior is
affected.

bfd/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * warning.m4: Fix spelling in comments.
        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

binutils/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gdb/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure.ac: Fix spelling in comments.
        * configure: Regenerate.

gas/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gold/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

gprof/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

ld/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.

opcodes/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbserver: Use warning for warnings
@ 2016-11-23  2:43 sergiodj+buildbot
  2016-12-01 20:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdbserver: Use debug_printf for debug output
@ 2016-11-23  1:51 sergiodj+buildbot
  2016-12-01 17:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix spelling mistakes in comments in shell scripts
@ 2016-11-23  1:00 sergiodj+buildbot
  2016-12-01 14:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: tic6x
@ 2016-11-23  0:36 sergiodj+buildbot
  2016-12-01  5:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  0:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb090cfa157e35fac1c10c062fd005e38b894ea4 ***

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

gdbarch software_single_step frame_info to regcache: tic6x

gdb:

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

	* tic6x-tdep.c (tic6x_condition_true): Replace frame with
	regcache.  Call regcache_raw_get_signed instead of
	get_frame_register_signed.
	(tic6x_get_next_pc): Likewise.  Caller updated.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Change gdbarch software_single_step frame_info to regcache
@ 2016-11-23  0:03 sergiodj+buildbot
  2016-12-01 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  0:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5ea389ac78ccd7c426a93f43e6117dad9ce0878 ***

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

Change gdbarch software_single_step frame_info to regcache

This patch changes gdbarch method software_single_step's parameter from
"struct frame_info *" to "struct regcache *, IOW, software_single_step
starts to use current regcache rather than current frame for software
single.

gdb:

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

	* gdbarch.sh (software_single_step): Change parameter from frame_info
	to regcache.
	* gdbarch.c, gdbarch.h: Regenerated.
	* aarch64-tdep.c (aarch64_software_single_step): Change parameter
	from frame_info to regcache.  Don't call get_current_regcache.
	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
	(alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Likewise.
	* arm-tdep.c (arm_software_single_step): Likewise.
	* arm-tdep.h (arm_software_single_step): Likewise.
	* breakpoint.c (insert_single_step_breakpoint): Pass regcache to
	gdbarch_software_single_step.
	* cris-tdep.c (cris_software_single_step): Change parameter from
	frame_info to regcache.  Don't call get_current_regcache.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Update declaration.
	* moxie-tdep.c (moxie_software_single_step): Likewise.
	* nios2-tdep.c (nios2_software_single_step): Likewise.
	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update declaration.
	* rs6000-aix-tdep.c (rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise.
	* s390-linux-tdep.c (s390_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* tic6x-tdep.c (tic6x_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu
@ 2016-11-22 22:40 sergiodj+buildbot
  2016-12-01  7:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 22:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2260160f8cde8de118914ddeaf797bea42e65ce ***

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

gdbarch software_single_step frame_info to regcache: spu

gdb:

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

	* spu-tdep.c (spu_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.  Call regcache_read_pc instead of
	get_frame_pc.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000
@ 2016-11-22 21:00 sergiodj+buildbot
  2016-12-01  3:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41e26ad32d17ee35f79f629654811f5e8656cab8 ***

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

gdbarch software_single_step frame_info to regcache: rs6000

gdb:

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

	* rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
	regcache.  Call get_regcache_arch instead of get_frame_arch.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390
@ 2016-11-22 20:47 sergiodj+buildbot
  2016-12-01  1:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad76968956f30bed6d120e0dfd247034e0855fea ***

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

gdbarch software_single_step frame_info to regcache: s390

gdb:

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

	* s390-linux-tdep.c (s390_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc
@ 2016-11-22 20:15 sergiodj+buildbot
  2016-11-30 22:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd76b525eda02c30c4412698a2ff309b975d417a ***

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

gdbarch software_single_step frame_info to regcache: sparc

gdb:

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

	* sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
	frame with regcache.  Call get_current_frame.
	(sparc_software_single_step): Call get_regcache_arch instead of
	get_frame_arch.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2
@ 2016-11-22 19:25 sergiodj+buildbot
  2016-11-30 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6 ***

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

gdbarch software_single_step frame_info to regcache: nios2

gdb:

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

	* nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
	with regcache.  Call regcache_raw_get_signed instead of
	get_frame_register_unsigned.
	(nios2_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: moxie
@ 2016-11-22 18:47 sergiodj+buildbot
  2016-11-30 18:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips
@ 2016-11-22 17:49 sergiodj+buildbot
  2016-11-30 16:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7113a196bac7f1134bcdd79ad3e6badcb5d77f95 ***

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

gdbarch software_single_step frame_info to regcache: mips

gdb:

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

	* mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
	regcache.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(mips32_next_pc): Likewise.
	(micromips_bc1_pc): Likewise.
	(micromips_next_pc): Likewise.
	(extended_mips16_next_pc): Likewise.
	(mips16_next_pc): Likewise.
	(mips_next_pc): Likewise.
	(mips_software_single_step): Call get_regcache_arch instead
	of get_frame_arch.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris
@ 2016-11-22 17:26 sergiodj+buildbot
  2016-11-30 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha
@ 2016-11-22 16:56 sergiodj+buildbot
  2016-11-30 12:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ab2d0874025af6ee858b32c576f2461c0a1df3d ***

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

gdbarch software_single_step frame_info to regcache: alpha

gdb:

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

	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.
	(alpha_next_pc): Replace parameter frame with regcache.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64
@ 2016-11-22 15:55 sergiodj+buildbot
  2016-11-30  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 15:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0187a92f57b516f7171e70bec46701cfdaa6c6bd ***

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

gdbarch software_single_step frame_info to regcache: aarch64

Use regcache in software_single_step.

gdb:

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

	* aarch64-tdep.c (aarch64_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] New regcache_raw_get_signed
@ 2016-11-22 15:10 sergiodj+buildbot
  2016-11-30  6:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARC] Fix printing 'b' mnemonics.
@ 2016-11-22 14:50 sergiodj+buildbot
  2016-11-30  1:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 14:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0

[ARC] Fix printing 'b' mnemonics.

gas/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/b.d: Update test result.

opcode/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-tbl.h: Reorder conditional flags with delay flags for 'b'
	instructions.


^ permalink raw reply	[flat|nested] 2223+ 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  3:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs
@ 2016-11-22 11:18 sergiodj+buildbot
  2016-11-29 22:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use input_bfd in relocate_section
@ 2016-11-22 10:39 sergiodj+buildbot
  2016-11-29 19:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c ***

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

Use input_bfd in relocate_section

It makes just a little more sense to use input_bfd when retrieving
insns for relocation, since the relocations match the endianness of
the input bfd.

	* elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
	input_bfd.  Replace occurrences of output_bfd as bfd_get_32 and
	bfd_put_32 param with input_bfd.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.  Also
	ppc_elf_vle_split16 param.
	(ppc_elf_vle_split16): Rename output_bfd param to input_bfd.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component
@ 2016-11-22 10:10 sergiodj+buildbot
  2016-11-27  3:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error
@ 2016-11-21 17:38 sergiodj+buildbot
  2016-11-26 21:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Create subobject value in pretty printer
@ 2016-11-21 14:37 sergiodj+buildbot
  2016-11-26 18:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma
@ 2016-11-19 19:14 sergiodj+buildbot
  2016-11-26  7:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-19 19:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc188e5fd6d4f8d3061ed6c58c432a150f7966e9 ***

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

ARI: Add detection of printf_vma and sprintf_vma

We shouldn't be using these, since their output goes straight to
stdout, which doesn't allow redirection. So this patch updates
the ARI to detect any such use.

gdb/ChangeLog:

        * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
        sprintf_vma.


^ permalink raw reply	[flat|nested] 2223+ 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  5:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Makefile: fix typo
@ 2016-11-19  3:34 sergiodj+buildbot
  2016-11-26  1:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component.
@ 2016-11-19  1:25 sergiodj+buildbot
  2016-11-25 16:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26 ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26

libiberty: demangler crash with missing :? or fold expression component.

When constructing an :? or fold expression that requires a third
expression only the first and second were explicitly checked to
not be NULL. Since the third expression is also required in these
constructs it needs to be explicitly checked and rejected when missing.
Otherwise the demangler will crash once it tries to d_print the
NULL component. Added two examples to demangle-expected of strings
that would crash before this fix.

Found by American Fuzzy Lop (afl) fuzzer.


^ permalink raw reply	[flat|nested] 2223+ 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-25 22:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input.
@ 2016-11-18 18:18 sergiodj+buildbot
  2016-11-25 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1706852c3c6c1d39f949c933d37647d02509b9cb ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 1706852c3c6c1d39f949c933d37647d02509b9cb

libiberty: Fix some demangler crashes caused by reading past end of input.

In various situations the cplus_demangle () function could read past the
end of input causing crashes. Add checks in various places to not advance
the demangle string location and fail early when end of string is reached.
Add various examples of input strings to the testsuite that would crash
test-demangle before the fixes.

Found by using the American Fuzzy Lop (afl) fuzzer.

libiberty/ChangeLog:

       * cplus-dem.c (demangle_signature): After 'H', template function,
       no success and don't advance position if end of string reached.
       (demangle_template): After 'z', template name, return zero on
       premature end of string.
       (gnu_special): Guard strchr against searching for zero characters.
       (do_type): If member, only advance mangled string when 'F' found.
       * testsuite/demangle-expected: Add examples of strings that could
       crash the demangler by reading past end of input.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported).
@ 2016-11-18 18:01 sergiodj+buildbot
  2016-11-25 15:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59d2699cfd30f9defc454be17415c0a518ece32b ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 59d2699cfd30f9defc454be17415c0a518ece32b

libiberty: Add -Wshadow=local to warning flags (if supported).

libiberty/ChangeLog:

       * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
       * configure: Regenerated.


^ permalink raw reply	[flat|nested] 2223+ 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  9:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  2:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings.
@ 2016-11-18 16:14 sergiodj+buildbot
  2016-11-25  7:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Implement P0136R1, Rewording inheriting constructors.
@ 2016-11-18 16:06 sergiodj+buildbot
  2016-11-25  5:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] PR c++/71696 testcase.
@ 2016-11-18 14:01 sergiodj+buildbot
  2016-11-24 22:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d2cdc86574bda0f1013be8cdc166d86b6d032bc ***

Author: Marcel Bhme <boehme.marcel@gmail.com>
Branch: master
Commit: 9d2cdc86574bda0f1013be8cdc166d86b6d032bc

PR c++/71696 testcase.

Add libiberty/testsuite/demangle-expected testcase for:

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions
@ 2016-11-18 13:05 sergiodj+buildbot
  2016-11-24 19:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2c4ff8d52a2cd3263a547b0384692498714aa1b ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c2c4ff8d52a2cd3263a547b0384692498714aa1b

[AArch64] Add ARMv8.3 FCMLA and FCADD instructions

Add support for FCMLA and FCADD complex arithmetic SIMD instructions.
FCMLA has an indexed element variant where the index range has to be
treated specially because a complex number takes two elements and the
indexed vector size depends on the other operands.

These complex number SIMD instructions are part of ARMv8.3
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_IMM_ROT1,
	AARCH64_OPND_IMM_ROT2, AARCH64_OPND_IMM_ROT3.
	(enum aarch64_op): Add OP_FCMLA_ELEM.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_V3SAMEHSD_ROT, QL_ELEMENT_ROT): Define.
	(aarch64_feature_simd_v8_3, SIMD_V8_3): Define.
	(aarch64_opcode_table): Add fcmla and fcadd.
	(AARCH64_OPERANDS): Add IMM_ROT{1,2,3}.
	* aarch64-asm.h (aarch64_ins_imm_rotate): Declare.
	* aarch64-asm.c (aarch64_ins_imm_rotate): Define.
	* aarch64-dis.h (aarch64_ext_imm_rotate): Declare.
	* aarch64-dis.c (aarch64_ext_imm_rotate): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_rotate{1,2,3}.
	* aarch64-opc.c (fields): Add FLD_rotate{1,2,3}.
	(operand_general_constraint_met_p): Rotate and index range check.
	(aarch64_print_operand): Handle rotate operand.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
	* testsuite/gas/aarch64/advsimd-armv8_3.d: New.
	* testsuite/gas/aarch64/advsimd-armv8_3.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.l: New.
	* testsuite/gas/aarch64/illegal-fcmla.d: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions
@ 2016-11-18 12:49 sergiodj+buildbot
  2016-11-24 17:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions
@ 2016-11-18 11:23 sergiodj+buildbot
  2016-11-24 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 11:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f06e55061d0d8f72dfd11f6c432c23f45d9b597 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 3f06e55061d0d8f72dfd11f6c432c23f45d9b597

[AArch64] Add ARMv8.3 combined pointer authentication load instructions

Add support for ARMv8.3 LDRAA and LDRAB combined pointer authentication and
load instructions.

These instructions authenticate the base register and load 8 byte from it plus
a scaled 10-bit offset with optional writeback to update the base register.

A new instruction class (ldst_imm10) and operand type (AARCH64_OPND_ADDR_SIMM10)
were introduced to handle the special addressing form.

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM10.
	(enum aarch64_insn_class): Add ldst_imm10.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_X1NIL): New.
	(arch64_opcode_table): Add ldraa, ldrab.
	(AARCH64_OPERANDS): Add "ADDR_SIMM10".
	* aarch64-asm.h (aarch64_ins_addr_simm10): Declare.
	* aarch64-asm.c (aarch64_ins_addr_simm10): Define.
	* aarch64-dis.h (aarch64_ext_addr_simm10): Declare.
	* aarch64-dis.c (aarch64_ext_addr_simm10): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_S_simm10.
	* aarch64-opc.c (fields): Add data for FLD_S_simm10.
	(operand_general_constraint_met_p): Handle AARCH64_OPND_ADDR_SIMM10.
	(aarch64_print_operand): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
	(fix_insn): Likewise.
	(warn_unpredictable_ldst): Handle ldst_imm10.
	* testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
	* testsuite/gas/aarch64/pac.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldraa.s: New.
	* testsuite/gas/aarch64/illegal-ldraa.l: New.
	* testsuite/gas/aarch64/illegal-ldraa.d: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries.
@ 2016-11-18  9:59 sergiodj+buildbot
  2016-11-24 10:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-18  9:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec49e7c0aeb6d98e379319b565aee2c89388615 ***

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

Help diagnose problems with the metag target when mixing static and shared binaries.

	PR ld/20675
	* elf32-metag.c (elf_metag_relocate_section): Replace abort with
	an informative error message.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules
@ 2016-11-17 20:10 sergiodj+buildbot
  2016-11-24  7:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Makefile: Replace old suffix rules with pattern rules
@ 2016-11-17 19:35 sergiodj+buildbot
  2016-11-24  4:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Document new hard requirement on GNU make
@ 2016-11-17 18:31 sergiodj+buildbot
  2016-11-24  0:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf
@ 2016-11-17 16:49 sergiodj+buildbot
  2016-11-23 20:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition
@ 2016-11-17 15:56 sergiodj+buildbot
  2016-11-23 18:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]>
@ 2016-11-17 14:41 sergiodj+buildbot
  2016-11-23 15:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 200069c74f42ffcc726b9995a46971a86286a256 ***

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

gdb/ada-lang.c: one malloc -> unique_ptr<[]>

Switching gdb to use gnulib's C++ namespace mode reveals we're calling
malloc instead of xmalloc here:

 ..../src/gdb/ada-lang.c: In function value* ada_value_primitive_packed_val(value*, const gdb_byte*, long int, int, int, type*):
 ..../src/gdb/ada-lang.c:2592:50: error: call to malloc declared with attribute warning: The symbol ::malloc refers to the system function. Use gnulib::malloc instead. [-Werror]
	staging = (gdb_byte *) malloc (staging_len);
						   ^

We're unconditionaly using the result afterwards -- so it's not a case
of gracefully handling huge allocations.

Since we want to get rid of all cleanups, fix this by switching to
new[] and unique_ptr<[]> instead, while at it.

Regtested on Fedora 23.

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

	* ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
	new gdb_byte[] instead of malloc and cleanups.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb/tracepoint.c: Don't use printf_vma
@ 2016-11-17  1:28 sergiodj+buildbot
  2016-11-23 13:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-17  1:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 19f1935d91bfabbe4176ffdaca95bc789b593153 ***

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

gdb/tracepoint.c: Don't use printf_vma

I noticed that bfd's printf_vma prints to stdout directly:

  bfd-in2.h:202:#define printf_vma(x) fprintf_vma(stdout,x)

This is a bad idea in gdb, where we should use
gdb_stdout/gdb_stderr/gdb_stdlog, etc., to support redirection.

Eliminate uses of sprintf_vma too while at it.

Tested on Fedora 23, w/ gdbserver.

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

	* tracepoint.c (collection_list::add_memrange): Add gdbarch
	parameter.  Use paddress instead of printf_vma.  Adjust recursive
	calls.
	(collection_list::stringify): Use paddress and phex_nz instead of
	sprintf_vma.  Adjust add_memrange call.
	* tracepoint.h (collection_list::add_memrange): Add gdbarch
	parameter.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame
@ 2016-11-17  0:20 sergiodj+buildbot
  2016-11-23 11:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-17  0:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0 ***

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

Stash frame id of current frame before stashing frame id for previous frame

This patch ensures that the frame id for the current frame is stashed
before that of the previous frame (to the current frame).

First, it should be noted that the frame id for the current frame is
not stashed by get_current_frame().  The current frame's frame id is
lazily computed and stashed via calls to get_frame_id().  However,
it's possible for get_prev_frame() to be called without first stashing
the current frame.

The frame stash is used not only to speed up frame lookups, but
also to detect cycles.  When attempting to compute the frame id
for a "previous" frame (in get_prev_frame_if_no_cycle), a cycle
is detected if the computed frame id is already in the stash.

If it should happen that a previous frame id is stashed which should
represent a cycle for the current frame, then an assertion failure
will trigger should get_frame_id() be later called to determine
the frame id for the current frame.

As of late 2016, with the "Tweak meaning of VALUE_FRAME_ID" patch in
place, this actually occurs when running the
gdb.dwarf2/dw2-dup-frame.exp test.  While attempting to generate a
backtrace, the python frame filter code is invoked, leading to
frame_info_to_frame_object() (in python/py-frame.c) being called.
That function will potentially call get_prev_frame() before
get_frame_id() is called.  The call to get_prev_frame() can eventually
end up in get_prev_frame_if_no_cycle() which, in turn, calls
compute_frame_id(), after which the frame id is stashed for the
previous frame.

If the frame id for the current frame is stashed, the cycle detection
code (which relies on the frame stash) in get_prev_frame_if_no_cycle()
will be triggered for a cycle starting with the current frame.  If the
current frame's id is not stashed, the cycle detecting code can't
operate as designed.  Instead, when get_frame_id() is called on the
current frame at some later point, the current frame's id will found
to be already in the stash, triggering an assertion failure.

Below is an in depth examination of the failure which lead to this change.
I've shortened pathnames for brevity and readability.

Here's the portion of the log file showing the failure/internal error:

(gdb) break stop_frame
Breakpoint 1 at 0x40059a: file dw2-dup-frame.c, line 22.
(gdb) run
Starting program: testsuite/outputs/gdb.dwarf2/dw2-dup-frame/dw2-dup-frame

Breakpoint 1, stop_frame () at dw2-dup-frame.c:22
22	}
(gdb) bt
gdb/frame.c:544: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
FAIL: gdb.dwarf2/dw2-dup-frame.exp: backtrace from stop_frame (GDB internal error)

Here's a partial backtrace from the internal error, showing the frames
which I think are relevant, plus several extra to provide context:

    #0  internal_error (
	file=0x932b98 "gdb/frame.c", line=544,
	fmt=0x932b20 "%s: Assertion `%s' failed.")
	at gdb/common/errors.c:54
    #1  0x000000000072207e in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:544
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390
    #3  0x00000000004ef5be in bootstrap_python_frame_filters (frame=0xe5a760,
	frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1453
    #4  0x00000000004ef7a9 in gdbpy_apply_frame_filter (
	extlang=0x8857e0 <extension_language_python>, frame=0xe5a760, flags=7,
	args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1548
    #5  0x00000000005f2c5a in apply_ext_lang_frame_filter (frame=0xe5a760,
	flags=7, args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0,
	frame_high=-1)
	at gdb/extension.c:572
    #6  0x00000000005ea896 in backtrace_command_1 (count_exp=0x0, show_locals=0,
	no_filters=0, from_tty=1)
	at gdb/stack.c:1834

Examination of the code in frame_info_to_frame_object(), which is in
python/py-frame.c, is key to understanding this problem:

      if (get_prev_frame (frame) == NULL
	  && get_frame_unwind_stop_reason (frame) != UNWIND_NO_REASON
	  && get_next_frame (frame) != NULL)
	{
	  frame_obj->frame_id = get_frame_id (get_next_frame (frame));
	  frame_obj->frame_id_is_next = 1;
	}
      else
	{
	  frame_obj->frame_id = get_frame_id (frame);
	  frame_obj->frame_id_is_next = 0;
	}

I will first note that the frame id for frame has not been computed yet.  (This
was verified by placing a breakpoint on compute_frame_id().)

The call to get_prev_frame() causes the the frame id to (eventually) be
computed for the previous frame.  Here's a backtrace showing how we
get there:

    #0  compute_frame_id (fi=0x10e2810)
	at gdb/frame.c:496
    #1  0x0000000000724a67 in get_prev_frame_if_no_cycle (this_frame=0xe5a760)
	at gdb/frame.c:1871
    #2  0x0000000000725136 in get_prev_frame_always_1 (this_frame=0xe5a760)
	at gdb/frame.c:2045
    #3  0x000000000072516b in get_prev_frame_always (this_frame=0xe5a760)
	at gdb/frame.c:2061
    #4  0x000000000072570f in get_prev_frame (this_frame=0xe5a760)
	at gdb/frame.c:2303
    #5  0x00000000004eb471 in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:381

For this particular case, we end up in the else clause of the code above
which calls get_frame_id (frame).  It's at this point that the frame id
for frame is computed.  Again, here's a backtrace:

    #0  compute_frame_id (fi=0xe5a760)
	at gdb/frame.c:496
    #1  0x000000000072203d in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:539
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390

The test in question, dw2-dup-frame.exp, deliberately creates a broken
(cyclic) stack.  So, in this instance, the frame id for the prev
`frame' will be the same as that for `frame'.  But that particular
frame id ended up in the stash during the previous frame operation.
When, just a few lines later, we compute the frame id for `frame', the
id in question is already in the stash, thus triggering the assertion
failure.

I considered two other solutions to solving this problem:

We could prevent get_prev_frame() from being called before
get_frame_id() in frame_info_to_frame_object().  (See above for the
snippet of code where this happens.) A call to get_frame_id (frame)
could be placed ahead of that code snippet above.  I have tested this
approach and, while it does work, I can't be certain that
get_prev_frame() isn't called ahead of stashing the current frame
somewhere else in GDB, but in a less obvious way.

Another approach is to stash the current frame's id by calling
get_frame_id() in get_current_frame().  This approach is conceptually
simpler, but when importing a python unwinder, has the unwelcome side
effect of causing the unwinder to be called during import.

A cleaner looking fix would be to place this code after code
corresponding to the "Don't compute the frame id of the current frame
yet..." comment in get_prev_frame_if_no_cycle().  Sadly, this does not
work though; by the time we get to this point, the frame state for the
prev frame has been modified just enough to cause an internal error to
occur when attempting to compute the (current) frame id for inline
frames.  (The unexpected failure count increases by roughly 130
failures.)  Therefore, I decided to place it as early as possible
in get_prev_frame().

gdb/ChangeLog:

	* frame.c (get_prev_frame): Stash frame id for current frame
	prior to computing frame id for previous frame.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers.
@ 2016-11-16 22:59 sergiodj+buildbot
  2016-11-23  7:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 22:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33cc7d368f420326606695daafd6292e2779c6af ***

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

Make gdb.PendingFrame.read_register handle "user" registers.

The C function, pending_framepy_read_register(), which implements
the python interface gdb.PendingFrame.read_register does not handle
the so called "user" registers like "pc".  An assertion error is
triggered due to the user registers having numbers larger than or
equal to gdbarch_num_regs(gdbarch).

With the VALUE_FRAME_ID tweak in place, the call to
get_frame_register_value() can simply be replaced by a call to
value_of_register(), which handles both real registers as well as the
user registers.

gdb/ChangeLog:

	* python/py-unwind.c (pending_framepy_read_register): Use
	value_of_register() instead of get_frame_register_value().


^ permalink raw reply	[flat|nested] 2223+ 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  5:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Distinguish sentinel frame from null frame.
@ 2016-11-16 21:50 sergiodj+buildbot
  2016-11-23  2:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df433d316277ff5293832d3cd6cbc30b5c38dec0 ***

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

Distinguish sentinel frame from null frame.

This patch replaces the `current_frame' static global in frame.c with
`sentinel_frame'.  It also makes the sentinel frame id unique and
different from the null frame.

By itself, there is not much point to this patch, but it makes
the code cleaner for the VALUE_FRAME_ID changes in another patch.
Since we now allow "navigation" to the sentinel frame, it removes
the necessity of adding special cases to other parts of GDB.

Note that a new function, get_next_frame_sentinel_okay, is introduced
in this patch.  It will be used by the VALUE_FRAME_ID changes that
I've made.

Thanks to Pedro Alves for this suggestion.

gdb/ChangeLog:

    	* frame.h (enum frame_id_stack_status): Add FID_STACK_SENTINEL.
    	(struct frame_id): Increase number of bits required for storing
    	stack status to 3 from 2.
    	(sentinel_frame_id): New declaration.
    	(get_next_frame_sentinel_okay): Declare.
    	(frame_find_by_id_sentinel_okay): Declare.
    	* frame.c (current_frame): Rename this static global to...
    	(sentinel_frame): ...this static global, which has also been
    	moved an earlier location in the file.
    	(fprint_frame_id): Add case for sentinel frame id.
    	(get_frame_id): Return early for sentinel frame.
    	(sentinel_frame_id): Define.
    	(frame_find_by_id): Add case for sentinel_frame_id.
    	(create_sentinel_frame): Use sentinel_frame_id for this_id.value
    	instead of null_frame_id.
    	(get_current_frame): Add local declaration for `current_frame'.
    	Remove local declaration for `sentinel_frame.'
    	(get_next_frame_sentinel_okay): New function.
    	(reinit_frame_cache): Use `sentinel_frame' in place of
    	`current_frame'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp
@ 2016-11-16 20:03 sergiodj+buildbot
  2016-11-23  0:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a2f3d7ff1d79b1290704e48c71e905b987393a6 ***

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

Extend test gdb.python/py-recurse-unwind.exp

This patch modifies the unwinder (sniffer) defined in
py-recurse-unwind.py so that, depending upon the value of one of its
class variables, it will take different paths through the code,
testing different functionality.

The original test attempted to obtain the value of an undefined
symbol.

This somewhat expanded test checks to see if 'pc' can be read via
gdb.PendingFrame.read_register() and also via gdb.parse_and_eval().

gdb/testsuite/ChangeLog:

	* gdb.python/py-recurse-unwind.c (main): Add loop.
	* gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
	to read_register() and gdb.parse_and_eval().  Make each code
	call a separate case that can be individually tested.
	* gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
	proc. Call cont_and_backtrace for each of the code paths that
	we want to test in the unwinder.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs
@ 2016-11-16 20:01 sergiodj+buildbot
  2016-11-22 21:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 18:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Delete gdb::unique_ptr/gdb::move
@ 2016-11-15 22:01 sergiodj+buildbot
  2016-11-22 16:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cc8c7310338224d65aa14c4256d4d7539e0dd45 ***

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

Delete gdb::unique_ptr/gdb::move

Now that we require C++11 and all uses of gdb::unique_ptr and
gdb::move are gone, let's remove their definitions...

With my lazy hat on, I repurposed the header for "generally useful
unique_ptr specializations", and left gdb::unique_xmalloc_ptr in
there.  Not sure whether we it'd be better move it out of the gdb
namespace or leave it be.  I left it because it's less work and avoids
disrupting yet-unmerged patches that use it.

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

	* common/common-defs.h: Update comment.
	* common/gdb_unique_ptr.h: Update header comment and copyright
	year.
	(gdb::unique_ptr, gdb::move): Delete.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move}
@ 2016-11-15 20:54 sergiodj+buildbot
  2016-11-22 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 20:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b22e99fdaf2efe58161c382bbd55f4572ba49eef ***

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

gdb::{unique_ptr,move} -> std::{unique_ptr,move}

Now that we require C++11, use std::unique_ptr and std::move directly.

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

	* ada-lang.c (create_excep_cond_exprs): Use std::move instead of
	gdb::move.
	* break-catch-throw.c (handle_gnu_v3_exceptions): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* breakpoint.c (watch_command_1): Use std::move instead of
	gdb::move.
	* cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
	of gdb::move.
	* elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* parse.c (parse_expression_for_completion): Use std::move instead
	of gdb::move.
	* printcmd.c (display_command): std::move instead of gdb::move.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition
@ 2016-11-15 20:24 sergiodj+buildbot
  2016-11-22 10:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64
@ 2016-11-14 19:27 sergiodj+buildbot
  2016-11-22  9:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-14 19:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d734efa1034d266249751978f95a686ec9d19c6 ***

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

Also check GOT PLT for R_X86_64_PLTOFF64

Since "-z now" replaces PLT with GOT PLT, we should also check GOT PLT
for R_X86_64_PLTOFF64 relocation.

bfd/

	PR ld/20800
	* elf64-x86-64.c (elf_x86_64_relocate_section): Also check
	plt_got.offset for R_X86_64_PLTOFF64.

ld/

	PR ld/20800
	* testsuite/ld-x86-64/pr20800a.S: New file.
	* testsuite/ld-x86-64/pr20800b.S: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run PR ld/20800 test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] btrace: read entire aux buffer
@ 2016-11-14 10:28 sergiodj+buildbot
  2016-11-22  8:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix typo "Faal through" should be "Fall through".
@ 2016-11-14  9:18 sergiodj+buildbot
  2016-11-22  4:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove some cleanups from the rust code
@ 2016-11-12 20:45 sergiodj+buildbot
  2016-11-21 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 20:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8001f1183f32d674fa3e9af1cca16856afdffc3e ***

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

Remove some cleanups from the rust code

This removes some cleanups from the rust code, in favor of C++ objects
with destructors.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-exp.y (super_name): Use std::vector.
	(lex_number): Use std::string.
	(convert_params_to_types): Return std::vector.
	(convert_ast_to_type, convert_name): Update.
	* rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use std::string in rust_get_disr_info
@ 2016-11-12 19:05 sergiodj+buildbot
  2016-11-21 14:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 19:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca ***

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

Use std::string in rust_get_disr_info

This changes rust_get_disr_info to use std::string in one more spot,
avoiding a memory leak.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_get_disr_info): Use std::string in one more
	spot.


^ permalink raw reply	[flat|nested] 2223+ 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 11:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Identify verilog dump tests as such.
@ 2016-11-11 20:35 sergiodj+buildbot
  2016-11-21  9:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f8db343049c3e06483a278e14b7e140ec55c8b3 ***

Author: Catherine Moore <clm@codesourcery.com>
Branch: master
Commit: 1f8db343049c3e06483a278e14b7e140ec55c8b3

Identify verilog dump tests as such.

	A couple of the verilog dump tests were marked as ihex tests.  This
	patch identifies the tests as verilog format dump tests.


^ permalink raw reply	[flat|nested] 2223+ 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:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction
@ 2016-11-11 18:47 sergiodj+buildbot
  2016-11-21  4:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c84364ece4faa7b3eb0f60f4dc301282e9693e1e ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c84364ece4faa7b3eb0f60f4dc301282e9693e1e

[AArch64] Add ARMv8.3 PACGA instruction

Add support for the ARMv8.3 PACGA instruction.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_Rm_SP.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add pacga.
	(AARCH64_OPERANDS): Add Rm_SP.
	* aarch64-opc.c (aarch64_print_operand): Handle AARCH64_OPND_Rm_SP.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/pac.s: Add pacga.
	* testsuite/gas/aarch64/pac.d: Add pacga.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 single source PAC instructions
@ 2016-11-11 17:32 sergiodj+buildbot
  2016-11-21  2:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers
@ 2016-11-11 16:38 sergiodj+buildbot
  2016-11-20 21:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space
@ 2016-11-11 15:42 sergiodj+buildbot
  2016-11-20 20:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8787d804e1cbbd1946239d6c5e560c87d38bac06 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 8787d804e1cbbd1946239d6c5e560c87d38bac06

[AArch64] Add ARMv8.3 instructions which are in the NOP space

This patch adds support for a subset of the ARMv8.3 pointer authentication
instructions: XPACLRI, PACIA1716, PACIB1716, AUTIA1716, AUTIA1716, PACIAZ,
PACIASP, PACIBZ, PACISP, AUTIAZ, AUTIASP, AUTIBZ, AUTIBSP.

These are aliases to HINT #0x7, HINT #0x8, HINT #0xa, HINT #0xc, HINT #0xe,
HINT #0x18, HINT #0x19, ..., HINT #0x1f respectively.

For more details about pointer authentication in ARMv8.3 see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (aarch64_feature_v8_3, ARMV8_3, V8_3_INSN): New.
	(arch64_opcode_table): Add xpaclri, pacia1716, pacib1716, autia1716,
	autib1716, paciaz, paciasp, pacibz, pacibsp, autiaz, autiasp, autibz,
	autibsp.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/system-3.s: New.
	* testsuite/gas/aarch64/system-3.d: New.
	* testsuite/gas/aarch64/system.d: Update expected output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen
@ 2016-11-11 14:42 sergiodj+buildbot
  2016-11-20 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag
@ 2016-11-11 13:30 sergiodj+buildbot
  2016-11-20 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 13:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1924ff7567abf9e1341ae135fb5097bc5f7b76f4 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 1924ff7567abf9e1341ae135fb5097bc5f7b76f4

[AArch64] Add ARMv8.3 command line option and feature flag

ARMv8.3 can be selected with -march=armv8.3-a command line option.
An overview of the ARMv8.3 architecture extension is at
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
	* doc/c-aarch64.texi (-march): Likewise.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (AARCH64_FEATURE_V8_3): Define.
	(AARCH64_ARCH_V8_3): Define.
	(AARCH64_ARCH_V8_1, AARCH64_ARCH_V8_2): Simplify.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols.
@ 2016-11-11 12:40 sergiodj+buildbot
  2016-11-20 13:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 12:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7103ad7639b7ed80bec170404185a8e39079446b ***

Author: Luke Allardyce <lukeallardyce@gmail.com>
Branch: master
Commit: 7103ad7639b7ed80bec170404185a8e39079446b

Accept hidden COFF symbols, but treat them as if they were debugging symbols.

	PR ld/20722
	* coffcode.h (coff_slurp_symbol_table): Accept C_HIDDEN symbols,
	but treat them as debugging symbols.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr
@ 2016-11-11 12:02 sergiodj+buildbot
  2016-11-20  9:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove parameter valaddr from c print functions
@ 2016-11-11 10:40 sergiodj+buildbot
  2016-11-20  7:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 10:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65408fa680538f997cdd4b6fb9d74f043a060801 ***

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

Remove parameter valaddr from c print functions

This patch removes parameter valaddr from some c print functions.

gdb:

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

	* c-lang.h (cp_print_value_fields): Update declaration.
	* cp-valprint.c (cp_print_value): Update declaration.
	(cp_print_value_fields): Remove parameter valaddr.  Callers
	updated.
	(cp_print_value): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: fix dv-tx3904cpu build error
@ 2016-11-11 10:09 sergiodj+buildbot
  2016-11-20  5:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 10:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91588b3af8e026ba11c7368476cc1f3fa8c2e2b1 ***

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

sim: mips: fix dv-tx3904cpu build error

When building for mipstx39-rtems4.12 targets, some funcs use SD and CPU
implicitly.  Restore the defines for these to the local sd and cpu vars.

This was broken by the clean up in commit d47f5b30d8481272e9480118bdcb.

Reported-by: Joel Sherrill <joel.sherrill@oarcorp.com>


^ permalink raw reply	[flat|nested] 2223+ 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  1:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-19  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] X86: Merge AVX512F vmovq
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-18 23:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7efeed176a291c15c74e80aee5d7f906e28081cf ***

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

X86: Merge AVX512F vmovq

AVX512F vmovq doesn't support masking.  We can't swap register operand
in AVX512F vmovq with Reg64 since Reg64 != RegXMM.  This patch merges
AVX512F vmovq.

	* i386-opc.tbl: Merge AVX512F vmovq.


^ permalink raw reply	[flat|nested] 2223+ 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:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove parameter valaddr from la_val_print
@ 2016-11-09 20:30 sergiodj+buildbot
  2016-11-17  1:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Clean up tracepoint.h/c:collection_list
@ 2016-11-08 21:34 sergiodj+buildbot
  2016-11-13 15:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f45808ead357e8a81dec16b9802a6c369e08426 ***

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

Clean up tracepoint.h/c:collection_list

Noticed we could do this while working on the expression_up change.

The main goal here was getting rid of the
encode_actions_and_make_cleanup / do_clear_collection_list cleanups.

While at it, uncrustify the code:

 - Make collection_list a C++ class, with data members private (and
   thus renamed m_...).

 - Make related functions be member methods.

 - Use std::vector instead of an open coding a vector implementation.

 - Use std::sort instead of qsort.

 - Rename the "list" member of collection_list, which is an incredibly
   obfuscating name.

 - Rename a couple other things here and there for clarify.

 - Use "bool" more.

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

	* mi/mi-main.c (print_variable_or_computed): Constify 'expression'
	parameter.
	(mi_cmd_trace_frame_collected): Call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to use std::vector.
	* tracepoint.c (memrange_cmp): Delete.
	(memrange_comp): New.
	(memrange_sortmerge): Take a memrange vector as parameter instead
	of a collection_list.  Use std::sort instead of qsort.
	(add_register): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(add_memrange): Now a method of collection_list.  Adjust to m_
	prefix of data fields.  Adjust to use std::vector.
	(collect_symbol): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(do_collect_symbol): Adjust.  Call add_wholly_collected instead of
	accessing the vector directly.
	(collection_list::add_wholly_collected): New.
	(add_local_symbols): Now a method of collection_list.
	(add_static_trace_data): Now a method of collection_list.  Adjust
	to use bool.
	(clear_collection_list, do_clear_collection_list): Delete.
	(init_collection_list): Delete.
	(collection_list::collection_list): New.
	(collection_list::~collection_list): New.
	(stringify_collection_list): Rename to ...
	(collection_list::stringify): ... this and adjust to being a
	method of collection_list.  Adjust to use of std::vector.
	(append_exp): Now a method of collection_list.  Use
	ui_file_as_string.  Adjust to std::vector.
	(collection_list::finish): New.
	(encode_actions_1): Adjust.
	(encode_actions_and_make_cleanup): Rename to ...
	(encode_actions)... this.  No longer returns a cleanup.  No longer
	call init_collection_list nor install do_clear_collection_list
	cleanups.  Call collection_list::finish instead of
	memrange_sortmerge directly.
	(encode_actions_rsp): Adjust to call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to method renames.
	(add_aexpr): Now a method of collection_list.
	* tracepoint.h: Include <vector> and <string>.
	(struct memrange): Add constructors.
	(struct collection_list): Now a class.
	(class collection_list) <collection_list, ~collection_list,
	add_wholly_collected, append_exp, add_aexpr, add_register,
	add_memrange, collect_symbol, add_local_symbols,
	add_static_trace_data, finish, stringify, wholly_collected, and
	computed>: New methods.
	<regs_mask>: Rename to ...
	<m_regs_mask>: ... this.
	<listsize, next_memrange, list>: Delete fields.
	<m_memranges>: New field.
	<aexpr_listsize, next_aexpr_elt, aexpr_list>: Delete fields.
	<m_aexprs>: New field.
	<strace_data>: Rename to ...
	<m_strace_data>: ... this.  Now a bool.
	<wholly_collected>: Rename to ...
	<m_wholly_collected>: ... this.  Now a std::vector<std::string>.
	<computed>: Rename to ...
	<m_computed>: ... this.  Now a std::vector<std::string>.
	(encode_actions_and_make_cleanup): Delete declaration.
	(encode_actions): New declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup
@ 2016-11-08 18:27 sergiodj+buildbot
  2016-11-13  3:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 896b6bda6904765f36692d76a37b99c0412ca9ae ***

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

breakpoint.c:commands_command_1 constification and cleanup

This is constification needed for next patch.  Adjust
commands_command_1 to use std::string too because the "arg" parameter
is currently overwritten and then passed to make_cleanup.  The
constification alone would trigger a compile error in the make_cleanup
call otherwise (passing const char * to void * parameter).  Using
std::string gets rid of the cleanup in the first place, resulting in
simpler code.

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

	* breakpoint.c (struct commands_info) <arg>: Constify.
	(commands_command_1): Constify 'arg' parameter.  Use std::string
	and string_printf.
	(commands_from_control_command): Constify 'arg' parameter.
	(map_breakpoint_numbers): Constify 'args' parameter.
	* breakpoint.h (commands_from_control_command): Constify 'arg'
	parameter.


^ permalink raw reply	[flat|nested] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add support for ARM Cortex-M33 processor
@ 2016-11-04 17:12 sergiodj+buildbot
  2016-11-10 10:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Add support for untagged unions in Rust
@ 2016-11-03 23:17 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] opcodes/arc: Make some macros 64-bit safe
@ 2016-11-03 18:03 sergiodj+buildbot
  2016-11-10 10:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks
@ 2016-11-03 17:39 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82
@ 2016-11-03 17:33 sergiodj+buildbot
  2016-11-10 10:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Deprecate old platforms
@ 2016-11-03 16:59 sergiodj+buildbot
  2016-11-10 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] X86: Rename REG_82 to REG_83
@ 2016-11-03 16:43 sergiodj+buildbot
  2016-11-10 10:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
@ 2016-11-03 15:35 sergiodj+buildbot
  2016-11-09 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d19280adb5b2d1470dc39756ccac8a8fa2af8321 ***

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

Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind

We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc
and ARCH_sw_breakpoint_from_kind.  Note that gdbarch doesn't have methods
breakpoint_kind_from_pc and sw_breakpoint_from_kind so far.

gdb:

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

	* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro.
	(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro.
	* arm-tdep.c (arm_breakpoint_from_pc): Remove.
	(arm_breakpoint_kind_from_pc): New function.
	(arm_sw_breakpoint_from_kind): New function.
	(arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc
	and arm_sw_breakpoint_from_kind.
	Use GDBARCH_BREAKPOINT_FROM_PC.
	(arm_remote_breakpoint_from_pc): Call
	arm_breakpoint_kind_from_pc.
	(arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
	with SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* arc-tdep.c: Likewise.
	* bfin-tdep.c: Likewise.
	* cris-tdep.c: Likewise.
	* iq2000-tdep.c: Likewise.
	* m32r-tdep.c: Likewise.
	* mips-tdep.c: Likewise.
	* mt-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* rs6000-tdep.c: Likewise.
	* score-tdep.c: Likewise.
	* sh-tdep.c: Likewise.
	* sh64-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* v850-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add enum for mips breakpoint kinds
@ 2016-11-03 15:21 sergiodj+buildbot
  2016-11-09  9:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44f1c4d7b0160a51ecf7fe1af42416f1d2a71356 ***

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

Add enum for mips breakpoint kinds

This patch adds an enum mips_breakpoint_kind to avoid using magic
numbers as much as possible.

gdb:

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

	* mips-tdep.c (mips_breakpoint_kind): New enum.
	(mips_breakpoint_from_pc): Use it.
	(mips_remote_breakpoint_from_pc): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] btrace: allow leading trace gaps
@ 2016-10-28 10:04 sergiodj+buildbot
  2016-11-05 23:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 10:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b61ce85cc54bf4acc86714cacd10d6f9f7e89d1b ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: b61ce85cc54bf4acc86714cacd10d6f9f7e89d1b

btrace: allow leading trace gaps

GDB ignores trace gaps from decode errors or overflows at the beginning of the
trace.  There isn't really a gap in the trace; the trace just starts a bit
later than expected.

In cases where there is no trace at all or where the trace is smaller than
expected, this may hide the reason for the missing trace.

Allow leading trace gaps.  They will be shown as decode warnings and by the
record function-call-history command.

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Decode error (-6) at instruction 0 (offset = 0x58, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 0 (offset = 0xb0, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 0 (offset = 0x168, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xe08, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xe60, pc = 0x0): unexpected packet context.
    warning: Decode error (-6) at instruction 54205 (offset = 0xed8, pc = 0x0): unexpected packet context.
    Recorded 91582 instructions in 1111 functions (6 gaps) for thread 1 (process 15710).
    (gdb) record function-call-history /c 1
    1       [decode error (-6): unexpected packet context]
    2       [decode error (-6): unexpected packet context]
    3       [decode error (-6): unexpected packet context]
    4           _dl_addr
    5             ??
    6           _dl_addr
    7         ??
    8           ??
    9         ??
    10      ??

Leading trace gaps will not be shown by the record instruction-history command
without further changes.

gdb/
	* btrace.c (btrace_compute_ftrace_bts, ftrace_add_pt): Allow leading gaps.
	* record-btrace.c (record_btrace_single_step_forward)
	(record_btrace_single_step_backward): Jump back to last instruction if
	step ends at a gap.
	(record_btrace_goto_begin): Skip gaps.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Coalesce/aggregate (async) vCont packets/actions
@ 2016-10-27 13:09 sergiodj+buildbot
  2016-11-05  1:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb: Clean up remote.c:remote_resume
@ 2016-10-26 16:05 sergiodj+buildbot
  2016-10-26 16:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fix set sysroot command on AIX
@ 2016-10-14 13:25 sergiodj+buildbot
  2016-10-15  5:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] btrace: remove leftover comment
@ 2016-10-14  9:25 sergiodj+buildbot
  2016-10-14 23:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Include strings.h where available
@ 2016-10-14  7:30 sergiodj+buildbot
  2016-10-14 17:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] ARI: Remove true/false checks
@ 2016-10-13 17:38 sergiodj+buildbot
  2016-10-13 17:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Share proc get_var_address
@ 2016-10-13 15:27 sergiodj+buildbot
  2016-10-13 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Skip testing structures with floating points
@ 2016-10-13 14:54 sergiodj+buildbot
  2016-10-13 14:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use std::string in macho_symfile_read_all_oso
@ 2016-10-13  5:24 sergiodj+buildbot
  2016-10-13  5:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Change selttest.c to use use std::vector
@ 2016-10-13  2:25 sergiodj+buildbot
  2016-10-13  2:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] arc: Add support for Newlib
@ 2016-10-12 16:00 sergiodj+buildbot
  2016-10-12 16:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] arc: Add evaluation of long jump targets
@ 2016-10-12 13:32 sergiodj+buildbot
  2016-10-12 15:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] arc: Add a gdbarch_tdep structure
@ 2016-10-12 13:03 sergiodj+buildbot
  2016-10-12 14:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [AArch64] Track FP registers in prologue analyzer
@ 2016-10-12 11:51 sergiodj+buildbot
  2016-10-12 11:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] BFD_FAKE_SECTION macro params
@ 2016-10-11 23:35 sergiodj+buildbot
  2016-10-11 23:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation
@ 2016-10-11 17:27 sergiodj+buildbot
  2016-10-11 17:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] testsuite: Use standard_output_file
@ 2016-10-11 15:00 sergiodj+buildbot
  2016-10-11 15:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Share enum arm_breakpoint_kinds
@ 2016-10-10 11:41 sergiodj+buildbot
  2016-10-10 11:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init
@ 2016-10-10 10:37 sergiodj+buildbot
  2016-10-10 10:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  0:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data
@ 2016-10-07  2:07 sergiodj+buildbot
  2016-10-08 17:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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  5:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64
@ 2016-09-29 17:39 sergiodj+buildbot
  2016-09-29 17:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver
@ 2016-09-19 16:45 sergiodj+buildbot
  2016-09-20 14:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 21:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use target_sim_options for sim target.
@ 2016-09-12 15:28 sergiodj+buildbot
  2016-09-12 15:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Pass HWCAP to ifunc resolver
@ 2016-09-10 23:25 sergiodj+buildbot
  2016-09-10 22:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove some unneeded casts from remote.c
@ 2016-09-10 20:57 sergiodj+buildbot
  2016-09-10 19:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] X86: Allow additional ISAs for IAMCU in assembler
@ 2016-09-08  0:06 sergiodj+buildbot
  2016-09-09 18:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Resolve size relocation with copy relocation
@ 2016-09-07  1:30 sergiodj+buildbot
  2016-09-07 18:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 15:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Remove obsolete TYPE_FLAG_... values
@ 2016-09-06 22:01 sergiodj+buildbot
  2016-09-07  6:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Unify init_type and arch_type interface and helpers
@ 2016-09-06 21:12 sergiodj+buildbot
  2016-09-07  0:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] gdb/: Require a C++ compiler
@ 2016-09-06 16:28 sergiodj+buildbot
  2016-09-06 17:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Detect broken ptrace in gdb_skip_float_test
@ 2016-09-02 17:12 sergiodj+buildbot
  2016-09-02 17:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Share target_wait prototype between GDB and gdbserver
@ 2016-09-02 14:53 sergiodj+buildbot
  2016-09-02 16:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 22:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Lack of SHF_GROUP sections result in ld segfault
@ 2016-08-27 13:37 sergiodj+buildbot
  2016-08-29 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Fixed -init, -fini linker options.
@ 2016-08-26 16:28 sergiodj+buildbot
  2016-08-27  4:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARC] C++ compatibility for arc-dis.h
@ 2016-08-24 18:25 sergiodj+buildbot
  2016-08-25  5:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] [ARC] Parse NOTE section in core dump files
@ 2016-08-24 18:02 sergiodj+buildbot
  2016-08-24 23:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] x32 Fast tracepoints: IPA target descriptions
@ 2016-08-19 16:06 sergiodj+buildbot
  2016-08-19 16:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 13:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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 18:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ 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:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ 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] 2223+ messages in thread
* [binutils-gdb] Use do_self_tests in selftest.exp
@ 2016-07-19 10:01 sergiodj+buildbot
  2016-07-19 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-19 10:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f25827c194fe9894f2c65f7e1101854022be4328 ***

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

Use do_self_tests in selftest.exp

This patch uses do_self_tests to simplify selftest.exp.  It doesn't
change the tests except the order,

-PASS: gdb.gdb/selftest.exp: Disassemble main
 PASS: gdb.gdb/selftest.exp: breakpoint in captured_main
+PASS: gdb.gdb/selftest.exp: run until breakpoint at captured_main
+PASS: gdb.gdb/selftest.exp: Disassemble main
 PASS: gdb.gdb/selftest.exp: set interrupt character in test_with_self
 PASS: gdb.gdb/selftest.exp: set listsize to 1
-PASS: gdb.gdb/selftest.exp: run until breakpoint at captured_main

gdb/testsuite:

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

	* gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
	(test_with_self): Remove some code.  Remove argument executable.
	(top-level): Use do_self_tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] opcodes, gas: support for the ldtxa SPARC instructions.
@ 2016-07-13 14:28 sergiodj+buildbot
  2016-07-13 15:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-13 14:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e7ced37e756420742d51abb044c24d0f1929143 ***

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

opcodes,gas: support for the ldtxa SPARC instructions.

This patch adds support for the LDTXA instructions, along with the
corresponding ASIs.  Tests for GAS are included.

opcodes/ChangeLog:

2016-07-12  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sparc-opc.c (ldtxa): New macro.
	(sparc_opcodes): Use the macro defined above to add entries for
	the LDTXA instructions.
	(asi_table): Add the ASI_TWINX_* asis used in the LDTXA
	instruction.

gas/ChangeLog:

2016-07-12  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* testsuite/gas/sparc/ldtxa.s: New file.
	* testsuite/gas/sparc/ldtxa.d: Likewise.
	* testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix of default lookup for "this" symbol.
@ 2016-07-07 15:52 sergiodj+buildbot
  2016-07-07 16:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-07 15:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f19a0e6b45c63c0b4afe27a19d144cca412d4ae ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 4f19a0e6b45c63c0b4afe27a19d144cca412d4ae

Fix of default lookup for "this" symbol.

Using the default lookup for the symbol "this" might lead to segmentation
fault in GDB.
Some languages, e.g. Fortran, use as default lookup routine the C++
routines.
For those languages "this" can be the instance of a class or even the
definition of a class.
When an instance of a class having the name "this" is evaluated
in GDB a segmentation fault was observed.

As example of the issue take into consideration the Fortran code:
  type foo
    real :: a
    type(bar) :: x
    character*7 :: b
  end type foo
  type(foo) :: this

Issue appears when evaluating the variable "this" in GDB.

Within the language definition structure there is a field that represents
the name of the special symbol used for the C++ "this" for the language
being described.
The fix presented here takes into account the aforementioned field. In the
case the aforementioned field is NULL "this" is not represented in the
language described and the lookup should return a null_block_symbol.

Tests: Performed tests with gfortran and ifort.

Reviewed:
https://sourceware.org/ml/gdb-patches/2016-04/msg00068.html

After the commited patch:
https://sourceware.org/ml/gdb-patches/2016-06/msg00364.html
Patch can be applied.

2016-06-16  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* cp-namespace.c (cp_lookup_bare_symbol): Use language passed as
	parameter to look for the symbol "this".

gdb/testsuite/ChangeLog:

	* gdb.fortran/derived-types.exp (result_line, result_line_2):
	New variables.
	(print this%a, print this%b, print this): New tests.
	* gdb.fortran/derived-types.f90 (this): New object and
	initialization.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove extra output directory level for Ada tests
@ 2016-07-06 16:12 sergiodj+buildbot
  2016-07-06 20:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 16:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0464b231f046b836e2ed721d764fa309f18eb39 ***

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

Remove extra output directory level for Ada tests

The output of Ada tests create a layout where the test name
("formatted_ref" in this example) appears twice:

outputs
 gdb.ada
     formatted_ref
         formatted_ref
             b~formatted_ref.adb
             b~formatted_ref.ads
             b~formatted_ref.ali
             b~formatted_ref.o
             defs.ali
             defs.o
             formatted_ref
             formatted_ref.ali
             formatted_ref.o

This causes a problem when testing with the native-gdbserver board, when
the binary has the same name as the test.  When gdb_remote_download is
called to upload the compiled binary, the implementation for
native-gdbserver copies it in the standard output directory (in
outputs/gdb.ada/formatted_ref).  However, there is already a directory
named formatted_ref in there, so the copy fails and gdbserver isn't able
to load the binary.

This patch bypasses the problem by removing the extra directory level.
The compiled binary will already be in its final location in the
standard output directory, so the copy will effectively be a no-op.

gdb/testsuite/ChangeLog:

	* lib/ada.exp: Remove extra directory level in build directory.
	* gdb.ada/cond_lang.exp: Likewise.
	* gdb.ada/exec_changed.exp: Likewise.
	* gdb.ada/lang_switch.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove extraneous parentheses.
@ 2016-07-06 15:43 sergiodj+buildbot
  2016-07-06 18:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb36c6bf0a019e7b989e61710f17b5ce4ec27686 ***

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

Remove extraneous parentheses.

gdb/ChangeLog:

	* h8300-tdep.c (h8300_print_register): Remove extraneous parentheses.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use unsigned integer constant with left shifts.
@ 2016-07-06 15:28 sergiodj+buildbot
  2016-07-06 17:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 15:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db297a6501dc44c10bff096eddcc358b48810aad ***

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

Use unsigned integer constant with left shifts.

This avoids undefined behavior.

gdb/ChangeLog:

	* ada-lang.c (ada_unpack_from_contents): Use unsigned constants with
	left shifts.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Set uses_fp for frames with a valid FP register explicitly.
@ 2016-07-06 14:25 sergiodj+buildbot
  2016-07-06 16:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 14:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ca107148e888a7f7aaf3582569708684bd04690 ***

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

Set uses_fp for frames with a valid FP register explicitly.

Since CORE_ADDR is unsigned, the saved FP register is always greater than
or equal to zero.  Replace the comparison by explicitly setting uses_fp to
1 for frames with a valid FP register.

gdb/ChangeLog:

	* sh64-tdep.c (sh64_analyze_prologue): Set "uses_fp" when setting
	the MEDIA_FP_REGNUM register.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove check for negative size.
@ 2016-07-06 13:45 sergiodj+buildbot
  2016-07-06 15:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 13:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d66ff635bec25bf940cc6d173a92f7796f18b310 ***

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

Remove check for negative size.

Since CORE_ADDR is unsigned, this value can never be negative.

gdb/ChangeLog:

	* score-tdep.c (score7_malloc_and_get_memblock): Remove check for
	negative size.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type.
@ 2016-07-06 13:14 sergiodj+buildbot
  2016-07-06 13:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06 13:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee950322ca2c77494b1742f304632f667ed6ce79 ***

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

Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type.

'ptid' compiles in C++, but not C.

gdb/ChangeLog:
	* fbsd-nat.c (fbsd_is_vfork_done_pending): Fix return type.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Fix endless recursion on calculating CPRC candidate
@ 2016-07-06  7:38 sergiodj+buildbot
  2016-07-06  7:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06  7:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1040b979bc46474530fa4fee397b8acc460c01e9 ***

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

[ARM] Fix endless recursion on calculating CPRC candidate

When GDB determines whether type T can be part of candidate for
passing and returning in VFP registers, it calls
arm_vfp_cprc_sub_candidate recursively.  However, if type T has
self-reference field, like,

class C
{
  static C s;
};

arm_vfp_cprc_sub_candidate won't return.  This fix is to skip calling
arm_vfp_cprc_sub_candidate if the field is static.

gdb:

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

	* arm-tdep.c (arm_vfp_cprc_sub_candidate): Don't call
	arm_vfp_cprc_sub_candidate for static field.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Allow subscripting raw pointers
@ 2016-07-06  5:38 sergiodj+buildbot
  2016-07-06  5:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-06  5:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 42d940118a6372d6e85f71a54fed75fdf5c606bd ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: 42d940118a6372d6e85f71a54fed75fdf5c606bd

Allow subscripting raw pointers

This will be useful for dealing with vectors; regardless of our final solution
for the Index trait.

2016-07-06  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_subscript): Allow subscripting pointers

gdb/testsuite/ChangeLog:
    * simple.rs: Add test for raw pointer subscripting
    * simple.exp: Add test expectations


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix fail in gdb.mi/mi-reverse.exp
@ 2016-07-05 14:06 sergiodj+buildbot
  2016-07-05 14:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-05 14:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 647c264cb2c60c90ee2d09edb6bd001ff357306d ***

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

Fix fail in gdb.mi/mi-reverse.exp

Commit 38b022b4452f996fb5a8598f80d850b594621bcf adds "method" and
"format" fields in =record-started, but doesn't update test case
gdb.mi/mi-reverse.exp, so it causes the fail like this,

PASS: gdb.mi/mi-reverse.exp: mi runto main
Expecting: ^(-interpreter-exec console record[^M
]+)?(=record-started,thread-group="i1"^M
\^done[^M
]+[(]gdb[)] ^M
[ ]*)
-interpreter-exec console record^M
=record-started,thread-group="i1",method="full"^M
^done^M
(gdb) ^M
FAIL: gdb.mi/mi-reverse.exp: Turn on process record

and regression was found by buildbot too
https://sourceware.org/ml/gdb-testers/2016-q2/msg04492.html

gdb/testsuite:

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

	* gdb.mi/mi-reverse.exp: Match =record-started output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Purecode compatible long branch veneer for M-profile targets with MOVW.
@ 2016-07-05 11:42 sergiodj+buildbot
  2016-07-05 11:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-05 11:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d5a67c02901c0abe946546f2b3b1a3b67a876136 ***

Author: Andre Vieria <andre.simoesdiasvieira@arm.com>
Branch: master
Commit: d5a67c02901c0abe946546f2b3b1a3b67a876136

[ARM] Purecode compatible long branch veneer for M-profile targets with MOVW.

2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

	* elf32-arm.c (THUMB32_MOVT): New veneer macro.
	(THUMB32_MOVW): Likewise.
	(elf32_arm_stub_long_branch_thumb2_only_pure): New.
	(DEF_STUBS): Define long_branch_thumb2_only_pure.
	(arm_stub_is_thumb): Add new veneer stub.
	(arm_type_of_stub): Use new veneer.
	(arm_stub_required_alignment): Add new veneer.

2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

	* testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
	* testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
	* testsuite/ld-arm/arm-elf.exp: Run it.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Change noread to purecode.
@ 2016-07-05 10:56 sergiodj+buildbot
  2016-07-05 11:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-05 10:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0728ee368f217f2473798ad7ccfe9feae4412ce ***

Author: Andre Vieria <andre.simoesdiasvieira@arm.com>
Branch: master
Commit: f0728ee368f217f2473798ad7ccfe9feae4412ce

[ARM] Change noread to purecode.

bfd/ChangeLog
2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * bfd-in2.h (SEC_ELF_NOREAD): Rename to ...
          (SEC_ELF_PURECODE): ... this.
        * elf32-arm.c (elf32_arm_post_process_headers): Rename SEC_ELF_NOREAD
          to SEC_ELF_NOREAD.
          (elf32_arm_fake_sections): Likewise.
          (elf_32_arm_section_flags): Likewise.
          (elf_32_arm_lookup_section_flags): Likewise.
        * section.c (SEC_ELF_NOREAD): Rename to ...
          (SEC_ELF_PURECODE): ... this.

binutils/ChangeLog
2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * objdump.c (dump_section_header): Rename SEC_ELF_NOREAD
          to SEC_ELF_NOREAD.
        * readelf.c (get_elf_section_flags): Rename ARM_NOREAD to
          ARM_PURECODE and SHF_ARM_NOREAD to SHF_ARM_PURECODE.
          (process_section_headers): Rename noread to purecode.

        * section.c (SEC_ELF_NOREAD): Rename to ...
          (SEC_ELF_PURECODE): ... this.

include/ChangeLog
2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * elf/arm.h (SHF_ARM_NOREAD): Rename to ...
          (SHF_ARM_PURECODE): ... this.

ld/ChangeLog
2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>

        * testsuite/ld-arm/arm_noread.ld: Renamed to ...
          testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
          all noread's by purecode.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] babeltrace compilation regression
@ 2016-07-05  9:02 sergiodj+buildbot
  2016-07-05  9:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-05  9:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13cdc2afb7873547ec2910ba647fb4a68602252f ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 13cdc2afb7873547ec2910ba647fb4a68602252f

babeltrace compilation regression

Since:
	commit 2d681be471cf8aff8f296cb7713c39e9aa4fc2bb
	Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
	Date:   Wed Apr 27 15:52:16 2016 +0200
	    Avoid non-C++-enabled babeltrace versions
tested with:
	libbabeltrace-devel-1.2.4-4.fc24.x86_64
	libbabeltrace-devel-1.4.0-2.fc25.x86_64
it can no longer build due to:
	configure:16435: gcc -o conftest -m64 -g3 -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -fno-diagno
stics-show-caret  -Werror  -static-libstdc++ -static-libgcc  conftest.c -ldl -ldl -lncurses -lm -ldl  -lbabeltrace -lbabeltrace-ctf >&5
	conftest.c: In function 'main':
	conftest.c:208:7: error: 'pos' is a pointer; did you mean to use '->'?

gdb/ChangeLog
2016-07-05  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* configure: Regenerate.
	* configure.ac (HAVE_LIBBABELTRACE): Fix pos variable dereference.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Optimize memory_xfer_partial for remote
@ 2016-07-01 19:49 sergiodj+buildbot
  2016-07-01 21:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09c98b448f3d89cb9576e4e73991c2312939e0af ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 09c98b448f3d89cb9576e4e73991c2312939e0af

Optimize memory_xfer_partial for remote

Some analysis we did here showed that increasing the cap on the
transfer size in target.c:memory_xfer_partial could give 20% or more
improvement in remote load across JTAG.  Transfer sizes were capped
to 4K bytes because of performance problems encountered with the
restore command, documented here:

https://sourceware.org/ml/gdb-patches/2013-07/msg00611.html

and in commit 67c059c29e1f ("Improve performance of large restore
commands").

The 4K cap was introduced because in a case where the restore command
requested a 100MB transfer, memory_xfer_partial would repeatedy
allocate and copy an entire 100MB buffer in order to properly handle
breakpoint shadow instructions, even though memory_xfer_partial would
actually only write a small portion of the buffer contents.

A couple of alternative solutions were suggested:
* change the algorithm for handling the breakpoint shadow instructions
* throttle the transfer size up or down based on the previous actual
  transfer size

I tried implementing the throttling approach, and my implementation
reduced the performance in some cases.

This patch implements a new target function that returns that target's
limit on memory transfer size.  It defaults to ULONGEST_MAX bytes,
because for native targets there is no marshaling and thus no limit is
needed.  For remote targets it uses get_memory_write_packet_size.

gdb/ChangeLog:

	* remote.c (remote_get_memory_xfer_limit): New function.
	* target-delegates.c: Regenerate.
	* target.c (memory_xfer_partial): Call
	target_ops.to_get_memory_xfer_limit.
	* target.h (struct target_ops)
	<to_get_memory_xfer_limit>: New member.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Fix +nofp16 handling
@ 2016-07-01 19:44 sergiodj+buildbot
  2016-07-01 20:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 19:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93d8990cba700abdf9d2be06a5022e588d097fc8 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 93d8990cba700abdf9d2be06a5022e588d097fc8

[AArch64] Fix +nofp16 handling

Feature flag handling was not perfect, +nofp16 disabled fp
instructions too.

New feature flag macros were added to check features with multiple
bits set (matters for FP_F16 and SIMD_F16 opcode feature tests).
The unused AARCH64_OPCODE_HAS_FEATURE was removed, all checks should
use one of the AARCH64_CPU_HAS_* macros.  AARCH64_CPU_HAS_FEATURE
now checks all feature bits.

The aarch64_features table now contains the dependencies as
a separate field (so when the feature is enabled all dependencies
are enabled and when it is disabled everything that depends on it
is disabled).

Note that armv8-a+foo+nofoo is not equivalent to armv8-a if
+foo turns on dependent features that nofoo does not turn off.

gas/
	* config/tc-aarch64.c (struct aarch64_option_cpu_value_table): Add
	require field.
	(aarch64_features): Initialize require fields.
	(aarch64_parse_features): Handle dependencies.
	(aarch64_feature_enable_set, aarch64_feature_disable_set): New.
	(md_assemble): Use AARCH64_CPU_HAS_ALL_FEATURES.
	* testsuite/gas/aarch64/illegal-nofp16.s: New.
	* testsuite/gas/aarch64/illegal-nofp16.l: New.
	* testsuite/gas/aarch64/illegal-nofp16.d: New.

include/
	* opcode/aarch64.h (AARCH64_CPU_HAS_ALL_FEATURES): New.
	(AARCH64_CPU_HAS_ANY_FEATURES): New.
	(AARCH64_CPU_HAS_FEATURE): Define as AARCH64_CPU_HAS_ALL_FEATURES.
	(AARCH64_OPCODE_HAS_FEATURE): Remove.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fake VFORK_DONE events when following only the parent after a vfork.
@ 2016-07-01 18:48 sergiodj+buildbot
  2016-07-01 19:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2c5c2a3321706c28cbf1b85a970a2e32912eb0c8 ***

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

Fake VFORK_DONE events when following only the parent after a vfork.

FreeBSD does not currently report a ptrace event for a parent process
after it resumes due to the child exiting the shared memory region after
a vfork.  Take the same approach used in linux-nat.c in this case of
sleeping for a while and then reporting a fake VFORK_DONE event.

gdb/ChangeLog:

	* fbsd-nat.c (struct fbsd_fork_child_info): Rename to ...
	(struct fbsd_fork_info): ... this.
	(struct fbsd_fork_info) <child>: Rename to ...
	(struct fbsd_fork_info) <ptid>: ... this.
	(fbsd_pending_children): Update type.
	(fbsd_remember_child): Update type and field name.
	(fbsd_is_child_pending): Likewise.
	(fbsd_pending_vfork_done): New variable.
	(fbsd_is_vfork_done_pending): New function.
	(fbsd_next_vfork_done): New function.
	(fbsd_resume): Don't resume processes with a pending vfork done
	event.
	(fbsd_wait): Report pending vfork done events.
	(fbsd_follow_fork): Delay and record a pending vfork done event
	for a vfork parent when detaching the child.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Move fbsd_resume and related functions below fork following helper code.
@ 2016-07-01 18:19 sergiodj+buildbot
  2016-07-01 18:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 18:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8607ea632c806235554aa2336cf01bf3758c1264 ***

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

Move fbsd_resume and related functions below fork following helper code.

gdb/ChangeLog:

	* fbsd-nat.c (super_resume): Move earlier next to "super_wait".
	(resume_one_thread_cb): Move below fork following helper code.
	(resume_all_threads_cb): Likewise.
	(fbsd_resume): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Honor detach-on-fork on FreeBSD.
@ 2016-07-01 17:17 sergiodj+buildbot
  2016-07-01 17:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 17:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb2a62e694953c099c41d49f59947d3d91cc7c27 ***

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

Honor detach-on-fork on FreeBSD.

Only detach from the new child process in the follow fork callback
if detach_fork is true.

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_follow_fork): Only detach child if
	"detach_fork" is true.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix Thumb-2 BL detection
@ 2016-07-01 16:41 sergiodj+buildbot
  2016-07-01 16:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e866f5aeeaf7514f5ca4f9eaba41594eac22e5b ***

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

Fix Thumb-2 BL detection

2016-07-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (using_thumb2_bl): New function.
	(arm_type_of_stub): Declare thumb2 variable together and change type
	to bfd_boolean.  Use using_thumb2_bl () to determine whether
	THM_MAX_FWD_BRANCH_OFFSET or THM2_MAX_FWD_BRANCH_OFFSET should be
	checked for BL range.
	(elf32_arm_final_link_relocate): Use using_thumb2_bl () to determine
	the bit size of BL offset.

ld/
	* testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
	(Thumb-2 BL on ARMv6-M): New testcase.
	* testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
	* testsuite/ld-arm/thumb2-bl.s: Do not select architecture.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Set debug registers on all threads belonging to the current inferior.
@ 2016-07-01 15:50 sergiodj+buildbot
  2016-07-01 15:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5077bfff905136e9d9a8fdf0886f6217887622ad ***

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

Set debug registers on all threads belonging to the current inferior.

gdb/ChangeLog:

	* x86bsd-nat.c: Include 'gdbthread.h'.
	(x86bsd_dr_set): Set debug registers on all threads belonging to
	the current inferior.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Consolidate x86 debug register code for BSD native targets.
@ 2016-07-01 14:59 sergiodj+buildbot
  2016-07-01 15:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a3405d124e1388b613a35af49f19f0cc1b8d959d ***

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

Consolidate x86 debug register code for BSD native targets.

Move the debug register support code from amd64bsd-nat.c and
i386bsd-nat.c into a shared x86bsd-nat.c.

Instead of setting up x86_dr_low in amd64fbsd-nat.c and
i386fbsd-nat.c, add a x86bsd_target function that creates a new target
that inherits from inf_ptrace and sets up x86 debug registers if
supported.  In addition to initializing x86_dr_low, the x86bsd target
installs a custom mourn_inferior target operation to clean up the
x86 debug register state.  Previously this was only done on amd64.
Now it will be done for both i386 and amd64.  The i386bsd_target and
amd64bsd_target functions create targets that inherit from x86bsd
rather than inf_ptrace.

gdb/ChangeLog:

	* Makefile.in [HFILES_NO_SRCDIR]: Replace 'amd64bsd-nat.h' with
	'x86bsd-nat.h'.
	* amd64bsd-nat.c: Include 'x86bsd-nat.h' instead of
	'amd64bsd-nat.h'.
	(amd64bsd_xsave_len): Rename and move to x86bsd-nat.c.
	(amd64bsd_fetch_inferior_registers): Replace 'amd64bsd_xsave_len'
	with 'x86bsd_xsave_len'.
	(amd64bsd_store_inferior_registers): Likewise.
	(amd64bsd_target): Inherit from x86bsd_target.
	(amd64bsd_dr_get): Rename and move to x86bsd-nat.c.
	(amd64bsd_dr_set): Likewise.
	(amd64bsd_dr_set_control): Likewise.
	(amd64bsd_dr_set_addr): Likewise.
	(amd64bsd_dr_get_addr): Likewise.
	(amd64bsd_dr_get_status): Likewise.
	(amd64bsd_dr_get_control): Likewise.
	* amd64fbsd-nat.c: Include 'x86bsd-nat.h' instead of
	'amd64bsd-nat.h'.
	(super_mourn_inferior): Move to x86bsd-nat.c.
	(amd64fbsd_mourn_inferior): Rename and move to x86bsd-nat.c.
	(amd64fbsd_read_description): Replace 'amd64bsd_xsave_len' with
	'x86bsd_xsave_len'.
	(_initialize_amd64fbsd_nat): Remove x86 watchpoint setup and
	mourn_inferior' target op.
	* config/i386/fbsd.mh (NATDEPFILES): Add x86bsd-nat.o.
	* config/i386/fbsd64.mh: Likewise.
	* config/i386/nbsd64.mh: Likewise.
	* config/i386/nbsdelf.mh: Likewise.
	* config/i386/obsd.mh: Likewise.
	* config/i386/obsd64.mh: Likewise.
	* i386bsd-nat.c: Include 'x86bsd-nat.h'.
	(i386bsd_xsave_len): Rename and move to x86bsd-nat.c.
	(i386bsd_fetch_inferior_registers): Replace 'i386bsd_xsave_len'
	with 'x86bsd_xsave_len'.
	(i386bsd_store_inferior_registers): Likewise.
	(i386bsd_target): Inherit from x86bsd_target.
	(i386bsd_dr_get): Rename and move to x86bsd-nat.c.
	(i386bsd_dr_set): Likewise.
	(i386bsd_dr_set_control): Likewise.
	(i386bsd_dr_set_addr): Likewise.
	(i386bsd_dr_get_addr): Likewise.
	(i386bsd_dr_get_status): Likewise.
	(i386bsd_dr_get_control): Likewise.
	* i386bsd-nat.h (i386bsd_xsave_len): Remove.
	(i386bsd_dr_set_control): Remove.
	(i386bsd_dr_set_addr): Remove.
	(i386bsd_dr_get_addr): Remove.
	(i386bsd_dr_get_status): Remove.
	(i386bsd_dr_get_control): Remove.
	* i386fbsd-nat.c: Include 'x86bsd-nat.h'.
	(i386fbsd_read_description): Replace 'i386bsd_xsave_len' with
	'x86bsd_xsave_len'.
	(_initialize_i386fbsd_nat): Remove x86 watchpoint setup and
	mourn_inferior' target op.
	* x86bsd-nat.c: New file.
	* x86bsd-nat.h: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Extend JIT-reader test and fix GDB problems that exposes
@ 2016-07-01 12:59 sergiodj+buildbot
  2016-07-01 14:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 12:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20aa2c606ef682889722b03b1d874befa84fbf53 ***

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

Extend JIT-reader test and fix GDB problems that exposes

The jit-reader.exp test isn't really exercising the jit-reader's
unwinder API at all.  This commit address that, and then fixes GDB
problems exposed.

- The custom JIT reader provided for the jit-reader.exp testcase
  always rejects the jitted function's frame...

  This is because the custom JIT reader in the testcase never ever
  sets state->code_begin/end, so the bounds check in
  gdb.base/jitreader.c:unwind_frame:

   if (this_ip >= state->code_end || this_ip < state->code_begin)
     return GDB_FAIL;

  tends to fail, unless you're "lucky" (because it references
  uninitialized data).

  The result is that GDB is always actually using a built-in unwinder
  for the jitted function.

- The provided unwinder doesn't do anything that GDB's built-in
  unwinder can't do.

  IOW, we can't really tell whether the JIT reader's unwinder is
  working or not.

  I fixed that by making the jitted function mangle its own stack
  pointer with a xor, and then teaching the jit unwinder to demangle
  it back (another xor).  So now "backtrace" with GDB's built-in
  unwinder fails while with the jit unwinder, it succeeds.

- GDB crashes after unloading the JIT reader, and flushing frames...

  I made the testcase use the "flushregs" command after unloading the
  JIT reader, to force the JIT frames to be flushed.  However, that
  crashes GDB...

  When reinit_frame_cache tears down a frame's cache, it calls its
  unwinder's dealloc_cache method, which for JIT frames ends up in
  jit.c:jit_dealloc_cache.  This function calls each of the frame's
  gdb_reg_value's "free" pointer:

   for (i = 0; i < gdbarch_num_regs (frame_arch); i++)
     if (priv_data->registers[i] && priv_data->registers[i]->free)
       priv_data->registers[i]->free (priv_data->registers[i]);

  and the problem is these gdb_reg_value instances have been returned
  by the JIT reader that has been already unloaded, and their "free"
  function pointers likely point to functions in the DSO that has
  already been unloaded...

  A fix for that could be to call reinit_frame_cache in
  jit_reader_unload_command _before_ unloading the jit reader DSO so
  that the jit reader is given a chance to clean up the gdb_reg_values
  before it is unloaded.  However, the fix for the point below makes
  this unnecessary, because it stops jit.c from keeping around
  gdb_reg_values in the first place.

- However, it still makes sense to clear the frame cache when loading
  or unloading a JIT unwinder.

  This makes testing a JIT unwinder a bit simpler.

- Not only the frame cache actually -- gdb is not unloading the
  jit-registered objfiles when the JIT reader is unloaded, and not
  loading the already-registered descriptors when a JIT reader is
  loaded.

  The new test exercises unloading the jit reader, loading it back
  again, and then making sure the JIT reader's unwinder works again.
  Without the unload/re-load of already-read descriptors, the newly
  loaded JIT would have no idea where the new function is, because
  it's stored at symbol read time.

- I added a couple "info frame" calls to the test, and that
  crashes GDB...

  The problem is that jit_frame_prev_register assumes it'll only be
  called for raw registers, so when it gets a pseudo register number,
  the "priv->registers[reg]" access is really an out-of-bounds access.

  To fix that, I made jit_frame_prev_register use
  gdbarch_pseudo_register_read_value for reading the pseudo-registers.
  However, that works with a regcache and we don't have one.  To fix
  that, I made the JIT unwinder store a regcache in its cache instead
  of an array of gdb_reg_value pointers.

gdb/ChangeLog:
2016-07-01  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* jit.c (jit_reader_load_command): Call reinit_frame_cache and
	jit_inferior_created_hook.
	(jit_reader_unload_command): Call reinit_frame_cache and
	jit_inferior_exit_hook.
	* jit.c (struct jit_unwind_private) <registers>: Delete field.
	<regcache>: New field.
	(jit_unwind_reg_set_impl): Set the register's value in the
	regcache.  Free the passed-in gdb_reg_value.
	(jit_dealloc_cache): Adjust to free the regcache.
	(jit_frame_sniffer): Allocate a regcache instead of an array of
	gdb_reg_value pointers.
	(jit_frame_this_id): Adjust.
	(jit_frame_prev_register): Read raw registers off of the regcache
	instead of from the gdb_reg_value pointer array.  Use
	gdbarch_pseudo_register_read_value to read pseudo registers.
	* regcache.c (regcache_raw_set_cached_value): New function,
	factored out from ...
	(regcache_raw_write): ... here.
	* regcache.h (regcache_raw_set_cached_value): Declare.

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

	* gdb.base/jit-reader.exp (info_registers_current_frame): New
	procedure.
	(jit_reader_test): Test the jit reader's unwinder.
	* gdb.base/jithost.c (jit_function_00_code): New global.
	(main): Use memcpy to fill in the mmapped code, instead of poking
	bytes manually here.
	* gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
	value.
	(read_debug_info): Save the function's range.
	(read_sp): New function.
	(unwind_frame): Use it.  Also unwind RBP.
	(get_frame_id): Use read_sp.
	(gdb_init_reader): Use calloc instead of malloc.
	* lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
	parameter.  Use gdb_test_multiple.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix failure to detach if process exits while detaching on Linux
@ 2016-07-01 12:41 sergiodj+buildbot
  2016-07-01 13:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ced2dffbf17bc661e959da1e39411d706ade9f77 ***

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

Fix failure to detach if process exits while detaching on Linux

This commit fixes detaching on Linux when some thread exits the whole
thread group (process) just while we're detaching.

On Linux, a ptracer must detach from each LWP individually, with
PTRACE_DETACH.  Since PTRACE_DETACH sets the thread running free, if
one of the already-detached threads causes the whole thread group to
exit (e.g., simply calls exit), the kernel force-kills the other
threads in the group, making them zombie, just as we're still
detaching them.  Since PTRACE_DETACH against a zombie thread fails
with ESRCH, and gdb/gdbserver are not expecting this, the detach fails
with an error like: "Can't detach process: No such process.".

This patch detects this detach failure as normal, and instead of
erroring out, reaps the now-dead thread.

New test included, that exercises several different scenarios that
cause GDB/GDBserver to error out when it should not.

Tested on x86-64 GNU/Linux with {unix, native-gdbserver,
native-extended-gdbserver}

Note: without the previous fix, the "single-process + continue"
variant of the new test would fail with:

 (gdb) PASS: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint: switch to parent
 continue
 Continuing.
 Warning:
 Could not insert hardware watchpoint 3.
 Could not insert hardware breakpoints:
 You may have requested too many hardware breakpoints/watchpoints.

 Command aborted.
 (gdb) FAIL: gdb.threads/process-dies-while-detaching.exp: single-process: continue: watchpoint: continue

gdb/gdbserver/ChangeLog:
2016-07-01  Pedro Alves  <palves@redhat.com>
	    Antoine Tremblay  <antoine.tremblay@ericsson.com>

	* linux-low.c: Change interface to take the target lwp_info
	pointer directly and return void.  Handle detaching from a zombie
	thread.
	(linux_detach_lwp_callback): New function.
	(linux_detach): Detach from the leader thread after detaching from
	the clone threads.

gdb/ChangeLog:
2016-07-01  Pedro Alves  <palves@redhat.com>
	    Antoine Tremblay  <antoine.tremblay@ericsson.com>

	* inf-ptrace.c (inf_ptrace_detach_success): New function, factored
	out from ...
	(inf_ptrace_detach): ... here.
	* inf-ptrace.h (inf_ptrace_detach_success): New declaration.
	* linux-nat.c (get_pending_status): Rename to ...
	(get_detach_signal): ... this, and return a host signal instead of
	filling in a wait status.
	(detach_one_lwp): New function, factored out from detach_callback
	and adjusted to handle detaching from a zombie thread.
	(detach_callback): Skip the leader thread.
	(linux_nat_detach): No longer defer to inf_ptrace_detach to detach
	the leader thread, nor build a signal string to pass down.
	Instead, use target_announce_detach, detach_one_lwp and
	inf_ptrace_detach_success.

gdb/testsuite/ChangeLog:
2016-07-01  Pedro Alves  <palves@redhat.com>
	    Antoine Tremblay  <antoine.tremblay@ericsson.com>

	* gdb.threads/process-dies-while-detaching.c: New file.
	* gdb.threads/process-dies-while-detaching.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Forget watchpoint locations when inferior exits or is killed/detached
@ 2016-07-01 11:56 sergiodj+buildbot
  2016-07-01 11:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 11:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 630008884535a5b26828325e48e729034c110536 ***

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

Forget watchpoint locations when inferior exits or is killed/detached

If you have two inferiors (or more), set watchpoints in one of the
inferiors, and then that inferior exits, until you manually delete the
watchpoint (or something forces a breakpoint re-set), you can't resume
the other inferior.

This is exercised by the test added by this commit.  Without the GDB
fix, this test fails like this:

 FAIL: gdb.multi/watchpoint-multi-exit.exp: dispose=kill: continue to marker in inferior 1
 FAIL: gdb.multi/watchpoint-multi-exit.exp: dispose=detach: continue to marker in inferior 1
 FAIL: gdb.multi/watchpoint-multi-exit.exp: dispose=exit: continue to marker in inferior 1

and gdb.log shows (in all three cases):

 (gdb) continue
 Continuing.
 Warning:
 Could not insert hardware watchpoint 2.
 Could not insert hardware breakpoints:
 You may have requested too many hardware breakpoints/watchpoints.

 Command aborted.
 (gdb) FAIL: gdb.multi/watchpoint-multi-exit.exp: dispose=kill: continue to marker in inferior 1

The problem is that GDB doesn't forget about the locations of
watchpoints set in the inferior that is now dead.  When we try to
continue the inferior that is still alive, we reach
insert_breakpoint_locations, which has the the loop that triggers the
error:

  /* If we failed to insert all locations of a watchpoint, remove
     them, as half-inserted watchpoint is of limited use.  */

That loop finds locations that are not marked inserted, but which
according to should_be_inserted should have been inserted, and so
errors out.

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

	* breakpoint.c (breakpoint_init_inferior): Discard watchpoint
	locations.
	* infcmd.c (detach_command): Call breakpoint_init_inferior.

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

	* gdb.multi/watchpoint-multi-exit.c: New file.
	* gdb.multi/watchpoint-multi-exit.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Factor out "Detaching from program" message printing
@ 2016-07-01 10:53 sergiodj+buildbot
  2016-07-01 11:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01 10:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f48b757071509040d800ff9f7c8726e5828bd1a ***

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

Factor out "Detaching from program" message printing

Several targets have a copy of the same code that prints

 "Detaching from program ..."

in their target_detach implementation.  Factor that out to a common
function.

(For now, I left the couple targets that print this a bit differently
alone.  Maybe this could be further pulled out into infcmd.c.  If we
did that, and those targets want to continue printing differently,
this new function could be converted to a target method.)

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

	* darwin-nat.c (darwin_detach): Use target_announce_detach.
	* inf-ptrace.c (inf_ptrace_detach): Likewise.
	* nto-procfs.c (procfs_detach): Likewise.
	* remote.c (remote_detach_1): Likewise.
	* target.c (target_announce_detach): New function.
	* target.h (target_announce_detach): New declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] x86: allow suffix-less movzw and 64-bit movzb
@ 2016-07-01  8:42 sergiodj+buildbot
  2016-07-01  8:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01  8:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c07315e0c610e0e3317b4c02266f81793df253d2 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: c07315e0c610e0e3317b4c02266f81793df253d2

x86: allow suffix-less movzw and 64-bit movzb

... just like is already the case for 16- and 32-bit movzb: I can't see
why omitting suffixes on this (and movs{b,w,l}) is not allowed, when it
is allowed for all other instructions where the suffix is redundant
with (one of) the operands.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] x86: remove stray instruction attributes
@ 2016-07-01  7:49 sergiodj+buildbot
  2016-07-01  8:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9243100aef7486524f1a7f87bbd2cce1fe980b75 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 9243100aef7486524f1a7f87bbd2cce1fe980b75

x86: remove stray instruction attributes

- with Cpu64 Disp16 makes no sense for memory operands
- with CpuNo64 Disp32S makes no sense
- non-64-bit lgdt doesn't allow 10-byte operands


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] x86/Intel: fix operand checking for MOVSD
@ 2016-07-01  7:09 sergiodj+buildbot
  2016-07-01  7:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-07-01  7:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8325cc6398187c12e0fe04a68a21e4eb5f44fa20 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 8325cc6398187c12e0fe04a68a21e4eb5f44fa20

x86/Intel: fix operand checking for MOVSD

The dual purpose mnemonic (string move vs scalar double move) breaks
the assumption that the isstring flag would be set on both the first
and last entry in the current set of templates, which results in bogus
or missing diagnostics for the string move variant of the mnemonic.
Short of mostly rewriting i386_index_check() and its interaction with
the rest of the code, simply shrink the template set to just string
instructions when encountering the second memory operand, and run
i386_index_check() a second time for the first memory operand after
that reduction.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-06-30 15:32 sergiodj+buildbot
  2016-06-30 15:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-30 15:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 838441e4a2a041e3a5dd26e886c67be22529502d ***

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

Fix typo in comment

This patch fixes the typo "uf" in the comment.  I'll push it in as the
change is obvious.

2016-06-30  Yao Qi  <yao.qi@linaro.org>

	* arm-dis.c (print_insn): Fix typo in comment.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix gdbserver/MI testing regression
@ 2016-06-30 11:43 sergiodj+buildbot
  2016-06-30 12:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-30 11:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 038d48680941f014349256aeb7bab14b3f01d58e ***

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

Fix gdbserver/MI testing regression

Commit 51f77c3704a6 ("Add testing infrastruture bits for running with
MI on a separate UI") broke MI testing with native-gdbserver:

 $ make check RUNTESTFLAGS="--target_board=native-gdbserver mi-var-child.exp"
	 ...
 Running .../src/binutils-gdb/gdb/testsuite/gdb.mi/mi-var-child.exp ...
 can't unset "inferior_spawn_id": no such variable
     while executing
 "unset inferior_spawn_id"
     (procedure "close_gdbserver" line 20)
     invoked from within
 "close_gdbserver"
 ...

When testing with gdbserver, gdb_exit is overridden with a special
version that calls close_gdbserver, which clears inferior_spawn_id.
The problem is that the commit mentioned above made
gdb_exit/mi_gdb_exit clear inferior_spawn_id too, and clearing a
non-existing variable is a tcl error.

Since gdb_exit/mi_gdb_exit always clears inferior_spawn_id now, the
fix is simply to stop clearing it in close_gdbserver.

gdb/testsuite/
2016-06-30  Pedro Alves  <palves@redhat.com>

	* lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
	unset inferior_spawn_id.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make testing gdb with FORCE_SEPARATE_MI_TTY=1 actually work
@ 2016-06-30 11:28 sergiodj+buildbot
  2016-06-30 11:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-30 11:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 994e9c834d916af85e0fe0e8c3e18259aa4be389 ***

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

Make testing gdb with FORCE_SEPARATE_MI_TTY=1 actually work

Runing the whole gdb testsuite with MI on a separate tty, with:

  make check RUNTESTFLAGS="FORCE_SEPARATE_MI_TTY=1"

Doesn't actually work because commit 51f77c3704a6 ("Add testing
infrastruture bits for running with MI on a separate UI") included a
last-minute rename typo, now fixed with this commit.

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

	* lib/mi-support.exp (default_mi_gdb_start): Declare global
	FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions.
@ 2016-06-30 10:07 sergiodj+buildbot
  2016-06-30 10:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-30 10:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 534dbe460e692a9befd9aca0eb0812db47459a30 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 534dbe460e692a9befd9aca0eb0812db47459a30

[ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions.

GAS fails to recognize march=armv8.2-a as a superset of march=armv8.1-a
when assembling NEON instructions. The patch corrects this, making
-march=armv8.2-a -mfpu=neon-fp-armv8 enable the NEON intructions
introduced with ARMv8.1-A.

include/
2016-06-30  Matthew Wahab  <matthew.wahab@arm.com>

	* opcode/arm.h (ARM_ARCH_V8_2a): Add FPU_NEON_EXT_RDMA to the set
	of enabled FPU features.

gas/
2016-06-30  Matthew Wahab  <matthew.wahab@arm.com>

	* testsuite/gas/arm/armv8_2+rdma.d: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for simulating big-endian AArch64 binaries.
@ 2016-06-30  8:28 sergiodj+buildbot
  2016-06-30  8:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-30  8:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c7be441465094e5ffce2f4205ea887676965d0be ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: c7be441465094e5ffce2f4205ea887676965d0be

Add support for simulating big-endian AArch64 binaries.

	* cpustate.h: Include config.h.
	(union GRegisterValue): Add WORDS_BIGENDIAN check.  For big endian code
	use anonymous structs to align members.
	* simulator.c (aarch64_step): Use sim_core_read_buffer and
	endian_le2h_4 to read instruction from pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add copyright header in gdb.base/return.c
@ 2016-06-29 18:30 sergiodj+buildbot
  2016-06-29 21:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 18:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e56534680d0df0e2ca313086b1758480c9374615 ***

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

Add copyright header in gdb.base/return.c

gdb/testsuite:

2016-06-29  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/return.c: Add copyright header.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR gdb/17210 - fix possible memory leak in read_memory_robust
@ 2016-06-29 16:36 sergiodj+buildbot
  2016-06-29 17:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d78f827e0da9ab6fda2d6ef2d59cebb805b411f ***

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

PR gdb/17210 - fix possible memory leak in read_memory_robust

PR gdb/17210 concerns a possible memory leak in read_memory_robust.
The bug can happen because read_memory_robust allocates memory, does
not install any cleanups, and invokes QUIT.  Similarly, target_read
calls QUIT, so it too can potentially throw.

The fix is to install cleanups to guard the allocated memory.

Built and regtested on x86-64 Fedora 23.  I couldn't think of a way to
test this, so no new test; and of course this means it should have
more careful review.

2016-06-29  Tom Tromey  <tom@tromey.com>

	PR gdb/17210:
	* target.c (free_memory_read_result_vector): Take a pointer to the
	VEC as an argument.
	(read_memory_robust): Install a cleanup for "result".
	* mi/mi-main.c (mi_cmd_data_read_memory_bytes): Update.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Initialize strtok_r's saveptr to NULL
@ 2016-06-29 14:59 sergiodj+buildbot
  2016-06-29 15:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bf74fb27dc6e2a9679403d66fe919215e3c2a45 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: 9bf74fb27dc6e2a9679403d66fe919215e3c2a45

Initialize strtok_r's saveptr to NULL

Building gdb with --enable-build-with-cxx=no trips on a warning:

 ../../binutils-gdb/gdb/rust-lang.c:173:15: error: saveptr may be used
 uninitialized in this function [-Werror=maybe-uninitialized]
     ret.name = concat (TYPE_NAME (type), "::", token, (char *) NULL);

The problem is that gcc doesn't understand that "tail" can never be
NULL in the call to strtok_r:

      name = xstrdup (TYPE_FIELD_NAME (type, 0));
      cleanup = make_cleanup (xfree, name);
      tail = name + strlen (RUST_ENUM_PREFIX);
...
      for (token = strtok_r (tail, "$", &saveptr);

Fix this by always initializing saveptr.

2016-06-29  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_get_disr_info): Initialize saveptr to NULL.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Set unknown_syscall differently on arm linux
@ 2016-06-29 14:20 sergiodj+buildbot
  2016-06-29 14:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 14:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28244707d9e4f35cab1f9069cee1d44b38be095f ***

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

Set unknown_syscall differently on arm linux

Currently, we use 123456789 as unknown or illegal syscall number, and
expect program return ENOSYS.  Although 123456789 is an illegal syscall
number on arm linux, kernel sends SIGILL rather than returns -ENOSYS.
However, arm linux kernel returns -ENOSYS if syscall number is within
0xf0001..0xf07ff, so we can use 0xf07ff for unknown_syscall in test.

gdb/testsuite:

2016-06-29  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
	0x0f07ff.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sparc: make SPARC_OPCODE_ARCH_MAX part of its enum
@ 2016-06-29 12:11 sergiodj+buildbot
  2016-06-29 13:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 042c94de565ae62640c064f1cb33d28484aeb9d3 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 042c94de565ae62640c064f1cb33d28484aeb9d3

sparc: make SPARC_OPCODE_ARCH_MAX part of its enum

include/ChangeLog:

2016-06-29  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* opcode/sparc.h (enum sparc_opcode_arch_val): Move
	SPARC_OPCODE_ARCH_MAX into the enum.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use strtok_r instead of strsep in rust_get_disr_info
@ 2016-06-29 11:32 sergiodj+buildbot
  2016-06-29 12:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 11:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a405c2281ad29b5c7f9f2a4d58b7cfef2b74ba99 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: a405c2281ad29b5c7f9f2a4d58b7cfef2b74ba99

Use strtok_r instead of strsep in rust_get_disr_info

strsep doesn't exist on Windows.

2016-06-29  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_get_disr_info): Use strtok_r instead of strsep.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Preserve all mapping symbols in ARM and AArch64 object files.
@ 2016-06-29 10:35 sergiodj+buildbot
  2016-06-29 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-29 10:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d691934d08a4132506a19ac8d7565f1a0461a80a ***

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

Preserve all mapping symbols in ARM and AArch64 object files.

bfd	* elfnn-aarch64.c (is_aarch64_mapping_symbol): New function.
	Returns TRUE for AArch64 mapping symbols.
	(elfNN_aarch64_backend_symbol_processing): New function.  Marks
	mapping symbols as precious in object files so that they will not
	be stripped.
	(elf_backend_symbol_processing): Define.

	* elf32-arm.c (is_arm_mapping_symbol): New function.  Returns TRUE
	for ARM mapping symbols.
	(elf32_arm_backend_symbol_processing): Make use of the new function.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [TILEPro] Don't build gdb
@ 2016-06-28 18:34 sergiodj+buildbot
  2016-06-29  0:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 18:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9abdce70ac7a3ee8f92285c314fa7728d3c1aa43 ***

Author: Walter Lee <walt@tilera.com>
Branch: master
Commit: 9abdce70ac7a3ee8f92285c314fa7728d3c1aa43

[TILEPro] Don't build gdb

In configure.ac, add gdb to noconfigdirs for TILEPro.

       * configure.ac (tilepro-*-*): Add gdb to noconfigdirs.
       * configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Use int64_t for address offset
@ 2016-06-28 17:17 sergiodj+buildbot
  2016-06-28 22:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 17:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ac09a5bbbff78d363ede2f038c31a9b1cb0887b ***

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

[AArch64] Use int64_t for address offset

In AArch64 displaced stepping and fast tracepoint, GDB/GDBserver needs
to check whether the offset can fit in the range.  We are using int32_t
for offset, it is sufficient to get an offset from an instruction, but
it is not enough to get an offset from two addresses.  For example,
we have a BL in shared lib which is at 0x0000002000040774, and the
scratch pad for displaced stepping is at 0x400698.  The offset can't
fit in 28 bit imm.  However, since we are using int32_t for offset, GDB
thinks the offset can fit it, and generate the B instruction with wrong
offset.

It fixes the following fail,

-FAIL: gdb.base/dso2dso.exp: next over call to sub2

gdb:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_displaced_step_b): Use int64_t for
	variable new_offset.

gdb/gdbserver:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch64-low.c (aarch64_ftrace_insn_reloc_b): Use int64_t
	for variable new_offset.
	(aarch64_ftrace_insn_reloc_b_cond): Likewise.
	(aarch64_ftrace_insn_reloc_cb): Likewise.
	(aarch64_ftrace_insn_reloc_tb): Likewise.
	(aarch64_install_fast_tracepoint_jump_pad): Likewise.  Use
	PRIx64 instead of PRIx32.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Mark ARM mapping symbols in object files are precious, so that strip will not remove them.
@ 2016-06-28 15:00 sergiodj+buildbot
  2016-06-28 19:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fca2a38fdb391f810e309a12d5279047d4edac34 ***

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

Mark ARM mapping symbols in object files are precious, so that strip will not remove them.

	* elf32-arm.c (elf32_arm_backend_symbol_processing): New
	function.  Marks mapping symbols in object files as precious, so
	that strip will not remove them.
	(elf_backend_symbol_processing): Define.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Implement get_syscall_trapinfo for arm-linux
@ 2016-06-28 14:32 sergiodj+buildbot
  2016-06-28 17:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 14:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 79e7fd4f78e0c33e77dd0b69d7de8167a60af06a ***

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

Implement get_syscall_trapinfo for arm-linux

gdb/gdbserver:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* linux-arm-low.c (arm_get_syscall_trapinfo): New function.
	(the_low_target): Install arm_get_syscall_trapinfo.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Implement get_syscall_trapinfo for aarch64-linux
@ 2016-06-28 13:31 sergiodj+buildbot
  2016-06-28 16:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 13:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 061fc021d5d110cc37a4c06c4ed94b87be00610a ***

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

Implement get_syscall_trapinfo for aarch64-linux

gdb/gdbserver:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch64-low.c (aarch64_get_syscall_trapinfo): New
	function.
	(the_low_target): Install aarch64_get_syscall_trapinfo.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove parameter sysret from linux_target_ops.get_syscall_trapinfo
@ 2016-06-28 13:01 sergiodj+buildbot
  2016-06-28 15:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 13:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4cc32bec04aadc5c070d0f4aee656313a4854c11 ***

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

Remove parameter sysret from linux_target_ops.get_syscall_trapinfo

When I implement linux_target_ops.get_syscall_trapinfo for aarch64 and arm,
I find the second parameter sysret isn't used at all.  In RSP, we don't
need syscall return value either, because GDB can figure out the return
value from registers content got by 'g' packet.

This patch is to remove them.

gdb/gdbserver:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (get_syscall_trapinfo): Remove parameter sysret.
	Callers updated.
	* linux-low.h (struct linux_target_ops) <get_syscall_trapinfo>:
	Remove parameter sysno.
	* linux-x86-low.c (x86_get_syscall_trapinfo): Remove parameter
	sysret.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Probe catch syscall support
@ 2016-06-28 12:03 sergiodj+buildbot
  2016-06-28 14:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 12:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a31d2f068fa1384c505b540ea595d2d97813ba5f ***

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

Probe catch syscall support

In 82075af2c14b1f8a54fa5796fb63f7ef23f98d9d (Implement 'catch syscall'
for gdbserver), only x86 is supported, but the test can still be run
on other linux targets, like aarch64 and ppc, with native-gdbserver.
This causes many new fails.

This patch removes the check on isnative and on target triplets.
Instead, we can insert catch point, and resume the program to see whether
catch syscall is supported or not.

gdb/testsuite:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/catch-syscall.exp: Remove check on isnative and target
	triplets.  Start gdb, execute catch syscall, and continue.  Check
	gdb's output to determine catch syscall is supported.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64.
@ 2016-06-28 11:18 sergiodj+buildbot
  2016-06-28 12:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28 11:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7160c10d6530b79ea45d435933b07765f610f54d ***

Author: James Clarke <jrtc27@jrtc27.com>
Branch: master
Commit: 7160c10d6530b79ea45d435933b07765f610f54d

Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64.

bfd	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
	R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64.

gold	* sparc.cc (Target_sparc::Scan::local): Don't convert R_SPARC_32
	to R_SPARC_RELATIVE if class is ELFCLASS64.
	(Target_sparc::Scan::global): Likewise.

ld	* testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
	.text.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Make register indices be full 64-bit values
@ 2016-06-28  8:38 sergiodj+buildbot
  2016-06-28  9:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-28  8:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dab26bf4e7c8b48e0c5ffbef1c5400807b78072c ***

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

[AArch64] Make register indices be full 64-bit values

aarch64_opnd_info used bitfields to hold vector element indices,
but values were stored into those bitfields before their ranges had
been checked.  This meant large invalid indices could be silently
truncated to smaller valid indices.

The two obvious fixes were to do the range checking earlier or use
a full 64-bit field for the index.  I went for the latter for two
reasons:

      - Doing the range checking in operand_general_constraint_met_p
        seems structurally cleaner than doing it while parsing.

      - The bitfields didn't really buy us anything.  The imm field
        of the union is already 128 bits, so we can use a full int64_t
        index without growing the structure.

The patch also adds missing range checks for the elements in a register
list index.

include/
	* opcode/aarch64.h (aarch64_opnd_info): Change index fields to int64_t.

opcodes/
	* aarch64-opc.c (operand_general_constraint_met_p): Check the
	range of ldst_elemlist operands.
	(print_register_list): Use PRIi64 to print the index.
	(aarch64_print_operand): Likewise.

gas/
	* testsuite/gas/aarch64/diagnostic.s,
	testsuite/gas/aarch64/diagnostic.l: Add tests for out-of-range indices.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Print void types correctly in Rust
@ 2016-06-27 17:03 sergiodj+buildbot
  2016-06-27 17:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-27 17:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 921d8f549f9e35d3f83c7b1a381146a7dc1246f4 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: 921d8f549f9e35d3f83c7b1a381146a7dc1246f4

Print void types correctly in Rust

Rust prefers to not specify the return type of a function when it is unit
(`()`). The type is also referred to as "void" in debuginfo but not in actual
usage, so we should never be printing "void" when the language is Rust.

2016-06-27  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_print_type): Print unit types as "()"
    * rust-lang.c (rust_print_type): Omit return type for functions
    returning unit

gdb/testsuite/ChangeLog:
    * gdb.rust/simple.rs: Add test for returning unit in a function
    * gdb.rust/simple.exp: Add expectation for functions returning unit


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR 19264 looping in ppc64_elf_size_stubs
@ 2016-06-27 12:10 sergiodj+buildbot
  2016-06-27 15:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-27 12:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c9301e31817019c38ab52da0e72fa1e3bf75332c ***

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

PR 19264 looping in ppc64_elf_size_stubs

b399102 fixed the testcase in this PR but it may be possible to
trigger the problem in other ways.

	PR ld/19264
	* elf64-ppc.c (STUB_SHRINK_ITER): Define.
	(ppc64_elf_size_stubs): Exit stub sizing loop past STUB_SHRINK_ITER
	if shrinking stubs.
	(ppc64_elf_size_stubs): Adjust to suit.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add a gdbarch 'print_auxv_entry' method for FreeBSD ABIs.
@ 2016-06-24 22:59 sergiodj+buildbot
  2016-06-26  2:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-24 22:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82372b2f2747d347e24bb10ddc7bc7e828222a42 ***

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

Add a gdbarch 'print_auxv_entry' method for FreeBSD ABIs.

Add a 'print_auxv_entry' method for FreeBSD ABIs that parses
FreeBSD-specific auxiliary vector entries and outputs a suitable
description using fprint_auxv_entry.

gdb/ChangeLog:

	* fbsd-tdep.c: Include "auxv.h".
	(fbsd_print_auxv_entry): New function.
	(fbsd_init_abi): Install gdbarch "print_auxv_entry" method.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make gdbpy_parameter static
@ 2016-06-24  3:10 sergiodj+buildbot
  2016-06-25  2:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-24  3:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c72ed4ca21e7a9f78f19179584f3886bf463689 ***

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

Make gdbpy_parameter static

While working on the next patch in this series, I noticed that
gdbpy_parameter did not need to be exported.  This makes it "static".

2016-06-23  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_parameter): Now static.
	* python/python-internal.h (gdbpy_parameter): Don't declare.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Misc minor edits/fixes
@ 2016-06-23  9:16 sergiodj+buildbot
  2016-06-24 21:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-23  9:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce440d638d271d76cc491bd22dc34f6a5760140e ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: ce440d638d271d76cc491bd22dc34f6a5760140e

[ARC] Misc minor edits/fixes

The code supporting -mspfp, -mdpfp, and -mfpuda options are in
sections of code that are commented as being for backward
compatibility only, and having no effect. However, they do have an
effect, enabling the SPX, DPX, and DPA instruction subclasses
respectively. This commit moves the code supporting these options
away from the comments indicating that they are dummy options, and
also fixes a small issue where -mnps400 had the additional effect
of enabling SPX instructions.

A couple of other minor edits (that make no functional change) are
also included.

gas/ChangeLog:

        * config/tc-arc.c (options, md_longopts, md_parse_option):
        Move -mspfp, -mdpfp and -mfpuda out of the sections for
        dummy options. Correct erroneous enabling of SPFP
        instructions when using -mnps400.

include/ChangeLog:

        * opcode/arc.h: Make insn_class_t alphabetical again.

opcodes/ChangeLog:

        * arc-opc.c: Correct description of availability of NPS400
        features.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Send deleted watchpoint-scope output to all UIs
@ 2016-06-22 11:03 sergiodj+buildbot
  2016-06-23 19:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-22 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 468afe6c5fc9c80b8c175f3f13702ffaa6308400 ***

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

Send deleted watchpoint-scope output to all UIs

Testing with:

  make check RUNTESTFLAGS="SEPARATE_MI_TTY=1"

shows this, in gdb.mi/mi-watch.exp:

 -*stopped,reason="watchpoint-scope",wpnum="2",frame={addr="0x00000000004005cb",
 +*stopped,frame={addr="0x00000000004005cb",
 (...)
 -PASS: gdb.mi/mi-watch.exp: hw: watchpoint trigger
 +FAIL: gdb.mi/mi-watch.exp: hw: watchpoint trigger (unknown output after running)

That is, we lose the "watchpoint-scope" output on the MI UI.

This commit fixes it, and makes the test run with MI running as both
main UI and separate UI.

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

	* breakpoint.c (watchpoint_check): Send watchpoint-deleted output
	to all UIs.

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

	* gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
	(test_awatch_creation_and_listing)
	(test_rwatch_creation_and_listing, test_watchpoint_triggering):
	Remove 'type' parameter.
	(test_watchpoint_all): New parameter mi_mode.  Remove
	with_test_prefix.
	(top level): Use foreach_with_prefix, and add main/separate UI MI
	testing axis.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] tilegx: move TILEGX_NUM_PIPELINE_ENCODINGS to tilegx_pipeline enum
@ 2016-06-22  9:22 sergiodj+buildbot
  2016-06-24 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-22  9:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6edaf4d75b45ff08d7296095506904663b8f0576 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 6edaf4d75b45ff08d7296095506904663b8f0576

tilegx: move TILEGX_NUM_PIPELINE_ENCODINGS to tilegx_pipeline enum

Its closely related to what the encodings are, more than a set of random
constants, so it seems to make sense to put it here.

include/ChangeLog:

2016-06-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* opcode/tilegx.h: Move TILEGX_NUM_PIPELINE_ENCODINGS into
	tilegx_pipeline.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Simplify starting the command event loop
@ 2016-06-21 18:08 sergiodj+buildbot
  2016-06-22 15:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 18:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2d86570b316c347384c4ba9bb3933ed5e807fca ***

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

Simplify starting the command event loop

All interpreter types (CLI/TUI/MI) print the prompt, and then call
start_event_loop.

Because we'll need an interpreter hook to display the
interpreter-specific prompt before going back to the event loop,
without actually starting an event loop, this patch moves the
start_event_loop call to common code, and replaces the command_loop
hook with a pre_command_look hook, that now just prints the prompt.

Turns out to be a cleanup on its own right anyway.

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

	* cli/cli-interp.c (cli_interpreter_pre_command_loop): New
	function.
	(cli_interp_procs): Install it instead of cli_command_loop.
	* cli/cli-interp.h (cli_interpreter_pre_command_loop): Declare.
	* event-top.c (cli_command_loop): Delete.
	* interps.c (interp_new): Remove reference to command_loop_proc.
	(current_interp_command_loop): Delete.
	(interp_pre_command_loop): New function.
	(interp_command_loop_ftype): Delete.
	* interps.h (interp_pre_command_loop_ftype): New typedef.
	(struct interp_procs) <command_loop_proc>: Delele field.
	<pre_command_loop_proc>: New field.
	(current_interp_command_loop): Delete declaration.
	(interp_pre_command_loop): New declaration.
	* main.c (captured_command_loop): Call interp_pre_command_loop
	instead of current_interp_command_loop and start an event loop.
	* mi/mi-interp.c (mi_command_loop): Delete.
	(mi_interpreter_pre_command_loop): New.
	(mi_interp_procs): Update.
	* tui/tui-interp.c (tui_interp_procs): Install
	cli_interpreter_pre_command_loop instead of cli_command_loop.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make stdin be per UI
@ 2016-06-21 18:04 sergiodj+buildbot
  2016-06-23 10:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 18:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 268a799a454ce862f516ff2215290fae08eca7fa ***

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

Make stdin be per UI

This commit makes each UI have its own "stdin" stream pointer.  This
is used to determine whether the "from_tty" argument to
execute_command, etc. should be true.

Related, this commit makes input_from_terminal_p take an UI parameter,
and then avoids the gdb_has_a_terminal in it.  gdb_has_a_terminal only
returns info on gdb's own main/primary terminal (the real stdin).
However, the places that call input_from_terminal_p really want to
know is whether the command came from an interactive tty.  This patch
thus renames input_from_terminal_p to input_interactive_p for clarity,
and then makes input_interactive_p check for "set interactive" itself,
along with ISATTY, instead of calling gdb_has_a_terminal.  Actually,
quit_force wants to call input_interactive_p _after_ stdin is closed,
we can't call ISATTY that late.  So instead we save the result of
ISATTY in a field of the UI.

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

	* cli/cli-script.c (read_next_line): Adjust to per-UI stdin.
	(read_command_lines): Use input_interactive_p instead of
	input_from_terminal_p.
	* defs.h (struct ui): Forward declare.
	(input_from_terminal_p): Rename to ...
	(input_interactive_p): ... this.
	* event-top.c (stdin_event_handler): Pass 0 as from_tty argument
	to quit_command.
	(command_handler): Adjust to per-UI stdin.
	(handle_line_of_input): Adjust to per-UI stdin and use
	input_interactive_p instead of ISATTY and input_from_terminal_p.
	(gdb_readline_no_editing_callback): Adjust to per-UI stdin.
	(command_line_handler): Always pass true as "from_tty" parameter
	of handle_line_of_input and execute_command.
	(async_sigterm_handler): Pass 0 as from_tty argument to
	quit_command.
	* inflow.c (interactive_mode, show_interactive_mode): Moved to ...
	(gdb_has_a_terminal): Don't check interactive_mode here.
	(_initialize_inflow): Don't install "set interactive-mode" here.
	* main.c (captured_command_loop): Adjust to per-UI stdin.
	* mi/mi-interp.c (mi_execute_command_wrapper): Adjust to per-UI
	stdin.
	* top.c (new_ui): Save the stdin stream and whether it's a tty.
	(dont_repeat): Adjust to per-UI stdin.
	(command_line_input): Adjust to per-UI stdin and to use
	input_interactive_p.
	(quit_force): Write history if any UI supports interactive input.
	(interactive_mode, show_interactive_mode): Move here, from
	inflow.c.
	(input_from_terminal_p): Rename to ...
	(input_interactive_p): ... this, and check the "interactive_mode"
	global instead of calling gdb_has_a_terminal.
	(_initialize_top): Install "set interactive-mode" here.
	* top.h (struct ui) <stdin_stream, input_interactive_p>: New
	fields.
	* utils.c (quit): Pass 0 as from_tty argument to quit_force.
	(defaulted_query): Adjust to per-UI stdin and to use
	input_interactive_p.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make main_ui be heap allocated
@ 2016-06-21 16:33 sergiodj+buildbot
  2016-06-23  6:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 16:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98d9f24ed15c5ca33bff06647d87b85e22e586d2 ***

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

Make main_ui be heap allocated

This is preparation for being able to create more than one UI object.

The change to gdb_main to stop using catch_errors is necessary because
catch_errors references current_uiout, which expands to
current_ui->m_current_ui, which would crash because current_ui is not
initialized yet at that point.  It didn't trigger earlier in the
series because before this patch, main_ui/current_ui always start out
non-NULL.

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

	* event-top.c (main_ui_): Delete.
	(main_ui, current_ui, ui_list): No longer initialize here.
	* main.c (captured_main): UI initialization code factored out to
	new new_ui function.
	(gdb_main): Wrap captured_main with TRY/CATCH instead of
	catch_errors.
	* top.c (highest_ui_num): New global.
	(new_ui): New function.
	* top.h (struct ui) <num>: New field.
	(new_ui): New declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Push thread->control.command_interp to the struct thread_fsm
@ 2016-06-21 15:18 sergiodj+buildbot
  2016-06-23  3:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 15:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8980e177bb62ec64875b335cf8733b41f3aae2fd ***

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

Push thread->control.command_interp to the struct thread_fsm

I noticed that if we step into an inline function, step_1 never
reaches proceed, and thus nevers sets the thread's
tp->control.command_interp.  Because of that,
should_print_stop_to_console fails to determine that is should print
stop output to the console.

The fix is to set the thread's command_interp earlier.  However, I
realized that we can move that field to the thread_fsm, given that its
lifetime is exactly the same as thread_fsm.  So the patch plumbs all
fsms constructors to take the command interp and store it in the
thread_fsm.

We can see the fix in action, with e.g., the gdb.opt/inline-cmds.exp
test, and issuing a step when stopped at line 67:

 &"s\n"
 ^running
 *running,thread-id="all"
 (gdb)
 ~"67\t  result = func2 ();\n"
 *stopped,reason="end-stepping-range",frame={addr="0x00000000004004d0",func="main",args=[],file="/home/pedro/gdb/mygit/src/gdb/testsuite/gdb.opt/inline-cmds.c",fullname="/home/pedro/gdb/mygit/src/gdb/testsuite/gdb.opt/inline-cmds.c",line="67"},thread-id="1",stopped-threads="all",core="0"
 (gdb)
 s
 &"s\n"
 ^running
 *running,thread-id="all"
 (gdb)
+ ~"func2 () at /home/pedro/gdb/mygit/src/gdb/testsuite/gdb.opt/inline-cmds.c:67\n"
+ ~"67\t  result = func2 ();\n"
 *stopped,reason="end-stepping-range",frame={addr="0x00000000004004d0",func="func2",args=[],file="/home/pedro/gdb/mygit/src/gdb/testsuite/gdb.opt/inline-cmds.c",fullname="/home/pedro/gdb/mygit/src/gdb/testsuite/gdb.opt/inline-cmds.c",line="67"},thread-id="1",stopped-threads="all",core="0"
 (gdb)

(The inline-cmds.exp command is adjusted to exercise this.)

(Due to the follow_fork change, this also fixes "next N" across a fork
with "set follow-fork child" with "set detach-on-fork on".  Commands
that rely on internal breakpoints, like "finish" will still require
more work to migrate breakpoints etc. to the child thread.)

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

	* breakpoint.c (new_until_break_fsm): Add 'cmd_interp' parameter.
	(until_break_fsm_should_stop, until_break_fsm_clean_up): Add
	thread parameter.
	(until_break_command): Pass command interpreter to thread fsm
	ctor.
	* cli/cli-interp.c (should_print_stop_to_console): Adjust.
	* gdbthread.h (struct thread_control_state) <command_interp>:
	Delete field.
	* infcall.c (new_call_thread_fsm): Add 'cmd_interp' parameter.
	Pass it down.
	(call_thread_fsm_should_stop): Add thread parameter.
	(call_function_by_hand_dummy): Pass command interpreter to thread
	fsm ctor.  Pass thread pointer to fsm clean up method.
	* infcmd.c: Include interps.h.
	(struct step_command_fsm) <thread>: Delete field.
	(new_step_command_fsm): Add 'cmd_interp' parameter.  Pass it down.
	(step_command_fsm_prepare): Remove references to fsm's thread
	field.
	(step_1): Pass command interpreter to thread
	fsm ctor.  Pass thread pointer to fsm clean up method.
	(step_command_fsm_should_stop, step_command_fsm_clean_up): Add
	thread parameter and use it.
	(new_until_next_fsm): Add 'cmd_interp' parameter.  Pass it down.
	(until_next_fsm_should_stop, until_next_fsm_clean_up): Add thread
	parameter and use it.
	(until_next_command): Pass command interpreter to thread fsm ctor.
	(struct finish_command_fsm) <thread>: Delete field.
	(finish_command_fsm_ops): Add NULL slot for should_notify_stop.
	(new_finish_command_fsm): Add 'cmd_interp' parameter and pass it
	down.  Remove thread parameter and adjust.
	(finish_command_fsm_should_stop, finish_command_fsm_clean_up): Add
	thread parameter and use it.
	(finish_command): Pass command interpreter to thread fsm ctor.
	Don't pass thread.
	* infrun.c (follow_fork): Move thread fsm to child fork instead of
	command interpreter, only.
	(clear_proceed_status_thread): Remove reference to command_interp.
	(proceed): Don't record the thread's command interpreter.
	(clean_up_just_stopped_threads_fsms): Pass thread to fsm clean_up
	method.
	(fetch_inferior_event): Pass thread to fsm should_stop method.
	* thread-fsm.c (thread_fsm_ctor): Add 'cmd_interp' parameter.
	Store it.
	(thread_fsm_clean_up, thread_fsm_should_stop): Add thread
	parameter and pass it down.
	* thread-fsm.h (struct thread_fsm) <command_interp>: New field.
	(struct thread_fsm_ops) <clean_up, should_stop>: Add thread
	parameter.
	(thread_fsm_ctor): Add 'cmd_interp' parameter.
	(thread_fsm_clean_up, thread_fsm_should_stop): Add thread
	parameter.
	* thread.c (thread_cancel_execution_command): Pass thread to
	thread fsm clean_up method.

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

	* gdb.opt/inline-cmds.c: Add "set mi break here" marker.
	* gdb.opt/inline-cmds.exp: Add MI tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make gdb_in_secondary_prompt_p() be per UI
@ 2016-06-21 12:26 sergiodj+buildbot
  2016-06-22 18:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dbf30ca3f5fec91671b37592f1a6644a2c36f67a ***

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

Make gdb_in_secondary_prompt_p() be per UI

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

	* top.c (gdb_secondary_prompt_depth): Delete.
	(gdb_in_secondary_prompt_p): Add ui parameter.  Use it.
	(gdb_readline_wrapper_cleanup, gdb_readline_wrapper): Adjust to
	per-UI gdb_secondary_prompt_depth.
	* top.h (struct ui) <secondary_prompt_depth>: New field.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make target_terminal_inferior/ours almost nops on non-main UIs
@ 2016-06-21 10:12 sergiodj+buildbot
  2016-06-22  9:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-21 10:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 215d3118fe5f120c1deba66943329e30073ed780 ***

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

Make target_terminal_inferior/ours almost nops on non-main UIs

Since we always run the inferior in the main console (unless "set
inferior-tty" is in effect), when some UI other than the main one
calls target_terminal_inferior/target_terminal_inferior, then we only
register/unregister the UI's input from the event loop, but leave the
main UI's terminal settings as is.

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

	* target.c (target_terminal_inferior): Bail out after
	unregistering input_fd if not on the main UI.
	(target_terminal_ours): Bail out after registering input_fd if not
	on the main UI.
	(target_terminal_ours_for_output): Bail out if not on the main UI.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: new AndesTech NDS32 port
@ 2016-06-17 11:35 sergiodj+buildbot
  2016-06-17 16:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-17 11:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a28d8e5037333291991f7b0036b273e8ca1ffc34 ***

Author: Yan-Ting Lin <currygt52@gmail.com>
Branch: master
Commit: a28d8e5037333291991f7b0036b273e8ca1ffc34

gdb: new AndesTech NDS32 port

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Add nds32-tdep.o.
	(HFILES_NO_SRCDIR): Add nds32-tdep.h.
	(ALLDEPFILES): Add nds32-tdep.c.
	* NEWS: Mention new NDS32 port.
	* configure.tgt: Add NDS32.
	* nds32-tdep.c: New file.
	* nds32-tdep.h: New file.
	* features/Makefile (XMLTOC): Add nds32.xml.
	* features/nds32-core.xml: New file.
	* features/nds32-fpu.xml: New file.
	* features/nds32-system.xml: New file.
	* features/nds32.c: New file (generated).
	* features/nds32.xml: New file.

gdb/doc/ChangeLog:

	* gdb.texinfo (Standard Target Features): Document NDS32 features.
	(NDS32 Features): New Section.

gdb/testsuite/ChangeLog:

	* gdb.base/float.exp: Add target check for nds32*-*-*.
	* gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Initialize 'ra' to zero to avoid uninitialized use.
@ 2016-06-14 22:53 sergiodj+buildbot
  2016-06-15  5:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-14 22:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bec734b212d68d96560e309f49a584d98b98fbdc ***

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

Initialize 'ra' to zero to avoid uninitialized use.

If the instruction in this case does not include an RA field, then 'ra'
is used uninitialized.  Use the same idiom used elsewhere in this file of
initializing ra to zero before check for an RA field.

gdb/ChangeLog:

	* rs6000-tdep.c (ppc_process_record_op31): Initialize ra.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Set my_archive for thin archives
@ 2016-06-14  6:01 sergiodj+buildbot
  2016-06-14 10:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-14  6:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0cffb47671ffbaac559c1f17a9f248256ea6c42 ***

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

Set my_archive for thin archives

LTO plugin support in plugin_maybe_claim wants to close the IR bfd
after replacing it with the recompiled object, but can't do so for
archive elements due to various pointers that access the archive bfd.
Thin archives have the same problem.  They too cannot have their
element bfds closed.

	PR ld/20241
bfd/
	* archive.c (open_nested_file): Set my_archive.
	* bfd.c (_bfd_default_error_handler <%B>): Exclude archive file name
	for thin archives.
	* bfdio.c (bfd_tell): Don't adjust origin for thin archives.
	(bfd_seek): Likewise.
	* bfdwin.c (bfd_get_file_window): Likewise.
	* cache.c (cache_bmmap): Likewise.
	(bfd_cache_lookup_worker): Don't look in my_archive for thin archives.
	* mach-o.c (bfd_mach_o_follow_dsym): Don't open my_archive for
	thin archives.
	* plugin.c (try_claim): Likewise.
	* xcofflink.c (xcoff_link_add_dynamic_symbols): Use import path of
	file within thin archive, not the archive.
binutils/
	* bucomm.c (bfd_get_archive_filename): Return file name within thin
	archive.
ld/
	* ldmain.c (add_archive_element): Just print file name of file within
	thin archives.
	* ldmisc.c (vfinfo): Likewise.
	* plugin.c (plugin_object_p): Open file within thin archives.
	(plugin_maybe_claim): Expand comment.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Subtract GOT base only with a base register
@ 2016-06-12  4:48 sergiodj+buildbot
  2016-06-12  5:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-12  4:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74d7f0aa5b1e27da215349fb32337e1d83aca7d7 ***

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

Subtract GOT base only with a base register

When relocating R_386_GOT32 in "op $0, bar@GOT", we shouldn't subtract
GOT base without a base register and we should disallow it without a
base register for PIC.

bfd/

	PR ld/20244
	* elf32-i386.c (elf_i386_relocate_section): When relocating
	R_386_GOT32, return error without a base register for PIC and
	subtract the .got.plt section address only with a base register.

ld/

	PR ld/20244
	* testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
	* testsuite/ld-i386/pr20244-1.s: New file.
	* testsuite/ld-i386/pr20244-1a.d: Likewise.
	* testsuite/ld-i386/pr20244-1b.d: Likewise.
	* testsuite/ld-i386/pr20244-1c.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fortran: Testsuite, non-local references in nested functions.
@ 2016-06-10  9:37 sergiodj+buildbot
  2016-06-10 10:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-10  9:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e13cf25436bf72d851d81f132fcd49b0c636607 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 5e13cf25436bf72d851d81f132fcd49b0c636607

Fortran: Testsuite, non-local references in nested functions.

Non-local references in nested functions are usually implemented
by using DWARF static link. This feature was added
with commit 63e43d3aedb8b1112899c2d0ad74cbbee687e5d6
(DWARF: handle non-local references in nested functions) but
a testcase was missing in Fortran.

2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Testsuite/Changelog:
	* gdb.fortran/nested-funcs.exp: New.
	* gdb.fortran/nested-funcs.f90:	New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PLT first entry GOT operand calculation.
@ 2016-06-07 15:04 sergiodj+buildbot
  2016-06-07 16:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-07 15:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 161db2790500827b74ef835ebe515dce04021316 ***

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

Fix PLT first entry GOT operand calculation.

Embedding the .plt section in another revealed a bug in the way the
larl operand of the first magic plt entry is being calculated.  Fixed
with the attached patch.

bfd/ChangeLog:

	* elf64-s390.c (elf_s390_finish_dynamic_sections): Subtract plt
	section offset when calculation the larl operand in the first PLT
	entry.

ld/ChangeLog:

	* testsuite/ld-s390/pltoffset-1.dd: New test.
	* testsuite/ld-s390/pltoffset-1.ld: New test.
	* testsuite/ld-s390/pltoffset-1.s: New test.
	* testsuite/ld-s390/s390.exp: Run new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PowerPC VLE
@ 2016-06-07 13:02 sergiodj+buildbot
  2016-06-07 13:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-07 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14b57c7c6a53c747a8819fed3da858eae4195a0e ***

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

PowerPC VLE

VLE is an encoding, not a particular processor architecture, so it
isn't really proper to select insns based on PPC_OPCODE_VLE.  For
example
{"evaddw",  VX (4, 512), VX_MASK, PPCSPE|PPCVLE, PPCNONE, {RS, RA, RB}},
{"vaddubs", VX (4, 512), VX_MASK, PPCVEC|PPCVLE, PPCNONE, {VD, VA, VB}},
shows two insns that have the same encoding, both available with VLE.
Enabling both with VLE means we can't disassemble the second variant
even if -Maltivec is given rather than -Mspe.  Also, we don't check
user assembly against the processor type as well as we could.

Another problem is that when using the VLE encoding, insns from the
main ppc opcode table are not available, except those using opcode 4
and 31.  Correcting this revealed two errors in the ld testsuite,
use of "nop" and "rfmci" when -mvle.

This patch fixes those problems in the opcode table, and removes
PPCNONE.  I find a plain 0 distracts less from other values.

In addition, I've implemented code to recognize some machine values
from the apuinfo note present in ppc32 objects.  It's not a complete
disambiguation since we're lacking info to detect newer chips, but
what we have should help with disassembly.

include/
	* elf/ppc.h (APUINFO_SECTION_NAME, APUINFO_LABEL, PPC_APUINFO_ISEL,
	PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK,
	PPC_APUINFO_SPE, PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK,
	PPC_APUINFO_VLE: Define.
opcodes/
	* ppc-dis.c (ppc_opts): Delete extraneous parentheses.  Default
	cpu for "vle" to e500.
	* ppc-opc.c (ALLOW8_SPRG): Remove PPC_OPCODE_VLE.
	(NO371, PPCSPE, PPCISEL, PPCEFS, MULHW, DCBT_EO): Likewise.
	(PPCNONE): Delete, substitute throughout.
	(powerpc_opcodes): Remove PPCVLE from "flags".  Add to "deprecated"
	except for major opcode 4 and 31.
	(vle_opcodes <se_rfmci>): Add PPCRFMCI to flags.
bfd/
	* cpu-powerpc.c (powerpc_compatible): Allow bfd_mach_ppc_vle entry
	to match other 32-bit archs.
	* elf32-ppc.c (_bfd_elf_ppc_set_arch): New function.
	(ppc_elf_object_p): Call it.
	(ppc_elf_special_sections): Use APUINFO_SECTION_NAME.  Fix
	overlong line.
	(APUINFO_SECTION_NAME, APUINFO_LABEL): Don't define here.
	* elf64-ppc.c (ppc64_elf_object_p): Call _bfd_elf_ppc_set_arch.
	* bfd-in.h (_bfd_elf_ppc_at_tls_transform,
	_bfd_elf_ppc_at_tprel_transform): Move to..
	* elf-bfd.h: ..here.
	(_bfd_elf_ppc_set_arch): Declare.
	* bfd-in2.h: Regenerate.
gas/
	* config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
	PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
	PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
	(ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
	by vle_opcodes, and that vle flag doesn't enable opcodes.  Don't
	add vle_opcodes twice.
	(ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
ld/
	* testsuite/ld-powerpc/apuinfo1.s: Delete nop.
	* testsuite/ld-powerpc/apuinfo-vle2.s: New.
	* testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Frame static link: Handle null pointer.
@ 2016-06-07 11:49 sergiodj+buildbot
  2016-06-07 12:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-07 11:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2091da296fd563f62d856dcb5a049a63484ed65e ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 2091da296fd563f62d856dcb5a049a63484ed65e

Frame static link: Handle null pointer.

2016-06-07  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:
	* findvar.c (follow_static_link): Check for valid pointer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Add command line option for RAS extension.
@ 2016-06-07  9:09 sergiodj+buildbot
  2016-06-07  9:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-07  9:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d1464f294405a064d84e3d4f15c1ceff3639add ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 4d1464f294405a064d84e3d4f15c1ceff3639add

[ARM] Add command line option for RAS extension.

This patch adds the architecture extension "+ras" to enable RAS
support. It is enabled by default for -march=armv8.2-a and available but
disabled by default for armv8-a and armv8.1-a.

gas/
	* config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
	(arm_ext_ras): Renamed from arm_ext_v8_2.
	(insns): Update for arm_ext_v8_2 renaming.
	(arm_extensions): Add "ras".
	* doc/c-arm.texi (ARM Options): Add an entry for "ras".
	* testsuite/gas/arm/armv8-a+ras.d: New.
	* testsuite/gas/arm/armv8_2-a.d: Add explicit command line
	options.

include/
	* opcode/arm.h (ARM_EXT2_RAS): New.  Also align preceding
	entries.
	(ARM_AEXT_V8_2A): Add ARM_EXT2_RAS.

opcodes/
	* arm-dis.c (arm_opcodes): Replace ARM_EXT_V8_2A with
	ARM_EXT_RAS in relevant entries.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add method/format information to =record-started
@ 2016-06-06 21:21 sergiodj+buildbot
  2016-06-06 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-06 21:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 38b022b4452f996fb5a8598f80d850b594621bcf ***

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

Add method/format information to =record-started

Eclipse CDT now supports enabling execution recording using two methods
(full and btrace) and both formats for btrace (bts and pt).  In the
event that recording is enabled behind the back of the GUI (by the user
on the command line, or a script), we need to know which method/format
are being used, so it can be correctly reflected in the interface.  This
patch adds this information to the =record-started async record.

Before:

  =record-started,thread-group="i1"

After:

  =record-started,thread-group="i1",method="btrace",format="bts"
  =record-started,thread-group="i1",method="btrace",format="pt"
  =record-started,thread-group="i1",method="full"

The "format" field is only present when the current method supports
multiple formats (only the btrace method as of now).

gdb/ChangeLog:

	* NEWS: Mention the new fields in =record-started.
	* common/btrace-common.h (btrace_format_short_string): New function
	declaration.
	* common/btrace-common.c (btrace_format_short_string): New
	function.
	* mi/mi-interp.c (mi_record_changed): Output method and format
	fields in the =record-started record.
	* record-btrace.c (record_btrace_open): Adapt record_changed
	notification.
	* record-full.c (record_full_open): Likewise.
	* record.c (cmd_record_stop): Likewise.

gdb/doc/ChangeLog:

	* gdb.texinfo (GDB/MI Async Records): Document method and
	format fields in =record-started.
	* observer.texi (record_changed): Add method and format
	parameters.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-record-changed.exp: Adjust =record-started output
	matching.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Support x86-64 TLS code sequences without PLT
@ 2016-06-06 18:25 sergiodj+buildbot
  2016-06-06 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-06 18:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e2cbcd9156d1606a9f2153aecd93a89fe6e29180 ***

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

Support x86-64 TLS code sequences without PLT

We can generate x86-64 TLS code sequences for general and local dynamic
models without PLT, which uses indirect call via GOT:

call *__tls_get_addr@GOTPCREL(%rip)

instead of direct call:

call __tls_get_addr[@PLT]

Since direct call is 4-byte long and indirect call, is 5-byte long, the
extra one byte must be handled properly.

For general dynamic model, one 0x66 prefix before call instruction is
removed to make room for indirect call.  For local dynamic model, we
simply use 5-byte indirect call.

TLS linker optimization is updated to recognize new instruction patterns.
For local dynamic model to local exec model transition, we generate
4 0x66 prefixes, instead of 3, before mov instruction in 64-bit and
generate a 5-byte nop, instead of 4-byte, before mov instruction in
32-bit.  Since linker may convert

call *__tls_get_addr@GOTPCREL(%rip)

to

addr32 call __tls_get_addr

when producing static executable, both patterns are recognized.

bfd/

	* elf64-x86-64.c (elf_x86_64_link_hash_entry): Add tls_get_addr.
	(elf_x86_64_link_hash_newfunc): Initialize tls_get_addr to 2.
	(elf_x86_64_check_tls_transition): Check indirect call and
	direct call with the addr32 prefix for general and local dynamic
	models.  Set the tls_get_addr feild.
	(elf_x86_64_convert_load_reloc): Always use addr32 prefix for
	indirect __tls_get_addr call via GOT.
	(elf_x86_64_relocate_section): Handle GD->LE, GD->IE and LD->LE
	transitions with indirect call and direct call with the addr32
	prefix.

ld/

	* testsuite/ld-x86-64/pass.out: New file.
	* testsuite/ld-x86-64/tls-def1.c: Likewise.
	* testsuite/ld-x86-64/tls-gd1.S: Likewise.
	* testsuite/ld-x86-64/tls-ld1.S: Likewise.
	* testsuite/ld-x86-64/tls-main1.c: Likewise.
	* testsuite/ld-x86-64/tls.exp: Likewise.
	* testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin2.dd: Likewise.
	* testsuite/ld-x86-64/tlsbin2.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin2.sd: Likewise.
	* testsuite/ld-x86-64/tlsbin2.td: Likewise.
	* testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
	* testsuite/ld-x86-64/tlsgd10.dd: Likewise.
	* testsuite/ld-x86-64/tlsgd10.s: Likewise.
	* testsuite/ld-x86-64/tlsgd11.dd: Likewise.
	* testsuite/ld-x86-64/tlsgd11.s: Likewise.
	* testsuite/ld-x86-64/tlsgd12.d: Likewise.
	* testsuite/ld-x86-64/tlsgd12.s: Likewise.
	* testsuite/ld-x86-64/tlsgd13.d: Likewise.
	* testsuite/ld-x86-64/tlsgd13.s: Likewise.
	* testsuite/ld-x86-64/tlsgd14.dd: Likewise.
	* testsuite/ld-x86-64/tlsgd14.s: Likewise.
	* testsuite/ld-x86-64/tlsgd5c.s: Likewise.
	* testsuite/ld-x86-64/tlsgd6c.s: Likewise.
	* testsuite/ld-x86-64/tlsgd9.dd: Likewise.
	* testsuite/ld-x86-64/tlsgd9.s: Likewise.
	* testsuite/ld-x86-64/tlsld4.dd: Likewise.
	* testsuite/ld-x86-64/tlsld4.s: Likewise.
	* testsuite/ld-x86-64/tlsld5.dd: Likewise.
	* testsuite/ld-x86-64/tlsld5.s: Likewise.
	* testsuite/ld-x86-64/tlsld6.dd: Likewise.
	* testsuite/ld-x86-64/tlsld6.s: Likewise.
	* testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlspic2.dd: Likewise.
	* testsuite/ld-x86-64/tlspic2.rd: Likewise.
	* testsuite/ld-x86-64/tlspic2.sd: Likewise.
	* testsuite/ld-x86-64/tlspic2.td: Likewise.
	* testsuite/ld-x86-64/tlspic3.s: Likewise.
	* testsuite/ld-x86-64/tlspie2.s: Likewise.
	* testsuite/ld-x86-64/tlspie2a.d: Likewise.
	* testsuite/ld-x86-64/tlspie2b.d: Likewise.
	* testsuite/ld-x86-64/tlspie2c.d: Likewise.
	* testsuite/ld-x86-64/tlsgd5.dd: Updated.
	* testsuite/ld-x86-64/tlsgd6.dd: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
	tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
	tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
	tlspie2c.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add z8k ld testsuite and fix range check in coff-z8k.c
@ 2016-06-04 20:35 sergiodj+buildbot
  2016-06-04 21:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-04 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ac27cd3c16ad828f96991f8f7b83a4bc10cae6c ***

Author: Christian Groessler <chris@groessler.org>
Branch: master
Commit: 2ac27cd3c16ad828f96991f8f7b83a4bc10cae6c

Add z8k ld testsuite and fix range check in coff-z8k.c

bfd/
	* coff-z8k.c (extra_case): Fix range check for R_JR relocation.

ld/
	* ld/testsuite/ld-z8k/0filler.s: New file.
	* ld/testsuite/ld-z8k/branch-target.s: New file.
	* ld/testsuite/ld-z8k/branch-target2.s: New file.
	* ld/testsuite/ld-z8k/calr-back-8001.d: New file.
	* ld/testsuite/ld-z8k/calr-back-8002.d: New file.
	* ld/testsuite/ld-z8k/calr-back-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/calr-back-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/calr-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/calr-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/calr-opcode.s: New file.
	* ld/testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/dbjnz-opcode.s: New file.
	* ld/testsuite/ld-z8k/djnz-back-8001.d: New file.
	* ld/testsuite/ld-z8k/djnz-back-8002.d: New file.
	* ld/testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/djnz-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/djnz-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/djnz-opcode.s: New file.
	* ld/testsuite/ld-z8k/filler.s: New file.
	* ld/testsuite/ld-z8k/jr-back-8001.d: New file.
	* ld/testsuite/ld-z8k/jr-back-8002.d: New file.
	* ld/testsuite/ld-z8k/jr-back-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/jr-back-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/jr-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/jr-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/jr-opcode.s: New file.
	* ld/testsuite/ld-z8k/ldr-back-8001.d: New file.
	* ld/testsuite/ld-z8k/ldr-back-8002.d: New file.
	* ld/testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/ldr-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/ldr-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/ldr-opcode.s: New file.
	* ld/testsuite/ld-z8k/ldrb-forw-8001.d: New file.
	* ld/testsuite/ld-z8k/ldrb-forw-8002.d: New file.
	* ld/testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
	* ld/testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
	* ld/testsuite/ld-z8k/ldrb-opcode.s: New file.
	* ld/testsuite/ld-z8k/ldrb-opcode2.s: New file.
	* ld/testsuite/ld-z8k/other-file.s: New file.
	* ld/testsuite/ld-z8k/reloc.dd: New file.
	* ld/testsuite/ld-z8k/reloc.ld: New file.
	* ld/testsuite/ld-z8k/relocseg.dd: New file.
	* ld/testsuite/ld-z8k/relocseg.ld: New file.
	* ld/testsuite/ld-z8k/relocseg1.dd: New file.
	* ld/testsuite/ld-z8k/test-ld.sh: New file.
	* ld/testsuite/ld-z8k/this-file.s: New file.
	* ld/testsuite/ld-z8k/z8k.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
@ 2016-06-03 23:50 sergiodj+buildbot
  2016-06-04  0:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-03 23:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 026122a670440bc51266f8e013e5c5877c19b54e ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 026122a670440bc51266f8e013e5c5877c19b54e

Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.

opcodes/
	PR binutils/20196
	* ppc-opc.c (powerpc_opcodes <lbarx, lharx, stbcx., sthcx.>): Enable
	opcodes for E6500.

gas/
	PR binutils/20196
	* gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
	stbcx., sthcx., stwcx., stdcx.>: Add tests.
	* gas/testsuite/gas/ppc/e6500.d: Likewise.
	* gas/testsuite/gas/ppc/power8.s: Likewise.
	* gas/testsuite/gas/ppc/power8.d: Likewise.
	* gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
	stdcx.>: Add tests.
	* gas/testsuite/gas/ppc/power4.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Handle indirect branches for AMD64 and Intel64
@ 2016-06-03 23:15 sergiodj+buildbot
  2016-06-03 23:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-03 23:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07f5af7d3c635234284e7a0f7dd7a410b1628b8b ***

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

Handle indirect branches for AMD64 and Intel64

AMD64 spec and Intel64 spec differ in indirect branches in 64-bit mode.
AMD64 supports indirect branches with 16-bit address via the data size
prefix while the data size prefix is ignored by Intel64.

gas/

	PR binutis/18386
	* testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
	* testsuite/gas/i386/x86-64-branch.d: Updated.
	* testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
	* testsuite/gas/i386/x86-64-branch-4.l: New file.
	* testsuite/gas/i386/x86-64-branch-4.s: Likewise.

opcodes/

	PR binutis/18386
	* i386-dis.c (indirEv): Replace stack_v_mode with indir_v_mode.
	(indir_v_mode): New.
	Add comments for '&'.
	(reg_table): Replace "{T|}" with "{&|}" on call and jmp.
	(putop): Handle '&'.
	(intel_operand_size): Handle indir_v_mode.
	(OP_E_register): Likewise.
	* i386-opc.tbl: Mark 64-bit indirect call/jmp as AMD64.  Add
	64-bit indirect call/jmp for AMD64.
	* i386-tbl.h: Regenerated


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix C++ build for Cygwin
@ 2016-06-03 11:47 sergiodj+buildbot
  2016-06-03 12:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-03 11:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0ae534d2cfef358bcde3166ce3a29faf85bc632a ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: 0ae534d2cfef358bcde3166ce3a29faf85bc632a

Fix C++ build for Cygwin

gdb/ChangeLog:

2016-06-02  Jon Turney  <jon.turney@dronecode.org.uk>

	* windows-nat.c (handle_output_debug_string): Return type of
	gdb_signal_from_host() is gdb_signal, not an int.
	(windows_get_exec_module_filename): Add pointer casts for C++.

gdb/gdbserver/ChangeLog:

2016-06-02  Jon Turney  <jon.turney@dronecode.org.uk>

	* win32-low.c (win32_create_inferior): Add pointer casts for C++.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR python/18984
@ 2016-06-02 19:39 sergiodj+buildbot
  2016-06-02 19:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 19:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b40ec0559f4b24ccdf6b073610c526c4aa33c4d ***

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

Fix PR python/18984

This fixes PR python/18984.

The bug is that gdbpy_solib_name uses GDB_PY_LL_ARG, whereas it should
use GDB_PY_LLU_ARG to avoid overflow.

Built and tested on x86-64 Fedora 23.

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

	PR python/18984:
	* python/python.c (gdbpy_solib_name): Use GDB_PY_LLU_ARG.

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

	PR python/18984:
	* gdb.python/py-shared.exp: Add solib_name test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add "arm_any" architecture type to allow -m option to various binutils to match any ARM architecture.
@ 2016-06-02 16:28 sergiodj+buildbot
  2016-06-02 17:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 16:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99914dfd71d74bc700bb6d15647895ac0c8cc8e1 ***

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

Add "arm_any" architecture type to allow -m option to various binutils to match any ARM architecture.

	PR target/20088
	* cpu-arm.c (processors): Add "arm_any" type to match any ARM
	architecture.
	(arch_info_struct): Likewise.
	(architectures): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] mi-memory-changed.exp: Fix filename passed to untested
@ 2016-06-02 15:40 sergiodj+buildbot
  2016-06-02 16:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 15:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 193bd37899bc7e301b195929bc7e335bea03d4e4 ***

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

mi-memory-changed.exp: Fix filename passed to untested

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Allow ARC Linux targets that do not use uclibc.
@ 2016-06-02 15:31 sergiodj+buildbot
  2016-06-02 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 15:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ad0bb5f3a5b2d03079819cf419b174a762c2d52 ***

Author: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Branch: master
Commit: 4ad0bb5f3a5b2d03079819cf419b174a762c2d52

Allow ARC Linux targets that do not use uclibc.

bfd    * config.bfd: Replace -uclibc with *.

gas    * configure.tgt: Replace -uclibc with *.

ld     * configure.tgt: Replace -uclibc with *.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Replace data32 with data16 in comments
@ 2016-06-02 14:30 sergiodj+buildbot
  2016-06-02 14:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 14:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ddf1bdd423a127564d5d13cabde8863431576a3 ***

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

Replace data32 with data16 in comments

The 0x66 prefix is data16, not data32 in 64-bit.

	* elf64-x86-64.c: Replace data32 with data16 in comments.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for 48 and 64 bit ARC instructions.
@ 2016-06-02 13:17 sergiodj+buildbot
  2016-06-02 13:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02 13:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4eb6f892502bad1ec4e1828d0140959bb004a3b6 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 4eb6f892502bad1ec4e1828d0140959bb004a3b6

Add support for 48 and 64 bit ARC instructions.

gas	* config/tc-arc.c (parse_opcode_flags): New function.
	(find_opcode_match): Move flag parsing code out to new function.
	Ignore operands marked IGNORE.
	(build_fake_opcode_hash_entry): New function.
	(find_special_case_long_opcode): New function.
	(find_special_case): Lookup long opcodes.
	* testsuite/gas/arc/nps400-7.d: New file.
	* testsuite/gas/arc/nps400-7.s: New file.

include	* opcode/arc.h (MAX_INSN_ARGS): Increase to 16.
	(struct arc_long_opcode): New structure.
	(arc_long_opcodes): Declare.
	(arc_num_long_opcodes): Declare.

opcodes	* arc-dis.c (struct arc_operand_iterator): New structure.
	(find_format_from_table): All the old content from find_format,
	with some minor adjustments, and parameter renaming.
	(find_format_long_instructions): New function.
	(find_format): Rewritten.
	(arc_insn_length): Add LSB parameter.
	(extract_operand_value): New function.
	(operand_iterator_next): New function.
	(print_insn_arc): Use new functions to find opcode, and iterator
	over operands.
	* arc-opc.c (insert_nps_3bit_dst_short): New function.
	(extract_nps_3bit_dst_short): New function.
	(insert_nps_3bit_src2_short): New function.
	(extract_nps_3bit_src2_short): New function.
	(insert_nps_bitop1_size): New function.
	(extract_nps_bitop1_size): New function.
	(insert_nps_bitop2_size): New function.
	(extract_nps_bitop2_size): New function.
	(insert_nps_bitop_mod4_msb): New function.
	(extract_nps_bitop_mod4_msb): New function.
	(insert_nps_bitop_mod4_lsb): New function.
	(extract_nps_bitop_mod4_lsb): New function.
	(insert_nps_bitop_dst_pos3_pos4): New function.
	(extract_nps_bitop_dst_pos3_pos4): New function.
	(insert_nps_bitop_ins_ext): New function.
	(extract_nps_bitop_ins_ext): New function.
	(arc_operands): Add new operands.
	(arc_long_opcodes): New global array.
	(arc_num_long_opcodes): New global.
	* arc-nps400-tbl.h: Add comments referencing arc_long_opcodes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Revert PR16467 change
@ 2016-06-02  3:32 sergiodj+buildbot
  2016-06-02  3:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02  3:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b677558bc6c7b2477bb33c709e6017e68e7ae8c ***

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

Revert PR16467 change

This reverts the pr16467 change, which was incorrect due to faulty
analysis of the pr16467 testcase.  The failure was not due to a
mismatch in symbol type (ifunc/non-ifunc) but due to a symbol loop
being set up.

See https://sourceware.org/ml/binutils/2016-06/msg00013.html for some
rambling on versioned symbols and ELF shared library symbol overriding
that explain this patch.

bfd/
	PR ld/20159
	PR ld/16467
	* elflink.c (_bfd_elf_merge_symbol): Revert PR16467 change.
	(_bfd_elf_add_default_symbol): Don't indirect to/from defined
	symbol given a version by a script different to the version
	of the symbol being added.
	(elf_link_add_object_symbols): Use _bfd_elf_strtab_save and
	_bfd_elf_strtab_restore.  Don't fudge dynstr references.
	* elf-strtab.c (_bfd_elf_strtab_restore_size): Delete.
	(struct strtab_save): New.
	(_bfd_elf_strtab_save, _bfd_elf_strtab_restore): New functions.
	* elf-bfd.h (_bfd_elf_strtab_restore_size): Delete.
	(_bfd_elf_strtab_save, _bfd_elf_strtab_restore): Declare.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] add more extern C
@ 2016-06-02  1:33 sergiodj+buildbot
  2016-06-02  2:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-02  1:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1fe0971e41a4097610862acabf54a896695fe834 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 1fe0971e41a4097610862acabf54a896695fe834

add more extern C

opcodes/ChangeLog:

2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* nds32-asm.h: Add extern "C".
	* sh-opc.h: Likewise.

bfd/ChangeLog:

2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf32-hppa.h: Add extern "C".
	* elf32-nds32.h: Likewise.
	* elf32-tic6x.h: Likewise.

include/ChangeLog:

2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf/mips.h: Likewise.
	* elf/sh.h: Likewise.
	* opcode/d10v.h: Likewise.
	* opcode/d30v.h: Likewise.
	* opcode/ia64.h: Likewise.
	* opcode/mips.h: Likewise.
	* opcode/ppc.h: Likewise.
	* opcode/sparc.h: Likewise.
	* opcode/tic6x.h: Likewise.
	* opcode/v850.h: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add new Serbian translation for the bfd library.
@ 2016-06-01 16:03 sergiodj+buildbot
  2016-06-01 17:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 885a10879eea3cf7ccbb324109a56f0bc391dcfa ***

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

Add new Serbian translation for the bfd library.

	* po/sr.po: New Serbian translation.
	* configure.ac (ALL_LINGUAS): Add sr.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for some variants of the ARC nps400 rflt instruction.
@ 2016-06-01 15:39 sergiodj+buildbot
  2016-06-01 16:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01 15:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 315f180f2f0a59af561180e4ed9387f4c7bada78 ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 315f180f2f0a59af561180e4ed9387f4c7bada78

Add support for some variants of the ARC nps400 rflt instruction.

gas     * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
        operands of types a,b,u6, 0,b,u6, and 0,b,limm.
        * testsuite/gas/arc/nps-400-1.d: Likewise.

opcodes * arc-nps400-tbl.h: Add operands a,b,u6, 0,b,u6, and
        0,b,limm to the rflt instruction.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add xmalloc_failed() function to common-utils.c in to avoid the need to link in libiberty's xmalloc code.
@ 2016-06-01 10:56 sergiodj+buildbot
  2016-06-01 11:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01 10:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51403f74d96cc69f391fbd31389a9153a230b431 ***

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

Add xmalloc_failed() function to common-utils.c in to avoid the need to link in libiberty's xmalloc code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] infcmd, btrace: fix crash in 'finish' for tailcall-only frames
@ 2016-06-01  9:27 sergiodj+buildbot
  2016-06-01  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01  9:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3b5daf9f735999259c5a8f68b422850c59897e5 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: e3b5daf9f735999259c5a8f68b422850c59897e5

infcmd, btrace: fix crash in 'finish' for tailcall-only frames

Patch 7eb895307f53 Skip unwritable frames in command "finish"
skips non-writable frames in addition to tailcall frames.

If skip_tailcall_frames already returns NULL, skip_unwritable_frames
will be called with a NULL frame and crash in get_frame_arch.  This is
caught by gdb.btrace/tailcall-only.exp.

Further, if we ever end up with a mixture of tailcall and non-writable
frames, we may not skip all of them, as intended.

Loop over skip_tailcall_frames and skip_unwritable_frames as long as at least
one of them makes progress.

gdb/
	* infcmd.c (skip_finish_frames): New.
	(finish_command): Call skip_finish_frames.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Wake up interruptible_select in remote_fileio ctrl-c handler
@ 2016-06-01  8:46 sergiodj+buildbot
  2016-06-01  9:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01  8:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03d73f1fd9d89d89bdd021cad26693e4f6abc07a ***

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

Wake up interruptible_select in remote_fileio ctrl-c handler

As reported in PR 19998, after type ctrl-c, GDB hang there and does
not send interrupt.  It causes a fail in gdb.base/interrupt.exp.
All targets support remote fileio should be affected.

When we type ctrc-c, SIGINT is handled by remote_fileio_sig_set,
as shown below,

 #0  remote_fileio_sig_set (sigint_func=0x4495d0 <remote_fileio_ctrl_c_signal_handler(int)>) at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:325
 #1  0x00000000004495de in remote_fileio_ctrl_c_signal_handler (signo=<optimised out>) at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:349
 #2  <signal handler called>
 #3  0x00007ffff647ed83 in __select_nocancel () at ../sysdeps/unix/syscall-template.S:81
 #4  0x00000000005530ce in interruptible_select (n=10, readfds=readfds@entry=0x7fffffffd730, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0,
    timeout=timeout@entry=0x0) at /home/yao/SourceCode/gnu/gdb/git/gdb/event-top.c:1017
 #5  0x000000000061ab20 in stdio_file_read (file=<optimised out>, buf=0x12d02e0 "\n\022-\001", length_buf=16383)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/ui-file.c:577
 #6  0x000000000044a4dc in remote_fileio_func_read (buf=0x12c0360 "") at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:583
 #7  0x0000000000449598 in do_remote_fileio_request (uiout=<optimised out>, buf_arg=buf_arg@entry=0x12c0340)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:1179

we don't set quit_serial_event,

  do
    {
      res = gdb_select (n, readfds, writefds, exceptfds, timeout);
    }
  while (res == -1 && errno == EINTR);

  if (res == 1 && FD_ISSET (fd, readfds))
    {
      errno = EINTR;
      return -1;
    }
  return res;

we can't go out of the loop above, and that is why GDB can't send
interrupt.

Recently, we stop throwing exception from SIGINT handler
(remote_fileio_ctrl_c_signal_handler)
https://sourceware.org/ml/gdb-patches/2016-03/msg00372.html, which
is correct, because gdb_select is interruptible.  However, in the
same patch series, we add interruptible_select later as a wrapper
to gdb_select, https://sourceware.org/ml/gdb-patches/2016-03/msg00375.html
and it is not interruptible (because of the loop in it) unless
select/poll-able file descriptors are marked.

This fix in this patch is to call quit_serial_event_set, so that we can
go out of the loop above, return -1 and set errno to EINTR.

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

	PR remote/19998
	* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Call
	quit_serial_event_set.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sh: make constant unsigned to avoid narrowing
@ 2016-06-01  3:22 sergiodj+buildbot
  2016-06-01  3:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-06-01  3:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2b5fccc630a7cb7e1c241e5249bf6e8917d917d ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: a2b5fccc630a7cb7e1c241e5249bf6e8917d917d

sh: make constant unsigned to avoid narrowing

Shifting into the sign bit of a 32 bit int and then converting to a unsigned
type is less straight forward than just shifting an unsigned value.

opcodes/ChangeLog:

2016-05-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* sh-opc.h (ARCH_SH_HAS_DSP): Make the shifted value an unsigned
	constant.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [PR gdb/19893] Fix handling of synthetic C++ references
@ 2016-05-31 19:07 sergiodj+buildbot
  2016-05-31 19:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-31 19:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3326303bf5ae4c92f2fbbff387ce231a16c1c8bf ***

Author: Martin Galvan <martin.galvan@tallertechnologies.com>
Branch: master
Commit: 3326303bf5ae4c92f2fbbff387ce231a16c1c8bf

[PR gdb/19893] Fix handling of synthetic C++ references

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

I've traced the main source of the problem to pieced_value_funcs.coerce_ref not being
implemented. Since gdb always assumes references are implemented as pointers, this
causes it to think that it's dealing with a NULL pointer, thus breaking any operations
involving synthetic references.

What I did here was implementing pieced_value_funcs.coerce_ref using some of the synthetic
pointer handling code from indirect_pieced_value, as Pedro suggested. I also made a few
adjustments to the reference printing code so that it correctly shows either the address
of the referenced value or (if it's non-addressable) the "<synthetic pointer>" string.

I also wrote some unit tests based on Dwarf::assemble; these took a while to make
because in most cases I needed a synthetic reference to a physical variable. Additionally,
I started working on a unit test for classes that have a vtable, but ran into a few issues
so that'll probably go in a future patch. One thing that should definitely be fixed is that
proc function_range (called for MACRO_AT_func) will always try to compile/link using gcc
with the default options instead of g++, thus breaking C++ compilations that require e.g. libstdc++.

gdb/ChangeLog:

	* dwarf2loc.c (coerce_pieced_ref, indirect_synthetic_pointer,
	fetch_const_value_from_synthetic_pointer): New functions.
	(indirect_pieced_value): Move lower half to indirect_synthetic_pointer.
	(pieced_value_funcs): Implement coerce_ref.
	* valops.c (value_addr): Call coerce_ref for synthetic references.
	* valprint.c (valprint_check_validity): Return true for synthetic
	references.  Also, don't show "<synthetic pointer>" if they reference
	addressable values.
	(generic_val_print_ref): Handle synthetic references.  Also move some
	code to print_ref_address.
	(print_ref_address, get_value_addr_contents): New functions.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/implref.exp: Rename to...
	* gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
	* gdb.dwarf2/implref-array.c: New file.
	* gdb.dwarf2/implref-array.exp: Likewise.
	* gdb.dwarf2/implref-global.c: Likewise.
	* gdb.dwarf2/implref-global.exp: Likewise.
	* gdb.dwarf2/implref-struct.c: Likewise.
	* gdb.dwarf2/implref-struct.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't needlessly clear xmemdup allocated memory.
@ 2016-05-31 11:20 sergiodj+buildbot
  2016-05-31 11:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-31 11:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c12969f8b53659f0d70b5e049c49b97a96826a3f ***

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

Don't needlessly clear xmemdup allocated memory.

	* xmemdup.c (xmemdup): Use xmalloc rather than xcalloc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add tests for 64bit values in trace-condition.exp
@ 2016-05-30 17:39 sergiodj+buildbot
  2016-05-30 23:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 825c8ef28fc669bdf4eab64b43d7a64761fbd677 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 825c8ef28fc669bdf4eab64b43d7a64761fbd677

Add tests for 64bit values in trace-condition.exp

This patch adds tests for emit operations with 64 bit values. It takes
special care to avoid mistakes that one could make on a 32bit architecture
using 64bit values.

gdb/testsuite/ChangeLog:

	* gdb.trace/trace-condition.exp: Add 64bit tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add variable length tests for emit_ref in trace-condition.exp
@ 2016-05-30 17:30 sergiodj+buildbot
  2016-05-30 22:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 17:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2320162a6219c664a8da2e2ff68b08d6f6c2ffcc ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 2320162a6219c664a8da2e2ff68b08d6f6c2ffcc

Add variable length tests for emit_ref in trace-condition.exp

This patch add variable length tests for emit_ref by reading the variable
passed as argument of 8 to 64 bit.

gdb/testsuite/ChangeLog:

	* gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
	bits types.
	(main): Adapt to 8 to 64 bits types.
	* gdb.trace/trace-condition.exp: Add new tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add emit_less_unsigned test in trace-condition.exp
@ 2016-05-30 17:22 sergiodj+buildbot
  2016-05-30 20:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 17:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a781823347ec9cd84e5ccc0bb8ddde48f8d302b6 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: a781823347ec9cd84e5ccc0bb8ddde48f8d302b6

Add emit_less_unsigned test in trace-condition.exp

This patch adds coverage for emit_less_unsigned.

gdb/testsuite/ChangeLog:

	* gdb.trace/trace-condition.exp: Add emit_less_unsigned test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Move trace conditions tests from ftrace.exp to trace-condition.exp
@ 2016-05-30 17:13 sergiodj+buildbot
  2016-05-30 19:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 17:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d33646690c2e88624cd9646539d63d4144d03e8 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 0d33646690c2e88624cd9646539d63d4144d03e8

Move trace conditions tests from ftrace.exp to trace-condition.exp

This patch moves conditional tests that were done in ftrace.exp to
trace-condition.exp.

Note that emit_ref is now tested by the anarg local variable there is no
need to test the register directly.

All emit calls have been tested using asserts before / after the move, to
ensure that the tests cover the same functions.

Note that these function were not covered before and are still not:
emit_gt_goto, emit_lt_goto, emit_pop, emit_unsigned_less.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
	Move condition tests...
	* gdb.trace/trace-condition.exp: Here.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add counter-cases for trace-condition.exp tests
@ 2016-05-30 17:04 sergiodj+buildbot
  2016-05-30 17:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 17:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7faeb45ae36426b827c49457cf7186d73756cccc ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 7faeb45ae36426b827c49457cf7186d73756cccc

Add counter-cases for trace-condition.exp tests

In trace-condition.exp, tests are done by doing a conditional tracepoint
and validating that the trace contains all the frames that could be
collected if that condition is true.

E.g. test_tracepoints $trace_command "21 + 21 == 42" 10

This will always return true and collect the 10 frames possible to collect
with the test program.

However, if the condition evaluation is broken such that the condition is
unconditional we will not notice this problem.

This patch adds counter-cases to such conditions like so:

$trace_command "21 + 11 == 42" 0

This way such a problem would be noticed.

gdb/testsuite/ChangeLog:

	* gdb.trace/trace-condition.exp: Add counter-case tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR 15231: import bare DW_TAG_lexical_block
@ 2016-05-30 12:38 sergiodj+buildbot
  2016-05-30 13:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-30 12:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e385593eef98ac92be57159e141f4b805dadbbb3 ***

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

PR 15231: import bare DW_TAG_lexical_block

Local variables in lambdas are not accessible
https://sourceware.org/bugzilla/show_bug.cgi?id=15231

GDB: read_lexical_block_scope
  /* Ignore blocks with missing or invalid low and high pc attributes.  */
[...]
  if (!dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu, NULL))
    return;

But sometimes there is:

FAIL: gcc-5.3.1-6.fc23.x86_64
 <2><92>: Abbrev Number: 11 (DW_TAG_lexical_block)
 <3><9c>: Abbrev Number: 13 (DW_TAG_structure_type)
    <9d>   DW_AT_name        : (indirect string, offset: 0x3c): <lambda()>
    [...]

Where DW_TAG_lexical_block has no attributes.  Such whole subtree is currently
dropped by GDB while I think it should just import all its children DIEs.

It even XFAIL->XPASSes gdb.ada/out_of_line_in_inlined.exp:
	commit 0fa7fe506c242b459c4c05d331e7c7d66fb52390
	Author: Joel Brobecker <brobecker@adacore.com>
	    out of line functions nested inside inline functions.
So I have removed that xfail.

gdb/ChangeLog
2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR c++/15231
	* dwarf2read.c (enum pc_bounds_kind): Add PC_BOUNDS_INVALID.
	(process_psymtab_comp_unit_reader, read_func_scope): Adjust callers.
	(read_lexical_block_scope): Import DIEs from bare DW_TAG_lexical_block.
	(read_call_site_scope): Adjust callers.
	(dwarf2_get_pc_bounds): Implement pc_bounds_invalid.
	(dwarf2_get_subprogram_pc_bounds, get_scope_pc_bounds): Adjust callers.

gdb/testsuite/ChangeLog
2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR c++/15231
	* gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
	* gdb.dwarf2/dw2-lexical-block-bare.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] NEWS: QCatchSyscalls: simplify
@ 2016-05-29 18:59 sergiodj+buildbot
  2016-05-29 19:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-29 18:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aab3c527d779a8e833a469203336afcc17512559 ***

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

NEWS: QCatchSyscalls: simplify

Standardize the QCatchSyscalls NEWS entry.

gdb/ChangeLog
2016-05-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* NEWS (QCatchSyscalls): Remove the parameter.  Include ...
	(QCatchSyscalls:1 in qSupported) ... this separate entry which got
	deleted.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add dependencies to configure rule
@ 2016-05-28 13:19 sergiodj+buildbot
  2016-05-28 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-28 13:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0597bdc443005c70f0fd474279098ee17db882eb ***

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

Add dependencies to configure rule

	* Makefile.tpl (configure): Depend on m4 files included.
	* Makefile.in: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Enable local R_MIPS_26 overflow detection
@ 2016-05-28 10:13 sergiodj+buildbot
  2016-05-28 13:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-28 10:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7743482350c9c97484a429070db7d994a643a9eb ***

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

MIPS/BFD: Enable local R_MIPS_26 overflow detection

The original MIPS SVR4 psABI defines the calculation for the R_MIPS_26
relocation in a complex way, as follows[1]:

Name        Value Field    Symbol   Calculation
R_MIPS_26     4   T-targ26 local    (((A << 2) | \
                                      (P & 0xf0000000)) + S) >> 2
              4   T-targ26 external (sign-extend(A << 2) + S) >> 2

This is further clarified, by correcting typos (already applied in the
excerpt above) in the 64-bit psABI extension[2].  A note is included in
both documents to specify that for the purpose of relocation processing
a local symbol is one with binding STB_LOCAL and type STT_SECTION, and
otherwise, a symbol is external.

We have both calculations implemented for the R_MIPS_26 relocation, and
by extension also for the R_MIPS16_26 and R_MICROMIPS_26_S1 relocations,
from now on collectively called jump relocations.  However our code uses
a different condition to tell local and external symbols apart, that is
it only checks for the STB_LOCAL binding and ignores the symbol type,
however for REL relocations only.  The external calculation is used for
all RELA jump relocations.

In reality the difference matters for jump relocations referring local
MIPS16 and, as from recent commit 44d3da233815 ("MIPS/GAS: Treat local
jump relocs the same no matter if REL or RELA"), also local microMIPS
symbols.  Such relocations are not converted to refer to corresponding
section symbols instead and retain the original local symbol reference.

It can be inferred from the relocation calculation definitions that the
addend is effectively unsigned for the local case and explicitly signed
for the external case.  With the REL relocation format it makes sense
given the limited range provided for by the field being relocated: the
use of an unsigned addend expands the range by one bit for the local
case, because a negative offset from a section symbol makes no sense,
and any usable negative offset from the original local symbol will have
worked out positive if converted to a section-relative reference.  In
the external case a signed addend gives more flexibility as offsets both
negative and positive can be used with a symbol.  Any such offsets will
typically have a small value.

The inclusion of the (P & 0xf0000000) component, ORed in the calculation
in the local case, seems questionable as bits 31:28 are not included in
the relocatable field and are masked out as the relocation is applied.
Their value is therefore irrelevant for output processing, the relocated
field ends up the same regardless of their value.  They could be used
for overflow detection, however this is precluded by adding them to bits
31:28 of the symbol referred, as the sum will not correspond to the
value calculated by the processor at run time whenever bits 31:28 of the
symbol referred are not all zeros, even though it is valid as long they
are the same as bits 31:28 of P.

We deal with this problem by ignoring any overflow resulting from the
local calculation.  This however makes us miss genuine overflow cases,
where 31:28 of the symbol referred are different from bits 31:28 of P,
and non-functional code is produced.

Given the situation, for the purpose of overflow detection we can change
our code to follow the original psABI and only treat the in-place addend
as unsigned in the section symbol case, permitting jumps to offsets
128MiB and above into section.  Sections so large may be uncommon, but
still a reasonable use case.  On the other hand such large offsets from
regular local symbols are not expected and it makes sense to support
(possibly small) negative offsets instead, also in consistency with what
we do for global symbols.

Drop the (P & 0xf0000000) component then, treat the addend as signed
with local non-section symbols and also detect an overflow in the result
of such calculation with local symbols.  NB it does not affect the value
computed for the relocatable field, it only affects overflow detection.

References:

[1] "SYSTEM V APPLICATION BINARY INTERFACE, MIPS RISC Processor
    Supplement, 3rd Edition", Figure 4-11: "Relocation Types", p. 4-19
    <http://www.linux-mips.org/pub/linux/mips/doc/ABI/mipsabi.pdf>

[2] "64-bit ELF Object File Specification, Draft Version 2.5", Table 32
    "Relocation Types", p. 45
    <http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf>

	bfd/
	* elfxx-mips.c (mips_elf_calculate_relocation): <R_MIPS16_26>
	<R_MIPS_26, R_MICROMIPS_26_S1>: Drop the region bits of the
	reloc location from calculation, treat the addend as signed with
	local non-section symbols and enable overflow detection.

	ld/
	* testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
	* testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
	* testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
	* testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
	* testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
	* testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Include the addend in JALX's target alignment verification
@ 2016-05-27 22:07 sergiodj+buildbot
  2016-05-28  9:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-27 22:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc27bb0573a5e1ce1a6365fc06aeab9bd891fc3a ***

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

MIPS/BFD: Include the addend in JALX's target alignment verification

On RELA targets the addend can affect JALX target's alignment, so only
verify it once the whole relocation calculation has completed.

	bfd/
	* elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS16_26>
	<R_MIPS_26, R_MICROMIPS_26_S1>: Include the addend in JALX's
	target alignment verification.

	ld/
	* testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
	test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
	test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
	test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
	test.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
	source.
	* testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
	source.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Update x86 CPU_XXX_FLAGS handling
@ 2016-05-27 17:19 sergiodj+buildbot
  2016-05-28  4:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-27 17:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1848e567343e9c50979453463f34e0a55ba892eb ***

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

Update x86 CPU_XXX_FLAGS handling

Support defining CPU_XXX_FLAGS with other CPU_XXX_FLAGS.  Update
CPU_XXX_FLAGS to enable more bits like x87 and SYSCALL.  Don't enable
MMX when enabling SSE, AVX or AVX512.  Don't disable AVX nor AVX512 when
disabling SSE.  Don't disable AVX512 when disabling AVX.  Disable F16C,
FMA, FMA4 and XOP when disabling AVX.  Add 87, no287, no387, no687,
nosse2, nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2 directives
to x86 assembler.

TODO: Add more .noXXX, like .noavx512f, directives to x86 assembler.

gas/

	PR gas/20145
	* config/tc-i386.c (cpu_arch): Add 687.
	(cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
	nosse4.1, nosse4.2, nosse4 and noavx2.
	(parse_real_register): Check cpuregmmx instead of cpummx for MMX
	register.  Check cpuregxmm instead of cpusse for XMM register.
	Check cpuregymm instead of cpuavx for YMM register.  Check
	cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
	* doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
	nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
	* testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
	* testsuite/gas/i386/arch-10.d (as): Likewise.
	* testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
	* testsuite/gas/i386/i386.exp: Pass mmx to assembler for
	arch-10-3 and arch-10-4.  Run no87-3, nosse-4, nosse-5, noavx-3
	and noavx-4.
	* testsuite/gas/i386/no87-3.l: New file.
	* testsuite/gas/i386/no87-3.s: Likewise.
	* testsuite/gas/i386/noavx-3.l: Likewise.
	* testsuite/gas/i386/noavx-3.s: Likewise.
	* testsuite/gas/i386/noavx-4.d: Likewise.
	* testsuite/gas/i386/noavx-4.s: Likewise.
	* testsuite/gas/i386/nosse-4.l: Likewise.
	* testsuite/gas/i386/nosse-4.s: Likewise.
	* testsuite/gas/i386/nosse-5.d: Likewise.
	* testsuite/gas/i386/nosse-5.s: Likewise.

opcodes/

	PR gas/20145
	* i386-gen.c (cpu_flag_init): Update CPU_XXX_FLAGS.  Remove
	CpuMMX from CPU_SSE_FLAGS.  Remove AVX and AVX512 bits from
	CPU_ANY_SSE_FLAGS.  Remove AVX512 bits from CPU_ANY_AVX_FLAGS.
	Add CPU_XSAVE_FLAGS to CPU_XSAVEOPT_FLAGS, CPU_XSAVE_FLAGS and
	CpuXSAVEC.  Add CPU_AVX_FLAGS to CpuF16C.  Remove CpuMMX from
	CPU_AVX512F_FLAGS, CPU_AVX512CD_FLAGS, CPU_AVX512ER_FLAGS,
	CPU_AVX512PF_FLAGS, CPU_AVX512DQ_FLAGS and CPU_AVX512BW_FLAGS.
	Add CPU_SSE2_FLAGS to CPU_SHA_FLAGS.   Add CPU_ANY_287_FLAGS,
	CPU_ANY_387_FLAGS, CPU_ANY_687_FLAGS, CPU_ANY_SSE2_FLAGS,
	CPU_ANY_SSE3_FLAGS, CPU_ANY_SSSE3_FLAGS, CPU_ANY_SSE4_1_FLAGS,
	CPU_ANY_SSE4_2_FLAGS and CPU_ANY_AVX2_FLAGS.  Enable CpuRegMMX
	for MMX.  Enable CpuRegXMM for SSE, AVX and AVX512.  Enable
	CpuRegYMM for AVX and AVX512VL,  Enable CpuRegZMM and
	CpuRegMask for AVX512.
	(cpu_flags): Add CpuRegMMX, CpuRegXMM, CpuRegYMM, CpuRegZMM
	and CpuRegMask.
	(set_bitfield_from_cpu_flag_init): New function.
	(set_bitfield): Remove const on f.  Call
	set_bitfield_from_cpu_flag_init to handle CPU_XXX_FLAGS.
	* i386-opc.h (CpuRegMMX): New.
	(CpuRegXMM): Likewise.
	(CpuRegYMM): Likewise.
	(CpuRegZMM): Likewise.
	(CpuRegMask): Likewise.
	(i386_cpu_flags): Add cpuregmmx, cpuregxmm, cpuregymm, cpuregzmm
	and cpuregmask.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for new POWER ISA 3.0 instructions.
@ 2016-05-27  0:21 sergiodj+buildbot
  2016-05-27  5:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-27  0:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 19dfcc89e8d94526f011242041b700ede8834996 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 19dfcc89e8d94526f011242041b700ede8834996

Add support for new POWER ISA 3.0 instructions.

opcodes/

	* ppc-opc.c (CY): New define.  Document it.
	(powerpc_opcodes) <addex[.], lwzmx, vmsumudm>: New mnemonics.

gas/
	* testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
	* testsuite/gas/ppc/altivec3.s: Likewise.
	* testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
	* testsuite/gas/ppc/power9.s: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fortran, testsuite: Add testcases for nested structures.
@ 2016-05-25  7:51 sergiodj+buildbot
  2016-05-26  0:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-25  7:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 86d8a84882643db4d8c28cea8e4a358465cb11f5 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 86d8a84882643db4d8c28cea8e4a358465cb11f5

Fortran, testsuite: Add testcases for nested structures.

As as result of printing only the outer elements of nested structures,
some testcases have to be added to check for corner cases with VLA's.

2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:
	* gdb.fortran/vla-type.exp: Access elements in nested structs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fortran, testsuite: Use multi_line in whatis_type testcase.
@ 2016-05-25  7:07 sergiodj+buildbot
  2016-05-25 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-25  7:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3cd81d8df727cc961b9333d5e977718c622bf9c3 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 3cd81d8df727cc961b9333d5e977718c622bf9c3

Fortran, testsuite: Use multi_line in whatis_type testcase.

2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:
	* gdb.fortran/whatis_type.exp: Use multi_line.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix syntax error in annota-input-while-running.exp
@ 2016-05-24 11:32 sergiodj+buildbot
  2016-05-24 15:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-24 11:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e70a7231e6347212258d43d2a46a20f7f7584386 ***

Author: Francis Ricci <francisjricci@gmail.com>
Branch: master
Commit: e70a7231e6347212258d43d2a46a20f7f7584386

Fix syntax error in annota-input-while-running.exp

This patch fixes a syntax error which caused a failure in
annota-input-while-running.exp to crash the test suite runner.

2016-05-24  Francis Ricci  <francisjricci@gmail.com>

	* gdb.base/annota-input-while-running.exp: Fix syntax error.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add myself as a write-after-approval GDB maintainer
@ 2016-05-24  9:33 sergiodj+buildbot
  2016-05-24 14:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-24  9:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00a3cb9c7c69cf65fdce73079a445cb379ae7842 ***

Author: Yan-Ting Lin <currygt52@gmail.com>
Branch: master
Commit: 00a3cb9c7c69cf65fdce73079a445cb379ae7842

Add myself as a write-after-approval GDB maintainer

gdb/ChangeLog:

	* MAINTAINERS (Write After Approval): Add "Yan-Ting Lin".


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Update instruction type and delay slot info.
@ 2016-05-23 16:44 sergiodj+buildbot
  2016-05-24  4:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 16:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9eca1df01c0e6f7f22566c154e63b1df9315790 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: d9eca1df01c0e6f7f22566c154e63b1df9315790

[ARC] Update instruction type and delay slot info.

This patch corrects the instructioninformation passed into the
disassebler_info structure.

include/
2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_subclass_t): Add COND.
	(flag_class_t): Add F_CLASS_EXTEND.

opcodes/
2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-dis.c (print_flags): Set branch_delay_insns, and insn_type
	information.
	(print_insn_arc): Set insn_type information.
	* arc-opc.c (C_CC): Add F_CLASS_COND.
	* arc-tbl.h (bbit0, bbit1): Update subclass to COND.
	(beq_s, bge_s, bgt_s, bhi_s, bhs_s): Likewise.
	(ble_s, blo_s, bls_s, blt_s, bne_s): Likewise.
	(breq, breq_s, brge, brhs, brlo, brlt): Likewise.
	(brne, brne_s, jeq_s, jne_s): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Support for dedicated output section for some ARM veneer types
@ 2016-05-23  8:59 sergiodj+buildbot
  2016-05-23 11:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-23  8:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT daa4adae63f91377fe9b3e8d7421a0ceb4a51e26 ***

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

Support for dedicated output section for some ARM veneer types

2016-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* bfd-in.h (bfd_elf32_arm_keep_private_stub_output_sections): Declare
	bfd hook.
	* bfd-in2.h: Regenerate.
	* elf32-arm.c (arm_dedicated_stub_output_section_required): New
	function.
	(arm_dedicated_stub_output_section_required_alignment): Likewise.
	(arm_dedicated_stub_output_section_name): Likewise.
	(arm_dedicated_stub_input_section_ptr): Likewise.
	(elf32_arm_create_or_find_stub_sec): Add stub type parameter and
	function description comment. Add support for dedicated output stub
	section to given stub types.
	(elf32_arm_add_stub): Add a stub type parameter and pass it down to
	elf32_arm_create_or_find_stub_sec.
	(elf32_arm_create_stub): Pass stub type down to elf32_arm_add_stub.
	(elf32_arm_size_stubs): Pass stub type when calling
	elf32_arm_create_or_find_stub_sec for Cortex-A8 erratum veneers.
	(bfd_elf32_arm_keep_private_stub_output_sections): New function.

ld/
	* emultempl/armelf.em (arm_elf_before_allocation): Call
	bfd_elf32_arm_keep_private_stub_output_sections before generic
	before_allocation function.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] tic54x: rename typedef of struct symbol_
@ 2016-05-23  5:30 sergiodj+buildbot
  2016-05-23  6:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-23  5:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d207518c117df7a6c58f20bc2693171b7690650 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 3d207518c117df7a6c58f20bc2693171b7690650

tic54x: rename typedef of struct symbol_

generic gas code has a struct symbol, and tic54x typedefs a struct to symbol.
This seems at least rather confusing, and it seems like target specific headers
shouldn't  put such generic names in the global namespace preventing other
generic code from using them.

opcodes/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* tic54x-dis.c (sprint_mmr): Adjust.
	* tic54x-opc.c: Likewise.

gas/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-tic54x.c (tic54x_mmregs): Adjust.
	(md_begin): Likewise.
	(encode_condition): Likewise.
	(encode_cc3): Likewise.
	(encode_cc2): Likewise.
	(encode_operand): Likewise.
	(tic54x_undefined_symbol): Likewise.

include/ChangeLog:

2016-05-23  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* opcode/tic54x.h (struct symbol_): typedef to tic54x_symbol instead of
	plain symbol.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Allocate ppc64 got and dynrelocs before plt
@ 2016-05-19  5:39 sergiodj+buildbot
  2016-05-19  9:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-19  5:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 57e7d118480f4adf8cf1c8a82f234463d15d509d ***

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

Allocate ppc64 got and dynrelocs before plt

The idea being to make undefined weak syms dynamic, before deciding
whether a sym needs a plt entry.  Fixes pr19719 ld testcase.

	* elf64-ppc.c (allocate_dynrelocs): Allocate got and other dynamic
	relocs before plt relocs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix double prompt output after run control MI commands with mi-async on (PR 20045)
@ 2016-05-18 14:45 sergiodj+buildbot
  2016-05-18 22:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-18 14:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28addb40c77db5a5873172b62b6b7b43e5e05014 ***

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

Fix double prompt output after run control MI commands with mi-async on (PR 20045)

When you use a run control command (-exec-run, -exec-continue,
-exec-next, ...) with mi-async on, an extra (gdb) prompt is displayed:

  -exec-continue
  ^running
  *running,thread-id="all"
  (gdb)
  (gdb)

It doesn't seem to be a big problem for front-ends, since this behavior
started in gdb 7.9 and we haven't heard anything about that.  However,
it caused me some trouble while writing a test for PR 20039 [1].

The problem comes from an extra (gdb) prompt that we write when running
in mi-async off mode to emulate a past buggy behavior.  When executing a
run control command synchronously, previous gdbs always printed a prompt
right away, even though they are not ready to accept new MI commands
until the target stops.  Only at this time should they display a prompt.
But to keep backwards compatibility apparently, we print it anyway.
Since commit 198297aaf, the condition that decides whether we should
print that "bogus" prompt or not has become true, even when running with
mi-async on.  Since we already print a prompt at the end of the
asynchronous command execution, it results in two prompts for one
command.

The proposed fix is to call target_can_async_p instead of
target_is_async_p, to make the condition:

  if (!target_can_async_p () || sync_execution)
    ... show prompt ...

That shows the prompt if we are emulating a synchronous command on top
of an asynchronous target (sync_execution) or if the target simply can't
run asynchronously (!target_can_async_p ()).

Note that this code is changed and this bug fixed by Pedro's separate
console series, but I think it would be nice to have it fixed in the
mean time.

I ran the gdb.mi directory of the testsuite with mi-async on and off, I
didn't see any regressions.

gdb/ChangeLog:

	* mi/mi-main.c (mi_on_resume): Call target_can_async_p instead
	of target_is_async_p.

[1] https://sourceware.org/ml/gdb-patches/2016-05/msg00075.html


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for the Rust language
@ 2016-05-17 22:44 sergiodj+buildbot
  2016-05-18  5:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 22:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c44af4ebc000f606d16b42224cba2cfe80391d5c ***

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

Add support for the Rust language

This patch adds support for the Rust language.

2016-05-17  Tom Tromey  <tom@tromey.com>
	    Manish Goregaokar <manishsmail@gmail.com>

	* symtab.c (symbol_find_demangled_name): Handle Rust.
	* symfile.c (init_filename_language_table): Treat ".rs" as Rust.
	* std-operator.def (STRUCTOP_ANONYMOUS, OP_RUST_ARRAY): New
	constants.
	* rust-lang.h: New file.
	* rust-lang.c: New file.
	* rust-exp.y: New file.
	* dwarf2read.c (read_file_scope): Add Rust producer sniffing.
	(dwarf2_compute_name, read_func_scope, read_structure_type)
	(read_base_type, read_subrange_type, set_cu_language)
	(new_symbol_full, determine_prefix): Handle Rust.
	* defs.h (enum language) <language_rust>: New constant.
	* Makefile.in (SFILES): Add rust-exp.y, rust-lang.c.
	(COMMON_OBS): Add rust-exp.o, rust-lang.o.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* gdb.base/default.exp (set language): Add rust.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Update gdb test suite for Rust
@ 2016-05-17 21:36 sergiodj+buildbot
  2016-05-18  7:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 21:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 67218854b1987d89593ccaf5feaf5b29b1b976f2 ***

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

Update gdb test suite for Rust

This updates the gdb test suite for Rust.

2016-05-17  Tom Tromey  <tom@tromey.com>
	    Manish Goregaokar <manishsmail@gmail.com>

	* lib/rust-support.exp: New file.
	* lib/gdb.exp (skip_rust_tests): New proc.
	(build_executable_from_specs): Handle rust.
	* lib/future.exp (gdb_find_rustc): New proc.
	(gdb_default_target_compile): Handle rust.
	* gdb.rust/expr.exp: New file.
	* gdb.rust/generics.exp: New file.
	* gdb.rust/generics.rs: New file.
	* gdb.rust/methods.exp: New file.
	* gdb.rust/methods.rs: New file.
	* gdb.rust/modules.exp: New file.
	* gdb.rust/modules.rs: New file.
	* gdb.rust/simple.exp: New file.
	* gdb.rust/simple.rs: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix latent yacc-related bug in gdb/Makefile.in init.c rule
@ 2016-05-17 20:49 sergiodj+buildbot
  2016-05-17 21:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 20:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ab0bb2a673875ba15d6956f2c587c9c31f40357 ***

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

Fix latent yacc-related bug in gdb/Makefile.in init.c rule

gdb's Makefile.in does not currently scan .y files to add global
initializers from these files to init.c.  However, at least ada-exp.y
tries to use this feature.

This patch fixes the problem.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* Makefile.in (init.c): Search .y files for initialization
	functions.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] LD/ELF: Unify STB_GNU_UNIQUE handling
@ 2016-05-17 11:40 sergiodj+buildbot
  2016-05-17 12:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 11:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a43942db49b07a457ee4f960d0f118b23641ec38 ***

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

LD/ELF: Unify STB_GNU_UNIQUE handling

Take STB_GNU_UNIQUE handling scattered across targets and gather it in
the generic ELF linker.  Update test suite infrastructure accordingly.

	bfd/
	* elf-s390-common.c (elf_s390_add_symbol_hook): Remove
	STB_GNU_UNIQUE handling.
	* elf32-arc.c (elf_arc_add_symbol_hook): Likewise.
	* elf32-arm.c (elf32_arm_add_symbol_hook): Likewise.
	* elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise.
	* elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
	* elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
	* elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
	* elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
	* elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
	* elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Likewise.
	* elf32-i386.c (elf_i386_add_symbol_hook): Remove function.
	(elf_backend_add_symbol_hook): Remove macro.
	* elflink.c (elf_link_add_object_symbols): Set `has_gnu_symbols'
	for STB_GNU_UNIQUE symbols.

	binutils/
	* testsuite/lib/binutils-common.exp (supports_gnu_unique): New
	procedure.
	* testsuite/binutils-all/objcopy.exp: Use `supports_gnu_unique'
	with the `strip-10' test.

	ld/
	* testsuite/ld-unique/unique.exp: Use `is_elf_format' and
	`supports_gnu_unique' to qualify testing.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Allow stubs without associated input section in ARM backend
@ 2016-05-10 18:12 sergiodj+buildbot
  2016-05-11  4:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 18:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6bde4c52fb2d49572d365612f222a42b4d316f09 ***

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

Allow stubs without associated input section in ARM backend

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* bfd-in.h (elf32_arm_size_stubs): Add an output section parameter.
	* bfd-in2.h: Regenerated.
	* elf32-arm.c (struct elf32_arm_link_hash_table): Add an output section
	parameter to add_stub_section callback.
	(elf32_arm_create_or_find_stub_sec): Get output section from link_sec
	and pass it down to add_stub_section.
	(elf32_arm_add_stub): Set section to stub_sec if NULL before using it
	for error message.
	(elf32_arm_size_stubs): Add output section parameter to
	add_stub_section function pointer parameter.

ld/
	* emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
	parameter and rename input_section parameter to after_input_section.
	Append input stub section to the output section if after_input_section
	is NULL.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for ARMv8-M Mainline with DSP extension
@ 2016-05-10 16:40 sergiodj+buildbot
  2016-05-10 20:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 16:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15afaa63f39a44563e49bb3b9fb38ed43e8b48ed ***

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

Add support for ARMv8-M Mainline with DSP extension

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	(elf32_arm_merge_eabi_attributes): Add merging logic for
	Tag_DSP_extension.

binutils/
	* readelf.c (display_arm_attribute): Add output for Tag_DSP_extension.
	(arm_attr_public_tags): Define DSP_extension attribute.

gas/
	* NEWS: Document ARMv8-M and ARMv8-M Security and DSP Extensions.
	* config/tc-arm.c (arm_ext_dsp): New feature for Thumb DSP
	instructions.
	(arm_extensions): Add dsp extension for ARMv8-M Mainline.
	(aeabi_set_public_attributes): Memorize the feature bits of the
	architecture selected for Tag_CPU_arch.  Use it to set
	Tag_DSP_extension to 1 for ARMv8-M Mainline with DSP extension.
	(arm_convert_symbolic_attribute): Define Tag_DSP_extension.
	* testsuite/gas/arm/arch7em-bad.d: Rename to ...
	* testsuite/gas/arm/arch7em-bad-1.d: This.
	* testsuite/gas/arm/arch7em-bad-2.d: New file.
	* testsuite/gas/arm/arch7em-bad-3.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-1.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-2.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-3.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-4.d: Likewise.
	* testsuite/gas/arm/archv8m-main-dsp-5.d: Likewise.
	* testsuite/gas/arm/attr-march-armv8m.main.dsp.d: Likewise.

include/
	* elf/arm.h (Tag_DSP_extension): Define.

ld/
	* testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
	test.
	* testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
	* testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] remove trivialy unused variables
@ 2016-05-08  0:20 sergiodj+buildbot
  2016-05-08  0:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-08  0:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 870f88f7551b0f2d6aaaa36fb684b5ff8f468107 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 870f88f7551b0f2d6aaaa36fb684b5ff8f468107

remove trivialy unused variables

gdb/ChangeLog:

2016-05-07  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Remove unused
	variables.
	* aarch64-tdep.c (aarch64_skip_prologue): Likewise.
	(aarch64_scan_prologue): Likewise.
	(aarch64_prologue_prev_register): Likewise.
	(aarch64_dwarf2_prev_register): Likewise.
	(pass_in_v): Likewise.
	(aarch64_push_dummy_call): Likewise.
	(aarch64_breakpoint_from_pc): Likewise.
	(aarch64_return_in_memory): Likewise.
	(aarch64_return_value): Likewise.
	(aarch64_displaced_step_b_cond): Likewise.
	(aarch64_displaced_step_cb): Likewise.
	(aarch64_displaced_step_tb): Likewise.
	(aarch64_gdbarch_init): Likewise.
	(aarch64_process_record): Likewise.
	* alpha-mdebug-tdep.c (alpha_mdebug_init_abi): Likewise.
	* alpha-tdep.c (_initialize_alpha_tdep): Likewise.
	* amd64-dicos-tdep.c (amd64_dicos_init_abi): Likewise.
	* amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Likewise.
	* amd64-tdep.c (fixup_riprel): Likewise.
	* amd64-windows-tdep.c (amd64_windows_frame_decode_epilogue): Likewise.
	(amd64_windows_frame_decode_insns): Likewise.
	(amd64_windows_frame_cache): Likewise.
	(amd64_windows_frame_prev_register): Likewise.
	(amd64_windows_frame_this_id): Likewise.
	(amd64_windows_init_abi): Likewise.
	* arm-linux-tdep.c (arm_linux_get_syscall_number): Likewise.
	(arm_linux_get_next_pcs_syscall_next_pc): Likewise.
	* arm-symbian-tdep.c (arm_symbian_init_abi): Likewise.
	* arm-tdep.c (arm_make_epilogue_frame_cache): Likewise.
	(arm_epilogue_frame_prev_register): Likewise.
	(arm_record_vdata_transfer_insn): Likewise.
	(arm_record_exreg_ld_st_insn): Likewise.
	* auto-load.c (execute_script_contents): Likewise.
	(print_scripts): Likewise.
	* avr-tdep.c (avr_frame_prev_register): Likewise.
	(avr_push_dummy_call): Likewise.
	* bfin-linux-tdep.c (bfin_linux_sigframe_init): Likewise.
	* bfin-tdep.c (bfin_gdbarch_init): Likewise.
	* blockframe.c (find_pc_partial_function_gnu_ifunc): Likewise.
	* break-catch-throw.c (fetch_probe_arguments): Likewise.
	* breakpoint.c (breakpoint_xfer_memory): Likewise.
	(breakpoint_init_inferior): Likewise.
	(breakpoint_inserted_here_p): Likewise.
	(software_breakpoint_inserted_here_p): Likewise.
	(hardware_breakpoint_inserted_here_p): Likewise.
	(bpstat_what): Likewise.
	(break_range_command): Likewise.
	(save_breakpoints): Likewise.
	* coffread.c (coff_symfile_read): Likewise.
	* cris-tdep.c (cris_push_dummy_call): Likewise.
	(cris_scan_prologue): Likewise.
	(cris_register_size): Likewise.
	(_initialize_cris_tdep): Likewise.
	* d-exp.y: Likewise.
	* dbxread.c (dbx_read_symtab): Likewise.
	(process_one_symbol): Likewise.
	(coffstab_build_psymtabs): Likewise.
	(elfstab_build_psymtabs): Likewise.
	* dicos-tdep.c (dicos_init_abi): Likewise.
	* disasm.c (do_mixed_source_and_assembly): Likewise.
	(gdb_disassembly): Likewise.
	* dtrace-probe.c (dtrace_process_dof): Likewise.
	* dwarf2read.c (error_check_comp_unit_head): Likewise.
	(build_type_psymtabs_1): Likewise.
	(skip_one_die): Likewise.
	(process_imported_unit_die): Likewise.
	(dwarf2_physname): Likewise.
	(read_file_scope): Likewise.
	(setup_type_unit_groups): Likewise.
	(create_dwo_cu_reader): Likewise.
	(create_dwo_cu): Likewise.
	(create_dwo_unit_in_dwp_v1): Likewise.
	(create_dwo_unit_in_dwp_v2): Likewise.
	(lookup_dwo_unit_in_dwp): Likewise.
	(free_dwo_file): Likewise.
	(check_producer): Likewise.
	(dwarf2_add_typedef): Likewise.
	(dwarf2_add_member_fn): Likewise.
	(read_unsigned_leb128): Likewise.
	(read_signed_leb128): Likewise.
	(dwarf2_const_value): Likewise.
	(follow_die_sig_1): Likewise.
	(dwarf_decode_macro_bytes): Likewise.
	* extension.c (restore_active_ext_lang): Likewise.
	* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Likewise.
	* ft32-tdep.c (ft32_analyze_prologue): Likewise.
	* gdbtypes.c (lookup_typename): Likewise.
	(resolve_dynamic_range): Likewise.
	(check_typedef): Likewise.
	* h8300-tdep.c (h8300_is_argument_spill): Likewise.
	(h8300_gdbarch_init): Likewise.
	* hppa-tdep.c (hppa32_push_dummy_call): Likewise.
	(hppa_frame_this_id): Likewise.
	(_initialize_hppa_tdep): Likewise.
	* hppanbsd-tdep.c (hppanbsd_sigtramp_cache_init): Likewise.
	* hppaobsd-tdep.c (hppaobsd_supply_fpregset): Likewise.
	* i386-dicos-tdep.c (i386_dicos_init_abi): Likewise.
	* i386-tdep.c (i386_bnd_type): Likewise.
	(i386_gdbarch_init): Likewise.
	(i386_mpx_bd_base): Likewise.
	* i386nbsd-tdep.c (i386nbsd_sigtramp_cache_init): Likewise.
	* i386obsd-tdep.c (i386obsd_elf_init_abi): Likewise.
	* ia64-tdep.c (examine_prologue): Likewise.
	(ia64_frame_cache): Likewise.
	(ia64_push_dummy_call): Likewise.
	* infcmd.c (finish_command_fsm_async_reply_reason): Likewise.
	(default_print_one_register_info): Likewise.
	* infrun.c (infrun_thread_ptid_changed): Likewise.
	(thread_still_needs_step_over): Likewise.
	(stop_all_threads): Likewise.
	(restart_threads): Likewise.
	(keep_going_stepped_thread): Likewise.
	* iq2000-tdep.c (iq2000_scan_prologue): Likewise.
	* language.c (language_init_primitive_type_symbols): Likewise.
	* linespec.c (add_sal_to_sals): Likewise.
	* linux-nat.c (status_callback): Likewise.
	(kill_unfollowed_fork_children): Likewise.
	(linux_nat_kill): Likewise.
	* linux-tdep.c (linux_fill_prpsinfo): Likewise.
	* linux-thread-db.c (thread_db_notice_clone): Likewise.
	(record_thread): Likewise.
	* location.c (string_to_event_location_basic): Likewise.
	* m32c-tdep.c (m32c_prev_register): Likewise.
	* m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
	* m32r-tdep.c (decode_prologue): Likewise.
	* m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise.
	* machoread.c (macho_symtab_read): Likewise.
	(macho_symfile_read): Likewise.
	(macho_symfile_offsets): Likewise.
	* maint.c (set_per_command_cmd): Likewise.
	* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Likewise.
	(mi_cmd_stack_list_variables): Likewise.
	* mi/mi-main.c (mi_cmd_exec_run): Likewise.
	(output_register): Likewise.
	(mi_cmd_execute): Likewise.
	(mi_cmd_trace_define_variable): Likewise.
	(print_variable_or_computed): Likewise.
	* minsyms.c (prim_record_minimal_symbol_full): Likewise.
	* mn10300-tdep.c (mn10300_frame_prev_register): Likewise.
	* msp430-tdep.c (msp430_pseudo_register_write): Likewise.
	* mt-tdep.c (mt_registers_info): Likewise.
	* nios2-tdep.c (nios2_analyze_prologue): Likewise.
	(nios2_push_dummy_call): Likewise.
	(nios2_frame_unwind_cache): Likewise.
	(nios2_stub_frame_cache): Likewise.
	(nios2_stub_frame_sniffer): Likewise.
	(nios2_gdbarch_init): Likewise.
	* ppc-ravenscar-thread.c: Likewise.
	* ppcfbsd-tdep.c (ppcfbsd_sigtramp_frame_cache): Likewise.
	* python/py-evts.c (add_new_registry): Likewise.
	* python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
	(bpfinishpy_detect_out_scope_cb): Likewise.
	* python/py-framefilter.c (py_print_value): Likewise.
	* python/py-inferior.c (infpy_write_memory): Likewise.
	* python/py-infevents.c (create_inferior_call_event_object): Likewise.
	* python/py-infthread.c (thpy_get_ptid): Likewise.
	* python/py-linetable.c (ltpy_get_pcs_for_line): Likewise.
	(ltpy_get_all_source_lines): Likewise.
	(ltpy_is_valid): Likewise.
	(ltpy_iternext): Likewise.
	* python/py-symtab.c (symtab_and_line_to_sal_object): Likewise.
	* python/py-unwind.c (pyuw_object_attribute_to_pointer): Likewise.
	(unwind_infopy_str): Likewise.
	* python/py-varobj.c (py_varobj_get_iterator): Likewise.
	* ravenscar-thread.c (ravenscar_inferior_created): Likewise.
	* rs6000-aix-tdep.c (rs6000_push_dummy_call): Likewise.
	* rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise.
	* s390-linux-tdep.c (s390_supply_tdb_regset): Likewise.
	(s390_frame_prev_register): Likewise.
	(s390_dwarf2_frame_init_reg): Likewise.
	(s390_record_vr): Likewise.
	(s390_process_record): Likewise.
	* score-tdep.c (score_push_dummy_call): Likewise.
	(score3_analyze_prologue): Likewise.
	* sh-tdep.c (sh_extract_return_value_nofpu): Likewise.
	* sh64-tdep.c (sh64_analyze_prologue): Likewise.
	(sh64_push_dummy_call): Likewise.
	(sh64_extract_return_value): Likewise.
	(sh64_do_fp_register): Likewise.
	* solib-aix.c (solib_aix_get_section_offsets): Likewise.
	* solib-darwin.c (darwin_read_exec_load_addr_from_dyld): Likewise.
	(darwin_solib_read_all_image_info_addr): Likewise.
	* solib-dsbt.c (enable_break): Likewise.
	* solib-frv.c (enable_break2): Likewise.
	(frv_fdpic_find_canonical_descriptor): Likewise.
	* solib-svr4.c (svr4_handle_solib_event): Likewise.
	* sparc-tdep.c (sparc_skip_stack_check): Likewise.
	* sparc64-linux-tdep.c (sparc64_linux_get_longjmp_target): Likewise.
	* sparcobsd-tdep.c (sparc32obsd_init_abi): Likewise.
	* spu-tdep.c (info_spu_dma_cmdlist): Likewise.
	* stack.c (read_frame_local): Likewise.
	* symfile.c (symbol_file_add_separate): Likewise.
	(remove_symbol_file_command): Likewise.
	* symmisc.c (maintenance_print_one_line_table): Likewise.
	* symtab.c (symbol_cache_flush): Likewise.
	(basic_lookup_transparent_type): Likewise.
	(sort_search_symbols_remove_dups): Likewise.
	* target.c (target_memory_map): Likewise.
	(target_detach): Likewise.
	(target_resume): Likewise.
	(acquire_fileio_fd): Likewise.
	(target_store_registers): Likewise.
	* thread.c (print_thread_info_1): Likewise.
	* tic6x-tdep.c (tic6x_analyze_prologue): Likewise.
	* tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Likewise.
	* tilegx-tdep.c (tilegx_push_dummy_call): Likewise.
	(tilegx_analyze_prologue): Likewise.
	(tilegx_stack_frame_destroyed_p): Likewise.
	(tilegx_frame_cache): Likewise.
	* tracefile.c (trace_save): Likewise.
	* tracepoint.c (encode_actions_and_make_cleanup): Likewise.
	(start_tracing): Likewise.
	(print_one_static_tracepoint_marker): Likewise.
	* tui/tui.c (tui_enable): Likewise.
	* valops.c (value_struct_elt_bitpos): Likewise.
	(find_overload_match): Likewise.
	(find_oload_champ): Likewise.
	* value.c (value_contents_copy_raw): Likewise.
	* windows-tdep.c (windows_get_tlb_type): Likewise.
	* x86-linux-nat.c (x86_linux_enable_btrace): Likewise.
	* xcoffread.c (record_minimal_symbol): Likewise.
	(scan_xcoff_symtab): Likewise.
	* xtensa-tdep.c (execute_code): Likewise.
	(xtensa_gdbarch_init): Likewise.
	(_initialize_xtensa_tdep): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR 10549: MIPS/LD: Handle OSABI setting for STB_GNU_UNIQUE
@ 2016-05-03 23:21 sergiodj+buildbot
  2016-05-04  2:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-05-03 23:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d6a648c0789fb227ee2adfb089fe0ce8174708d ***

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

PR 10549: MIPS/LD: Handle OSABI setting for STB_GNU_UNIQUE

Add missing OSABI handling for MIPS/LD, complementing:

commit f64b2e8d60f277b705c96d4b4e585f5f7c847cc4
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Apr 11 08:13:22 2011 +0000

Adjust test coverage accordingly.

	bfd/
	PR 10549
	* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Handle
	STB_GNU_UNIQUE.

	ld/
	PR 10549
	* testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] fort_dyn_array: Enable dynamic member types inside a structure.
@ 2016-04-26 14:47 sergiodj+buildbot
  2016-04-26 15:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-26 14:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9920b4348edbdd83e3f91c85d7174cb92bba204d ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 9920b4348edbdd83e3f91c85d7174cb92bba204d

fort_dyn_array: Enable dynamic member types inside a structure.

Fortran supports dynamic types for which bounds, size and location
can vary during their lifetime. As a result of the dynamic
behaviour, they have to be resolved at every query.
This patch will resolve the type of a structure field when it
is dynamic.

2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
2016-04-26  Keven Boell  <keven.boell@intel.com>

Before:
(gdb) print threev%ivla(1)
Cannot access memory at address 0x3
(gdb) print threev%ivla(5)
no such vector element

After:
(gdb) print threev%ivla(1)
$9 = 1
(gdb) print threev%ivla(5)
$10 = 42

gdb/Changelog:

	* NEWS: Add new supported features for fortran.
	* gdbtypes.c (remove_dyn_prop): New.
	(resolve_dynamic_struct): Keep type length for fortran structs.
	* gdbtypes.h: Forward declaration of new function.
	* value.c (value_address): Return dynamic resolved location of a value.
	(set_value_component_location): Adjust the value address
	for single value prints.
	(value_primitive_field): Support value types with a dynamic location.
	(set_internalvar): Remove dynamic location property of
	internal variables.

gdb/testsuite/Changelog:

	* gdb.fortran/vla-type.f90: New file.
	* gdb.fortran/vla-type.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Propagate GDB/C++ exceptions across readline using sj/lj-based TRY/CATCH
@ 2016-04-22 16:34 sergiodj+buildbot
  2016-04-23  6:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 89525768cd086a0798a504c81fdf7ebcd4c904e1 ***

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

Propagate GDB/C++ exceptions across readline using sj/lj-based TRY/CATCH

If we map GDB'S TRY/CATCH macros to C++ try/catch, GDB breaks on
systems where readline isn't built with exceptions support.  The
problem is that readline calls into GDB through the callback
interface, and if GDB's callback throws a C++ exception/error, the
system unwinder won't manage to unwind past the readline frame, and
ends up calling std::terminate(), which aborts the process:

 (gdb) whatever-command-that-causes-an-error
 terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
 Aborted
 $

This went unnoticed for so long because:

- the x86-64 ABI requires -fasynchronous-unwind-tables, making it
  possible for exceptions to cross readline with no special handling.
  But e.g., on ARM or AIX, unless you build readline with
  -fexceptions, you trip on the problem.

- TRY/CATCH was mapped to setjmp/longjmp, even in C++ mode, until
  quite recently.

The fix is to catch and save any GDB exception that is thrown inside
the GDB readline callback, and then once the callback returns back to
the GDB code that called into readline in the first place, rethrow the
saved GDB exception.

This is similar in spirit to how we catch/map GDB exceptions at the
GDB/Python and GDB/Guile API boundaries.

The next question is then: if we intercept all exceptions within GDB's
readline callback, should we simply return normally to readline?  The
callback prototype has no way to signal an error back to readline (*).
The answer is no -- if we return normally, we'll be returning to a
loop inside rl_callback_read_char that continues processing pending
input, calling into GDB again, redisplaying the prompt, etc.  Thus if
we want to error out of rl_callback_read_char, we need to long jump
across it, just like we always did before TRY/CATCH were ever mapped
to C++ exceptions.

My first approach built a specialized API to handle this, with a
couple macros to hide the setjmp/longjmp and the struct gdb_exception
saving/rethrowing.

However, I realized that we need to:

 - Handle multiple active rl_callback_read_char invocations.  If,
   while processing input something triggers a secondary prompt, we
   end up in a nested rl_callback_read_char call, through
   gdb_readline_wrapper.

 - Propagate a struct gdb_exception along with the longjmp.

... and that this is exactly what the setjmp/longjmp-based TRY/CATCH
does.

So the fix makes the setjmp/longjmp TRY/CATCH always available under
new TRY_SJLJ/CATCH_SJLJ aliases, even when TRY/CATCH is mapped to C++
try/catch, and then uses TRY_SJLJ/CATCH_SJLJ to propagate GDB
exceptions across the readline callback.

This turns out to be a much better looking fix than my bespoke API
attempt, even.  We'll probably be able to simplify TRY_SJLJ/CATCH_SJLJ
when we finally get rid of TRY/CATCH all over the tree, but until
then, this reuse seems quite nice for avoiding a second parallel
setjmp/longjmp mechanism.

(*) - maybe we could propose a readline API change, but we still need
      to handle current readline, anyway.

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

	* common/common-exceptions.c (enum catcher_state, struct catcher)
	(current_catcher): Define in C++ mode too.
	(exceptions_state_mc_catch): Call throw_exception_sjlj instead of
	throw_exception.
	(throw_exception_sjlj, throw_exception_cxx): New functions,
	factored out from throw_exception.
	(throw_exception): Reimplement.
	* common/common-exceptions.h (exceptions_state_mc_init)
	(exceptions_state_mc_action_iter)
	(exceptions_state_mc_action_iter_1, exceptions_state_mc_catch):
	Declare in C++ mode too.
	(TRY): Rename to ...
	(TRY_SJLJ): ... this.
	(CATCH): Rename to ...
	(CATCH_SJLJ): ... this.
	(END_CATCH): Rename to ...
	(END_CATCH_SJLJ): ... this.
	[GDB_XCPT == GDB_XCPT_SJMP] (TRY, CATCH, END_CATCH): Map to SJLJ
	equivalents.
	(throw_exception): Update comments.
	(throw_exception_sjlj): Declare.
	* event-top.c (gdb_rl_callback_read_char_wrapper): Extend intro
	comment.  Wrap body in TRY_SJLJ/CATCH_SJLJ and rethrow any
	intercepted exception.
	(gdb_rl_callback_handler): New function.
	(gdb_rl_callback_handler_install): Always install
	gdb_rl_callback_handler as readline callback.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Tweak gdb.reverse/step-precsave.exp and gdb.reverse/step-reverse.exp
@ 2016-04-22 12:23 sergiodj+buildbot
  2016-04-22 19:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 12:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a7e075c3fdb862d1a9632fc3500c6e5111013fc ***

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

Tweak gdb.reverse/step-precsave.exp and gdb.reverse/step-reverse.exp

I see the following test fail in arm-linux with -marm and -fomit-frame-pointer,

 step
 callee () at /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.reverse/step-reverse.c:27
 27      }                       /* RETURN FROM CALLEE */
 (gdb) step
 main () at /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.reverse/step-reverse.c:58
 58         callee();    /* STEP INTO THIS CALL */
 (gdb) FAIL: gdb.reverse/step-precsave.exp: reverse step into fn call

As we can see, the "step" has already stepped into the function callee,
but in the last line.  The second "step" attempts to step to function
body, but it goes out of callee, which isn't expected.

The program is compiled with -marm and -fomit-frame-pointer, the
function callee is prologue-less, because nothing needs to be saved
on stack,

(gdb) disassemble callee
Dump of assembler code for function callee:
   0x00010680 <+0>:	movw	r3, #2364	; 0x93c
   0x00010684 <+4>:	movt	r3, #2
   0x00010688 <+8>:	ldr	r3, [r3]
   0x0001068c <+12>:	add	r2, r3, #1
   0x00010690 <+16>:	movw	r3, #2364	; 0x93c
   0x00010694 <+20>:	movt	r3, #2
   0x00010698 <+24>:	str	r2, [r3]
   0x0001069c <+28>:	mov	r3, #0
   0x000106a0 <+32>:	mov	r0, r3
   0x000106a4 <+36>:	bx	lr

program stops at the 0x106a0 (passed the epilogue) after the first
"step".  When second "step" is executed, the stepping range is
[0x10680-0x106a0], which starts from the first instruction of function
callee (because it doesn't have prologue).

infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [LWP 2461] at 0x1069c^M
infrun: prepare_to_wait^M
infrun: target_wait (-1.0.0, status) =^M
infrun:   2461.2461.0 [LWP 2461],^M
infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP^M
infrun: TARGET_WAITKIND_STOPPED^M
infrun: stop_pc = 0x10698^M
infrun: stepping inside range [0x10680-0x106a0]

When program goes out of the range, it stops at the caller of callee,
and test fails.  IOW, if function callee has prologue, the stepping
range won't start from the first instruction of the function, and
program stops at the prologue and test passes.

IMO, GDB does nothing wrong, but test shouldn't expect the program
stops in callee after the second "step".  I decide to fix test rather
than GDB.  In this patch, I change to test to do one "step", and check
the program is still in callee, then, do multiple "step" until program
goes out of the callee.

gdb/testsuite:

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

	* gdb.reverse/step-precsave.exp: Do one step and test program
	stops in "callee" and do multiple steps until program goes out
	of "callee".
	* gdb.reverse/step-reverse.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Switch gdb's TRY/CATCH to sjlj again
@ 2016-04-21 16:36 sergiodj+buildbot
  2016-04-22  8:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-21 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88c3cd8dcb60606a25a16ea11149219db00f847b ***

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

Switch gdb's TRY/CATCH to sjlj again

We don't currently handle the case of gdb's readline callback throwing
gdb C++ exceptions across a readline that wasn't built with
-fexceptions.  The end result is:

 (gdb) whatever-command-that-causes-an-error
 terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
 Aborted
 $

Until that is fixed, revert back to sjlj-based exceptions again.

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

	* common/common-exceptions.h (GDB_XCPT_TRY): Add comment.
	(GDB_XCPT): Always define as GDB_XCPT_SJMP.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for non-ELF targets to check their relocs.
@ 2016-04-21 14:48 sergiodj+buildbot
  2016-04-22  6:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-21 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f3b23b390640efdc36c575dbda2175e61154bc9 ***

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

Add support for non-ELF targets to check their relocs.

bfd	* aout-adobe.c: Use _bfd_generic_link_check_relocs.
	* aout-target.h: Likewise.
	* aout-tic30.c: Likewise.
	* binary.c: Likewise.
	* bout.c: Likewise.
	* coff-alpha.c: Likewise.
	* coff-rs6000.c: Likewise.
	* coff64-rs6000.c: Likewise.
	* coffcode.h: Likewise.
	* i386msdos.c: Likewise.
	* i386os9k.c: Likewise.
	* ieee.c: Likewise.
	* ihex.c: Likewise.
	* libbfd-in.h: Likewise.
	* libecoff.h: Likewise.
	* mach-o-target.c: Likewise.
	* mmo.c: Likewise.
	* nlm-target.h: Likewise.
	* oasys.c: Likewise.
	* pef.c: Likewise.
	* plugin.c: Likewise.
	* ppcboot.c: Likewise.
	* som.c: Likewise.
	* srec.c: Likewise.
	* tekhex.c: Likewise.
	* versados.c: Likewise.
	* vms-alpha.c: Likewise.
	* xsym.c: Likewise.
	* elfxx-target.h: Use _bfd_elf_link_check_relocs.
	* linker.c (bfd_link_check_relocs): New function.
	(_bfd_generic_link_check_relocs): New function.
	* targets.c (BFD_JUMP_TABLE_LINK): Add initialization of
	_bfd_link_check_relocs field.
	(struct bfd_target)L Add _bfd_link_check_relocs field.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.

ld	* ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
	prefernce to _bfd_elf_link_check_relocs.  Drop test for ELF
	targets.  Do not stop the checks when problems are encountered.

include	* bfdlink.h: Add prototype for bfd_link_check_relocs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add missing sentinel 'char *' casts in concat/reconcat calls
@ 2016-04-21 10:39 sergiodj+buildbot
  2016-04-21 20:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-21 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b36cec19e826c19648964576ef2d20d63f99e888 ***

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

Add missing sentinel 'char *' casts in concat/reconcat calls

The wildebeest-debian-wheezy-i686 buildslave's build is broken due to:

 ../../binutils-gdb/gdb/python/python.c: In function void _initialize_python():
 ../../binutils-gdb/gdb/python/python.c:1709:36: error: missing sentinel in function call [-Werror=format]

Reproduced on Fedora 23 by sticking a few:

 #undef NULL
 #define 0

in build/gdb/build-gnulib/{stddef|signal|stdio}.h.  Hopefully this
caught all instances.

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

	* dwarf2read.c (try_open_dwop_file, open_dwo_file)
	(file_file_name, file_full_name): Add char * cast to sentinel in
	concat/reconcat calls.
	* event-top.c (top_level_prompt): Likewise.
	* guile/guile.c (initialize_scheme_side): Likewise.
	* linux-tdep.c (linux_fill_prpsinfo): Likewise.
	* macrotab.c (macro_source_fullname): Likewise.
	* main.c (get_init_files, captured_main): Likewise.
	* psymtab.c (psymtab_to_fullname): Likewise.
	* python/python.c (_initialize_python)
	(gdbpy_finish_initialization): Likewise.
	* source.c (symtab_to_fullname): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Build GDB as a C++ program by default
@ 2016-04-20 22:27 sergiodj+buildbot
  2016-04-21  9:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 22:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a23585089d7ba710b238d3d1ab3d34320afa48d0 ***

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

Build GDB as a C++ program by default

This makes --enable-build-with-cxx be "yes" by default.

One must now configure with --enable-build-with-cxx=no in order to
build with a C compiler.

gdb/ChangeLog:
2016-04-20  Pedro Alves  <palves@redhat.com>

	* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Default to yes.
	* configure: Renegerate.

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

	* configure: Renegerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arc: Fix relocation formula for ARC_NPS_CMEM16 relocation
@ 2016-04-20 11:08 sergiodj+buildbot
  2016-04-20 11:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 11:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52176c676da5f4b7339f254dc83cb35a0789bf20 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 52176c676da5f4b7339f254dc83cb35a0789bf20

arc: Fix relocation formula for ARC_NPS_CMEM16 relocation

The ME modifier was missing from the relocation formula for the
ARC_NPS_CMEM16 relocation, and as such the relocation would not patch
correctly on little endian targets.

include/ChangeLog:

	* elf/arc-reloc.def (ARC_NPS_CMEM16): Add ME modifier to formula.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Do target_terminal_ours in query & friends instead of in all callers
@ 2016-04-13  8:11 sergiodj+buildbot
  2016-04-14  0:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 651ce16aa7c2bd5e9f634e91e73790dc3e01a5c0 ***

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

Do target_terminal_ours in query & friends instead of in all callers

Any time a caller calls query & friends / prompt_for_continue without
ensuring that gdb owns the terminal for input is a bug.  So do that in
defaulted_query / prompt_for_continue directly instead.

An example of a case where we currently miss calling
target_terminal_ours is internal_error.  Ever since defaulted_query
was made to use gdb_readline_callback, there's no way to answer the
internal error query if the internal error happens while the target is
has the terminal:

  (gdb) c
  Continuing.
  .../src/gdb/linux-nat.c:1676: internal-error: linux_nat_resume: Assertion `dummy_counter < 10' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n) _

Entering 'y' or 'n' does not work, GDB does not respond.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	PR gdb/19828
	* gnu-nat.c (inf_validate_task_sc): Don't call
	target_terminal_ours / target_terminal_inferior around query.
	* i386-tdep.c (i386_record_lea_modrm, i386_process_record): Don't
	call target_terminal_ours / target_terminal_inferior around
	yquery.
	* linux-record.c (record_linux_system_call): Don't call
	target_terminal_ours / target_terminal_inferior around yquery.
	* nto-procfs.c (interrupt_query): Don't call target_terminal_ours
	/ target_terminal_inferior around query.
	* record-full.c (record_full_check_insn_num): Remove
	'set_terminal' parameter.  Don't call target_terminal_ours /
	target_terminal_inferior around query.
	(record_full_message, record_full_registers_change)
	(record_full_xfer_partial): Adjust.
	* remote.c (interrupt_query): Don't call target_terminal_ours /
	target_terminal_inferior around query.
	* utils.c (defaulted_query): Install cleanup to restore target
	terminal.  Put target_terminal_ours_for_output in effect while
	defaulted producing, and target_terminal_ours in in effect while
	handling input.
	(prompt_for_continue): Install cleanup to restore target terminal.
	Put target_terminal_ours in in effect while handling input.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use target_terminal_ours_for_output in warning/internal_error
@ 2016-04-12 20:57 sergiodj+buildbot
  2016-04-13 21:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 20:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5ac15402a894e87a118526a066880f596b3c78d ***

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

Use target_terminal_ours_for_output in warning/internal_error

We're only doing output here, so leave raw/cooked mode alone, as well
as the SIGINT handler.

And restore terminal settings, while at it.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* utils.c (vwarning, internal_vproblem): Use
	make_cleanup_restore_target_terminal and
	target_terminal_ours_for_output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix for gcc-4.8: gdb.base/jit.exp gdb.base/jit-so.exp
@ 2016-04-08 13:52 sergiodj+buildbot
  2016-04-08 14:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-08 13:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 065005336492337c92d06e87544646635a5b9566 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 065005336492337c92d06e87544646635a5b9566

testsuite: Fix for gcc-4.8: gdb.base/jit.exp gdb.base/jit-so.exp

on CentOS-7.2 I get

Running /home/jkratoch/redhat/gdb-test-reg/gdb/testsuite/gdb.base/jit.exp ...
FAIL: gdb.base/jit.exp: one_jit_test-1: continue to breakpoint: break here 2 (the program exited)
FAIL: gdb.base/jit.exp: one_jit_test-2: continue to breakpoint: break here 2 (the program exited)
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: continue to breakpoint: break here 2 (the program exited)
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: break here 2: set var wait_for_gdb = 1
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: break here 2: detach (the program is no longer running)
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: break here 2: attach
FAIL: gdb.base/jit.exp: attach: one_jit_test-2: break here 2: set var wait_for_gdb = 0
FAIL: gdb.base/jit.exp: PIE: one_jit_test-1: continue to breakpoint: break here 2 (the program exited)
Running /home/jkratoch/redhat/gdb-test-reg/gdb/testsuite/gdb.base/jit-so.exp ...
FAIL: gdb.base/jit-so.exp: one_jit_test-1: continue to breakpoint: break here 2 (the program exited)
FAIL: gdb.base/jit-so.exp: one_jit_test-2: continue to breakpoint: break here 2 (the program exited)

since:

85af34ee0211eedf8d30a5c44dfc59dddf8b512a is the first bad commit
commit 85af34ee0211eedf8d30a5c44dfc59dddf8b512a
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Mar 31 19:28:47 2016 +0100
    Add regression test for PR gdb/19858 (JIT code registration on attach)

The compiled code's .debug_line is wrong (for the simplistic approach of GDB
to put a breakpoint on the first address belonging to that source line) and so
GDB misses the breakpoint at the last line:
          WAIT_FOR_GDB; return 0;  /* gdb break here 2  */

Most of the patch is just about reindentation, no changes there.

gdb/testsuite/ChangeLog
2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Fix compatibility with gcc-4.8.5-4.el7.x86_64.
	* gdb.base/jit-main.c: Use exit after usage.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix false FAILs with .bashrc GDBHISTFILE=...
@ 2016-04-07 20:44 sergiodj+buildbot
  2016-04-08  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 20:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d35e871274a48331c4d6c7b3e4fbee42b901f33 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 2d35e871274a48331c4d6c7b3e4fbee42b901f33

testsuite: Fix false FAILs with .bashrc GDBHISTFILE=...

$ GDBHISTFILE=/tmp/gdbhistfile runtest gdb.base/gdbhistsize-history.exp gdb.base/gdbinit-history.exp
Running ./gdb.base/gdbinit-history.exp ...
FAIL: gdb.base/gdbinit-history.exp: home=gdbinit-history/unlimited gdbhistsize=1000: show commands
FAIL: gdb.base/gdbinit-history.exp: home=gdbinit-history/unlimited gdbhistsize=foo: show commands
Running ./gdb.base/gdbhistsize-history.exp ...
FAIL: gdb.base/gdbhistsize-history.exp: histsize=: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=20: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize= 20 : show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=-5: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=not_an_integer: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=10zab: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=-5ab: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=99999999999999999999999999999999999: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=50: show commands

This happens for my setup due to my:
	$ grep GDB ~/.bashrc
	export GDBHISTFILE="$HOME/.gdb_history"

gdb/testsuite/ChangeLog
2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
	GDBHISTSIZE prior to the tests.
	* gdb.base/gdbinit-history.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix gdb.compile/compile.exp shlib regression
@ 2016-04-07 19:12 sergiodj+buildbot
  2016-04-08  0:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 19:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9553661a5f8fb5f82846a04a02b7db8476d986e0 ***

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

Fix gdb.compile/compile.exp shlib regression

Commit 6e774b13c3b8 (Make ftrace tests work with remote targets) made
a few gdb.compile/compile.exp tests disappear:

 -PASS: gdb.compile/compile.exp: call shared library function
 -PASS: gdb.compile/compile.exp: expect 1
 -PASS: gdb.compile/compile.exp: modify shared library variable
 -PASS: gdb.compile/compile.exp: expect 15

This is because the test uses ldflags instead of using the shlib
option, so it misses linking with -rpath, resulting in:

 (gdb) run
 Starting program: .../compile/compile-shlib
 .../compile/compile-shlib: error while loading shared libraries: compile-shlib.so: cannot open shared object file: No such file or directory
 [Inferior 1 (process 18014) exited with code 0177]

We were missing a gdb_load_shlibs call, which is needed for remote
testing.

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

	* gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
	instead of build_executable.  Use gdb_load_shlibs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arc/nps400: Add new instructions
@ 2016-04-07 18:15 sergiodj+buildbot
  2016-04-07 23:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 18:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a42a4f8400ee232ceed5ecceb61873195984f1d9 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: a42a4f8400ee232ceed5ecceb61873195984f1d9

arc/nps400: Add new instructions

Add some new control instructions to the opcodes library, and a new test
for these new instructions to the assembler.  The new instructions use
an instruction flag longer than any seen before (on arc), and so the max
flag length is extended to accommodate this.

gas/ChangeLog:

	* config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
	* testsuite/gas/arc/nps400-2.d: New file.
	* testsuite/gas/arc/nps400-2.s: New file.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
	* arc-opc.c (arc_flag_operands): Add new flags.
	(arc_flag_classes): Add new classes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gas/arc: Handle multiple arc_opcode chains for same mnemonic
@ 2016-04-07 17:52 sergiodj+buildbot
  2016-04-07 21:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 17:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1328504b287b2c284419d989e0d05e7d6d3ffa59 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 1328504b287b2c284419d989e0d05e7d6d3ffa59

gas/arc: Handle multiple arc_opcode chains for same mnemonic

This commit completes support for having multiple instructions with the
same mnemonic in non-contiguous blocks within the arc_opcodes table.

The commit adds an iterator mechanism for the arc_opcode_hash_entry
structure, which is then used in find_opcode_match to consider all
arc_opcode entries with the same mnemonic, even when these instructions
are stored in non-contiguous blocks.

I extend the comment on the arc_opcodes table to discuss how entries
within the table are organised, and to mention how instructions can be
split into multiple groups if needed, but that the table is still
searched in table order.

There should be no user visible changes after this commit.

gas/ChangeLog:

	* config/tc-arc.c (struct arc_opcode_hash_entry_iterator): New
	structure.
	(arc_opcode_hash_entry_iterator_init): New function.
	(arc_opcode_hash_entry_iterator_next): New function.
	(find_opcode_match): Iterate over all arc_opcode entries
	referenced by the arc_opcode_hash_entry passed in as a parameter.

opcodes/ChangeLog:

	* arc-opc.c (arc_opcodes): Extend comment to discus table layout.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Optimized-out pointer: New test for error handling
@ 2016-04-06 21:44 sergiodj+buildbot
  2016-04-06 23:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 21:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b16f8a3b1ecce592fe331a5b1ce6632951350e9c ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: b16f8a3b1ecce592fe331a5b1ce6632951350e9c

Optimized-out pointer: New test for error handling

This patch implements a test that ensures that with "set print object
on", -var-create returns "<optimized out>" for an optimized out pointer
to structure, rather than throwing an error, while also ensuring that
any attempt to dereference the pointer *will* throw an error.

It uses the dwarf assembler to construct the appropriate debug info
to represent a pointer-to-struct in the program as optimized out,
and then accesses that pointer in various ways.  The test uses both
the console interpreter and the MI interpreter.

gdb/testsuite/ChangeLog:
2016-04-06  Don Breazeal  <donb@codesourcery.com>

	* gdb.dwarf2/dw2-opt-structptr.c: New test program.
	* gdb.dwarf2/dw2-opt-structptr.exp: New test script.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make ftrace tests work with remote targets
@ 2016-04-05 19:25 sergiodj+buildbot
  2016-04-06  3:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e774b13c3b81ac2599812adf058796948ce7e95 ***

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

Make ftrace tests work with remote targets

When we build a shared library for testing, it is built differently
whether it is meant for the local system or a remote one.  When it is
for the local system, the library is built with no SONAME.  So when the
executable is built, roughly in this way:

  $ gcc testfile.c /path/to/library.so

the executable will contain an absolute reference to the library.  For
example:

  $ readelf -a testsuite/gdb.python/py-shared | grep NEEDED
   0x0000000000000001 (NEEDED)             Shared library: [/home/emaisin/build/binutils-gdb/gdb/testsuite/gdb.python/py-shared-sl.sl]

When testing is done remotely, the absolute path obviously doesn't work.
Therefore, we build the library with an SONAME:

  $ readelf -a testsuite/gdb.python/py-shared-sl.sl | grep SONAME
   0x000000000000000e (SONAME)             Library soname: [py-shared-sl.sl]

which ends up in the executable's NEEDED field:

  $ readelf -a testsuite/gdb.python/py-shared | grep NEEDED
   0x0000000000000001 (NEEDED)             Shared library: [py-shared-sl.sl]

The executable and the library are then uploaded side-by-side on the
remote system.  To allow the dynamic linker to find the shared library,
we have to add the special RPATH value $ORIGIN, which tells it to search
in the executable's directory:

  $ readelf -a testsuite/gdb.python/py-shared | grep ORIGIN
   0x000000000000000f (RPATH)              Library rpath: [$ORIGIN]

The problem with the IPA library is that it doesn't have an SONAME,
making it very difficult to do testing on a remote board.  When a
test executable is linked with it, it contains an absolute reference to
the library path.  Therefore, unless the paths on the target are the
same as on the build system, it won't work.

To make it possible for tests using the IPA library to run test on
remote boards, I suggest adding an SONAME to libinproctrace.so.  I don't
think it should be a big problem for users.  All the libraries installed
on my system have an SONAME, so it should be fine if libinproctrace.so
does too.

As a consequence, native testing does not work anymore, since
executables do not contain the absolute path to the library anymore.  To
keep them working, we can have gdb_load_shlibs copy the library to the
test directory when testing natively.  That's done by modifying
gdb_load_shlibs.  We also have to add RPATH=$ORIGIN to executables, even
when testing natively.

I think it's a good change in general, as it reduces the differences
between testing a native and a remote target.  To further reduce those
differences, we can also always build test shared libraries with an
SONAME.

ftrace.exp and ftrace-lock.exp need to be modified slightly.  The code
checks that the IPA library is loaded using the absolute path on the
build machine.  That obviously doesn't work if the test is done
remotely, as the path will be different.  I changed the tests to only
search for the library basename (e.g. libinproctrace.so).

gdb/gdbserver/ChangeLog:

	* Makefile.in ($(IPA_LIB)): Set SONAME of the IPA lib.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
	absolute.
	* gdb.trace/ftrace.exp: Likewise.
	* lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
	targets as well.
	(gdb_compile_shlib): Set SONAME for non-remote targets as well.
	(gdb_load_shlibs): Copy libraries to test directory when testing
	natively.  Only set solib-search-path if testing remotely.
	* lib/mi-support.exp (mi_load_shlibs): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Improve gdb_remote_download, remove gdb_download
@ 2016-04-05 18:35 sergiodj+buildbot
  2016-04-06  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 18:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7817ea46148df2931cf00d17aeedb844b6e4e4db ***

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

Improve gdb_remote_download, remove gdb_download

This patch removes gdb_download in favor of gdb_remote_download, since
they are very close in functionality.  Also, in preparation for the
following patch about shared library handling during tests, it improves
gdb_remote_download so that it uses standard_output_file for any
destination board that is local, not only host.

If the destination board is remote, gdb_remote_download will use the
standard remote_download from DejaGnu, resulting in the file being
transferred on the remote system.

If the destination is local, gdb_remote_download will copy the file to
the standard test directory (found using standard_output_file).  Tcl's
file copy seems to handle gracefully cases where the source file is the
same as the destination, so I don't think it's necessary to check for
that case ourselves, as a previous version of the patch did.

I'd prefer to keep the name gdb_download instead of gdb_remote_download,
since I don't like the fact that gdb_remote_download implies that the
destination is remote, when it's not always the case.  However,
gdb_remote_download is used at many more places than gdb_download, so
it's easier to reuse that.  Also, since it's a wrapper around DejaGnu's
remote_download, it might be better to keep that name.  I don't know.

I ran the testsuite native, with native-gdbserver and with a
remote gdbserver, and didn't see any related failure.

gdb/testsuite/ChangeLog:

	* gdb.base/jit-so.exp: Use gdb_remote_download instead of
	gdb_download.  Use it even if the target is not remote.
	* gdb.base/jit.exp (compile_jit_test): Likewise.
	* lib/gdb.exp (gdb_remote_download): Copy files to the standard
	output directory if the destination board is local, otherwise use
	the standard remote_download from DejaGnu.
	(gdb_download): Remove.
	(gdb_load_shlibs): Use gdb_remote_download instead of
	gdb_download.
	* lib/gdbserver-support.exp (gdbserver_download_current_prog):
	Use gdb_remote_download instead of gdb_download.  Use it even if
	the target is not remote.
	* lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
	instead of gdb_download.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] IPA: Move getauxval out of #ifndef IN_PROCESS_AGENT
@ 2016-04-05 16:36 sergiodj+buildbot
  2016-04-06  0:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4dca19f828e7b3194ea146c8e1172678f0e42f3d ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 4dca19f828e7b3194ea146c8e1172678f0e42f3d

IPA: Move getauxval out of #ifndef IN_PROCESS_AGENT

The getauxval code was wrongly included in code area only compiled for
gdbserver.  Move it to a #ifdef IN_PROCESS_AGENT area that already
contains lots of IPA-only code.

gdb/gdbserver/ChangeLog:

	* tracepoint.c (getauxval): Move to #ifdef IN_PROCESS_AGENT.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbserver: Fix C++ build errors in tracepoint.c
@ 2016-03-31 22:48 sergiodj+buildbot
  2016-04-01 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 22:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 252db07e1d4c5733b91a53b9fe4881b873eae049 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 252db07e1d4c5733b91a53b9fe4881b873eae049

gdbserver: Fix C++ build errors in tracepoint.c

These were introduced by 1cda1512689aabb36588a01370002632a0c8e560
and a13c46966d308297a1273e35ccc807a3912d573d .  One is a simple
missing cast, the other is const usage on global function pointers
exported from IPA: in C++, consts are static, and thus won't be
exported from the DSO (the build error was because of non-applicable
visibility("default")).

gdb/gdbserver/ChangeLog:

	* tracepoint.c (gdb_collect_ptr): Remove const qualifier.
	(get_raw_reg_ptr): Likewise.
	(get_trace_state_variable_value_ptr): Likewise.
	(set_trace_state_variable_value_ptr): Likewise.
	(initialize_tracepoint): Cast alloc_jump_pad_buffer result to
	char *.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add regression test for PR gdb/19858 (JIT code registration on attach)
@ 2016-03-31 19:22 sergiodj+buildbot
  2016-04-01  4:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 19:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64cdf930d9ed85e93ae55adbc20b0f9848ef863b ***

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

Add regression test for PR gdb/19858 (JIT code registration on attach)

This test would fail without the previous gdb/jit.c fix:

  (gdb) attach 23031
  Attaching to program: .../build/gdb/testsuite/outputs/gdb.base/jit/jit-main, process 23031
  [...]
  207           WAIT_FOR_GDB; i = 0;  /* gdb break here 1 */
  (gdb) PASS: gdb.base/jit.exp: attach: one_jit_test-2: attach
  set var wait_for_gdb = 0
  (gdb) PASS: gdb.base/jit.exp: attach: one_jit_test-2: set var wait_for_gdb = 0
  info function ^jit_function
  All functions matching regular expression "^jit_function":
  (gdb) FAIL: gdb.base/jit.exp: attach: one_jit_test-2: info function ^jit_function

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

	PR gdb/19858
	* gdb.base/jit-main.c: Include unistd.h.
	(ATTACH): Define to 0 if not already defined.
	(wait_for_gdb, mypid): New globals.
	(WAIT_FOR_GDB): New macro.
	(MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
	some breakpoint locations.
	* gdb.base/jit.exp (clean_reattach, continue_to_test_location):
	New procedures.
	(one_jit_test): Add REATTACH parameter, and handle it.  Use
	continue_to_test_location.
	(top level): Test attach, and adjusts calls to one_jit_test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] python: Use console format for output of gdb.execute command
@ 2016-03-31 12:58 sergiodj+buildbot
  2016-03-31 15:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 12:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e7ea3ec7c623be0b9be1eaf4929794652a84be11 ***

Author: Catalin Udma <catalin.udma@freescale.com>
Branch: master
Commit: e7ea3ec7c623be0b9be1eaf4929794652a84be11

python: Use console format for output of gdb.execute command

When gdb is started in MI mode, the output of gdb.execute
command is in MI-format in case when it is executed from python stop
handler while for all other cases the output is in console-format.

To assure consistent output format, this is fixed by using the console
format for all python gdb command executions.

PR python/19743

gdb/ChangeLog:
2016-03-31  Catalin Udma  <catalin.udma@freescale.com>

	PR python/19743
	* python/python.c (execute_gdb_command): Use console uiout
	when executing gdb command.
	* utils.c (restore_ui_out_closure): New structure.
	(do_restore_ui_out): New function.
	(make_cleanup_restore_ui_out): Likewise.
	* utils.h (make_cleanup_restore_ui_out): Declare.

gdb/testsuite/ChangeLog:
2016-03-31  Catalin Udma  <catalin.udma@freescale.com>

	PR python/19743
	* gdb.python/py-mi-events-gdb.py: New file.
	* gdb.python/py-mi-events.c: New file.
	* gdb.python/py-mi-events.exp: New file.

Signed-off-by: Catalin Udma <catalin.udma@freescale.com>


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Add support for Quarkse opcodes.
@ 2016-03-29 13:24 sergiodj+buildbot
  2016-03-29 13:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 13:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2dd88387a40ec152fa3b8221f02c83d14f897e9 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: f2dd88387a40ec152fa3b8221f02c83d14f897e9

[ARC] Add support for Quarkse opcodes.

gas/
2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>

        * testsuite/gas/arc/ext2op.d: New file.
        * testsuite/gas/arc/ext2op.s: Likewise.
        * testsuite/gas/arc/ext3op.d: Likewise.
        * testsuite/gas/arc/ext3op.s: Likewise.

opcodes/
2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-tbl.h (invld07): Remove.
        * arc-ext-tbl.h: New file.
        * arc-dis.c (FIELDA, FIELDB, FIELDC): Remove.
        * arc-opc.c (arc_opcodes): Add ext-tbl include.

include/
2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>

        * opcode/arc.h (insn_subclass_t): Add QUARKSE subclass.
        (FIELDA, FIELDB, FIELDC, FIELDF, FIELDQ, INSN3OP, INSN2OP)
        (INSN2OP, INSN3OP_ABC, INSN3OP_ALC, INSN3OP_ABL, INSN3OP_ALL)
        (INSN3OP_0BC, INSN3OP_0LC, INSN3OP_0BL, INSN3OP_0LL, INSN3OP_ABU)
        (INSN3OP_ALU, INSN3OP_0BU, INSN3OP_0LU, INSN3OP_BBS, INSN3OP_0LS)
        (INSN3OP_CBBC, INSN3OP_CBBL, INSN3OP_C0LC, INSN3OP_C0LL)
        (INSN3OP_CBBU, INSN3OP_C0LU, MINSN3OP_ABC, MINSN3OP_ALC)
        (MINSN3OP_ABL, MINSN3OP_ALL, MINSN3OP_0BC, MINSN3OP_0LC)
        (MINSN3OP_0BL, MINSN3OP_0LL, MINSN3OP_ABU, MINSN3OP_ALU)
        (MINSN3OP_0BU, MINSN3OP_0LU, MINSN3OP_BBS, MINSN3OP_0LS)
        (MINSN3OP_CBBC, MINSN3OP_CBBL, MINSN3OP_C0LC, MINSN3OP_C0LL)
        (MINSN3OP_CBBU, MINSN3OP_C0LU, INSN2OP_BC, INSN2OP_BL, INSN2OP_0C)
        (INSN2OP_0L INSN2OP_BU, INSN2OP_0U, MINSN2OP_BC, MINSN2OP_BL)
        (MINSN2OP_0C, MINSN2OP_0L, MINSN2OP_BU, MINSN2OP_0U): Define.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Relax assertion in BFIN linker to allow for discard GOT relocs.
@ 2016-03-29  9:45 sergiodj+buildbot
  2016-03-29 10:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-29  9:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed3056ebdb9795446157af03d3e08fbb93c1b01d ***

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

Relax assertion in BFIN linker to allow for discard GOT relocs.

	PR 17334
	* elf32-bfin.c (elf32_bfinfdpic_finish_dynamic_sections): Relax
	assertion on the size of the got section to allow it to be bigger
	than the number of relocs.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Attribute with DW_FORM_flag_present
@ 2016-03-22 12:26 sergiodj+buildbot
  2016-03-22 15:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-22 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a97fbc7e3ca781b8d95ed8591c6ee65f2d8a798a ***

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

Attribute with DW_FORM_flag_present

	PR 19850
	* dwarf2.c (read_attribute_value): Skip info_ptr check for
	DW_FORM_flag_present.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arc: Add nps400 machine type, and assembler flag.
@ 2016-03-21 18:10 sergiodj+buildbot
  2016-03-21 23:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 18:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8699fc3e88de47be12401fd366fbe1ee0c4294c7 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 8699fc3e88de47be12401fd366fbe1ee0c4294c7

arc: Add nps400 machine type, and assembler flag.

This commit introduces the nps400 machine type as a variant of arc.
There's a new flag in the assembler to select this machine type.  All
other changes are just adding handling of the new machine type into the
relevant places.

The nps400 is an arc700 variant with some vendor specific instructions
added into the instruction set.  This commit does not add any of the new
instructions, this is just laying the groundwork for future commits.
However, in preparation for these new instructions a new opcode define for
nps400 has been added to include/opcode/arc.h, this new opcode define is
used in the assembler and disassembler along with the existing define
for arc700 such that when assembling and disassembling for nps400 the
user will have access to all arc700 instructions and all the nps400
vendor extension instructions.

bfd/ChangeLog:

	* archures.c (bfd_mach_arc_nps400): Define.
	* bfd-in2.h: Regenerate.
	* cpu-arc.c (arch_info_struct): New entry for nps400, renumber
	some existing entries to make space.
	* elf32-arc.c (arc_elf_object_p): Add nps400 case.
	(arc_elf_final_write_processing): Likewise.

binutils/ChangeLog:

	* readelf.c (decode_ARC_machine_flags): Handle nps400.

gas/ChangeLog:

	* config/tc-arc.c (cpu_types): Add nps400 entry.
	(check_zol): Handle nps400.

include/ChangeLog:

	* elf/arc.h (E_ARC_MACH_NPS400): Define.
	* opcode/arc.h (ARC_OPCODE_NPS400): Define.

opcodes/ChangeLog:

	* arc-dis.c (print_insn_arc): Handle nps400.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arc: Remove duplicated constant in include/elf/arc.h
@ 2016-03-21 17:28 sergiodj+buildbot
  2016-03-21 20:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 17:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0334580516d147fb0257a2df47ac7b1072f6e82 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: c0334580516d147fb0257a2df47ac7b1072f6e82

arc: Remove duplicated constant in include/elf/arc.h

In the include/elf/arc.h there are two constants that mask out the
machine architecture field.  One is used lots (EF_ARC_MACH_MSK), the
other is used only once (EF_ARC_MACH).  Remove EF_ARC_MACH.

bfd/ChangeLog:

	* elf32-arc.c (arc_elf_final_write_processing): Switch to using
	EF_ARC_MACH_MSK.

include/ChangeLog:

	* elf/arc.h (EF_ARC_MACH): Delete.
	(EF_ARC_MACH_MSK): Remove out of date comment.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove use of alloca.
@ 2016-03-21 16:37 sergiodj+buildbot
  2016-03-21 17:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e1fa0163505af867009ea73fc5f705162120e795 ***

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

Remove use of alloca.

bfd	* warning.m4 (GCC_WARN_CFLAGS): Add -Wstack-usage=262144
	* configure: Regenerate.
	* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Replace use of
	alloca with call to xmalloc.
	* elf32-nds32.c: Likewise.
	* elf64-hppa.c: Likewise.
	* elfxx-mips.c: Likewise.
	* pef.c: Likewise.
	* pei-x86_64.c: Likewise.
	* som.c: Likewise.
	* xsym.c: Likewise.

binutils * dlltool.c: Replace use of alloca with call to xmalloc.
	* dllwrap.c: Likewise.
	* nlmconv.c: Likewise.
	* objdump.c: Likewise.
	* resrc.c: Likewise.
	* winduni.c: Likewise.
	* configure: Regenerate.

gas	* atof-generic.c: Replace use of alloca with call to xmalloc.
	* cgen.c: Likewise.
	* dwarf2dbg.c: Likewise.
	* macro.c: Likewise.
	* remap.c: Likewise.
	* stabs.c: Likewise.
	* symbols.c: Likewise.
	* config/obj-elf.c: Likewise.
	* config/tc-aarch64.c: Likewise.
	* config/tc-arc.c: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-avr.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-msp430.c: Likewise.
	* config/tc-nds32.c: Likewise.
	* config/tc-ppc.c: Likewise.
	* config/tc-sh.c: Likewise.
	* config/tc-tic30.c: Likewise.
	* config/tc-tic54x.c: Likewise.
	* config/tc-xstormy16.c: Likewise.
	* config/te-vms.c: Likewise.
	* configure: Regenerate.

ld	* emultempl/msp430.em: Replace use of alloca with call to xmalloc.
	* plugin.c: Likewise.
	* pe-dll.c: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Canonicalize more arm linux syscalls
@ 2016-03-21 10:37 sergiodj+buildbot
  2016-03-21 11:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 10:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 479fe002f5fdc83fbd5ef64c701bbf8b1a76d8ec ***

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

Canonicalize more arm linux syscalls

This patch is to canonicalize more syscalls on arm linux in process
record.  In this patch, I also comment out some syscalls which isn't
handled by GDB now.  With this patch applied, two fails are fixed.

-FAIL: gdb.reverse/fstatat-reverse.exp: continue to breakpoint: marker2
-FAIL: gdb.reverse/recvmsg-reverse.exp: continue to breakpoint: marker2

gdb:

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

	* arm-linux-tdep.c (arm_canonicalize_syscall): Canonicalize
	more syscalls.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make sparc_software_single_step static
@ 2016-03-18 15:45 sergiodj+buildbot
  2016-03-18 22:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 15:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c3f22346dd632201807c0718d5281ed1eea329f ***

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

Make sparc_software_single_step static

sparc_software_single_step is not used out of sparc-tdep.c, so this
patch makes it static.

gdb:

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

	* sparc-tdep.c (sparc_software_single_step): Make it static.
	* sparc-tdep.h (sparc_software_single_step): Remove declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add mips and s390 build targets for gold.
@ 2016-03-17 23:01 sergiodj+buildbot
  2016-03-18  7:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 23:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea01647092eefeca9336b36809962ff097306b41 ***

Author: Cary Coutant <ccoutant@gmail.com>
Branch: master
Commit: ea01647092eefeca9336b36809962ff097306b41

Add mips and s390 build targets for gold.

	* configure.ac: Add mips and s390 to the gold target check.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] S390: Add syscall info for syscalls up to 374
@ 2016-03-17 10:26 sergiodj+buildbot
  2016-03-18  2:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 10:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bba960fc4b3f330ec75ef7d3581aaaed4c560c49 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: bba960fc4b3f330ec75ef7d3581aaaed4c560c49

S390: Add syscall info for syscalls up to 374

Represent new Linux syscalls for s390 and s390x in GDB's syscall info.
Add the syscalls from 355 (userfaultfd) up to 374 (mlock2) as well as
the previously reserved NUMA syscalls 268-270, 287, and 310.

gdb/ChangeLog:

	* syscalls/s390-linux.xml: Add NUMA syscalls and new syscalls up
	to 374.
	* syscalls/s390x-linux.xml: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] linux-record: Simplify with record_mem_at_reg()
@ 2016-03-17  9:47 sergiodj+buildbot
  2016-03-17 23:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-17  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fd0888aff1abfa6e06cfa48164e72c48072ac79 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 5fd0888aff1abfa6e06cfa48164e72c48072ac79

linux-record: Simplify with record_mem_at_reg()

The function record_linux_system_call() often records a memory area
whose address is contained in a register.  So far this required two
function calls: one for fetching the register value, and another one for
recording the memory area.  These two function calls are now merged into
a new local helper function, and all occurrences are adjusted.  This
reduces the source code and makes it more readable.

gdb/ChangeLog:

	* linux-record.c (record_mem_at_reg): New helper function.
	(record_linux_system_call): Exploit new helper function where
	applicable.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] linux-record.c: Fix whitespace issues
@ 2016-03-17  9:34 sergiodj+buildbot
  2016-03-17 19:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-17  9:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fc8f115fd95a88ff2ce4c839b634b39d200c734 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 0fc8f115fd95a88ff2ce4c839b634b39d200c734

linux-record.c: Fix whitespace issues

This patch changes whitespace only, fixing whitespace issues in
linux-record.c.

gdb/ChangeLog:

	* linux-record.c: Fix whitespace issues; tabify, remove trailing
	spaces.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] linux-record: Fix bad fall-through for pipe/pipe2
@ 2016-03-17  9:19 sergiodj+buildbot
  2016-03-17 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-17  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT afdab9165435e17169b4984eeb29ea751319aa74 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: afdab9165435e17169b4984eeb29ea751319aa74

linux-record: Fix bad fall-through for pipe/pipe2

This patch added handling for some syscalls to linux-record.c:

  https://sourceware.org/ml/gdb-patches/2015-10/msg00452.html

But for both `pipe' and `pipe2' the patch lacks a statement after an
`if', such that the following `break' is interpreted as the `if'-body
instead.

This adds the missing (return-) statements for the conditionals.

gdb/ChangeLog:

	* linux-record.c (record_linux_system_call): Add missing return
	statements to handling of pipe and pipe2 syscalls.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] PR remote/19496, interrupted syscall in forking-threads-plus-bkpt
@ 2016-03-16 22:29 sergiodj+buildbot
  2016-03-17 13:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-16 22:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7868401b7b63d851eea5de3b780591238d579bd1 ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 7868401b7b63d851eea5de3b780591238d579bd1

PR remote/19496, interrupted syscall in forking-threads-plus-bkpt

This patch addresses "fork:Interrupted system call" (or wait:) failures
in gdb.threads/forking-threads-plus-breakpoint.exp.

The test program spawns ten threads, each of which do ten fork/waitpid
sequences.  The cause of the problem was that when one of the fork
children exited before the corresponding fork parent could initiate its
waitpid for that child, a SIGCHLD and/or SIGSTOP was delivered and
interrupted a fork or waitpid in another thread.

The fix was to wrap the system calls in a loop to retry the call if
it was interrupted, like:

do
  {
    pid = fork ();
  }
while (pid == -1 && errno == EINTR);

Since this is a Linux-only test I figure it is OK to use errno and EINTR.
I tried a number of alternative fixes using SIG_IGN, SA_RESTART,
pthread_sigblock, and bsd_signal, but none of these worked as well.

Tested on Nios II Linux target with x86 Linux host.

gdb/testsuite/ChangeLog:
2016-03-16  Don Breazeal  <donb@codesourcery.com>

	* gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
	Retry fork and waitpid on interrupted system call errors.
	* gdb.threads/forking-threads-plus-breakpoint.exp: (do_test):
	Use with_timeout_factor to increase timeout to 90.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] xml-tdesc.c (tdesc_start_enum): Fix c++ build.
@ 2016-03-16 17:48 sergiodj+buildbot
  2016-03-17  7:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-16 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bfeeb14b8468ab3f60d719f2cde697d1b537eba8 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: bfeeb14b8468ab3f60d719f2cde697d1b537eba8

xml-tdesc.c (tdesc_start_enum): Fix c++ build.

gdb/ChangeLog:

	* xml-tdesc.c (tdesc_start_enum): Fix c++ build.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR gdb/19676: Internal error in linux-thread.db.c if /proc not mounted
@ 2016-03-15 17:14 sergiodj+buildbot
  2016-03-15 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 17:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1eb2dbb8d73c344e199fd04531ec3f649e2835b2 ***

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

Fix PR gdb/19676: Internal error in linux-thread.db.c if /proc not mounted

If /proc is not mounted, GDB fails an assertion in find_new_threads_once:

 Continuing.
 .../src/gdb/linux-thread-db.c:1249: internal-error: find_new_threads_once: Assertion `!target_has_execution' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n)

That was supposed to catch misuses of td_ta_thr_iter, which is unsafe
for live debugging.  However, if /proc is not mounted, we still
fallback to using it.

I didn't bother with a warning, because GDB already prints several
others related to failing to open /proc files.

gdb/ChangeLog:
2016-03-15  Pedro Alves  <palves@redhat.com>

	PR gdb/19676
	* linux-thread-db.c (try_thread_db_load_1): Leave
	info->td_ta_thr_iter_p NULL iff debugging a live process and we
	have /proc access.
	(find_new_threads_once): Assert that we have a non-NULL
	info->td_ta_thr_iter_p instead of checking whether the target has
	execution.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR gdb/19676: Disable displaced stepping if /proc not mounted
@ 2016-03-15 16:47 sergiodj+buildbot
  2016-03-15 17:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 16:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16b4184277c4ad5b4a20278060fd3f6259d1ed49 ***

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

Fix PR gdb/19676: Disable displaced stepping if /proc not mounted

On GNU/Linux archs that support displaced stepping, if /proc is not
mounted, GDB gets stuck not able to step past breakpoints:

 (gdb) c
 Continuing.
 dl_main (phdr=<optimized out>, phnum=<optimized out>, user_entry=<optimized out>, auxv=<optimized out>) at rtld.c:2163
 2163      LIBC_PROBE (init_complete, 2, LM_ID_BASE, r);
 Cannot find AT_ENTRY auxiliary vector entry.
 (gdb) c
 Continuing.
 dl_main (phdr=<optimized out>, phnum=<optimized out>, user_entry=<optimized out>, auxv=<optimized out>) at rtld.c:2163
 2163      LIBC_PROBE (init_complete, 2, LM_ID_BASE, r);
 Cannot find AT_ENTRY auxiliary vector entry.
 (gdb)

That's because GDB can't figure out where the scratch pad is.

This is a regression introduced by the earlier changes to make the
Linux native target always work in non-stop mode.

This commit makes GDB detect the case and fallback to stepping over
breakpoints in-line.

gdb/ChangeLog:
2016-03-15  Pedro Alves  <palves@redhat.com>

	PR gdb/19676
	* infrun.c (displaced_step_prepare): Also disable displaced
	stepping on NOT_SUPPORTED_ERROR.
	* linux-tdep.c (linux_displaced_step_location): If reading auxv
	fails, throw NOT_SUPPORTED_ERROR instead of generic error.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Regenerate bfd-in2.h
@ 2016-03-14 20:28 sergiodj+buildbot
  2016-03-14 21:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-14 20:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fbe48798204180aa11c55e5377c1e23700b9c280 ***

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

Regenerate bfd-in2.h

	* bfd-in2.h: Regenerated.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.base/default.exp: Add missing $_as_string to "show convenience" test
@ 2016-03-14 16:56 sergiodj+buildbot
  2016-03-14 17:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-14 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa4ff313317d6234bbd818b09332e7d85349a56a ***

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

gdb.base/default.exp: Add missing $_as_string to "show convenience" test

When adding the $_as_string convenience function, I missed a new test
failure in default.exp.  The tests lists the convenience functions, so
$_as_string should be added to the expected list.

Fixes:

+FAIL: gdb.base/default.exp: show convenience ($_caller_is = <internal function _caller_is> not found)

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Add $_as_string to the list of expected
	convenience functions.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb/s390: Fill pseudo register agent expression hooks.
@ 2016-03-11 10:15 sergiodj+buildbot
  2016-03-11 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-11 10:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4b3e547d50b01dcf909498119ff6c0af482f2c8 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: c4b3e547d50b01dcf909498119ff6c0af482f2c8

gdb/s390: Fill pseudo register agent expression hooks.

gdb/ChangeLog:

	* s390-linux-tdep.c (s390_ax_pseudo_register_collect): New function.
	(s390_ax_pseudo_register_push_stack): New function.
	(s390_gdbarch_init): Fill ax_pseudo_register_collect and
	ax_pseudo_register_push_stack hooks.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix some places where octet to byte conversions are needed.
@ 2016-03-11  9:28 sergiodj+buildbot
  2016-03-11 10:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-11  9:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37b01f6a13f21f274bf9758ecbf5d9efd6153444 ***

Author: Dan Gissel <dgisselq@ieee.org>
Branch: master
Commit: 37b01f6a13f21f274bf9758ecbf5d9efd6153444

Fix some places where octet to byte conversions are needed.

	PR 19713
	* elf.c (_bfd_elf_section_offset): Ensure that the returned offset
	uses bytes not octets.
	* elflink.c (resolve_section): Likewise.
	Add a bfd parameter.
	(eval_section): Pass the input_bfd to resolve_section.
	(bfd_elf_perform_complex_relocation): Convert byte offset to
	octets before read and writing values.
	(elf_link_input_bfd): Add byte to octet conversions.
	(elf_reloc_link_order): Likewise.
	(elf_fixup_link_order): Likewise.
	(bfd_elf_final_link): Likewise.
	* reloc.c (_bfd_final_link_relocate): Likewise.
	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Mark the i370 target as obsolete.
@ 2016-03-10 15:43 sergiodj+buildbot
  2016-03-11  3:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-10 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ed4ff97cbbeeb2658286769ac9e8a6a35390f26 ***

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

Mark the i370 target as obsolete.

	* config.bfd: Mark the i370 target as obsolete.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.trace/tfind.exp: Force call via global entry point on ppc64le.
@ 2016-03-10  1:30 sergiodj+buildbot
  2016-03-10  6:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-10  1:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f77198c878424891f11d6550370f8d9382f412de ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: f77198c878424891f11d6550370f8d9382f412de

gdb.trace/tfind.exp: Force call via global entry point on ppc64le.

tfind.exp sets a breakpoint on *gdb_recursion_test, which is the global
entry point on ppc64le, and won't be hit, since the call uses
the local entry.  Fix by calling the function via a pointer in a global
variable, forcing use of the global entry.

This patch is a slightly modified hunk extracted from
https://sourceware.org/ml/gdb-patches/2015-07/msg00353.html

gdb/testsuite/ChangeLog:

2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
	    Marcin Kocielnicki  <koriakin@0x04.net>

	* gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
	(gdb_recursion_test_ptr): New global variable.
	(gdb_recursion_test): Call gdb_recursion_test_ptr instead of
	gdb_recursion_test.
	(gdb_c_test): Ditto.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.trace/change-loc.exp: Don't depend on tracepoint ordering.
@ 2016-03-09 22:03 sergiodj+buildbot
  2016-03-10  5:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 22:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ba84e0da35d29dd8969a4bcdd84e3eaa48927a84 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: ba84e0da35d29dd8969a4bcdd84e3eaa48927a84

gdb.trace/change-loc.exp: Don't depend on tracepoint ordering.

powerpc (32-bit) loads shared libraries below the main executable, so
the PENDING location is the first one, which the current regex doesn't
match.  Split it into two tests instead, one looking for the pending
tracepoint location, and the other for two installed locations.

gdb/testsuite/ChangeLog:

	* gdb.trace/change-loc.exp: Don't depend on tracepoint location
	ordering.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] More "Program" -> "Thread NN received signal" testsuite adjustment
@ 2016-03-09 21:55 sergiodj+buildbot
  2016-03-11  2:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 21:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00dbd492e462565366a2691e0579b510ce4c3733 ***

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

More "Program" -> "Thread NN received signal" testsuite adjustment

These tests should have been adjusted by f303dbd60d9c (Fix PR
threads/19422 - show which thread caused stop), but clearly I had
missed grepping for potential-fail cases.

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

	* gdb.threads/attach-into-signal.exp: Adjust to "Program received
	signal" -> "Thread NN received signal" output change.
	* gdb.threads/ia64-sigill.exp: Likewise.
	* gdb.threads/linux-dp.exp: Likewise.
	* gdb.threads/manythreads.exp: Likewise.
	* gdb.threads/pending-step.exp: Likewise.
	* gdb.threads/print-threads.exp: Likewise.
	* gdb.threads/sigstep-threads.exp: Likewise.
	* gdb.threads/staticthreads.exp: Likewise.
	* gdb.threads/tls.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: fix doc string of target_can_use_hardware_watchpoint.
@ 2016-03-09 21:46 sergiodj+buildbot
  2016-03-11  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 21:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2343b78a778af9fe496c521bd49ba027cb8b48ae ***

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

gdb: fix doc string of target_can_use_hardware_watchpoint.

gdb/ChangeLog

2016-03-09  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* target.h: Fix doc string of target_can_use_hardware_watchpoint.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use struct buffer in gdb_readline_no_editing_callback
@ 2016-03-09 20:57 sergiodj+buildbot
  2016-03-10 20:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 187212b3c1aa55d9a5b544a6af3af0b5ce457403 ***

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

Use struct buffer in gdb_readline_no_editing_callback

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

	* event-top.c: Include buffer.h.
	(gdb_readline_no_editing_callback): Use struct buffer instead
	of xrealloc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb_readline -> gdb_readline_no_editing
@ 2016-03-09 20:36 sergiodj+buildbot
  2016-03-10 17:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5c136ea94f21e5ff968d5b402494611464c7b31 ***

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

gdb_readline -> gdb_readline_no_editing

Name this such that it's clearer that this is not a wrapper for the
real readline, but instead a replacement that provides no command line
editing features.

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

	* defs.h (gdb_readline): Delete declaration.
	* top.c (gdb_readline): Rename to ...
	(gdb_readline_no_editing): ... this, and make static.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Update prompt_for_continue comments
@ 2016-03-09 20:27 sergiodj+buildbot
  2016-03-10 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 720d2e96b424bb4bb1f7021f86763ff3df078e2b ***

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

Update prompt_for_continue comments

These comments are out of date -- we no longer call gdb_readline.  And
I think that mentioning the event loop is more useful here than
whatever GO32 issue had with gdb_readline, which may even no longer be
an issue.

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

	* utils.c (prompt_for_continue): Update comments.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Eliminate async_annotation_suffix
@ 2016-03-09 20:15 sergiodj+buildbot
  2016-03-10 15:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 608ff013aae02e3ac4687691db57bbcb8984fe18 ***

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

Eliminate async_annotation_suffix

The comments and existence of this global are a bit of misleading
obfuscation, since this is only ever used to print the prompt
annotation, and never changes.  Just hardcode "prompt" where
necessary, as done for most other annotations.

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

	* event-top.c (async_annotation_suffix): Delete.
	(top_level_prompt, command_line_handler): Don't use
	'async_annotation_suffix' and simplify.
	* event-top.h (async_annotation_suffix): Delete declaration.
	(init_main): Remove reference to 'async_annotation_suffix'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Garbage collect window_hook
@ 2016-03-09 19:54 sergiodj+buildbot
  2016-03-10 12:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 19:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a243832540cb3bd246192db1f0a4dfa44d92dcf ***

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

Garbage collect window_hook

I checked, and Insight doesn't set this.

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

	* top.c (window_hook): Delete.
	(command_loop): Remove references to window_hook.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Test issuing a command split in multiple lines with continuation chars
@ 2016-03-09 19:42 sergiodj+buildbot
  2016-03-10 10:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 19:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c32e87066a216dbcd9daa36100975a5ecb471bb9 ***

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

Test issuing a command split in multiple lines with continuation chars

I happened to break this locally and the testsuite didn't notice it.
Add some tests.

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

	* gdb.base/command-line-input.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.trace/entry-values.exp: Fixes for powerpc64.
@ 2016-03-09 19:21 sergiodj+buildbot
  2016-03-10  8:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 19:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98fa59e9b06fa479cafb852ef87e5a9bfd87ae54 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 98fa59e9b06fa479cafb852ef87e5a9bfd87ae54

gdb.trace/entry-values.exp: Fixes for powerpc64.

On powerpc64, "disassemble foo" doesn't work properly on object files
(it can't process the relocations in .opd section) - instead, let's
link it into an executable and load that.

Also, backtrace displays .main, not main.  Accept both.

gdb/testsuite/ChangeLog:

	* gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
	use it for disassembly; accept .main in addition to main in backtrace.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp
@ 2016-03-09 18:50 sergiodj+buildbot
  2016-03-10  4:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 18:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4366d36e467bf81274edccbea026a91188cc67e3 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 4366d36e467bf81274edccbea026a91188cc67e3

gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp

On powerpc64, foo/bar point to a function descriptor, not to function code.
Since there are no global labels pointing at the actual function code,
let's make our own.

Regression-tested on x86_64.

gdb/testsuite/ChangeLog:

	* gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
	(bar): Add bar_start_lbl label.
	* gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
	of foo/bar for emitting DWARF and tracing.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Add gen_return_address for powerpc.
@ 2016-03-09 18:28 sergiodj+buildbot
  2016-03-10  1:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 18:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a67914defbe57290c714975d7c1ccefa787fd635 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: a67914defbe57290c714975d7c1ccefa787fd635

gdb: Add gen_return_address for powerpc.

gdb/ChangeLog:

	* rs6000-tdep.c: Add "ax.h" and "ax-gdb.h" includes.
	(rs6000_gen_return_address): New function.
	(rs6000_gdbarch_init): Wire in the above.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] S390: Add use of unavailable-stack frame ID
@ 2016-03-09 16:30 sergiodj+buildbot
  2016-03-09 21:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d53bec88f4c1576f74e918400aa2ccac2d129db ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 6d53bec88f4c1576f74e918400aa2ccac2d129db

S390: Add use of unavailable-stack frame ID

When determining the frame ID of an inline frame, GDB currently asserts
that a valid ID of the underlying real frame is found, and that it does
not match outer_frame_id.  From inline_frame_this_id():

  /* For now, require we don't match outer_frame_id either (see
     comment above).  */
  gdb_assert (!frame_id_eq (*this_id, outer_frame_id));

However, this assertion may fail when the real frame's unwinder can not
determine the frame ID.  This happened on an s390x target with a binary
that lacked call frame information and also confused the prologue
analyzer, because then s390_frame_this_id() left the frame ID at its
default.

To fix this, this change enhances s390_frame_this_id such that an
unavailable-stack frame ID is built if no frame base can be determined
but the function address is available.

gdb/ChangeLog:

	* s390-linux-tdep.c (s390_prologue_frame_unwind_cache): Store
	frame func's PC in info->func before any other failure can occur.
	(s390_frame_this_id): Use frame_id_build_unavailable_stack if
	info->func has been filled out.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] For COFF and COFF/PE targets, skip relocations against absolute symbols.
@ 2016-03-09 15:43 sergiodj+buildbot
  2016-03-09 16:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26c62da040fb9d602da269a3bdffdea13a4367c7 ***

Author: Leon Winter <winter-gcc@bfw-online.de>
Branch: master
Commit: 26c62da040fb9d602da269a3bdffdea13a4367c7

For COFF and COFF/PE targets, skip relocations against absolute symbols.

	PR ld/19623
	* cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
	relocations against absolute symbols.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Allow zero length archive elements
@ 2016-03-09  6:37 sergiodj+buildbot
  2016-03-09  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09  6:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03ee85837ec2e10f7b67c417b17ab3ffa97a98d2 ***

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

Allow zero length archive elements

	PR binutils/19775
	* coff-alpha.c (alpha_ecoff_openr_next_archived_file): Allow zero
	length elements in the archive.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Don't create dynamic sections when relocatable
@ 2016-03-09  4:57 sergiodj+buildbot
  2016-03-09  8:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09  4:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c1d7a087682074d585253ad38719ec2363eb2b7 ***

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

Don't create dynamic sections when relocatable

Since dynamic sections aren't applicable to relocatable file, don't
create dynamic sections for -E/--dynamic-list when relocatable.

bfd/

	PR ld/19789
	* elflink.c (elf_link_add_object_symbols): Create dynamic sections
	for -E/--dynamic-list only when not relocatable.

ld/

	PR ld/19789
	* testsuite/ld-elf/pr19789.d: New file.
	* testsuite/ld-elf/pr19789.s: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [CRIS] Don't internal error if forced big endian
@ 2016-03-09  3:39 sergiodj+buildbot
  2016-03-09  7:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09  3:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 114d7832b0e07452277d748c81d8bc0c5675a1bc ***

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

[CRIS] Don't internal error if forced big endian

This fixes:

  $ ./gdb -q -ex "set endian big" -ex "set architecture cris"
  The target is assumed to be big endian
  .../src/gdb/cris-tdep.c:4051: internal-error: cris_gdbarch_init: big endian byte order in info
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n)

The "set cris-version" command can likewise cause internal errors.

The gdbarch init routine should be returning 0 to reject the
architecture instead of internal erroring on user input.

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

	* cris-tdep.c (cris_gdbarch_init): Return 0 if the info's byte
	order is BFD_ENDIAN_BIG or if the cris version is unsupported.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Assert that a floating type's length is at least as long as its format
@ 2016-03-09  3:19 sergiodj+buildbot
  2016-03-09  4:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09  3:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b79497cb1cdc9b3053e5f0387bf3056c08c9bbdd ***

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

Assert that a floating type's length is at least as long as its format

This would have caught the HP/PA bug fixed in the previous patch:

 .../src/gdb/gdbtypes.c:4690: internal-error: arch_float_type: Assertion `len >= floatformat_totalsize_bytes (floatformats[0])' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n)

Tested on x86-64 Fedora 23, --enable-targets=all.

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

	* doublest.c (floatformat_totalsize_bytes): New function.
	(floatformat_from_type): Assert that the type's length is at least
	as long as the floatformat's totalsize.
	* doublest.h (floatformat_totalsize_bytes): New declaration.
	* gdbtypes.c (arch_float_type): Assert that the type's length is
	at least as long as the floatformat's totalsize.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix HP/PA GNU/Linux "long double" format
@ 2016-03-09  2:37 sergiodj+buildbot
  2016-03-09  3:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-09  2:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aacca8a7a9c7f93955fa9dbf796b030ffce1b956 ***

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

Fix HP/PA GNU/Linux "long double" format

This:

 $ ./gdb -ex "set architecture hppa1.0" -ex "set osabi GNU/Linux" -ex "ptype 1.0L"

Shows that HPPA/Linux support for long doubles is broken.  It causes
GDB to access memory out of bounds.  With Valgrind, we see:

 The target architecture is assumed to be hppa1.0
 ==4371== Invalid write of size 8
 ==4371==    at 0x4C2F21F: memset (vg_replace_strmem.c:1224)
 ==4371==    by 0x8451C4: convert_doublest_to_floatformat (doublest.c:362)
 ==4371==    by 0x845F86: floatformat_from_doublest (doublest.c:769)
 ==4371==    by 0x84628E: store_typed_floating (doublest.c:873)
 ==4371==    by 0x6A7C3D: value_from_double (value.c:3662)
 ==4371==    by 0x6AA211: evaluate_subexp_standard (eval.c:745)
 ==4371==    by 0x7F306D: evaluate_subexp_c (c-lang.c:716)
 ==4371==    by 0x6A8C6A: evaluate_subexp (eval.c:79)
 ==4371==    by 0x6A8E87: evaluate_type (eval.c:174)
 ==4371==    by 0x817B8D: whatis_exp (typeprint.c:456)
 ==4371==    by 0x817D68: ptype_command (typeprint.c:508)
 ==4371==    by 0x5F2977: do_cfunc (cli-decode.c:105)
 ==4371==  Address 0x8998d18 is 0 bytes after a block of size 8 alloc'd
 ==4371==    at 0x4C2AA98: calloc (vg_replace_malloc.c:711)
 ==4371==    by 0x8732B6: xcalloc (common-utils.c:83)
 ==4371==    by 0x8732F5: xzalloc (common-utils.c:93)
 ==4371==    by 0x6A37AF: allocate_value_contents (value.c:1036)
 ==4371==    by 0x6A37E5: allocate_value (value.c:1047)
 ==4371==    by 0x6A7BEE: value_from_double (value.c:3656)
 ==4371==    by 0x6AA211: evaluate_subexp_standard (eval.c:745)
 ==4371==    by 0x7F306D: evaluate_subexp_c (c-lang.c:716)
 ==4371==    by 0x6A8C6A: evaluate_subexp (eval.c:79)
 ==4371==    by 0x6A8E87: evaluate_type (eval.c:174)
 ==4371==    by 0x817B8D: whatis_exp (typeprint.c:456)
 ==4371==    by 0x817D68: ptype_command (typeprint.c:508)

The trouble is that hppa_linux_init_abi overrides the default
long_double_bit set by the generic hppa-tdep.c:

  set_gdbarch_long_double_bit (gdbarch, 128);
  set_gdbarch_long_double_format (gdbarch, floatformats_ia64_quad);

with:

  /* On hppa-linux, currently, sizeof(long double) == 8.  There has been
     some discussions to support 128-bit long double, but it requires some
     more work in gcc and glibc first.  */
  set_gdbarch_long_double_bit (gdbarch, 64);

which misses overriding the long_double_format, so we end with a weird
combination of:

  set_gdbarch_long_double_bit (gdbarch, 64);
  set_gdbarch_long_double_format (gdbarch, floatformats_ia64_quad);

Weird because floatformats_ia64_quad's totalsize is longer than 64-bits.

The floatformat conversion routines use the struct floatformat's
totalsize (in bits) to know how much to copy/convert, thus the buffer
overruns.

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

	* hppa-linux-tdep.c (hppa_linux_init_abi): Set the long double
	format to floatformats_ieee_double.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Handle local IFUNC symbols in shared object
@ 2016-03-08 17:47 sergiodj+buildbot
  2016-03-08 18:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-08 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1ed1c7d69e6656de213b12594e702afec31a66d ***

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

Handle local IFUNC symbols in shared object

Increment PLT reference count for locally defined local IFUNC symbols
in shared object since STT_GNU_IFUNC symbol must go through PLT even
if it is locally defined and undefined symbol may turn out to be a
STT_GNU_IFUNC symbol later.

bfd/

	PR ld/19784
	* elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
	count for locally defined local IFUNC symbols in shared object.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.

ld/

	PR ld/19784
	* testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
	* testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
	* testsuite/ld-i386/pr19636-2e.d: Here.  Remove notarget.
	* testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
	* testsuite/ld-ifunc/pass.out: New file.
	* testsuite/ld-ifunc/pr19784a.c: Likewise.
	* testsuite/ld-ifunc/pr19784b.c: Likewise.
	* testsuite/ld-ifunc/pr19784c.c: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Group common symbol checking together
@ 2016-03-08 13:50 sergiodj+buildbot
  2016-03-08 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-08 13:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 202ac193bbbecc96a4978d1ac3d17148253f9b01 ***

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

Group common symbol checking together

	PR ld/19579
	* elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
	together.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Allow non-instruction relocations within .text sections
@ 2016-03-08 13:41 sergiodj+buildbot
  2016-03-08 14:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-08 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72f3b6aae734d8cdcded38aca94e379848bec7ef ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 72f3b6aae734d8cdcded38aca94e379848bec7ef

[ARC] Allow non-instruction relocations within .text sections

bfd/
2016-03-08  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
	    Andrew Burgess  <andrew.burgess@embecosm.com>

	* elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32.
	(arc_bfd_put_32): Becomes an alias for bfd_put_32.
	(arc_elf_howto_init): Added assert to validate relocations.
	(get_middle_endian_relocation): Delete.
	(middle_endian_convert): New function.
	(ME): Redefine, now does nothing.
	(IS_ME): New define.
	(arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO'
	definition to call middle_endian_convert.  Add a new local
	variable and make use of this throughout. Added call to
	arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations.

gas/
2016-03-08  Andrew Burgess  <andrew.burgess@embecosm.com>

	* testsuite/gas/arc/inline-data-1.d: New file.
	* testsuite/gas/arc/inline-data-1.s: New file.

include/
2016-03-08  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
	    Andrew Burgess  <andrew.burgess@embecosm.com>

	* elf/arc-reloc.def: Add a call to ME within the formula for each
	relocation that requires middle-endian correction.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Improve analysis of racy testcases
@ 2016-03-06  1:57 sergiodj+buildbot
  2016-03-06  2:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-06  1:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb6a751f5f1fe7912e84dd90d06395c357da47c2 ***

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

Improve analysis of racy testcases

This is an initial attempt to introduce some mechanisms to identify
racy testcases present in our testsuite.  As can be seen in previous
discussions, racy tests are really bothersome and cause our BuildBot
to pollute the gdb-testers mailing list with hundreds of
false-positives messages every month.  Hopefully, identifying these
racy tests in advance (and automatically) will contribute to the
reduction of noise traffic to gdb-testers, maybe to the point where we
will be able to send the failure messages directly to the authors of
the commits.

I spent some time trying to decide the best way to tackle this
problem, and decided that there is no silver bullet.  Racy tests are
tricky and it is difficult to catch them, so the best solution I could
find (for now?) is to run our testsuite a number of times in a row,
and then compare the results (i.e., the gdb.sum files generated during
each run).  The more times you run the tests, the more racy tests you
are likely to detect (at the expense of waiting longer and longer).
You can also run the tests in parallel, which makes things faster (and
contribute to catching more racy tests, because your machine will have
less resources for each test and some of them are likely to fail when
this happens).  I did some tests in my machine (8-core i7, 16GB RAM),
and running the whole GDB testsuite 5 times using -j6 took 23 minutes.
Not bad.

In order to run the racy test machinery, you need to specify the
RACY_ITER environment variable.  You will assign a number to this
variable, which represents the number of times you want to run the
tests.  So, for example, if you want to run the whole testsuite 3
times in parallel (using 2 cores), you will do:

  make check RACY_ITER=3 -j2

It is also possible to use the TESTS variable and specify which tests
you want to run:

  make check TEST='gdb.base/default.exp' RACY_ITER=3 -j2

And so on.  The output files will be put at the directory
gdb/testsuite/racy_outputs/.

After make invokes the necessary rules to run the tests, it finally
runs a Python script that will analyze the resulting gdb.sum files.
This Python script will read each file, and construct a series of sets
based on the results of the tests (one set for FAIL's, one for
PASS'es, one for KFAIL's, etc.).  It will then do some set operations
and come up with a list of unique, sorted testcases that are racy.
The algorithm behind this is:

  for state in PASS, FAIL, XFAIL, XPASS...; do
    if a test's state in every sumfile is $state; then
      it is not racy
    else
      it is racy

(The algorithm is actually a bit more complex than that, because it
takes into account other things in order to decide whether the test
should be ignored or not).

IOW, a test must have the same state in every sumfile.

After processing everything, the script prints the racy tests it could
identify on stdout.  I am redirecting this to a file named racy.sum.

Something else that I wasn't sure how to deal with was non-unique
messages in our testsuite.  I decided to do the same thing I do in our
BuildBot: include a unique identifier in the end of message, like:

  gdb.base/xyz.exp: non-unique message
  gdb.base/xyz.exp: non-unique message <<2>>

This means that you will have to be careful about them when you use
the racy.sum file.

I ran the script several times here, and it did a good job catching
some well-known racy tests.  Overall, I am satisfied with this
approach and I think it will be helpful to have it upstream'ed.  I
also intend to extend our BuildBot and create new, specialized
builders that will be responsible for detecting the racy tests every X
number of days.

2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>

	* Makefile.in (DEFAULT_RACY_ITER): New variable.
	(CHECK_TARGET_TMP): Likewise.
	(check-single-racy): New rule.
	(check-parallel-racy): Likewise.
	(TEST_TARGETS): Adjust rule to account for RACY_ITER.
	(do-check-parallel-racy): New rule.
	(check-racy/%.exp): Likewise.
	* README (Racy testcases): New section.
	* analyze-racy-logs.py: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix argument passing for call
@ 2016-03-05 12:31 sergiodj+buildbot
  2016-03-05 13:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-05 12:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cb86f3880e61c79e59b9225e79c3544a1fcd8005 ***

Author: Denis Chertykov <chertykov@gmail.com>
Branch: master
Commit: cb86f3880e61c79e59b9225e79c3544a1fcd8005

Fix argument passing for call

When calling function with argument of size more than 8 bytes fails with
an error "That operation is not available on integers of more than 8 bytes.".
avr-gdb considers only 8 bytes (sizeof(long long)) in case of passing the
argument in registers. When the argument is of size more than 8 byte
then the utility function to extract bytes failed with the above error.

    gdb/
	* avr-tdep.c (AVR_LAST_ARG_REGNUM): Define.
        (avr_push_dummy_call): Correct last needed argument register.
        Write MSB of argument into register and subsequent bytes into
        other registers in decreasing order.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ARM process record: VMOV
@ 2016-03-04 17:01 sergiodj+buildbot
  2016-03-04 19:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 17:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f1771dcebf80c75a13ca456491ddfb9b43fcaddf ***

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

ARM process record: VMOV

ARM process record gets the wrong register number for VMOV (from core
register to single-precision register).  That is, we should record
the D register rather than the S pseudo register.  The patch also
removes the condition "bit (arm_insn_r->arm_insn, 20)" check, which
has been checked above.

It fixes the following internal error,

(gdb) PASS: gdb.reverse/finish-precsave.exp: BP at end of main
continue^M
Continuing.^M
../../binutils-gdb/gdb/regcache.c:649: internal-error: regcache_raw_read: Assertion `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.^M
A problem internal to GDB has been detected,FAIL: gdb.reverse/finish-precsave.exp: run to end of main (GDB internal error)

gdb:

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

	* arm-tdep.c (arm_record_vdata_transfer_insn): Simplify the
	condition check.  Record the right D register number.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Treat common symbol in executable as definition
@ 2016-03-04 14:50 sergiodj+buildbot
  2016-03-04 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 14:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07492f668d2173da7a2bda3707ff0985e0f460b6 ***

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

Treat common symbol in executable as definition

Common symbol in executable is a definition, which overrides definition
from shared objects.  When linker sees a new definition from a shared
object, the new dynamic definition should be overridden by the previous
common symbol in executable.

bfd/

	PR ld/19579
	* elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
	executable as definition if the new definition comes from a
	shared library.

ld/

	PR ld/19579
	* testsuite/ld-elf/pr19579a.c: New file.
	* testsuite/ld-elf/pr19579b.c: Likewise.
	* testsuite/ld-elf/shared.exp: Run PR ld/19579 test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add new plugin hooks to support querying section alignment and size.
@ 2016-03-03 21:12 sergiodj+buildbot
  2016-03-04  1:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 21:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82838bd626b10f1a82b0de29728c26f4458ec514 ***

Author: Cary Coutant <ccoutant@gmail.com>
Branch: master
Commit: 82838bd626b10f1a82b0de29728c26f4458ec514

Add new plugin hooks to support querying section alignment and size.

include/
2016-03-03  Than McIntosh <thanm@google.com>

	* plugin-api.h: Add new hooks to the plugin transfer vector to
	to support querying section alignment and section size.
	(ld_plugin_get_input_section_alignment): New hook.
	(ld_plugin_get_input_section_size): New hook.
	(ld_plugin_tag): Add LDPT_GET_INPUT_SECTION_ALIGNMENT
	and LDPT_GET_INPUT_SECTION_SIZE.
	(ld_plugin_tv): Add tv_get_input_section_alignment and
	tv_get_input_section_size.

gold/
2016-03-03  Than McIntosh  <thanm@google.com>

	* plugin.cc (Plugin::load): Include hooks for get_input_section_size
	and get_input_section_alignment in transfer vector.
	(get_input_section_alignment): New function.
	(get_input_section_size): New function.
	* testsuite/Makefile.am: Add plugin_layout_with_alignment.sh test.
	* testsuite/Makefile.in: [Regenerate.]
	* testsuite/plugin_section_alignment.cc: New test file.
	* testsuite/plugin_layout_with_alignment.cc: New test file.
	* testsuite/plugin_layout_with_alignment.sh: New test file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] get_symbols() plugin API tweak to support --start-lib/--end-lib.
@ 2016-03-03 21:03 sergiodj+buildbot
  2016-03-04  0:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 21:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95ecdfbfcbf508919652a0254ee2b8c6572a949e ***

Author: Evgenii Stepanov <eugenis@google.com>
Branch: master
Commit: 95ecdfbfcbf508919652a0254ee2b8c6572a949e

get_symbols() plugin API tweak to support --start-lib/--end-lib.

Let the plugin know that a file is not being included in the link by
returning LDPS_NO_SYMS from get_symbols().

include/
	* plugin-api.h (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V3.

gold/
	* plugin.h (Pluginobj::get_symbol_resolution_info): Add version
	parameter.
	* plugin.cc (get_symbols_v3): New function.
	(Plugin::load): Add LDPT_GET_SYMBOLS_V3.
	(Pluginobj::get_symbol_resolution_info): Return LDPS_NO_SYMS when using
	new version.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.base/skip.exp: Use with_test_prefix.
@ 2016-03-03 19:03 sergiodj+buildbot
  2016-03-03 22:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 19:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdf7e23048b68171c01f2498cc46670a76e68c4d ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: bdf7e23048b68171c01f2498cc46670a76e68c4d

gdb.base/skip.exp: Use with_test_prefix.

gdb/testsuite/ChangeLog:

	* gdb.base/skip.exp: Use with_test_prefix.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Reformat gdb.base/step-over-syscall.exp
@ 2016-03-03 10:20 sergiodj+buildbot
  2016-03-03 16:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 10:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea50786226737509a8f4c2734699a5fc15cc63c4 ***

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

Reformat gdb.base/step-over-syscall.exp

gdb/testsuite:

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

	* gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
	code format.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Rename disp-step-syscall.exp to step-over-syscall.exp
@ 2016-03-03 10:09 sergiodj+buildbot
  2016-03-03 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 10:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8fc8cbdaf698ed042d859d5749cff66937bbb57c ***

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

Rename disp-step-syscall.exp to step-over-syscall.exp

disp-step-syscall.exp is extended for stepping over syscall instruction
in different cases, with or without displaced stepping, and stepping
over by GDBserver.

This patch rename disp-step-syscall.exp to step-over-syscall.exp to
reflect this.

gdb/testsuite:

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

	* gdb.base/disp-step-fork.c: Rename to ...
	* gdb.base/step-over-fork.c: ... it.  New file.
	* gdb.base/disp-step-vfork.c: Rename to ...
	* gdb.base/step-over-vfork.c: ... it.  New file.
	* gdb.base/disp-step-syscall.exp: Rename to ...
	* gdb.base/step-over-syscall.exp: ... it.  New file.
	(disp_step_cross_syscall): Rename to ...
	(step_over_syscall): ... it.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Step over fork/vfork syscall insn in gdbserver
@ 2016-03-03 10:00 sergiodj+buildbot
  2016-03-03 14:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 10:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 92fa70b0bd8690d979357ebcdb501a9e4aa42ea6 ***

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

Step over fork/vfork syscall insn in gdbserver

We can also extend disp-step-syscall.exp to test GDBserver step over
breakpoint on syscall instruction.  That is, we set a breakpoint
with a false condition on syscall instruction, so that GDBserver will
step over it.

This test triggers a GDBserver internal error, which can be fixed by
this series.

(gdb) PASS: gdb.base/disp-step-syscall.exp: fork: break cond on target: break on syscall insns
continue^M
Continuing.^M
Remote connection closed^M
(gdb) FAIL: gdb.base/disp-step-syscall.exp: fork: break cond on target: continue to fork again

In GDBserver, there is an internal error,

/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/linux-low.c:1922: A problem internal to GDBserver has been detected.
unsuspend LWP 25554, suspended=-1

the simplified reproducer is like,

$ ./gdb ./testsuite/outputs/gdb.base/disp-step-syscall/disp-step-fork
(gdb) b main
(gdb) c
(gdb) disassemble fork // in order to find the address of insn 'syscall'
....
   0x00007ffff7ad6023 <+179>:	syscall
(gdb) b *0x00007ffff7ad6023 if main == 0
(gdb) c

gdb/testsuite:

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

	* gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
	If target supports condition evaluation on target, invoke
	break_cond_on_syscall for fork and vfork.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Step over syscalll insn with disp-step on and off
@ 2016-03-03  9:51 sergiodj+buildbot
  2016-03-03 12:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03  9:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e197ad3c87723a2bdf383d38fcfa3eaa4fa1ba12 ***

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

Step over syscalll insn with disp-step on and off

disp-step-syscall.exp was added to test displaced stepping over syscall
instructions, in which we set breakpoint on syscall instruction, and
step over it.  In fact, we can extend the test to non-displaced-stepping
case.  This patch wraps the test with displaced stepping on and off.
Note that the indentation and format isn't adjusted here to make this
patch easy to read.  The following patch will fix the format separately.

gdb/testsuite:

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

	* gdb.base/disp-step-syscall.exp: Don't invoke
	support_displaced_stepping.
	(disp_step_cross_syscall): Test with displaced stepping off and
	on if supported.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Refactor gdb.base/disp-step-syscall.exp for general step over test
@ 2016-03-03  9:42 sergiodj+buildbot
  2016-03-03 11:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03  9:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0b47da9f176aa73854f1ff8ae00afda11a4f338a ***

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

Refactor gdb.base/disp-step-syscall.exp for general step over test

This patch moves some code out of disp_step_cross_syscall to a new proc
check_pc_after_cross_syscall and setup.  Procedure setup is to start a
fresh GDB and compute the syscall instruction address.

gdb/testsuite:

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

	* gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
	proc.
	(setup): New proc.
	(disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
	and setup.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [GDBserver] Leave child suspended when step over parent
@ 2016-03-03  9:31 sergiodj+buildbot
  2016-03-03 10:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-03  9:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f8288ae82bf5bdb33d46d7447cd3132393a1bd2 ***

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

[GDBserver] Leave child suspended when step over parent

I see the following GDBserver internal error in two cases,

 gdb/gdbserver/linux-low.c:1922: A problem internal to GDBserver has been detected.
 unsuspend LWP 17200, suspended=-1

 1. step over a breakpoint on fork/vfork syscall instruction,
 2. step over a breakpoint on clone syscall instruction and child
    threads hits a breakpoint,

the stack backtrace is

 #0  internal_error (file=file@entry=0x44c4c0 "gdb/gdbserver/linux-low.c", line=line@entry=1922,
    fmt=fmt@entry=0x44c7d0 "unsuspend LWP %ld, suspended=%d\n") at gdb/gdbserver/../common/errors.c:51
 #1  0x0000000000424014 in lwp_suspended_decr (lwp=<optimised out>, lwp=<optimised out>) at gdb/gdbserver/linux-low.c:1922
 #2  0x000000000042403a in unsuspend_one_lwp (entry=<optimised out>, except=0x66e8c0) at gdb/gdbserver/linux-low.c:2885
 #3  0x0000000000405f45 in find_inferior (list=<optimised out>, func=func@entry=0x424020 <unsuspend_one_lwp>, arg=arg@entry=0x66e8c0)
    at gdb/gdbserver/inferiors.c:243
 #4  0x00000000004297de in unsuspend_all_lwps (except=0x66e8c0) at gdb/gdbserver/linux-low.c:2895
 #5  linux_wait_1 (ptid=..., ourstatus=ourstatus@entry=0x665ec0 <last_status>, target_options=target_options@entry=0)
    at gdb/gdbserver/linux-low.c:3632
 #6  0x000000000042a764 in linux_wait (ptid=..., ourstatus=0x665ec0 <last_status>, target_options=0)
    at gdb/gdbserver/linux-low.c:3770
 #7  0x0000000000411163 in mywait (ptid=..., ourstatus=ourstatus@entry=0x665ec0 <last_status>, options=options@entry=0, connected_wait=connected_wait@entry=1)
    at gdb/gdbserver/target.c:214
 #8  0x000000000040b1f2 in resume (actions=0x66f800, num_actions=1) at gdb/gdbserver/server.c:2757
 #9  0x000000000040f660 in handle_v_cont (own_buf=0x66a630 "vCont;c:p45e9.-1") at gdb/gdbserver/server.c:2719

when GDBserver steps over a thread, other threads have been suspended,
the "stepping" thread may create new thread, but GDBserver doesn't set
it suspend count to 1.  When GDBserver unsuspend threads, the child's
suspend count goes to -1, and the assert is triggered.  In fact, GDBserver
has already taken care of suspend count of new thread when GDBserver is
suspending all threads except the one GDBserver wants to step over by
https://sourceware.org/ml/gdb-patches/2015-07/msg00946.html

+	  /* If we're suspending all threads, leave this one suspended
+	     too.  */
+	  if (stopping_threads == STOPPING_AND_SUSPENDING_THREADS)
+	    {
+	      if (debug_threads)
+		debug_printf ("HEW: leaving child suspended\n");
+	      child_lwp->suspended = 1;
+	    }

but that is not enough, because new thread is still can be spawned in
the thread which is being stepped over.  This patch extends the
condition that GDBserver set child's suspend count to one if it is
suspending threads or stepping over the thread.

gdb/gdbserver:

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

	PR server/19736
	* linux-low.c (handle_extended_wait): Set child suspended
	if event_lwp->bp_reinsert isn't zero.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Call enqueue_pending_signal in linux_resume_one_lwp_throw
@ 2016-03-02 17:42 sergiodj+buildbot
  2016-03-03  1:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdbd04a8adef3a48eeac7702e9243c7c31e47256 ***

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

Call enqueue_pending_signal in linux_resume_one_lwp_throw

Replace the code which is exactly what enqueue_pending_signal does.

gdb/gdbserver:

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

	* linux-low.c (linux_resume_one_lwp_throw): Replace code with
	enqueue_pending_signal.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix timeout issues during print of vla-arrays.
@ 2016-03-02 17:06 sergiodj+buildbot
  2016-03-02 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 17:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07e448ade17bc8fb52469a5b2184017f94669bd6 ***

Author: bernhard.heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 07e448ade17bc8fb52469a5b2184017f94669bd6

testsuite: Fix timeout issues during print of vla-arrays.

Printing and resolving of dynamic array's causes sporadic timeout issues on loaded systems.

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:

     * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [OBV] gdbserver: Only write ipa_tdesc_idx if agent is actually loaded.
@ 2016-03-02 16:31 sergiodj+buildbot
  2016-03-02 23:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 16:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6896a8fa1e1d24a8fcc9b30efc0b195246b46029 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 6896a8fa1e1d24a8fcc9b30efc0b195246b46029

[OBV] gdbserver: Only write ipa_tdesc_idx if agent is actually loaded.

Fixes rather embarassing gdb.trace regressions.

gdb/gdbserver/ChangeLog:

	* tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent
	is actually loaded.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Remove unnecessary code in fortran vla-history test.
@ 2016-03-02 16:16 sergiodj+buildbot
  2016-03-02 22:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 16:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 065ab6dc804575bce7df58477b2cfcb2b2a6eafb ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 065ab6dc804575bce7df58477b2cfcb2b2a6eafb

testsuite: Remove unnecessary code in fortran vla-history test.

testsuite: Remove unnecessary code in fortran vla-history test.

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:

     * gdb.fortran/vla-history.exp: Remove breakpoint.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix run to main issue introduced by GCC 5.x.
@ 2016-03-02 15:53 sergiodj+buildbot
  2016-03-02 19:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 15:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ac2d526d9ae70272bf7fc436f2e3ad11a84d58b ***

Author: bernhard.heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 9ac2d526d9ae70272bf7fc436f2e3ad11a84d58b

testsuite: Fix run to main issue introduced by GCC 5.x.

Adding a dummy assignment as a new breakpoint anchor because
breakpoint on return statement doesn't work for GCC 5.x.

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:

     * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add new maintainer to Write After Approval.
@ 2016-03-02 15:30 sergiodj+buildbot
  2016-03-02 17:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 15:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 650beae39d31e5ce2680649e2fb697e0e4a9e3eb ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 650beae39d31e5ce2680649e2fb697e0e4a9e3eb

Add new maintainer to Write After Approval.

Add new maintainer to Write After Approval.

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

    * MAINTAINERS (Write After Approval): Add Bernhard Heckel.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix detection of gfortran compilers.
@ 2016-03-02 14:37 sergiodj+buildbot
  2016-03-02 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 285866651cd0d404087438668012289d278e4179 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 285866651cd0d404087438668012289d278e4179

Fix detection of gfortran compilers.

Newer gfortran compilers changed naming convention in DW_AT_producer tag.
For example "GNU Fortran 4.6.3" vs "GNU Fortran2008 5.3.0"

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:

     * dwarf2read.c (new_symbol_full): Fix detection of gfortran compilers.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Regenerate or1k opcodes file
@ 2016-03-02 14:03 sergiodj+buildbot
  2016-03-02 14:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 14:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d11698cd0d9bb22b51598ee37af0aaf1d44ec5c7 ***

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

Regenerate or1k opcodes file

CGEN patch now committed upstream to use hex numbers for large enums.

	* or1k-desc.h: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Regenerate bfd files.
@ 2016-03-02  4:03 sergiodj+buildbot
  2016-03-02  5:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02  4:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70a5df4fe30fd37166c3b62071fd816e49082d2e ***

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

Regenerate bfd files.

	* Makefile.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Regenerate rl78 opcodes file
@ 2016-03-02  3:46 sergiodj+buildbot
  2016-03-02  7:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-02  3:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c697cf0b2b85cb1231e2c76c52cfed43770aa04a ***

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

Regenerate rl78 opcodes file

For newer comments.

	* rl78-decode.c: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix gdb.trace/ftrace-lock.c compilation
@ 2016-03-01 18:47 sergiodj+buildbot
  2016-03-01 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 86e501afd46d7f0d31738bd62457593401d79bad ***

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

Fix gdb.trace/ftrace-lock.c compilation

Fixes, on F23:

 .../src/gdb/testsuite/gdb.trace/ftrace-lock.c: In function 'gdb_agent_gdb_collect':
 .../src/gdb/testsuite/gdb.trace/ftrace-lock.c:50:3: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
    sleep (1);
    ^

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

	* gdb.trace/ftrace-lock.c: Include <unistd.h>.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix gdb.threads/watchpoint-fork*.c compilation
@ 2016-03-01 17:53 sergiodj+buildbot
  2016-03-01 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 17:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e903e320352db86233e1dd2d10fd140f5d4a887 ***

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

Fix gdb.threads/watchpoint-fork*.c compilation

This testcase currently fails to compile on Fedora 23:

 .../src/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c: In function 'start':
 .../src/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c:70:11: warning: implicit declaration of function 'pthread_yield' [-Wimplicit-function-declaration]
	i = pthread_yield ();
	    ^
 .../src/gdb/testsuite/gdb.threads/watchpoint-fork-child.c: In function 'forkoff':
 .../src/gdb/testsuite/gdb.threads/watchpoint-fork-child.c:114:8: warning: implicit declaration of function 'pthread_yield' [-Wimplicit-function-declaratio
 n]
     i = pthread_yield ();
	 ^
 /tmp/ccUkNIsI.o: In function `start':
 .../src/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c:70: undefined reference to `pthread_yield'
 (...)
 collect2: error: ld returned 1 exit status

 UNSUPPORTED: gdb.threads/watchpoint-fork.exp: child: multithreaded: Couldn't compile watchpoint-fork-child.c: unrecognized error
 UNTESTED: gdb.threads/watchpoint-fork.exp: child: multithreaded: watchpoint-fork.exp
 testcase .../src/gdb/testsuite/gdb.threads/watchpoint-fork.exp completed i

The glibc manual says, on _GNU_SOURCE:

 "You should define these macros by using #define preprocessor
 directives at the top of your source code files. These directives must
 come before any #include of a system header file."

I instead put it in the header all the .c files of the testcase must
include anyway.

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

	* gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
	before anything else.
	* gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
	_GNU_SOURCE here.
	* gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
	before anything else.
	* gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix output path for arm-disp-step.exp
@ 2016-03-01 15:41 sergiodj+buildbot
  2016-03-01 17:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 15:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30ca9da1193ec4c82cc67a2ec2e6fb6adac7ab84 ***

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

Fix output path for arm-disp-step.exp

This patch fixes the following error,

ERROR: (/scratch/yao/gdb/build-git/arm-linux-gnueabihf/gdb/testsuite/outputs/gdb.arch/arm-disp-step/arm-disp-step) No such file or directory
FAIL: gdb.arch/arm-disp-step.exp: Can't run to main

gdb/testsuite:

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

	* gdb.arch/arm-disp-step.exp: Use standard_testfile and
	prepare_for_testing.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Compile gdb.arch/arm-neon.c with "quiet"
@ 2016-03-01 15:31 sergiodj+buildbot
  2016-03-01 16:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 15:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dc856b382065cdfab3f9bb484c07e182950eb4d4 ***

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

Compile gdb.arch/arm-neon.c with "quiet"

When we compile gdb.arch/arm-neon.c with options that don't enable NEON,
there are many error/warnings emitted into gdb.sum, which is annoying.
This patch fixes it by passing quiet to prepare_for_testing.

gdb/testsuite:

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

	* gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix typo in print_insn_rl78_common function.
@ 2016-03-01 11:06 sergiodj+buildbot
  2016-03-01 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 020efce52a569bde99f64b20cedbec2b2a5b5fe9 ***

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

Fix typo in print_insn_rl78_common function.

	PR target/19747
	* rl78-dis.c (print_insn_rl78_common): Fix typo.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] aarch64-linux process record: more syscalls
@ 2016-02-29 17:29 sergiodj+buildbot
  2016-02-29 19:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-29 17:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d521906965b3e94648a723a13576236aaba301d0 ***

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

aarch64-linux process record: more syscalls

The last patch supports several syscalls in linux-record.c, so now
GDB aarch64-linux backend can return these canonicalized syscall numbers
per aarch64 syscall number.

This patch fixes the following fails,

Process record and replay target doesn't support syscall number 59^M
Process record: failed to record execution log.^M
^M
Program stopped.^M
0x00000020000eab28 in pipe () from /lib/aarch64-linux-gnu/libc.so.6^M
(gdb) FAIL: gdb.reverse/pipe-reverse.exp: continue to breakpoint: marker2

Process record and replay target doesn't support syscall number 59^M
Process record: failed to record execution log.^M
^M
Program stopped.^M
0x00000020000eab28 in pipe () from /lib/aarch64-linux-gnu/libc.so.6^M
(gdb) FAIL: gdb.reverse/readv-reverse.exp: continue to breakpoint: marker2

gdb:

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

	* aarch64-linux-tdep.c (aarch64_canonicalize_syscall): Support
	eventfd2, eventfd2, dup3, inotify_init1, fallocate and pipe2.
	Return gdb_sys_epoll_create1 instead of gdb_sys_epoll_create
	for aarch64_sys_epoll_create1.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARC] Local symbols relocation cleanup
@ 2016-02-29 16:04 sergiodj+buildbot
  2016-02-29 17:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-29 16:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 841fdfcdd9caa69f3ad7560a2806d421e23f598a ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 841fdfcdd9caa69f3ad7560a2806d421e23f598a

[ARC] Local symbols relocation cleanup

bfd/
2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (elf_arc_relocate_section): Added rules to fix the
	relocation addend when sections get merged.

gas/
2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>
	    Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>

        * config/tc-arc.c (arc_extra_reloc): Change size to 0.
        (tc_arc_fix_adjustable): Changed default return value to 1.
        * testsuite/gas/arc/j.d: Updated expected symbol
        * testsuite/gas/arc/jl.d: Likewise
        * testsuite/gas/arc/relax-avoid1.d: Likewise
        * testsuite/gas/arc/st.d: Likewise

ld/
2016-02-29 Cupertino Miranda  <cmiranda@synopsys.com>

	* testsuite/ld-elf/merge.d: Removed xfail for ARC.
	* testsuite/ld-elf/merge2.d: Likewise.
	* testsuite/ld-elf/merge3.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add aarch64-*-rtems* target
@ 2016-02-26 20:30 sergiodj+buildbot
  2016-02-27  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 20:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12a132db164ea95e9e457427c2c97005f94c5a70 ***

Author: Joel Sherrill <joel@rtems.org>
Branch: master
Commit: 12a132db164ea95e9e457427c2c97005f94c5a70

Add aarch64-*-rtems* target


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [BFD][AARCH64]Fix MOVW_SABS_G(0, 1, 2) relocation overflow check.
@ 2016-02-26 18:19 sergiodj+buildbot
  2016-02-27  0:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 18:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5e3a3641ea9d6ed2918021fd77925825d24e9be ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: c5e3a3641ea9d6ed2918021fd77925825d24e9be

[BFD][AARCH64]Fix MOVW_SABS_G(0,1,2) relocation overflow check.

For these three relocations, 17 bit signed value should be used, instead of
16 bit. The bitsize field is changed from 16 to 17, this field in aarch64
backend is used for overflow check only.

bfd/

2016-02-26  Renlin Li  <renlin.li@arm.com>

    * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow
    check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2.

ld/

2016-02-26  Renlin Li  <renlin.li@arm.com>

    * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
    * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
    * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
    * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
    * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
    * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
    * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
    * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
    * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
    * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Optimize x86 GOT32X/GOTPCRELX relocations
@ 2016-02-26 17:52 sergiodj+buildbot
  2016-02-26 22:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 17:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bae420ef26f4331415b0503141c5931318025906 ***

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

Optimize x86 GOT32X/GOTPCRELX relocations

R_386_GOT32X, R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX relocations
retrieve the symbol address via its GOT slot.  If the symbol address is
known at the link-time, we can use it directly by changing instruction
encoding.  Indirect branch can only be converted to PC relative direct
branch.  MOV can be changed to LEA or encoded differently with signed
address.  The subset of binary operations can be encoded only with
signed address.

If undefined weak symbol is resolved to zero link-time, we can use it
as address.  Zero addresss can't used with PC relative direct branch
when PIC is true since the current PC is unknown.  In 64-bit, 32-bit
relocation for PC relatiave direct branch to zero may also overflow.

If this optimization causes relocation overflow, --no-relax can be used
to work around it.

bfd/

	PR ld/19609
	* elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for
	load with locally bound symbols if PIC is false or there is no
	base register.  Optimize branch to 0 if PIC is false.
	(elf_i386_relocate_section): Don't generate dynamic relocations
	against undefined weak symbols if PIC is false.
	* elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization
	if we can't estimate relocation overflow with --no-relax.
	Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound
	symbols if PIC is false.  Optimize branch to 0 if PIC is false.
	(elf_x86_64_relocate_section): Don't generate dynamic relocations
	against undefined weak symbols if PIC is false.

ld/

	PR ld/19609
	* testsuite/ld-i386/got1.dd: Updated.
	* testsuite/ld-i386/lea1c.d: Likewise.
	* testsuite/ld-i386/load1-nacl.d: Likewise.
	* testsuite/ld-i386/load1.d: Likewise.
	* testsuite/ld-i386/load4b.d: Likewise.
	* testsuite/ld-i386/load5b.d: Likewise.
	* testsuite/ld-i386/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1d.d: Likewise.
	* testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
	* testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
	* testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
	* testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
	* testsuite/ld-x86-64/lea1a.d: Likewise.
	* testsuite/ld-x86-64/lea1b.d: Likewise.
	* testsuite/ld-x86-64/lea1c.d: Likewise.
	* testsuite/ld-x86-64/lea1d.d: Likewise.
	* testsuite/ld-x86-64/lea1e.d: Likewise.
	* testsuite/ld-x86-64/lea1f.d: Likewise.
	* testsuite/ld-x86-64/mov1b.d: Likewise.
	* testsuite/ld-x86-64/mov1d.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3b.d: Likewise.
	* testsuite/ld-x86-64/pr13082-4b.d: Likewise.
	* testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
	* testsuite/ld-i386/pr19609-1.s: New file.
	* testsuite/ld-i386/pr19609-1a.d: Likewise.
	* testsuite/ld-i386/pr19609-1b.d: Likewise.
	* testsuite/ld-i386/pr19609-1c.d: Likewise.
	* testsuite/ld-i386/pr19609-1d.d: Likewise.
	* testsuite/ld-i386/pr19609-1e.d: Likewise.
	* testsuite/ld-i386/pr19609-1f.d: Likewise.
	* testsuite/ld-i386/pr19609-1g.d: Likewise.
	* testsuite/ld-i386/pr19609-1h.d: Likewise.
	* testsuite/ld-i386/pr19609-1i.d: Likewise.
	* testsuite/ld-i386/pr19609-2.s: Likewise.
	* testsuite/ld-i386/pr19609-2a.d: Likewise.
	* testsuite/ld-i386/pr19609-2b.d: Likewise.
	* testsuite/ld-i386/pr19609-2c.d: Likewise.
	* testsuite/ld-i386/undefweak.s: Likewise.
	* testsuite/ld-i386/undefweaka.d: Likewise.
	* testsuite/ld-i386/undefweakb.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3c.d: Likewise.
	* testsuite/ld-x86-64/pr13082-3d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1.s: Likewise.
	* testsuite/ld-x86-64/pr19609-1a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1f.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1g.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1h.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1i.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1j.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1k.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1l.d: Likewise.
	* testsuite/ld-x86-64/pr19609-1m.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2.s: Likewise.
	* testsuite/ld-x86-64/pr19609-2a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-3.s: Likewise.
	* testsuite/ld-x86-64/pr19609-3a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-3b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4.s: Likewise.
	* testsuite/ld-x86-64/pr19609-4a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-4e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5.s: Likewise.
	* testsuite/ld-x86-64/pr19609-5a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-5e.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6.s: Likewise.
	* testsuite/ld-x86-64/pr19609-6a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-6d.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7.s: Likewise.
	* testsuite/ld-x86-64/pr19609-7a.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7b.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7c.d: Likewise.
	* testsuite/ld-x86-64/pr19609-7d.d: Likewise.
	* testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
	PR ld/19609.
	* testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
	and tests for PR ld/19609.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix various bugs in arm_record_exreg_ld_st_insn
@ 2016-02-26 16:00 sergiodj+buildbot
  2016-02-26 21:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 16:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9fde51ed303ea3ecbaa7c0084ea417e775a5db29 ***

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

Fix various bugs in arm_record_exreg_ld_st_insn

This patch fixes various bugs in arm_record_exreg_ld_st_insn, and use
gdb.reverse/insn-reverse.c to test more arm instructions.

 - Set flag SINGLE_REG correctly.  In the arch reference manual,
   SING_REG is true when the bit 8 of instruction is zero.
 - Record the right D registers for instructions changing S registers.
 - Fix the order of length and address in record_buf_mem array.
 - Shift the offset by 2 instead of by 24.

This patch also fixes one internal error,

(gdb) PASS: gdb.reverse/finish-precsave.exp: BP at end of main
continue^M
Continuing.^M
../../binutils-gdb/gdb/utils.c:1072: internal-error: virtual memory exhausted.^M
A problem internal to GDB has been detected,FAIL: gdb.reverse/finish-precsave.exp: run to end of main (GDB internal error)

gdb:

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

	* arm-tdep.c (arm_record_exreg_ld_st_insn): Set 'single_reg'
	per bit 8.  Check bit 20 instead of bit 4 for VMOV
	instruction.  Record D registers for instructions changing
	S registers.  Change of the order of length and address
	in record_buf_mem array.

gdb/testsuite:

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

	* gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
	[__arm__] (ext_reg_mov, ext_reg_push_pop): New.
	(testcases): Update.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Record right reg num of thumb special data instructions
@ 2016-02-26 15:51 sergiodj+buildbot
  2016-02-26 20:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f33efec7c6d1357d7e867176cfb88942fc513a8 ***

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

Record right reg num of thumb special data instructions

When GDB decodes these thumb special data instructions, such as 'mov sp, r7'
the Rd is got incorrectly.  According to the arch reference manual, the Rd
is DN:Rdn, in which DN is bit 7 and Rdn is bits 0 to 2.  This patch fixes it.

gdb:

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

	* arm-tdep.c (thumb_record_ld_st_reg_offset): Fix the register
	number of Rd.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Generalize gdb.reverse/aarch64.exp
@ 2016-02-26 15:15 sergiodj+buildbot
  2016-02-26 17:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 15:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3263bceb4f76b783a44aeea417a9fb69dab26ee5 ***

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

Generalize gdb.reverse/aarch64.exp

I said we can generialize gdb.reverse/aarch64.exp for other
architectures https://sourceware.org/ml/gdb-patches/2015-05/msg00482.html
and here is the patch to change aarch64.exp so that it can be used to
test for other architectures as well.

gdb/testsuite:

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

	* gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
	(testcase_ftype): New.
	(testcases): New array.
	(n_testcases): New.
	(main): Call each element in testcases.
	* gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
	(read_testcase): New.
	Do the tests in a loop.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Properly implement STT_COMMON
@ 2016-02-26 14:51 sergiodj+buildbot
  2016-02-26 16:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 14:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8871f357fdfa9c0c06d2d3e5600391d8c994f37 ***

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

Properly implement STT_COMMON

The BFD configure option, --enable-elf-stt-common, can't be to used to
verify STT_COMMON implementation with the normal binutils build.  Instead,
this patch removes it from BFD.  It adds --elf-stt-common=[no|yes] to ELF
assembler/objcopy and adds -z common/-z nocommon to ld.

A configure option, --enable-elf-stt-common, is added to gas to specify
whether ELF assembler should generate common symbols with the STT_COMMON
type by default.

Since BSF_KEEP_G is never used, it is renamed to BSF_ELF_COMMON for ELF
common symbols.

bfd/

	PR ld/19645
	* bfd.c (bfd): Change flags to 20 bits.
	(BFD_CONVERT_ELF_COMMON): New.
	(BFD_USE_ELF_STT_COMMON): Likewise.
	(BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and
	BFD_USE_ELF_STT_COMMON.
	(BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
	* configure.ac: Remove --enable-elf-stt-common.
	* elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for
	common symbol depending on BFD_CONVERT_ELF_COMMON and
	BFD_USE_ELF_STT_COMMON.
	* elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for
	STT_COMMON.
	* elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check
	STT_COMMON.
	(elf_link_convert_common_type): New function.
	(elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for
	common symbol depending on BFD_CONVERT_ELF_COMMON and
	BFD_USE_ELF_STT_COMMON.  Set sym.st_info after sym.st_shndx.
	* elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON
	and BFD_USE_ELF_STT_COMMON to object_flags.
	(TARGET_LITTLE_SYM): Likewise.
	* syms.c (BSF_KEEP_G): Renamed to ...
	(BSF_ELF_COMMON): This.
	* bfd-in2.h: Regenerated.
	* config.in: Likewise.
	* configure: Likewise.

binutils/

	PR ld/19645
	* NEWS: Mention --elf-stt-common= for objcopy.
	* doc/binutils.texi: Document --elf-stt-common= for objcopy.
	* objcopy.c (do_elf_stt_common): New.
	(command_line_switch): Add OPTION_ELF_STT_COMMON.
	(copy_options): Add --elf-stt-common=.
	(copy_usage): Add --elf-stt-common=.
	(copy_object): Also check do_elf_stt_common for ELF targets.
	(copy_file): Handle do_elf_stt_common.
	(copy_main): Handle OPTION_ELF_STT_COMMON.
	* readelf.c (apply_relocations): Support STT_COMMON.
	* testsuite/binutils-all/common-1.s: New file.
	* testsuite/binutils-all/common-1a.d: Likewise.
	* testsuite/binutils-all/common-1b.d: Likewise.
	* testsuite/binutils-all/common-1c.d: Likewise.
	* testsuite/binutils-all/common-1d.d: Likewise.
	* testsuite/binutils-all/common-1e.d: Likewise.
	* testsuite/binutils-all/common-1f.d: Likewise.
	* testsuite/binutils-all/common-2.s: Likewise.
	* testsuite/binutils-all/common-2a.d: Likewise.
	* testsuite/binutils-all/common-2b.d: Likewise.
	* testsuite/binutils-all/common-2c.d: Likewise.
	* testsuite/binutils-all/common-2d.d: Likewise.
	* testsuite/binutils-all/common-2e.d: Likewise.
	* testsuite/binutils-all/common-2f.d: Likewise.
	* testsuite/binutils-all/objcopy.exp
	(objcopy_test_elf_common_symbols): New proc.
	Run objcopy_test_elf_common_symbols for ELF targets

gas/

	PR ld/19645
	* NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
	for ELF assemblers.
	* as.c (flag_use_elf_stt_common): New.
	(show_usage): Add --elf-stt-common=.
	(option_values): Add OPTION_ELF_STT_COMMON.
	(std_longopts): Add --elf-stt-common=.
	(parse_args): Handle --elf-stt-common=.
	* as.h (flag_use_elf_stt_common): New.
	* config.in: Regenerated.
	* configure: Likewise.
	* configure.ac: Add --enable-elf-stt-common and define
	DEFAULT_GENERATE_ELF_STT_COMMON.
	* gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
	and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
	* doc/as.texinfo: Document --elf-stt-common=.
	* testsuite/gas/elf/common3.s: New file.
	* testsuite/gas/elf/common3a.d: Likewise.
	* testsuite/gas/elf/common3b.d: Likewise.
	* testsuite/gas/elf/common4.s: Likewise.
	* testsuite/gas/elf/common4a.d: Likewise.
	* testsuite/gas/elf/common4b.d: Likewise.
	* testsuite/gas/i386/dw2-compress-3b.d: Likewise.
	* testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
	* testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
	and common4b.
	* testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
	* testsuite/gas/i386/dw2-compress-3a.d: This.  Pass
	--elf-stt-common=no to as.
	* testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
	* testsuite/gas/i386/dw2-compressed-3a.d: This.  Pass
	--elf-stt-common=no to as.
	* testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
	dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
	of dw2-compress-3 and dw2-compressed-3.

include/

	PR ld/19645
	* bfdlink.h (bfd_link_elf_stt_common): New enum.
	(bfd_link_info): Add elf_stt_common.

ld/

	PR ld/19645
	* NEWS: Mention -z common/-z nocommon for ELF targets.
	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
	-z common and -z nocommon.
	* ld.texinfo: Document -z common/-z nocommon.
	* lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
	* testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
	--elf-stt-common=yes with assembler.
	* testsuite/ld-elfcomm/common-1.s: New file.
	* testsuite/ld-elfcomm/common-1a.d: Likewise.
	* testsuite/ld-elfcomm/common-1b.d: Likewise.
	* testsuite/ld-elfcomm/common-1c.d: Likewise.
	* testsuite/ld-elfcomm/common-1d.d: Likewise.
	* testsuite/ld-elfcomm/common-1e.d: Likewise.
	* testsuite/ld-elfcomm/common-1f.d: Likewise.
	* testsuite/ld-elfcomm/common-2.s: Likewise.
	* testsuite/ld-elfcomm/common-2a.d: Likewise.
	* testsuite/ld-elfcomm/common-2b.d: Likewise.
	* testsuite/ld-elfcomm/common-2c.d: Likewise.
	* testsuite/ld-elfcomm/common-2d.d: Likewise.
	* testsuite/ld-elfcomm/common-2e.d: Likewise.
	* testsuite/ld-elfcomm/common-2f.d: Likewise.
	* testsuite/ld-elfcomm/common-3a.rd: Likewise.
	* testsuite/ld-elfcomm/common-3b.rd: Likewise.
	* testsuite/ld-i386/pr19645.d: Likewise.
	* testsuite/ld-i386/pr19645.s: Likewise.
	* testsuite/ld-x86-64/largecomm-1.s: Likewise.
	* testsuite/ld-x86-64/largecomm-1a.d: Likewise.
	* testsuite/ld-x86-64/largecomm-1b.d: Likewise.
	* testsuite/ld-x86-64/largecomm-1c.d: Likewise.
	* testsuite/ld-x86-64/largecomm-1d.d: Likewise.
	* testsuite/ld-x86-64/largecomm-1e.d: Likewise.
	* testsuite/ld-x86-64/largecomm-1f.d: Likewise.
	* testsuite/ld-x86-64/pr19645.d: Likewise.
	* testsuite/ld-x86-64/pr19645.s: Likewise.
	* testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
	with assembler.
	(assembler_generates_commons): Removed.
	Run -z common/-z nocommon tests.  Run *.d tests.
	* testsuite/ld-i386/i386.exp: Run pr19645.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
	assembler.  Test STT_COMMON with readelf.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <166616ce00e0c27fa3f556bcdeb908d4c0212393@gdb-build>]
* [binutils-gdb] avoid compiler warnings in remote-m32r-sdi.c
@ 2016-02-25 17:42 sergiodj+buildbot
  2016-02-25 23:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-25 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1547ef64562ebbfcdc768ce93979f09bdd119b11 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 1547ef64562ebbfcdc768ce93979f09bdd119b11

avoid compiler warnings in remote-m32r-sdi.c

gdb/ChangeLog:

	* remote-m32r-sdi.c (recv_char_data): Initialize val to avoid
	compiler warning.
	(recv_long_data): Ditto.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove gdb.base/branches.c
@ 2016-02-25 17:22 sergiodj+buildbot
  2016-02-25 22:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-25 17:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6cb59ff1111c1d5e955ca0eeddab6f03db0fbfb7 ***

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

Remove gdb.base/branches.c

This patch removes gdb.base/branches.c which was added by the following
commit, but it is not used at all.

commit ea8122af1432abdeb256b2c669eb3d0cf8cb97bf
Author: John Metzler <jmetzler@cygnus>
Date:   Thu Apr 16 17:56:11 1998 +0000

    Thu Apr 16 10:52:34 1998  John Metzler  <jmetzler@cygnus.com>

        * gdb.base/branches.c: Code with lots of loops and
        subroutines. Used to test gdbs ability to single step through PC
        changes, especially to test mips-tdep.c:mips_next_pc

gdb/testsuite:

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

	* gdb.base/branches.c: Remove.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <7337a6f2297cdd91bb852b479b284e5796d62cc9@gdb-build>]
* [binutils-gdb] Add elf_x86_64_need_pic
@ 2016-02-25 12:24 sergiodj+buildbot
  2016-02-25 13:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-25 12:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef77d6af7cade17c566e4d1ecff098b841972f17 ***

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

Add elf_x86_64_need_pic

Add elf_x86_64_need_pic and replace x86_64_elf_howto_table[r_type].name
with howto->name.

	* elf64-x86-64.c (elf_x86_64_need_pic): New function.
	(elf_x86_64_relocate_section): Use it.  Replace
	x86_64_elf_howto_table[r_type] with howto.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Update symbol version for symbol from linker script
@ 2016-02-24 23:37 sergiodj+buildbot
  2016-02-25  6:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f550b3df1d4ae31d12505cf93981313c9c6dd25 ***

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

Update symbol version for symbol from linker script

We need to update symbol version for symbols from linker script.

bfd/

	PR ld/19698
	* elflink.c (bfd_elf_record_link_assignment): Set versioned if
	symbol version is unknown.

ld/

	PR ld/19698
	* testsuite/ld-elf/pr19698.d: New file.
	* testsuite/ld-elf/pr19698.s: Likewise.
	* testsuite/ld-elf/pr19698.t: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Move new skip features to proper section (post 7.11).
@ 2016-02-24 18:24 sergiodj+buildbot
  2016-02-25  0:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 18:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2dffb8d3be366d4d02de06e92c24c9abdb0adfc ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: d2dffb8d3be366d4d02de06e92c24c9abdb0adfc

Move new skip features to proper section (post 7.11).


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Revert "ABS32"
@ 2016-02-24 15:09 sergiodj+buildbot
  2016-02-24 22:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 15:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 92d77487b3dbfd934c5565bab09e0f3051e0b08d ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 92d77487b3dbfd934c5565bab09e0f3051e0b08d

Revert "ABS32"

This reverts commit 30bdf5c82e5734ac9f0b18eb7af631806d419270.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [OPCODES][ARM][1/3]Add armv8.2 fp16 instruction dissembler support.
@ 2016-02-24 14:22 sergiodj+buildbot
  2016-02-24 20:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 14:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0c11777665276f8e9b590bbe4832a7c66f5093d ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: b0c11777665276f8e9b590bbe4832a7c66f5093d

[OPCODES][ARM][1/3]Add armv8.2 fp16 instruction dissembler support.

opcodes/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* arm-dis.c (coprocessor_opcodes): Add fp16 instruction entries.
	(print_insn_coprocessor): Support fp16 instruction.

gas/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* testsuite/gas/arm/copro.d: Adjust output.
	* testsuite/gas/arm/copro.s: Adjust co-processor num.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ABS32
@ 2016-02-24 14:07 sergiodj+buildbot
  2016-02-24 16:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30bdf5c82e5734ac9f0b18eb7af631806d419270 ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 30bdf5c82e5734ac9f0b18eb7af631806d419270

ABS32


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Build unavailable-stack frames for tracepoint.
@ 2016-02-24  3:22 sergiodj+buildbot
  2016-02-24  4:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-24  3:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50ae56ec464580492a5f987f658acc6ad82131b6 ***

Author: Wei-cheng Wang <cole945@gmail.com>
Branch: master
Commit: 50ae56ec464580492a5f987f658acc6ad82131b6

Build unavailable-stack frames for tracepoint.

gdb/ChangeLog:

2016-02-24  Wei-cheng Wang  <cole945@gmail.com>

	* rs6000-tdep.c (rs6000_frame_cache, rs6000_frame_this_id): Handle
	unavailable PC/SP to build unavailable frame.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Extend "skip" command to support -file, -gfile, -function, -rfunction.
@ 2016-02-23 21:37 sergiodj+buildbot
  2016-02-23 22:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23 21:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cce0e92333b872cfe036aae611b6b5d61cf58186 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: cce0e92333b872cfe036aae611b6b5d61cf58186

Extend "skip" command to support -file, -gfile, -function, -rfunction.

gdb/ChangeLog:

	Extend "skip" command to support -file, -gfile, -function, -rfunction.
	* NEWS: Document new features.
	* skip.c: #include "fnmatch.h", "gdb_regex.h".
	(skiplist_entry) <file>: Renamed from filename.
	<function>: Renamed from function_name.
	<file_is_glob, function_is_regexp>: New members.
	<compiled_function_regexp, compiled_function_regexp_is_valid>:
	New members.
	(make_skip_entry): New function.
	(free_skiplist_entry, free_skiplist_entry_cleanup): New functions.
	(make_free_skiplist_entry_cleanup): New function.
	(skip_file_command): Update.
	(skip_function, skip_function_command): Update.
	(compile_skip_regexp): New functions.
	(skip_command): Add support for new options.
	(skip_info): Update.
	(skip_file_p, skip_gfile_p): New functions.
	(skip_function_p, skip_rfunction_p): New functions.
	(function_name_is_marked_for_skip): Update and simplify.
	(_initialize_step_skip): Update.
	* symtab.c: #include "fnmatch.h".
	(compare_glob_filenames_for_search): New function.
	* symtab.h (compare_glob_filenames_for_search): Declare.
	* utils.c (count_path_elements): New function.
	(strip_leading_path_elements): New function.
	* utils.h (count_path_elements): Declare.
	(strip_leading_path_elements): Declare.

gdb/doc/ChangeLog:

	* gdb.texinfo (Skipping Over Functions and Files): Document new
	options to "skip" command.  Update docs of output of "info skip".

gdb/testsuite/ChangeLog:

	* gdb.base/skip.c (test_skip): New function.
	(end_test_skip_file_and_function): New function.
	(test_skip_file_and_function): New function.
	* gdb.base/skip1.c (test_skip): New function.
	(skip1_test_skip_file_and_function): New function.
	* gdb.base/skip.exp: Add tests for new skip options.
	* gdb.base/skip-solib.exp: Update expected output.
	* gdb.perf/skip-command.cc: New file.
	* gdb.perf/skip-command.exp: New file.
	* gdb.perf/skip-command.py: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arm-tdep.c: Remove unused "to" parameters
@ 2016-02-23 18:34 sergiodj+buildbot
  2016-02-23 19:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23 18:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1254566561957d2202d61e12881b0eb40d33a64c ***

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

arm-tdep.c: Remove unused "to" parameters

gdb/ChangeLog:

	* arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter.
	(thumb_process_displaced_insn): Likewise.
	(arm_process_displaced_insn): Adjust calls.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make linker assigned symbol dynamic only for shared object
@ 2016-02-23 13:32 sergiodj+buildbot
  2016-02-23 15:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23 13:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b3b0ab89663306d17927d630304dbbd36e84570 ***

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

Make linker assigned symbol dynamic only for shared object

Linker assigned symbols should be made dynamic by default only when
creating shared object or relocatable executable.

bfd/

	* elflink.c (bfd_elf_record_link_assignment): Check for shared
	library, instead of PIC, and don't check PDE when making linker
	assigned symbol dynamic.

ld/

	* testsuite/ld-frv/fdpic-pie-6.d: Updated.
	* testsuite/ld-mips-elf/pie-n32.d: Likewise.
	* testsuite/ld-mips-elf/pie-n64.d: Likewise.
	* testsuite/ld-mips-elf/pie-o32.d: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Increment the ABIVERSION to 5 for MIPS objects with non-executable stacks.
@ 2016-02-23 13:10 sergiodj+buildbot
  2016-02-23 13:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23 13:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17733f5be961baa7a47fdf1471aa6948372293d6 ***

Author: Faraz Shahbazker <faraz.shahbazker@imgtec.com>
Branch: master
Commit: 17733f5be961baa7a47fdf1471aa6948372293d6

Increment the ABIVERSION to 5 for MIPS objects with non-executable stacks.

	* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
	ABIVERSION for non-executable stack.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Process record for aarch64-linux syscall
@ 2016-02-23  9:37 sergiodj+buildbot
  2016-02-23 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23  9:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c955ae7389e1c5dba0aef5c88c64f647c13e01c5 ***

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

Process record for aarch64-linux syscall

This patch updates the syscalls in sync with syscalls/aarch64-linux.xml.
Some syscalls are still not supported by gdb/linux-record.c yet.  Mark
them UNSUPPORTED_SYSCALL_MAP.

This patch fixes the following test fail,

Process record and replay target doesn't support syscall number 56^M
Process record: failed to record execution log.^M
^M
Program stopped.^M
0x00000020000e9dfc in open () from /lib/aarch64-linux-gnu/libc.so.6^M
(gdb) FAIL: gdb.reverse/fstatat-reverse.exp: continue to breakpoint: marker2

gdb:

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

	* aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
	Remove.
	<aarch64_sys_mkdir, aarch64_sys_unlink, aarch64_sys_symlink>: Remove.
	<aarch64_sys_link, aarch64_sys_rename, aarch64_sys_faccess>: Remove.
	<aarch64_sys_mknodat, aarch64_sys_mkdirat>: New.
	<aarch64_sys_unlinkat, aarch64_sys_symlinkat>: New.
	<aarch64_sys_linkat, aarch64_sys_renameat, aarch64_sys_faccessat>: New.
	<aarch64_sys_open, aarch64_sys_readlink, aarch64_sys_fstatat>: Remove.
	<aarch64_sys_openat, aarch64_sys_readlinkat>: New.
	<aarch64_sys_newfstatat>: New.
	(UNSUPPORTED_SYSCALL_MAP): New macro.
	(aarch64_canonicalize_syscall): Add missing syscalls.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Always create dynsym section with dynamic sections
@ 2016-02-23  0:43 sergiodj+buildbot
  2016-02-23  2:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-23  0:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a6e6083b69dcb695e175b5dc02342391da6ba22 ***

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

Always create dynsym section with dynamic sections

We should always create the dynsym section, even if it is empty, with
dynamic sections.

	* elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the
	dynsym section, even if it is empty, with dynamic sections.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove BSF_COMMON from comments
@ 2016-02-22 13:15 sergiodj+buildbot
  2016-02-22 15:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-22 13:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 75c1920bb02f09534da55b98277a613b7cb430cc ***

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

Remove BSF_COMMON from comments

BSF_COMMON isn't defined in BFD.

	* syms.c: Remove BSF_COMMON from comments.
	* bfd-in2.h: Regenerated.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix arm process record code format
@ 2016-02-22 12:26 sergiodj+buildbot
  2016-02-22 13:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-22 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01e57735b0e8e6a613c58c271350dac2c416bb03 ***

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

Fix arm process record code format

This patch fixes the various code format issues in arm process record
in arm-tdep.c, such as using tab instead of spaces.

gdb:

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

	* arm-tdep.c: Fix code format issues.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Also update recursive call to d_lookup_symbol_imports.
@ 2016-02-21 21:15 sergiodj+buildbot
  2016-02-21 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-21 21:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e08db6db1dd514f1c99f94bb6a9c1cfe02a1ab90 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: e08db6db1dd514f1c99f94bb6a9c1cfe02a1ab90

Also update recursive call to d_lookup_symbol_imports.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove search_parents parameter from d_lookup_symbol_imports.
@ 2016-02-21 20:46 sergiodj+buildbot
  2016-02-21 20:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-21 20:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30a6a7f035026d05b52c92c26d4cb7ea3c6d6e5c ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 30a6a7f035026d05b52c92c26d4cb7ea3c6d6e5c

Remove search_parents parameter from d_lookup_symbol_imports.

gdb/ChangeLog:

	* d-namespace.c (d_lookup_symbol_imports): Remove argument
	'search_parents'.  All callers updated.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix a seg-fault in the linker when it encounters a corrupt binary containing a reloc with no associated symbol.
@ 2016-02-19 15:34 sergiodj+buildbot
  2016-02-19 16:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-19 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 737684142b3f7dfa6d440c8363750911a8ac20ce ***

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

Fix a seg-fault in the linker when it encounters a corrupt binary containing a reloc with no associated symbol.

	PR ld/19628
	* reloc.c (bfd_generic_get_relocated_section_contents): Stop
	processing if we encounter a reloc without an associated symbol.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Add FP16 feature extension for ARMv8.2 architecture
@ 2016-02-19 14:40 sergiodj+buildbot
  2016-02-19 15:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-19 14:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8ec4e871ef7650b852df9956841ee414766de59 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: b8ec4e871ef7650b852df9956841ee414766de59

[ARM] Add FP16 feature extension for ARMv8.2 architecture

include/
  * opcode/arm.h (ARM_EXT2_FP16_INSN): New.

gas/
  * config/tc-arm.c (arm_ext_fp16): New.
  (arm_extensions): New entry for "fp16".


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Determine the iteration count based on wallclock instead of user+system time.
@ 2016-02-18 19:38 sergiodj+buildbot
  2016-02-18 21:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 19:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fbb7bcbeaad3aebab8935cb4ee5706017b3b9e71 ***

Author: Wei-cheng Wang <cole945@gmail.com>
Branch: master
Commit: fbb7bcbeaad3aebab8935cb4ee5706017b3b9e71

Determine the iteration count based on wallclock instead of user+system time.

gdb/testsuite/ChangeLog:

2016-02-18  Wei-cheng Wang  <cole945@gmail.com>

	* gdb.trace/tspeed.c (myclock): Return wallclock instead of
	user+system time.
	(trace_speed_test): Determine the iteration count for a time
	between 15..30 seconds.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Intel MPX bound violation handling
@ 2016-02-18 16:46 sergiodj+buildbot
  2016-02-18 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 012b3a217a60cc74b802b059029c72a25d77808c ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 012b3a217a60cc74b802b059029c72a25d77808c

Intel MPX bound violation handling

With Intel Memory Protection Extensions it was introduced the concept of
boundary violation.  A boundary violations is presented to the inferior as
a segmentation fault having SIGCODE 3.  This patch adds a
handler for a boundary violation extending the information displayed
when a bound violation is presented to the inferior.  In the stop mode
case the debugger will also display the kind of violation: "upper" or
"lower", bounds and the address accessed.
On no stop mode the information will still remain unchanged.  Additional
information about bound violations are not meaningful in that case user
does not know the line in which violation occurred as well.

When the segmentation fault handler is stop mode the out puts will be
changed as exemplified below.

The usual output of a segfault is:
Program received signal SIGSEGV, Segmentation fault
0x0000000000400d7c in upper (p=0x603010, a=0x603030, b=0x603050,
c=0x603070, d=0x603090, len=7) at i386-mpx-sigsegv.c:68
68        value = *(p + len);

In case it is a bound violation it will be presented as:
Program received signal SIGSEGV, Segmentation fault
Upper bound violation while accessing address 0x7fffffffc3b3
Bounds: [lower = 0x7fffffffc390, upper = 0x7fffffffc3a3]
0x0000000000400d7c in upper (p=0x603010, a=0x603030, b=0x603050,
c=0x603070, d=0x603090, len=7) at i386-mpx-sigsegv.c:68
68        value = *(p + len);

In mi mode the output of a segfault is:
*stopped,reason="signal-received",signal-name="SIGSEGV",
signal-meaning="Segmentation fault", frame={addr="0x0000000000400d7c",
func="upper",args=[{name="p", value="0x603010"},{name="a",value="0x603030"}
,{name="b",value="0x603050"}, {name="c",value="0x603070"},
{name="d",value="0x603090"},{name="len",value="7"}],
file="i386-mpx-sigsegv.c",fullname="i386-mpx-sigsegv.c",line="68"},
thread-id="1",stopped-threads="all",core="6"

in the case of a bound violation:
*stopped,reason="signal-received",signal-name="SIGSEGV",
signal-meaning="Segmentation fault",
sigcode-meaning="Upper bound violation",
lower-bound="0x603010",upper-bound="0x603023",bound-access="0x60302f",
frame={addr="0x0000000000400d7c",func="upper",args=[{name="p",
value="0x603010"},{name="a",value="0x603030"},{name="b",value="0x603050"},
{name="c",value="0x603070"},{name="d",value="0x603090"},
{name="len",value="7"}],file="i386-mpx-sigsegv.c",
fullname="i386-mpx-sigsegv.c",line="68"},thread-id="1",
stopped-threads="all",core="6"

2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* NEWS: Add entry for bound violation.
	* amd64-linux-tdep.c (amd64_linux_init_abi_common):
	Add handler for segmentation fault.
	* gdbarch.sh (handle_segmentation_fault): New.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Regenerate.
	* i386-linux-tdep.c (i386_linux_handle_segmentation_fault): New.
	(SIG_CODE_BONDARY_FAULT): New define.
	(i386_linux_init_abi): Use i386_mpx_bound_violation_handler.
	* i386-linux-tdep.h (i386_linux_handle_segmentation_fault) New.
	* i386-tdep.c (i386_mpx_enabled): Add as external.
	* i386-tdep.c (i386_mpx_enabled): Add as external.
	* infrun.c (handle_segmentation_fault): New function.
	(print_signal_received_reason): Use handle_segmentation_fault.

gdb/testsuite/ChangeLog:

	* gdb.arch/i386-mpx-sigsegv.c: New file.
	* gdb.arch/i386-mpx-sigsegv.exp: New file.
	* gdb.arch/i386-mpx-simple_segv.c: New file.
	* gdb.arch/i386-mpx-simple_segv.exp: New file.

gdb/doc/ChangeLog:

	* gdb.texinfo (Signals): Add bound violation display hints for
	a SIGSEGV.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [x86-64] Omit dynamic sections symbols
@ 2016-02-17 19:31 sergiodj+buildbot
  2016-02-17 20:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-17 19:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f79b794ce055b3b4041788182080f4ce3f9048e ***

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

[x86-64] Omit dynamic sections symbols

Define elf_backend_omit_section_dynsym to bfd_true for x86-64, similar
to i386, x86-64 doesn't need dynamic sections symbols.

bfd/

	* elf64-x86-64.c (elf_backend_omit_section_dynsym): New.  Defined
	to bfd_true.

ld/

	* testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
	* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4.d: Likewise.
	* testsuite/ld-x86-64/load1c-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1c.d: Likewise.
	* testsuite/ld-x86-64/load1d-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1d.d: Likewise.
	* testsuite/ld-x86-64/pr14207.d: Likewise.
	* testsuite/ld-x86-64/pr19162.d: 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.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <b00b61e1fd95b778ec85bf314baddd1be9040d25@gdb-build>]
* [binutils-gdb] testsuite: Make standard_temp_file use invocation-specific directories
@ 2016-02-16 15:36 sergiodj+buildbot
  2016-02-16 20:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 15:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4ef31bf6fb68f0024800565a532015fc3390aaa ***

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

testsuite: Make standard_temp_file use invocation-specific directories

Just like standard_output_file, standard_temp_file should use multiple
directories to make the tests parallel-safe.  However,
standard_temp_file is sometimes called in some procedures that are not
test-specific.  For example, gdb_init uses it, but is called once before
all test files are ran.  Therefore, we can't organize it in a
temp/gdb.subdir/testname layout, like standard_output_file.

Because it's just meant for temporary files that don't really need to be
inspected after the test, we can just put them in a directory based on
the runtest pid.  There is always a single exp file being executed by a
particular runtest invocation at any given time, so it should be safe.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (standard_temp_file): Return a path specific to
	the runtest invocation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove PC from syscall_next_pc
@ 2016-02-16 13:59 sergiodj+buildbot
  2016-02-16 14:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 13:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 553cb5270f28725de86636340574644e45318fe1 ***

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

Remove PC from syscall_next_pc

Method syscall_next_pc of struct arm_get_next_pcs_ops has an argument
PC, which is not necessary, because PC can be got from regcache in
'struct arm_get_next_pcs'.  This patch removes the PC argument of
syscall_next_pc.

gdb:

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

	* arch/arm-get-next-pcs.h (struct arm_get_next_pcs_ops)
	<syscall_next_pc>: Remove argument PC.  Callers updated.
	* arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
	Remove argument PC.  Get pc from regcache_read_pc.
	* arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Remove
	argument PC.

gdb/gdbserver:

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

	* linux-arm-low.c (get_next_pcs_syscall_next_pc): Remove argument
	PC.  Get pc from regcache_read_pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix some tests that write outside of the standard output directory
@ 2016-02-15 17:01 sergiodj+buildbot
  2016-02-15 18:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-15 17:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa4803559b046ab4691965f8a4ceed1037b37629 ***

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

testsuite: Fix some tests that write outside of the standard output directory

gdb/testsuite/ChangeLog:

	* gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
	define object file path.
	* gdb.btrace/gcore.exp: Use standard_output_file to define core
	file path.
	* lib/opencl.exp (gdb_compile_opencl_hostapp): Use
	standard_output_file to define binfile.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp
@ 2016-02-14  8:25 sergiodj+buildbot
  2016-02-14  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-14  8:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9fb005c0e95e642c2e5a65c02d026b4223082e6 ***

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

testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp

> +static int max_value_size = 65536; /* 64k bytes */

FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array)
FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was mofified in debugger (passed fixed array)
FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was filled
FAIL: gdb.fortran/vla-value-sub-finish.exp: print array2 in foo after it was mofified in debugger

print array2
value requires 296352 bytes, which is more than max-value-size
(gdb) FAIL: gdb.fortran/vla-value-sub.exp: print array2 in foo after it was filled (passed fixed array)

gdb/testsuite/ChangeLog
2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
	New test.
	* gdb.fortran/vla-value-sub.exp: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <e44e00ffffe358d91df0ec4a11563eef0c14beb4@gdb-build>]
* [binutils-gdb] i386-biarch-core.exp: Use standard_output_file
@ 2016-02-12 19:08 sergiodj+buildbot
  2016-02-12 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-12 19:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97e9415187158a9dfb3b662888a5d7b5e3bd8244 ***

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

i386-biarch-core.exp: Use standard_output_file

Fix the core file path to use the standard output directory.

gdb/testsuite/ChangeLog:

	* i386-biarch-core.exp: Define corefile using
	standard_output_file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Software single step cross kernel helpers
@ 2016-02-12 16:22 sergiodj+buildbot
  2016-02-12 19:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-12 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01113bc1c50ff1202517377afd7162861e66846f ***

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

[ARM] Software single step cross kernel helpers

GDB step cross kernel helpers only works if the kernel helpers are tail
called, which is the case how it is used in glibc.  See __aeabi_read_tp
in sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S.  In __aeabi_read_tp,
branch/jump to the kernel helper is the last instruction, and the next
instruction address is in LR, which is in caller function.  GDB can
handle this correctly.  For example, glibc function __GI___ctype_init
calls __aeabi_read_tp

   0xb6e19b30 <__GI___ctype_init+4>:	ldr	r3, [pc, #80]	;
   0xb6e19b34 <__GI___ctype_init+8>:	bl	0xb6e0a6e0 <__aeabi_read_tp>
   0xb6e19b38 <__GI___ctype_init+12>:	ldr	r3, [pc, r3]

and __aeabi_read_tp calls kernel helper,

(gdb) disassemble __aeabi_read_tp
   0xb6fef5d0 <+0>:	mvn	r0, #61440	; 0xf000
   0xb6fef5d4 <+4>:	sub	pc, r0, #31

once GDB or GDBserver single step instruction on 0xb6fef5d4, LR is
0xb6e19b38, which is right address of next instruction to set breakpoint
on.

However, if the kernel helpers are not tail-called, the LR is still the
address in the caller function of kernel helper's caller, which isn't
the right address of next instruction to set breakpoint on.  For example,
we use kernel helper in main,

(gdb) disassemble main
....
   0x00008624 <+32>:    mov     r3, #4064       ; 0xfe0^M
   0x00008628 <+36>:    movt    r3, #65535      ; 0xffff^M
   0x0000862c <+40>:    blx     r3
   0x00008630 <+44>:    ldr     r3, [r11, #-8]

kernel helper is called on 0x0000862c and the expected next instruction
address is 0x00008630, but the LR now is the return address of main.
The problem here is LR may not have the right address because when we
single step the instruction, it isn't executed yet, so the LR isn't
updated.  This patch fix this problem by decoding instruction, if the
instruction updates LR (BL and BLX), the next instruction address is
PC + INSN_SIZE, otherwise, get the address of next instruction from LR.

gdb:

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

	* arch/arm-linux.c (arm_linux_get_next_pcs_fixup): Calculate
	nextpc according to instruction.

gdb/testsuite:

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

	* gdb.arch/arm-single-step-kernel-helper.c: New.
	* gdb.arch/arm-single-step-kernel-helper.exp: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Fixup PC in software single step
@ 2016-02-12 16:11 sergiodj+buildbot
  2016-02-12 17:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-12 16:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed443b61e1f6e4eb7919fe9122dd947d1e87e767 ***

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

[ARM] Fixup PC in software single step

When I exercise GDBserver software single step, I see the following
error, which has been already handled by GDB properly.

In GDBserver log, we can see, GDBserver tries to single step instruction
on 0xb6e0a6e4, and destination address is 0xffff0fe0,

 stop pc is 0xb6e0a6e4
 Writing f001f0e7 to 0xffff0fe0 in process 7132
 Failed to insert breakpoint at 0xffff0fe0 (Input/output error).
 Failed to insert breakpoint at 0xffff0fe0 (-1).

(gdb) disassemble __aeabi_read_tp,+8
Dump of assembler code from 0xb6e0a6e0 to 0xb6e0a6e8:
   0xb6e0a6e0 <__aeabi_read_tp+0>:	mvn	r0, #61440	; 0xf000
   0xb6e0a6e4 <__aeabi_read_tp+4>:	sub	pc, r0, #31

however, it fails inserting breakpoint there.  This problem has already
fixed by GDB, see comments in arm-linux-tdep.c:arm_linux_software_single_step

      /* The Linux kernel offers some user-mode helpers in a high page.  We can
	 not read this page (as of 2.6.23), and even if we could then we
	 couldn't set breakpoints in it, and even if we could then the atomic
	 operations would fail when interrupted.  They are all called as
	 functions and return to the address in LR, so step to there
	 instead.  */

so we need to do the same thing in GDB side as well.  This patch adds
a new field fixup in arm_get_next_pcs_ops, so that we can fix up PC
for arm-linux target.  In this way, both GDB and GDBserver can single
step instructions going to kernel helpers.

gdb:

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

	* arch/arm-get-next-pcs.c (arm_get_next_pcs): Call
	self->ops->fixup if it isn't NULL.
	* arch/arm-get-next-pcs.h: Include gdb_vecs.h.
	(struct arm_get_next_pcs_ops) <fixup>: New field.
	* arch/arm-linux.c: Include common-regcache.h and
	arch/arm-get-next-pcs.h.
	(arm_linux_get_next_pcs_fixup): New function.
	* arch/arm-linux.h (arm_linux_get_next_pcs_fixup): Declare.
	* arm-linux-tdep.c (arm_linux_get_next_pcs_ops): Initialize
	it with arm_linux_get_next_pcs_fixup.
	(arm_linux_software_single_step): Move code to
	arm_linux_get_next_pcs_fixup.
	* arm-tdep.c (arm_get_next_pcs_ops): Initialize it.

gdb/gdbserver:

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

	* linux-arm-low.c (get_next_pcs_ops): Initialize it with
	arm_linux_get_next_pcs_fixup.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <d21b5f15d92bc1902b9e57198f67550326c887d7@gdb-build>]
* [binutils-gdb] btrace, frame: fix crash in get_frame_type
@ 2016-02-12  9:19 sergiodj+buildbot
  2016-02-12 13:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-12  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33b4777ca1b7b456af8201b98eda27d1b272cbab ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 33b4777ca1b7b456af8201b98eda27d1b272cbab

btrace, frame: fix crash in get_frame_type

In skip_artificial_frames we repeatedly call get_prev_frame_always until we get
a non-inline and non-tailcall frame assuming that there must be such a frame
eventually.

For record targets, however, we may have a frame chain that consists only of
artificial frames.  This leads to a crash in get_frame_type when dereferencing a
NULL frame pointer.

Change skip_artificial_frames and skip_tailcall_frames to return NULL in such a
case and modify each caller to cope with a NULL return.

In frame_unwind_caller_pc and frame_unwind_caller_arch, we simply assert that
the returned value is not NULL.  Their caller was supposed to check
frame_unwind_caller_id before calling those functions.

In other cases, we thrown an error.

In infcmd further move the skip_tailcall_frames call to the forward-stepping
case since we don't need a frame for reverse execution and we don't want to fail
because of that.  Reverse-finish does make sense for a tailcall frame.

gdb/
	* frame.h (skip_tailcall_frames): Update comment.
	* frame.c (skip_artificial_frames, skip_tailcall_frames): Return NULL
	if only	artificial frames are found.  Update comment.
	(frame_unwind_caller_id): Handle NULL return.
	(frame_unwind_caller_pc, frame_unwind_caller_arch): Assert that
	skip_artificial_frames does not return NULL.
	(frame_pop): Add an error if only tailcall frames are found.
	* infcmd.c (finish_command): Move skip_tailcall_frames call into forward-
	execution case.  Add an error if only tailcall frames are found.

testsuite/
	* gdb.btrace/tailcall-only.exp: New.
	* gdb.btrace/tailcall-only.c: New.
	* gdb.btrace/x86_64-tailcall-only.S: New.
	* gdb.btrace/i686-tailcall-only.S: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] stack: check frame_unwind_caller_id
@ 2016-02-12  9:10 sergiodj+buildbot
  2016-02-12 11:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-12  9:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a038fa3e14a477d4d72a26c2e139fa47d2774be2 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: a038fa3e14a477d4d72a26c2e139fa47d2774be2

stack: check frame_unwind_caller_id

Callers of frame_unwind_caller_* functions are supposed to check
frame_unwind_caller_id.

Add such a check to frame_info and treat an invalid caller ID as if the caller
PC were not available.

gdb/
	* stack.c (frame_info): Check frame_unwind_caller_id.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add missing quotes to gdb/testsuite/README
@ 2016-02-11 20:15 sergiodj+buildbot
  2016-02-12  1:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT acc23c113ab9602707574e7df120f96170a9731c ***

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

Add missing quotes to gdb/testsuite/README

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

	* README (Parallel testing): Add missing double quotes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] arm-tdep.c: Remove unused variables
@ 2016-02-11 19:37 sergiodj+buildbot
  2016-02-11 22:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 19:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bec2ab5a15d96026d9f5470f7997fd48f7330fb2 ***

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

arm-tdep.c: Remove unused variables

Just a little bit of cleanup.

gdb/ChangeLog:

	* arm-tdep.c (arm_skip_prologue): Remove unused variables.
	(arm_analyze_prologue): Likewise.
	(arm_scan_prologue): Likewise.
	(arm_m_exception_prev_register): Likewise.
	(arm_copy_block_xfer): Likewise.
	(thumb2_copy_block_xfer): Likewise.
	(arm_decode_miscellaneous): Likewise.
	(arm_decode_ld_st_word_ubyte): Likewise.
	(arm_decode_svc_copro): Likewise.
	(thumb2_decode_svc_copro): Likewise.
	(thumb_copy_16bit_ldr_literal): Likewise.
	(thumb_copy_pop_pc_16bit): Likewise.
	(decode_thumb_32bit_ld_mem_hints): Likewise.
	(arm_show_force_mode): Likewise.
	(_initialize_arm_tdep): Likewise.
	(arm_record_strx): Likewise.
	(arm_record_extension_space): Likewise.
	(arm_record_data_proc_misc_ld_str): Likewise.
	(arm_record_exreg_ld_st_insn): Likewise.
	(arm_record_vfp_data_proc_insn): Likewise.
	(arm_record_coproc_data_proc): Likewise.
	(thumb_record_misc): Likewise.
	(thumb_record_ldm_stm_swi): Likewise.
	(thumb2_record_ld_st_dual_ex_tbb): Likewise.
	(thumb2_record_ld_mem_hints): Likewise.
	(thumb2_record_lmul_lmla_div): Likewise.
	(thumb2_record_asimd_struct_ld_st): Likewise.
	(arm_process_record): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <62e5fd57bcdfb58eadd08ec430c4dfd742027d8e@gdb-build>]
[parent not found: <e909d859f5635d66e79fef467da70d6090bfae1b@gdb-build>]
* [binutils-gdb] Add support for ARC instruction relaxation in the assembler.
@ 2016-02-10 12:21 sergiodj+buildbot
  2016-02-10 20:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-10 12:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4670103e86f59a80259fd593a6949d693382e536 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 4670103e86f59a80259fd593a6949d693382e536

Add support for ARC instruction relaxation in the assembler.

gas/
2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
	    Janek van Oirschot <jvanoirs@synopsys.com>

        * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
        (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
        Define.
        (arc_flags, arc_relax_type): New structure.
        * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
	(RELAX_TABLE_ENTRY_MAX): New define.
        (relaxation_state, md_relax_table, arc_relaxable_insns)
	(arc_num_relaxable_ins): New variable.
	(rlx_operand_type, arc_rlx_types): New enums.
	(arc_relaxable_ins): New structure.
        (OPTION_RELAX): New option.
        (arc_insn): New relax member.
        (arc_flags): Remove.
        (relax_insn_p): New function.
        (apply_fixups): Likewise.
        (relaxable_operand): Likewise.
        (may_relax_expr): Likewise.
        (relaxable_flag): Likewise.
        (arc_pcrel_adjust): Likewise.
        (md_estimate_size_before_relax): Implement.
        (md_convert_frag): Likewise.
        (md_parse_option): Handle new mrelax option.
        (md_show_usage): Likewise.
        (assemble_insn): Set relax member.
        (emit_insn0): New function.
        (emit_insn1): Likewise.
        (emit_insn): Handle relaxation case.
	* NEWS: Mention the new relaxation option.
	* doc/c-arc.texi (ARC Options): Document new mrelax option.

gas/testsuite
2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>

        * gas/arc/relax-avoid1.d: New file.
        * gas/arc/relax-avoid1.s: Likewise.
        * gas/arc/relax-avoid2.d: Likewise.
        * gas/arc/relax-avoid2.s: Likewise.
        * gas/arc/relax-avoid3.d: Likewise.
        * gas/arc/relax-avoid3.s: Likewise.
	* gas/arc/relax-b.d: Likewise.
        * gas/arc/relax-b.s: Likewise.

include/opcode/
2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
	    Janek van Oirschot  <jvanoirs@synopsys.com>

        * arc.h (arc_opcode arc_relax_opcodes, arc_num_relax_opcodes):
        Declare.

opcodes/
2016-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
	    Janek van Oirschot  <jvanoirs@synopsys.com>

        * arc-opc.c (arc_relax_opcodes, arc_num_relax_opcodes): New
        variable.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Correct assertion in NIOS2 linker to allow signed 16-buit immediate values.
@ 2016-02-10 11:38 sergiodj+buildbot
  2016-02-10 19:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-10 11:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 83da6e748c8f105f07e17f53aa6b99ed7867ff5f ***

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

Correct assertion in NIOS2 linker to allow signed 16-buit immediate values.

	PR 19405
	* elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed
	immediate values.
	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the
	number of messages about FDE encoding preventing .eh_frame_hdr
	generation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Update NEWS post GDB 7.11 branch creation.
@ 2016-02-10  4:06 sergiodj+buildbot
  2016-02-10 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-10  4:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1233c0bae644451922bda07d03f1a66f3439dd20 ***

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

Update NEWS post GDB 7.11 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] 2223+ messages in thread
* [binutils-gdb] python/19506 -- gdb.Breakpoint address location regression
@ 2016-02-09 22:56 sergiodj+buildbot
  2016-02-10  1:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 22:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f61929fd82fb632ee7c3be883d7086afc5c65d0 ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 9f61929fd82fb632ee7c3be883d7086afc5c65d0

python/19506 -- gdb.Breakpoint address location regression

Now that "legacy" linespecs benefit from consolidated support in
string_to_event_location_basic, python's Breakpoint command should use this
function to turn strings into event locations.

As a result, this patch fixes python/19506. Before:

(gdb) python gdb.Breakpoint("*main")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
RuntimeError: Function "*main" not defined.
Error while executing Python code.

After:

(gdb) python gdb.Breakpoint("*main")
Breakpoint 1 at 0x4005fb: file ../../../src/gdb/testsuite/gdb.python/py-breakpoint.c, line 32.

gdb/ChangeLog

	PR python/19506
	* python/py-breakpoint.c (bppy_init): Use
	string_to_event_location_basic instead of new_linespec_location.

gdb/testsuite/ChangeLog

	PR python/19506
	* gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
	(toplevel): Call test_bkpt_address.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix compile time warnings building the binutils with a gcc6 compiler.
@ 2016-02-09 16:46 sergiodj+buildbot
  2016-02-09 21:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 609332f15cc2ad651d0ebd573010595a4593e89a ***

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

Fix compile time warnings building the binutils with a gcc6 compiler.

include	* opcode/metag.h (metag_scondtab): Mark as possibly unused.
	* opcode/nds32.h (nds32_r45map): Likewise.
	(nds32_r54map): Likewise.
	* opcode/visium.h (gen_reg_table): Likewise.
	(fp_reg_table, cc_table, opcode_table): Likewise.

bfd	* oasys.c (oasys_archive_p): Fix indentation.
	* elf32-nds32.c (nds32_elf_relax_section): Use an unsigned
	constant for left shifting.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add a more helpful warning message to explain why some AArch64 relocations can overflow.
@ 2016-02-09 11:06 sergiodj+buildbot
  2016-02-09 16:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 027e9c750c20fe8031a2b6d6272cd57bbf445df5 ***

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

Add a more helpful warning message to explain why some AArch64 relocations can overflow.

bfd	* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
	helpful warning message to explain why certain AArch64 relocs
	might overflow.

ld	* testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
	* testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
	* testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Revert "Fix build breakage"
@ 2016-02-09 10:57 sergiodj+buildbot
  2016-02-09 14:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 10:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: c23bbc1cdae6149de4175a75aa9bf9bcbc936fa4

Revert "Fix build breakage"

This reverts commit 222cab58b7ed37df6e01dacb0932f400a2588137.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add a more helpful warning message to explain why some AArch64 relocations can overflow.
@ 2016-02-09 10:10 sergiodj+buildbot
  2016-02-09 10:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ea53e003163338a403d5afbb2046cafb8f3abe9 ***

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

Add a more helpful warning message to explain why some AArch64 relocations can overflow.

bfd	* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
	helpful warning message to explain why certain AArch64 relocs
	might overflow.

ld	* testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
	* testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
	* testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Always organize test artifacts in a directory hierarchy
@ 2016-02-08 19:40 sergiodj+buildbot
  2016-02-08 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-08 19:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2151ccc56c74b55a8f0debf0724a495368f92591 ***

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

Always organize test artifacts in a directory hierarchy

When running tests in parallel, each test puts its generated files in a
different directory, under "outputs".  I think it would be nice if it
was always the case, as it would isolate the test cases a bit more.  An
artifact created by a test wouldn't get overwritten by another test.

Also, it makes it easier to clean up.  A lot of executables are left all
over the place because their names do not appear in gdb.*/Makefile.  If
everything is in "outputs", then we just have to delete that directory
(which we already do).

At the same time it makes the gdb.foo directories and their Makefiles
useless in the build directory, since they are pretty much only used for
cleaning.

What do you think?

gdb/testsuite/ChangeLog:

	* Makefile.in (ALL_SUBDIRS): Remove.
	(clean mostlyclean): Do not recurse in ALL_SUBDIRS.
	(distclean maintainer-clean realclean): Likewise.
	* configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
	* configure: Regenerate.
	* gdb.ada/Makefile.in: Delete.
	* gdb.arch/Makefile.in: Likewise.
	* gdb.asm/Makefile.in: Likewise.
	* gdb.base/Makefile.in: Likewise.
	* gdb.btrace/Makefile.in: Likewise.
	* gdb.cell/Makefile.in: Likewise.
	* gdb.compile/Makefile.in: Likewise.
	* gdb.cp/Makefile.in: Likewise.
	* gdb.disasm/Makefile.in: Likewise.
	* gdb.dlang/Makefile.in: Likewise.
	* gdb.dwarf2/Makefile.in: Likewise.
	* gdb.fortran/Makefile.in: Likewise.
	* gdb.gdb/Makefile.in: Likewise.
	* gdb.go/Makefile.in: Likewise.
	* gdb.guile/Makefile.in: Likewise.
	* gdb.java/Makefile.in: Likewise.
	* gdb.linespec/Makefile.in: Likewise.
	* gdb.mi/Makefile.in: Likewise.
	* gdb.modula2/Makefile.in: Likewise.
	* gdb.multi/Makefile.in: Likewise.
	* gdb.objc/Makefile.in: Likewise.
	* gdb.opencl/Makefile.in: Likewise.
	* gdb.opt/Makefile.in: Likewise.
	* gdb.pascal/Makefile.in: Likewise.
	* gdb.perf/Makefile.in: Likewise.
	* gdb.python/Makefile.in: Likewise.
	* gdb.reverse/Makefile.in: Likewise.
	* gdb.server/Makefile.in: Likewise.
	* gdb.stabs/Makefile.in: Likewise.
	* gdb.threads/Makefile.in: Likewise.
	* gdb.trace/Makefile.in: Likewise.
	* gdb.xml/Makefile.in: Likewise.
	* lib/gdb.exp (make_gdb_parallel_path): Add check for
	GDB_PARALLEL.
	(standard_output_file): Remove check for GDB_PARALLEL, always
	return path in outputs/$subdir/$testname.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix in-tree, parallel running of Ada tests
@ 2016-02-08 19:12 sergiodj+buildbot
  2016-02-08 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-08 19:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 437277d47a15711f29e02e5265ce8bbb8c8ef4f5 ***

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

Fix in-tree, parallel running of Ada tests

While testing the following patch,

  [PATCH] Always organize test artifacts in a directory hierarchy
  https://sourceware.org/ml/gdb-patches/2016-01/msg00133.html

I noticed that it broke Ada testing.  This lead me to think that
parallel testing when building in-tree didn't work previously in Ada.
It is confirmed by this test:

$ make check TESTS="gdb.ada/fun_addr.exp" -j 2
...
Running ./gdb.ada/fun_addr.exp ...
FAIL: gdb.ada/fun_addr.exp: compilation foo.adb
...

This patch fixes in-tree parallel testing for Ada, and consequently
serial and parallel testing when the aforementioned patch is applied.

The problem originates from the fact that Ada support code cd's to the
builddir before compiling.  In itself it's not a problem, it allows to
place intermediate auto-generated files in that directory.  The Ada
compilation refers to the source file, which is in another directory,
only by its base name (e.g. foo.adb).  In serial mode, that worked
because builddir was the same as the source directory (e.g.
gdb.ada/fun_addr/).  In an out-of-tree build, it works because the
source directory is added as an include directory (note: this is not the
same $srcdir as autoconf's):

  set srcdir [file dirname $source]
  additional_flags=-I$srcdir

which becomes:

  additional_flags=-I/home/emaisin/build/binutils-gdb/gdb/testsuite/gdb.ada/fun_addr

However, when building in-tree, srcdir is relative: ./gdb.ada/fun_addr.
When using parallel or always-in-outputs-directory mode, we are cd'ed in
the outputs directory.  So -I$srcdir is relative to the current
directory, which is wrong.

To fix it, I made the TCL variable srcdir (set in site.exp, from which
everything else is derived) always absolute.  It is done by assigning
autoconf's abs_srcdir instead of autoconf's srcdir.  This way -I$srcdir
will always be good, regardless of where we cd'ed to.  A small apparent
change is that when running tests, DejaGnu will say:

  Running /tmp/binutils-gdb/gdb/testsuite/gdb.ada/fun_addr.exp ...

instead of

  Running ./gdb.ada/fun_addr.exp ...

I hope it's not too much of an annoyance.  I think that it should make
the testsuite a tiny bit more robust against other bugs of the same
class.

Regtested in & out of tree, only with native target.

gdb/testsuite/ChangeLog:

	* Makefile.in (abs_srcdir): Assign @abs_srcdir@.
	(site.exp): Assign abs_srcdir to tcl's srcdir.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] varobj: Cleanup dead code
@ 2016-02-07 14:56 sergiodj+buildbot
  2016-02-07 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-07 14:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30914ca8c030eedc4a7e1f1acc878211639cc1ca ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 30914ca8c030eedc4a7e1f1acc878211639cc1ca

varobj: Cleanup dead code

This patch removes some dead code.

I noticed that varobj_delete was always called with dellist == NULL, so
I started removing that parameter.  That allows removing a good chunk of
the code in varobj_delete, making it almost trivial.  We can also remove
the resultp parameters in that whole trail.  In turn, this shows that
struct cpstack, cppush and cppop were only used fo that mechanism, so
they can be removed as well.

I also moved the function comment to the header file to comply with
today's guideline, even though the rest of the file does not respect it
(yet).

gdb/ChangeLog:

	* varobj.h (varobj_delete): Remove dellist parameter, update and
	move documentation here.
	* varobj.c (struct cpstack, cppush, cppop): Remove.
	(delete_variable): Remove resultp (first) parameter.
	(delete_variable_1): Likewise.
	(varobj_delete): Remove dellist parameter and unused code.
	(update_dynamic_varobj_children): Adjust varobj_delete call.
	(update_type_if_necessary): Likewise.
	(varobj_set_visualizer): Likewise.
	(varobj_update): Likewise.
	(value_of_root): Likewise.
	(varobj_invalidate_iter): Likewise.
	* mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: fix prog_bfd usage
@ 2016-02-06  1:39 sergiodj+buildbot
  2016-02-06  2:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-06  1:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1554f758410c4307103120424d35050e88433d85 ***

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

sim: mips: fix prog_bfd usage

We do not want to reference the "base" member directly.  We have the
STATE_PROG_BFD macro instead to look up the prog_bfd member.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix formatting of pe-mips.c file.
@ 2016-02-05 10:26 sergiodj+buildbot
  2016-02-05 11:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-05 10:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f57d0469ae5e73643aa5ef96a10e6bae7a79a15 ***

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

Fix formatting of pe-mips.c file.

	* pe-mips.c (coff_mips_reloc): Fix formatting.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Change the default architecture value for ARC bfds so that they have the lowest possible value, and hence can be merged with other ARC binaries wihtout changing their architecture value.
@ 2016-02-05 10:11 sergiodj+buildbot
  2016-02-05 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-05 10:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdbca4e6f805c73796c14c79102a8f1ea541d633 ***

Author: Cupertino Miranda <Cupertino.Miranda@synopsys.com>
Branch: master
Commit: bdbca4e6f805c73796c14c79102a8f1ea541d633

Change the default architecture value for ARC bfds so that they have the lowest possible value, and hence can be merged with other ARC binaries wihtout changing their architecture value.

bfd	* cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
	to bfd_mach_arc_arc600.

binutils * testsuite/binutils-all/objdump.exp: Update expected default
	architecture value for ARC binaries.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [testsuite] Remove BASEDIR
@ 2016-02-04 15:57 sergiodj+buildbot
  2016-02-04 17:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-04 15:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 31d913c7e4e84edf88b4324c3a9a8fb31c8206ec ***

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

[testsuite] Remove BASEDIR

BASEDIR was added by https://sourceware.org/ml/gdb-patches/2013-10/msg00587.html
in order to handle the different directory layout in serial testing
and parallel testing.  BASEDIR is "gdb.base" in serial testing and is
"outputs/gdb.base/TESTNAME" in parallel testing.  However, it doesn't
work if the GDBserver is in remote target, like this,

$ make check RUNTESTFLAGS='--target_board=remote-gdbserver-on-localhost foll-vfork.exp foll-exec.exp'
FAIL: gdb.base/foll-exec.exp: continue to first exec catchpoint (the program exited)
FAIL: gdb.base/foll-vfork.exp: exec: vfork and exec child follow, to main bp: continue to bp (the program exited)
FAIL: gdb.base/foll-vfork.exp: exec: vfork child follow, finish after tcatch vfork: finish (the program exited)
FAIL: gdb.base/foll-vfork.exp: exec: vfork relations in info inferiors: continue to bp (the program exited)

these tests fail because the executable can't be found.  With target
board native-gdbserver, the program is spawned this way,

 spawn ../gdbserver/gdbserver --once :2347 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/gdb.base/foll-vfork

so BASEDIR is correct.  However, with target board
remote-gdbserver-on-localhost, the program is spawned

  spawn /usr/bin/ssh -l yao localhost /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/../gdbserver/gdbserver --once :2346 /scratch/yao/gdb/build-git/x86_64/gdb/testsuite/gdb.base/foll-vfork

so BASEDIR (either "gdb.base" or "outputs/gdb.base/TESTNAME") makes no
sense.

I had a fix that pass absolute directory to BASEDIR, but it assumes
that directory structure is the same on build and target, and it
doesn't work in remote host case.  The current fix in this patch is
to get the directory from argv[0].  In any case, the program to be
exec'ed is at the same directory with the main program.

Note that these tests do "next N" to let program stop at the desired
line, but it is fragile, because GDB for different targets may skip
function prologue slightly differently, so I replace some of them by
"tbreak on LINE NUMBER and continue".

gdb/testsuite:

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

	* gdb.base/foll-exec-mode.c: Include limits.h.
	(main): Add parameters argc and argv.  Get directory from
	argv[0].
	* gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
	compilation.
	* gdb.base/foll-exec.c: Include limits.h.
	(main): Add parameters argc and argv.
	Get directory from argv[0].
	* gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
	Adjust tests on the number of lines as source code changed.
	* gdb.base/foll-vfork-exit.c: Include limits.h.
	(main): Add one line of statement before vfork.
	* gdb.base/foll-vfork.c: Include limits.h and string.h.
	(main): Add parameters argc and argv.  Get directory from
	argv[0].
	* gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
	(setup_gdb): Set tbreak to skip some source lines.
	* gdb.multi/bkpt-multi-exec.c: Include limits.h.
	(main): Add parameters argc and argv.  Get directory from
	argv[0].
	* gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
	compilation.
	* gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
	(main): Add parameters argc and argv.  Get directory from
	argv[0].
	* gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
	compilation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix the encoding of the MSP430's RRUX instruction.
@ 2016-02-04 10:06 sergiodj+buildbot
  2016-02-04 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-04 10:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1d9289fef41b82aa22f63f74aa8e730ec898d3c ***

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

Fix the encoding of the MSP430's RRUX instruction.

	PR target/19561
opcdoe	* msp430-dis.c (print_insn_msp430): Add a special case for
	decoding an RRC instruction with the ZC bit set in the extension
	word.

include	* opcode/msp430.h (IGNORE_CARRY_BIT): New define.
	(RRUX): Synthesise using case 2 rather than 7.

gas	* config/tc-msp430.c (msp430_operands): Remove case 7.  Use case 2
	to handle encoding of RRUX instruction.
	* testsuite/gas/msp430/msp430x.s: Add more tests of the extended
	shift instructions.
	* testsuite/gas/msp430/msp430x.d: Update expected disassembly.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MAINTAINERS: Add Thiemo Seufer back, as a past maintainer
@ 2016-02-03 22:03 sergiodj+buildbot
  2016-02-03 22:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-03 22:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b8f2c8bcf7c6bf1339aa3c3f2d6f129b7878052 ***

Author: Maciej W. Rozycki <macro@linux-mips.org>
Branch: master
Commit: 3b8f2c8bcf7c6bf1339aa3c3f2d6f129b7878052

MAINTAINERS: Add Thiemo Seufer back, as a past maintainer

Complement commit 26e0f8dbd817 ("* MAINTAINERS: Remove Thiemo Seufer.").

	* MAINTAINERS (Past sim maintainers): Add Thiemo Seufer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix typos in bfd/ChangeLog and bfd/elf64-x86-64.c
@ 2016-02-02 21:21 sergiodj+buildbot
  2016-02-03  0:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 21:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb06f1c0f25d27006b28a94e54273a6bb35b5926 ***

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

Fix typos in bfd/ChangeLog and bfd/elf64-x86-64.c


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Adaptation of siginfo fixup for the new bnd fields
@ 2016-02-02 12:26 sergiodj+buildbot
  2016-02-02 16:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f2f6cb5e8922b680de9d67ad83d3b571d3b2a46 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 3f2f6cb5e8922b680de9d67ad83d3b571d3b2a46

Adaptation of siginfo fixup for the new bnd fields

New bnds fields will be always present for x86 architecture.
Fixup for compatibility layer 32bits has to be fixed.

It was added the nat_siginfo to serving as intermediate step
between kernel provided siginfo and the fix up routine.

When executing compat_siginfo_from_siginfo or
compat_x32_siginfo_from_siginfo first the buffer read from the kernel are
converted into the nat_signfo for homogenization, then the fields of
nat_siginfo are use to set the compat and compat_x32 siginfo fields.

In other to make this conversion independent of the system where gdb
is compiled the most complete version of the siginfo, named as native
siginfo, is used internally as an intermediate step.

Conversion using nat_siginfo is exemplified below:

compat_siginfo_from_siginfo or compat_x32_siginfo_from_siginfo:

buffer (from the kernel) -> nat_siginfo -> 32 / X32 siginfo
                      (memcpy)       (field by field)

siginfo_from_compat_x32_siginfo or siginfo_from_compat_siginfo:

32 / X32 siginfo -> nat_siginfo -> buffer (to the kernel)
          (field by field)    (memcpy)

Caveat: No support for MPX on x32.

2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval):
	New types.
	(compat_siginfo): New bound fields added.
	(compat_x32_siginfo): New field added.
	(cpt_si_addr_lsb): New define.
	(compat_siginfo_from_siginfo): Use nat_siginfo.
	(siginfo_from_compat_siginfo): Use nat_siginfo.
	(compat_x32_siginfo_from_siginfo): Likewise.
	(siginfo_from_compat_x32_siginfo): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use linux_get_siginfo_type_with_fields for x86
@ 2016-02-02 11:13 sergiodj+buildbot
  2016-02-02 13:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 11:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 190b495d472576db66a8727d5872fcca3d5519c6 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 190b495d472576db66a8727d5872fcca3d5519c6

Use linux_get_siginfo_type_with_fields for x86

Use linux_get_siginfo_type_with_fields for adding bound fields on
segmentation fault for i386/amd64 siginfo.

2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern.
	* linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern.
	* i386-linux-tdep.h (x86_linux_get_siginfo_type): New
	function.
	* amd64-linux-tdep.c (amd64_linux_init_abi_common): Add
	x86_linux_get_siginfo_type for the amd64 abi.
	* i386-linux-tdep.c (x86_linux_get_siginfo_type): New
	function.
	(i386_linux_init_abi): Add new function at the i386 ABI
	initialization.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Merge gdb and gdbserver implementations for siginfo
@ 2016-02-02 10:56 sergiodj+buildbot
  2016-02-02 11:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 10:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93813b37c86a70fbd4d8c9d63f95cf8b87bbf425 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 93813b37c86a70fbd4d8c9d63f95cf8b87bbf425

Merge gdb and gdbserver implementations for siginfo

Extract the compatible siginfo handling from amd64-linux-nat.c and
gdbserver/linux-x86-low to a new file nat/amd64-linux-siginfo.c.

2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* nat/amd64-linux-siginfo.c: New file.
	* nat/amd64-linux-siginfo.h: New file.
	* Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h.
	(amd64-linux-siginfo.o): New rule.
	* config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o.
	* amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include.
	(compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
	(compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
	(compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
	(cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
	(cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
	(cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c.

gdb/gdbserver/ChangeLog:

	* configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o
	to srv_tgtobj.
	(i[34567]86-*-linux*): Add amd64-linux-siginfo.o
	to srv_tgtobj.
	* linux-x86-low.c [__x86_64__]: Include
	"nat/amd64-linux-siginfo.h".
	(compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
	(compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
	(compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
	(cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
	(cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
	(cpt_si_fd, si_timerid, si_overrun): Move from
	nat/amd64-linux-siginfo.c.
	* Makefile.in (amd64-linux-siginfo.o:): New rule.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: New set/show max-value-size command.
@ 2016-02-01 18:23 sergiodj+buildbot
  2016-02-01 18:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 18:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fdf6324fafd60f967e2e8323fdacf84b1bfcea3 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 5fdf6324fafd60f967e2e8323fdacf84b1bfcea3

gdb: New set/show max-value-size command.

For languages with dynamic types, an incorrect program, or uninitialised
variables within a program, could result in an incorrect, overly large
type being associated with a value.  Currently, attempting to print such
a variable will result in gdb trying to allocate an overly large buffer.

If this large memory allocation fails then the result can be gdb either
terminating, or (due to memory contention) becoming unresponsive for the
user.

A new user visible variable in gdb helps guard against such problems,
two new commands are available:

   set max-value-size
   show max-value-size

The 'max-value-size' is the maximum size of memory in bytes that gdb
will allocate for the contents of a value.  Any attempt to allocate a
value with a size greater than this will result in an error.  The
initial default for this limit is set at 64k, this is based on a similar
limit that exists within the ada specific code.

It is possible for the user to set max-value-size to unlimited, in which
case the old behaviour is restored.

gdb/ChangeLog:

	* value.c (max_value_size): New variable.
	(MIN_VALUE_FOR_MAX_VALUE_SIZE): New define.
	(show_max_value_size): New function.
	(check_type_length_before_alloc): New function.
	(allocate_value_contents): Call check_type_length_before_alloc.
	(set_value_enclosing_type): Likewise.
	(_initialize_values): Add set/show handler for max-value-size.
	* NEWS: Mention new set/show command.

gdb/doc/ChangeLog:

	* gdb.texinfo (Value Sizes): New section.
	(Data): Add the 'Value Sizes' node to the menu.

gdb/testsuite/ChangeLog:

	* gdb.base/max-value-size.c: New file.
	* gdb.base/max-value-size.exp: New file.
	* gdb.base/huge.exp: Disable max-value-size for this test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] x86 synthetic plt symbols
@ 2016-02-01 11:43 sergiodj+buildbot
  2016-02-01 13:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 11:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec1f73bb0be7482f2dffd9bbca2f93fc74eca172 ***

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

x86 synthetic plt symbols

Changing "pushq $1" in the following to "pushq $too_big" results in an
abort.  BFD shouldn't abort on (deliberately) bad user input.

 400480:       ff 25 9a 0b 20 00       jmpq   *0x200b9a(%rip)
 400486:       68 01 00 00 00          pushq  $0x1
 40048b:       e9 d0 ff ff ff          jmpq   400460 <_init+0x20>

	* elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
	an out of range reloc_index.
	* elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix NetBSD build with BSD and GNU make(1).
@ 2016-02-01 10:48 sergiodj+buildbot
  2016-02-01 11:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b6471e6e2c88ae473453e3499d9cb6a607a3e068 ***

Author: Kamil Rytarowski <n54@gmx.com>
Branch: master
Commit: b6471e6e2c88ae473453e3499d9cb6a607a3e068

Fix NetBSD build with BSD and GNU make(1).

	* Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo.
	(OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c.
	* Makefile.in: Regenerated.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] elf64-s390.c: Fix -Werror=misleading-indentation
@ 2016-02-01  3:01 sergiodj+buildbot
  2016-02-01  3:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-02-01  3:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bc7245a3a6da700ed13bace22cdc157dc80f58d ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 0bc7245a3a6da700ed13bace22cdc157dc80f58d

elf64-s390.c: Fix -Werror=misleading-indentation

../../bfd/elf64-s390.c: In function 'elf_s390_reloc_name_lookup':
../../bfd/elf64-s390.c:340:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
     if (strcasecmp (elf64_s390_vtinherit_howto.name, r_name) == 0)
     ^~
../../bfd/elf64-s390.c:333:3: note: ...this 'for' clause, but it is not
   for (i = 0;
   ^~~

bfd/
	* elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix /usr/bin/ld: final link failed: File truncated error on hppa.
@ 2016-01-31 20:38 sergiodj+buildbot
  2016-01-31 21:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-31 20:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d4b2867f8441c7bf75dfef6b3c95a10241f9709 ***

Author: John David Anglin <danglin@gcc.gnu.org>
Branch: master
Commit: 6d4b2867f8441c7bf75dfef6b3c95a10241f9709

Fix /usr/bin/ld: final link failed: File truncated error on hppa.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Check reloc against IFUNC symbol only with dynamic symbols
@ 2016-01-31  0:17 sergiodj+buildbot
  2016-01-31  0:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-31  0:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9e3b590692e62d83c21e39ec6641c4c09e70e4c ***

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

Check reloc against IFUNC symbol only with dynamic symbols

There is no need to check relocation IFUNC symbol if there are no
dynamic symbols.

bfd/

	PR ld/19539
	* elf32-i386.c (elf_i386_reloc_type_class): Check relocation
	against STT_GNU_IFUNC symbol only with dynamic symbols.
	* elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.

ld/

	PR ld/19539
	* testsuite/ld-elf/pr19539.d: New file.
	* testsuite/ld-elf/pr19539.s: Likewise.
	* testsuite/ld-elf/pr19539.t: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix two misleading indentation warnings
@ 2016-01-29 20:45 sergiodj+buildbot
  2016-01-29 21:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-29 20:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2e3e93f4423899d99687da3ce4ac57cbed437f9 ***

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

Fix two misleading indentation warnings

Two small changes so everything builds with latest GCC and its
-Wmisleading-indentation.

In the aarch64-tdep.c case, the two misindented lines should actually be
part of the for loop.  It looks like the indentation is all done using
spaces in that file though...  I fixed it (changed for tabs + spaces) for
the lines I touched.

In the xcoffread.c case, we can simply remove the braces and fix the
indentation.

gdb/ChangeLog:

	* aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
	to for include additional lines.
	* xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Set BFD_DECOMPRESS to decompress debug sections
@ 2016-01-28 21:41 sergiodj+buildbot
  2016-01-29  0:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 21:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed ***

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

Set BFD_DECOMPRESS to decompress debug sections

We should set BFD_DECOMPRESS to decompress debug sections when reading in
DWARF debug sections.

bfd/

	PR binutils/19523
	* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
	decompress debug sections.

binutils/

	PR binutils/19523
	* Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
	runtest.
	* Makefile.in: Regenerated.
	* testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
	proc.
	Run test_gnu_debuglink for native ELF build.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Sync libiberty with GCC.
@ 2016-01-28 21:00 sergiodj+buildbot
  2016-01-28 21:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d98de835cb018419e0ef97db37fcf9061247750 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 9d98de835cb018419e0ef97db37fcf9061247750

Sync libiberty with GCC.

libiberty/ChangeLog:
	* d-demangle.c (dlang_call_convention): Handle extern Objective-C
	function calling convention.
	(dlang_call_convention_p): Likewise.
	(dlang_type): Likewise.
	* testsuite/d-demangle-expected: Add coverage tests.

	* d-demangle.c (dlang_function_args): Append ',' for variadic functions
	only if parameters were seen before the elipsis symbol.
	* testsuite/d-demangle-expected: Add coverage test for parameter-less
	variadic functions.

	* d-demangle.c (dlang_type): Handle function types only in the context
	of seeing a pointer type symbol.
	* testsuite/d-demangle-expected: Update function pointer tests.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Import strchrnul from gnulib and use it
@ 2016-01-28 15:47 sergiodj+buildbot
  2016-01-28 17:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 15:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8424cc978c8c76aca7945d50408762de65646095 ***

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

Import strchrnul from gnulib and use it

For a forthcoming patch, I need a "skip_to_colon" function.  I noticed
there are two skip_to_semicolon (one in gdb and one in gdbserver). I
thought we could put it in common/, and generalize it for any character.
It turns out that the strchrnul function does exactly that.  I imported
the corresponding module from gnulib, for those systems that do not have
it.

There are probably more places where this function can be used instead
of doing the work by hand (I am looking at
remote-utils.c::look_up_one_symbol).

gdb/ChangeLog:

	* remote.c (skip_to_semicolon): Remove.
	(remote_parse_stop_reply): Use strchrnul instead of
	skip_to_semicolon.
	* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
	strchrnul.
	* gnulib/aclocal.m4: Regenerate.
	* gnulib/config.in: Regenerate.
	* gnulib/configure: Regenerate.
	* gnulib/import/Makefile.am: Regenerate.
	* gnulib/import/Makefile.in: Regenerate.
	* gnulib/import/m4/gnulib-cache.m4: Regenerate.
	* gnulib/import/m4/gnulib-comp.m4: Regenerate.
	* gnulib/import/m4/rawmemchr.m4: New file.
	* gnulib/import/m4/strchrnul.m4: New file.
	* gnulib/import/rawmemchr.c: New file.
	* gnulib/import/rawmemchr.valgrind: New file.
	* gnulib/import/strchrnul.c: New file.
	* gnulib/import/strchrnul.valgrind: New file.

gdb/gdbserver/ChangeLog:

	* server.c (skip_to_semicolon):  Remove.
	(process_point_options): Use strchrnul instead of
	skip_to_semicolon.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix GDB crash in dprintf.exp
@ 2016-01-28 14:27 sergiodj+buildbot
  2016-01-28 14:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 14:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a6a1ed4a113d386b131938bbc7d66e7b495e73f ***

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

Fix GDB crash in dprintf.exp

I see GDB crashes in dprintf.exp on aarch64-linux testing,

(gdb) PASS: gdb.base/dprintf.exp: agent: break 29
set dprintf-style agent^M
(gdb) PASS: gdb.base/dprintf.exp: agent: set dprintf style to agent
continue^M
Continuing.
ASAN:SIGSEGV
=================================================================
==22475==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x000000494820 sp 0x7fff389b83a0 bp 0x62d000082417 T0)
    #0 0x49481f in remote_add_target_side_commands /home/yao/SourceCode/gnu/gdb/git/gdb/remote.c:9190^M
    #1 0x49e576 in remote_add_target_side_commands /home/yao/SourceCode/gnu/gdb/git/gdb/remote.c:9174^M
    #2 0x49e576 in remote_insert_breakpoint /home/yao/SourceCode/gnu/gdb/git/gdb/remote.c:9240^M
    #3 0x5278b7 in insert_bp_location /home/yao/SourceCode/gnu/gdb/git/gdb/breakpoint.c:2734^M
    #4 0x52ac09 in insert_breakpoint_locations /home/yao/SourceCode/gnu/gdb/git/gdb/breakpoint.c:3159^M
    #5 0x52ac09 in update_global_location_list /home/yao/SourceCode/gnu/gdb/git/gdb/breakpoint.c:12686

the root cause of this problem in this case is about linespec and
symtab which produces additional incorrect location and a NULL is added to
bp_tgt->tcommands.  I posted a patch
https://sourceware.org/ml/gdb-patches/2015-12/msg00321.html to fix it
in linespec (the fix causes regression), but GDB still shouldn't add
NULL into bp_tgt->tcommands.  The logic of build_target_command_list
looks odd to me.  If we get something wrong in parse_cmd_to_aexpr (it
returns NULL), we shouldn't continue, instead we should set flag
null_command_or_parse_error.  This is what this patch does.  In the
meantime, we find build_target_condition_list has the same problem, so
fix it too.

gdb:

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

	* breakpoint.c (build_target_command_list): Don't call continue
	if aexpr is NULL.
	(build_target_condition_list): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] rx: Treat scalars larger than 8 bytes as aggregates in rx_push_dummy_call.
@ 2016-01-27 19:48 sergiodj+buildbot
  2016-01-27 20:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-27 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 94715c179098ab86bf188fae4a32e2283c5f173f ***

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

rx: Treat scalars larger than 8 bytes as aggregates in rx_push_dummy_call.

This patch fixes the following failures (which are also GDB internal errors)
for the -m64bit-doubles multilib:

FAIL: gdb.base/callfuncs.exp: p t_double_complex_values(dc1, dc2) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_double_complex_values(dc3, dc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_values(ldc1, ldc2) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_values(ldc3, ldc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_values(dc1, dc2) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_values(dc3, dc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_double_complex_many_args(dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1, dc1) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_values(ldc1, ldc2) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_values(ldc3, ldc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4) (GDB internal error)
FAIL: gdb.base/callfuncs.exp: noproto: p t_long_double_complex_many_args(ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1,ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1, ldc1) (GDB internal error)
FAIL: gdb.base/varargs.exp: print find_max_double_real(4, dc1, dc2, dc3, dc4) (GDB internal error)
FAIL: gdb.base/varargs.exp: print find_max_long_double_real(4, ldc1, ldc2, ldc3, ldc4) (GDB internal error)

The assertion failure which is tripped is:

		  gdb_assert (arg_size <= 4);

While it may seem that the patch ought to disallow scalars larger than
4, scalars of size 8 are explicitly handled by the code elsewhere.

This came up because gcc has a complex type that is 16 bytes in length
when 64-bit doubles are used.

gdb/ChangeLog:

	* rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8
	bytes as aggregates.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix function comments
@ 2016-01-26 21:41 sergiodj+buildbot
  2016-01-26 22:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-26 21:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41548caa9b7ffba43e856bd288b98cc1ab8c3e8f ***

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

Fix function comments

Two obvious fixes.

gdb/ChangeLog:

	* common/common-utils.c (skip_spaces): Fix comment.
	(skip_to_space_const): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [GDBserver] Use regcache_read_pc in install_software_single_step_breakpoints
@ 2016-01-26 14:40 sergiodj+buildbot
  2016-01-26 17:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-26 14:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d80209703ec2fc85e0a4b3d4d23e7ed448987aca ***

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

[GDBserver] Use regcache_read_pc in install_software_single_step_breakpoints

In install_software_single_step_breakpoints, we've got the regcache
of current_thread, so we don't have to bother get_pc to get pc,
instead we can get pc from regcache directly.  Note that the callers
of install_software_single_step_breakpoints have already switched
current_thread to LWP.

Since the pc is got from regcache_read_pc, in the next patch, we can
get pc inside the implementation of *the_low_target.get_next_pcs and
stop passing pc to *the_low_target.get_next_pcs.

gdb/gdbserver:

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

	* linux-low.c (install_software_single_step_breakpoints): Call
	regcache_read_pc instead of get_pc.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [GDBserver] Block and unblock SIGIO
@ 2016-01-26 14:13 sergiodj+buildbot
  2016-01-26 15:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-26 14:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b2073398477b33d425b0570236fe4e4222fe2c4 ***

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

[GDBserver] Block and unblock SIGIO

Nowadays, GDBserver disables async io (by ignoring SIGIO) when process
a serial event, and enables async io (by installing signal handler) when
resume the inferior and wait.  GDBserver may miss SIGIO (by interrupt)
and doesn't process SIGIO in time, which is shown by
gdb.base/interrupt-noterm.exp.  In the test, GDB sends "continue &" and
then "interrupt".  if '\003' arrives at a period between GDBserver
receives vCont;c and enables async io, SIGIO is ignored because signal
handler isn't installed.  GDBserver waits for the inferior and can not
notice '\003' until it returns from wait.

This patch changes the code to install SIGIO handler early, but block
and unblock SIGIO as needed.  In this way, we don't remove SIGIO
handler, so SIGIO can't be ignored.  However, GDBserver needs to
remove the signal handler when connection is closed.

gdb/gdbserver:

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

	* remote-utils.c (remote_close) [!USE_WIN32API]: Ignore SIGIO.
	(unblock_async_io): Rename to ...
	(block_unblock_async_io): ... it.  New function.
	(enable_async_io): Don't install SIGIO handler.  Unblock it
	instead.
	(disable_async_io): Don't ignore SIGIO.  Block it instead.
	(initialize_async_io): Install SIGIO handler.  Don't call
	unblock_async_io.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <a579cd9aa8c57c8a54833f26452a1afef38e5d20@gdb-build>]
* [binutils-gdb] Remove new_thread_notify and dead_thread_notify
@ 2016-01-25 16:27 sergiodj+buildbot
  2016-01-25 21:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 16:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0f8e08a3c357ae24d3244940e1c6b405a0c17cc ***

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

Remove new_thread_notify and dead_thread_notify

They were added by

  PATCH: Multithreaded debugging for gdbserver
  https://sourceware.org/ml/gdb-patches/2002-06/msg00157.html

but as a no-op, and the last usage of them was removed by

  [gdbserver/RFC/RFA] Implement multiprocess extensions, add linux multiproces support.
  https://sourceware.org/ml/gdb-patches/2009-03/msg00667.html

This patch is to remove them.

gdb/gdbserver:

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

	* remote-utils.c (new_thread_notify): Remove.
	(dead_thread_notify): Likewise.
	* remote-utils.h (new_thread_notify): Remove declaration.
	(dead_thread_notify): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ARC/BFD: Fix a build error from `index' shadowing a global declaration
@ 2016-01-25 16:18 sergiodj+buildbot
  2016-01-25 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 16:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 840855c5edfb840a97fb063fd8f44a7e9e537b87 ***

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

ARC/BFD: Fix a build error from `index' shadowing a global declaration

	bfd/
	* elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
	`dynindx'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [PATCH[ARM]Check mapping symbol while backward searching for IT block.
@ 2016-01-25 15:24 sergiodj+buildbot
  2016-01-25 18:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 15:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5bc5ae8810c03b55f46b9e575389c3fa85a62b5c ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 5bc5ae8810c03b55f46b9e575389c3fa85a62b5c

[PATCH[ARM]Check mapping symbol while backward searching for IT block.

opcodes/

	* arm-dis.c (mapping_symbol_for_insn): New function.
	(find_ifthen_state): Call mapping_symbol_for_insn().

gas/

	* testsuite/gas/arm/thumb2_it_search.d: New.
	* testsuite/gas/arm/thumb2_it_search.s: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR 19461: strange "info thread" behavior in non-stop
@ 2016-01-25 13:48 sergiodj+buildbot
  2016-01-25 16:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 13:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2077e254098828614ef6621cf8df28185e711d0 ***

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

Fix PR 19461: strange "info thread" behavior in non-stop

If you have "set follow-fork child" set, then if you do "info threads"
right after a fork, and before the child reports any other event to
GDB core, you'll see:

(gdb) info threads
  Id   Target Id         Frame
* 1.1  Thread 0x7ffff7fc1740 (LWP 31875) "fork-plus-threa" (running)
  2.1  process 31879 "fork-plus-threa" Selected thread is running.
(gdb)

The "Selected thread is running." bit is a bogus error.  That was GDB
trying to fetch the current frame of thread 2.1, because the external
runnning state is "stopped", and then throwing an error because the
thread is actually running.

This actually affects all-stop + schedule-multiple as well.

The problem here is that on a fork event, GDB doesn't update the
external parent/child running states.

New comprehensive test included.  The "kill inferior 1" / "kill
inferior 2" bits also trip on PR gdb/19494 (hang killing unfollowed
fork children), which was fixed by the previous patch.

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

	PR threads/19461
	* infrun.c (handle_inferior_event_1) <fork/vfork>: Update
	parent/child running states.

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

	PR threads/19461
	* gdb.base/fork-running-state.c: New file.
	* gdb.base/fork-running-state.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Move foreach_with_prefix to lib/gdb.exp
@ 2016-01-25 13:32 sergiodj+buildbot
  2016-01-25 14:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 13:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f1da4b11eef6dba04a1cfa579c6ba313718105b8 ***

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

Move foreach_with_prefix to lib/gdb.exp

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

	* gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
	Delete, moved to lib/gdb.exp.
	* gdb.threads/forking-threads-plus-breakpoint.exp
	(foreach_with_prefix): Likewise.
	* gdb.threads/process-dies-while-handling-bp.exp
	(foreach_with_prefix): Likewise.
	* lib/gdb.exp (foreach_with_prefix): New procedure.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add missing end-of-comment marker to previous delta. (Doh!)
@ 2016-01-25  9:54 sergiodj+buildbot
  2016-01-25 10:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25  9:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c244074cb684302be1378a072b33cdb8dd0dff1f ***

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

Add missing end-of-comment marker to previous delta.  (Doh!)


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix memory corruption on Mach-O systems by suppressing a memory tidy up.
@ 2016-01-25  9:41 sergiodj+buildbot
  2016-01-25  9:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-25  9:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf466c2ac5ac55bb9b30b96fbdcad564e8c1ccc8 ***

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

Fix memory corruption on Mach-O systems by suppressing a memory tidy up.

	PR target/19435
	* mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
	dsym filename buffer.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Simplify register index calculation in BZ16_REG_FIELD
@ 2016-01-24  1:27 sergiodj+buildbot
  2016-01-24  3:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-24  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eb6b0cf45d7588eb147d90ce790254309a69613e ***

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

MIPS/BFD: Simplify register index calculation in BZ16_REG_FIELD

Just mask higher bits off, which returns the same set of 3-bit register
encodings of { 0, 1, 2, 3, 4, 5, 6, 7 } for the allowed 5-bit encodings
of { 16, 17, 2, 3, 4, 5, 6, 7 }.  Input has already been validated with
OP16_VALID_REG.

	bfd/
	* elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/BFD: Correct register index calculation in BZ16_REG
@ 2016-01-24  1:16 sergiodj+buildbot
  2016-01-24  1:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-24  1:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e67f83e590b8ce7a9912f665aa559cbc98c05de6 ***

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

MIPS/BFD: Correct register index calculation in BZ16_REG

For the 3-bit register encodings of { 0, 1, 2, 3, 4, 5, 6, 7 } return
the 5-bit encodings of { 16, 17, 2, 3, 4, 5, 6, 7 } respectively rather
than { 24, 25, 2, 3, 4, 5, 6, 7 }.

	bfd/
	* elfxx-mips.c (BZ16_REG): Correct calculation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <dc29a1ce6a25233e608f90511e67af3c18e19a98@gdb-build>]
[parent not found: <cc5fd9abe4980e48e2cc27b0225f3c6ba7c0756b@gdb-build>]
* [binutils-gdb] testsuite: Fix PR threads/19422 regression + Guile regression
@ 2016-01-22 20:50 sergiodj+buildbot
  2016-01-22 21:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-22 20:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 31d765d3801c63a66312023181edb3af25c03598 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 31d765d3801c63a66312023181edb3af25c03598

testsuite: Fix PR threads/19422 regression + Guile regression

The PR threads/19422 patchset added a new regression.

Additionally below it there was already a regression if --with-guile (which is
default if Guile is found) was used.

racy case #1:

(xgdb) PASS: gdb.gdb/selftest.exp: Set xgdb_prompt
^M
Thread 1 "xgdb" received signal SIGINT, Interrupt.^M
0x00007ffff583bfdd in poll () from /lib64/libc.so.6^M
(gdb) FAIL: gdb.gdb/selftest.exp: send ^C to child process
signal SIGINT^M
Continuing with signal SIGINT.^M
^C^M
Thread 1 "xgdb" received signal SIGINT, Interrupt.^M
0x00007ffff5779da0 in sigprocmask () from /lib64/libc.so.6^M
(gdb) PASS: gdb.gdb/selftest.exp: send SIGINT signal to child process
backtrace^M
errstring=errstring@entry=0x7e0e6c "", mask=mask@entry=RETURN_MASK_ALL) at exceptions.c:240^M
errstring=errstring@entry=0x7e0e6c "", mask=mask@entry=RETURN_MASK_ALL) at exceptions.c:240^M
(gdb) PASS: gdb.gdb/selftest.exp: backtrace through signal handler

racy case #2:

(xgdb) PASS: gdb.gdb/selftest.exp: Set xgdb_prompt
^M
Thread 1 "xgdb" received signal SIGINT, Interrupt.^M
0x00007ffff583bfdd in poll () from /lib64/libc.so.6^M
(gdb) FAIL: gdb.gdb/selftest.exp: send ^C to child process
signal SIGINT^M
Continuing with signal SIGINT.^M
^C^M
Thread 2 "xgdb" received signal SIGINT, Interrupt.^M
[Switching to Thread 0x7ffff3b7f700 (LWP 13227)]^M
0x00007ffff6b88b10 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0^M
(gdb) PASS: gdb.gdb/selftest.exp: send SIGINT signal to child process
backtrace^M
(gdb) FAIL: gdb.gdb/selftest.exp: backtrace through signal handler

Pedro Alves:
Not all targets support thread names, and even those that do, not all
use the program name as default thread name -- I think that's only true
for GNU/Linux, actually.  So I think it's best to not expect that, like:
            -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" {

gdb/testsuite/ChangeLog
2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Fix testsuite compatibility with Guile.
	* gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
	(thread 1): New test for backtrace through signal handler.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Reword the string description of native FreeBSD ptids.
@ 2016-01-22 17:04 sergiodj+buildbot
  2016-01-22 17:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-22 17:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2bae2f79b11a87af3dbc2a6ca3c0c4987ecfbba ***

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

Reword the string description of native FreeBSD ptids.

The prior format led to confusing messages when threads were created
or added such as "[New process 14757, LWP 100537]".  The new format
reports this as "[New LWP 100434 of process 15652]".

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_pid_to_str): Adjust string format.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [testsuite] Unbuffer the output in gdb.base/multi-forks.c
@ 2016-01-22  9:39 sergiodj+buildbot
  2016-01-22 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-22  9:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ac78c044471fa65b952c2e5c47dcf4d0ccf9b79 ***

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

[testsuite] Unbuffer the output in gdb.base/multi-forks.c

This patch unbuffer the output of the program so that the test harness
can count the number of "done" from output correctly.

gdb/testsuite:

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

	PR testsuite/19491
	* gdb.base/multi-forks.c: Include
	../lib/unbuffer_output.c
	(main): Call gdb_unbuffer_output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] * breakpoint.c (init_breakpoint_sal): Add comment.
@ 2016-01-22  1:15 sergiodj+buildbot
  2016-01-22  2:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-22  1:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: b35a8b2f1f44c6ea48aeb6f7a74de01f6f5016fb

* breakpoint.c (init_breakpoint_sal): Add comment.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] * lib/ada.exp (gdb_compile_ada): Fix typo.
@ 2016-01-22  0:30 sergiodj+buildbot
  2016-01-22  1:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-22  0:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f5946a8630ec027d412ee078974f8d92e5ab3a0 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 4f5946a8630ec027d412ee078974f8d92e5ab3a0

* lib/ada.exp (gdb_compile_ada): Fix typo.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <f906b857015513af81f94db8e11b1e334c767def@gdb-build>]
* [binutils-gdb] Fix compile time errors building ARC target on a 32-bit host.
@ 2016-01-21 14:04 sergiodj+buildbot
  2016-01-21 20:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 14:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 23a42089156e63bbd2228675e78cdf1ffae63c51 ***

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

Fix compile time errors building ARC target on a 32-bit host.

	* elf32-arc.c (ADD_RELA): Fix compile time warning errors by
	changing the type of _loc to be bfd_byte *.
	(elf_arc_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Small cleanup to disasm.c:maybe_add_dis_line_entry
@ 2016-01-21 12:28 sergiodj+buildbot
  2016-01-21 19:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 12:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a099de2e7e5374d633ba0eab4273b6f5c81ba74 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 4a099de2e7e5374d633ba0eab4273b6f5c81ba74

gdb: Small cleanup to disasm.c:maybe_add_dis_line_entry

Give the function a better name (drop "maybe_") and update the header
comment.

gdb/ChangeLog:

	* disasm.c (maybe_add_dis_line_entry): Rename to...
	(add_dis_line_entry): ...this, and update header comment.
	(do_mixed_source_and_assembly): Now use add_dis_line_entry.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix unexpected failures in the linker testsuite for ARM VxWorks targets.
@ 2016-01-21 11:03 sergiodj+buildbot
  2016-01-21 16:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aebf9be7089c1903581740851ae9ae67ffee2f4b ***

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

Fix unexpected failures in the linker testsuite for ARM VxWorks targets.

	PR ld/19455
	* elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
	class of the linker stub bfd.
	(elf32_arm_check_relocs): Skip check for pic format after
	processing a vxWorks R_ARM_ABS12 reloc.
	* elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
	reporting a class mismatch.

	* testsuite/ld-arm/vxworks1-lib.dd: Update for current
	disassmebler output.
	* testsuite/ld-arm/vxworks1-lib.rd: Likewise.
	* testsuite/ld-arm/vxworks1.dd: Likewise.
	* testsuite/ld-arm/vxworks1.rd: Likewise.
	* testsuite/ld-arm/vxworks1.ld: Set the output format.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix sorting of enum values in FlagEnumerationPrinter
@ 2016-01-20 19:03 sergiodj+buildbot
  2016-01-20 20:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20 19:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f5dfff63f31511db45278f97dc22059325ec4d6 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5f5dfff63f31511db45278f97dc22059325ec4d6

Fix sorting of enum values in FlagEnumerationPrinter

The lambda function used to sort the enumerator list does not work
properly.  This list consists of tuples, (enum label, enum value).  The
key function returns x.enumval.  enumval not being defined for a tuple,
we see this exception in the test log:

  Python Exception <class 'AttributeError'> 'tuple' object has no attribute 'enumval'

The function should return the second item of the tuple, which is the
enumval.

The pretty-printer still worked mostly correctly, except that the
enumeration values were not sorted.  The test still passed because the
enumeration values are already sorted where they are defined.  The test
also passed despite the exception being printed, because the right output
was printed after the exception:

  print (enum flag_enum) (FLAG_1)
  Python Exception <type 'exceptions.AttributeError'> 'tuple' objecthas no attribute 'enumval':M
  $7 = 0x1 [FLAG_1]
  (gdb) PASS: gdb.python/py-pp-maint.exp: print FLAG_1

New in v2:

- Improved test case, I stole Pedro's example directly.  It verifies
  that the sorting of enumerators by value works, by checking that
  printing FOO_MASK appears as FOO_1 | FOO_2 | FOO_3.

  I noticed that I could change the regexps to almost anything and the
  tests would still pass.  I think it was because of the | in there.  I
  made them more robust by using string_to_regexp.  I used curly braces
  { } instead of quoting marks " " for strings, so that I could use
  square brackets [ ] in them without having to escape them all.  I also
  removed the "message" part of the tests, since they are redundant with
  the command, and it's just more maintenance to have to update them.

  Tested with Python 2.7 and 3.5.

gdb/ChangeLog:

	* python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
	Fix enumerators sort key function.

gdb/testsuite/ChangeLog:

	* gdb.python/py-pp-maint.exp: Change/add enum flag tests.
	* gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
	enum flag values.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gnu_vector.exp: Respect `should_kfail' for PR 8549
@ 2016-01-20 18:53 sergiodj+buildbot
  2016-01-20 19:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20 18:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fd356fa28834fa3a9f22f9157a568264ad045010 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: fd356fa28834fa3a9f22f9157a568264ad045010

gnu_vector.exp: Respect `should_kfail' for PR 8549

The gnu_vector test case yields a new FAIL on s390x:

  FAIL: gdb.base/gnu_vector.exp: verify vector return value

It was introduced by commit 77ae9c1933b50 "gdb.base/gnu_vector.exp:
Don't test output from the inferior".  That commit dropped the special
handling for GDB's inability (on some targets) to set the return value.

This change re-establishes the logic from before, converting the above
FAIL to a KFAIL (PRMS gdb/8549).

gdb/testsuite/ChangeLog:

	* gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
	when GDB can not set the vector return value.  Add more comments
	for clarification.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix missing IPA lib in tspeed.exp in some configurations.
@ 2016-01-20 17:40 sergiodj+buildbot
  2016-01-20 18:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20 17:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9df22175e153e1a8784afb85fc24983adf346171 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 9df22175e153e1a8784afb85fc24983adf346171

Fix missing IPA lib in tspeed.exp in some configurations.

On Ubuntu 14.04 the following failure would be seen when running the
tspeed.exp test on a target that supports fast tracepoints like x86_64:

Target returns error code '.In-process agent library not loaded in
process.  Fast and static tracepoints unavailable.'.
(gdb) FAIL: gdb.trace/tspeed.exp: start trace experiment

This is because the default is to link with --as-needed and the
gdb_compile for the test is using the libs argument instead of shlib which
corrects this issue since 6ebea266fd0a7a56c90db3ab6237ff9f6c919747 by
adding -Wl,--no-as-needed.

This patch fixes the issue by passing the lib as the shlib argument to
gdb_compile.

Tested on Ubuntu 14.04 x86_64.

gdb/testsuite/ChangeLog:

	* gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
	command.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Reject invalid immediate operands to MSR UAO
@ 2016-01-20 14:43 sergiodj+buildbot
  2016-01-20 15:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20 14:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bff6e2d6942690d81ce1f33728de07835b0f5b7 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 0bff6e2d6942690d81ce1f33728de07835b0f5b7

[AArch64] Reject invalid immediate operands to MSR UAO

In the instruction to write to the ARMv8.2 PSTATE field UAO,
MSR UAO, #<imm>, the immediate should be either 0 or 1 but GAS accepts
any unsigned 4-bit integer.

This patch implements the constraint on the immediate, generating an
error if the immediate operand is invalid, and adds tests for the
illegal forms.

opcodes/
2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (operand_general_constraint_met_p): Check validity
	of MSR UAO immediate operand.

gas/
2016-01-20  Matthew Wahab  <matthew.wahab@arm.com>

	* testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
	* testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
	* testsuite/gas/aarch64/armv8_2-a-illegal.s: New.

Change-Id: Ibdec4967c00b1ef3be9dbc43d23b2c70d1a0b28c


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for an ARM specific 'y' section attribute flag to mark the section as NOREAD.
@ 2016-01-20 13:05 sergiodj+buildbot
  2016-01-20 13:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91f68a68f992e3f6c3da26c616b5257230bd1eec ***

Author: Mickael Guene <mickael.guene@st.com>
Branch: master
Commit: 91f68a68f992e3f6c3da26c616b5257230bd1eec

Add support for an ARM specific 'y' section attribute flag to mark the section as NOREAD.

bfd/ChangeLog:
      * elf32-arm.c ((elf32_arm_special_sections): Remove catch of noread
      section using '.text.noread' pattern.

gas/ChangeLog:
      * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
      SHF_ARM_NOREAD section flag.
      * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
      handle letter 'y'.
     (arm_elf_section_letter) : Declare it.
      * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
      SHF_ARM_NOREAD section flag.
      * doc/c-arm.texi (ARM section attribute 'y'): Document it.

gas/testsuite/ChangeLog:
      * gas/arm/section-execute-only.s: New test case.
      * gas/arm/section-execute-only.d: Expected output.

ld/testsuite/ChangeLog:
      * ld-arm/thumb1-noread-not-present-mixing-two-section.s: Add 'y'
      attribute usage.
      * ld-arm/thumb1-noread-present-one-section.s: Likewise.
      * ld-arm/thumb1-noread-present-two-section.s: Likewise.
      * ld-arm/thumb1-input-section-flag-match.s: Likewise.

binutils/ChangeLog:
      * readelf.c (get_elf_section_flags): Display y letter for section
      with SHF_ARM_NOREAD section flag in readelf section output.
      (process_section_headers): Add y letter in readelf section output
      key mapping for ARM architecture.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] minor reformatting in printcmd.c::print_scalar_formatted
@ 2016-01-20  4:14 sergiodj+buildbot
  2016-01-20 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-20  4:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT be56871ee8f65c51b9eee611532ed036a71a72e0 ***

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

minor reformatting in printcmd.c::print_scalar_formatted

(GNU Coding Standard...)

gdb/ChangeLog:

        * printcmd.c (print_scalar_formatted): move binary operator from
        end of line to beginning of next line.  Adjust formatting
        accordingly.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use a separate variable for the size passed to sysctl.
@ 2016-01-19 23:43 sergiodj+buildbot
  2016-01-20  9:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 23:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2feec9809edbeeee0bb5b036e4ae25f9c37cd14 ***

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

Use a separate variable for the size passed to sysctl.

This fixes a sign mismatch warning.

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
	"len" with sysctl.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use LWP IDs with ptrace register requests on FreeBSD.
@ 2016-01-19 17:43 sergiodj+buildbot
  2016-01-20  5:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 94309df7aa9ab48bec7fb58fdc1deb26e24fc4c1 ***

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

Use LWP IDs with ptrace register requests on FreeBSD.

This allows gdb to fetch per-thread registers for multi-threaded FreeBSD
processes.

Export get_ptrace_pid() from inf-ptrace.c and use it to determine the PID
to pass to ptrace in pan-BSD native targets.  NetBSD and OpenBSD also accept
LWP IDs for ptrace requests to fetch per-thread state.

gdb/ChangeLog:

	* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Use
	get_ptrace_pid.
	(amd64bsd_store_inferior_registers): Use get_ptrace_pid.
	(amd64bsd_dr_get): Use get_ptrace_pid.
	(amd64bsd_dr_set): Use get_ptrace_pid.
	* i386bsd-nat.c (i386bsd_fetch_inferior_registers): Use get_ptrace_pid.
	(i386bsd_store_inferior_registers): Use get_ptrace_pid.
	(i386bsd_dr_get): Use get_ptrace_pid.
	(i386bsd_dr_set): Use get_ptrace_pid.
	* inf-ptrace.c (get_ptrace_pid): Export.
	* inf-ptrace.h (get_ptrace_pid): Declare.
	* ppcfbsd-nat.c (ppcfbsd_fetch_inferior_registers): Use lwp id.
	(ppcfbsd_store_inferior_registers): Use lwp id.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Display per-thread information for threads in FreeBSD cores.
@ 2016-01-19 17:34 sergiodj+buildbot
  2016-01-20  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 791174281c341539fab650bd934cc0060b7c9720 ***

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

Display per-thread information for threads in FreeBSD cores.

Display the LWP ID of each thread in a FreeBSD core.  Extract thread
names from the per-thread THRMISC note.

gdb/ChangeLog:

	* fbsd_tdep.c (fbsd_core_pid_to_str): New function.
	(fbsd_core_thread_name): New function.
	(fbsd_init_abi): Add "core_pid_to_str" gdbarch method.
	Add "core_thread_name" gdbarch method.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add a pseudosection for the NT_FREEBSD_THRMISC note.
@ 2016-01-19 17:18 sergiodj+buildbot
  2016-01-20  1:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b2c414df12bb61ab1e40099b92fc8f00983b930 ***

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

Add a pseudosection for the NT_FREEBSD_THRMISC note.

bfd/ChangeLog:

	* elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support to readelf for reading FreeBSD ELF core notes.
@ 2016-01-19 17:09 sergiodj+buildbot
  2016-01-20  0:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f4ddf30f1108b2c0b3eee5677c912383ac903256 ***

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

Add support to readelf for reading FreeBSD ELF core notes.

binutils/ChangeLog:

	* readelf.c (get_freebsd_elfcore_note_type): New
	(process_note): Add support for FreeBSD core notes.

include/ChangeLog:

	* elf/common.h (NT_FREEBSD_THRMISC): Define.
	(NT_FREEBSD_PROCSTAT_PROC): Define.
	(NT_FREEBSD_PROCSTAT_FILES): Define.
	(NT_FREEBSD_PROCSTAT_VMMAP): Define.
	(NT_FREEBSD_PROCSTAT_GROUPS): Define.
	(NT_FREEBSD_PROCSTAT_UMASK): Define.
	(NT_FREEBSD_PROCSTAT_RLIMIT): Define.
	(NT_FREEBSD_PROCSTAT_OSREL): Define.
	(NT_FREEBSD_PROCSTAT_PSSTRINGS): Define.
	(NT_FREEBSD_PROCSTAT_AUXV): Define.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix enum flag with Python 3
@ 2016-01-19 16:43 sergiodj+buildbot
  2016-01-19 23:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 16:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10e3ed9029dc0b6eafcd991d9f292fc079f80cf5 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 10e3ed9029dc0b6eafcd991d9f292fc079f80cf5

Fix enum flag with Python 3

Using Python 3.5 (I assume it's the same with 3.4 and lower, but I didn't
test), I see this:

  print (enum flag_enum) (FLAG_1)^M
  Python Exception <class 'TypeError'> %x format: an integer is required, not gdb.Value: ^M
  $7 = ^M
  (gdb) FAIL: gdb.python/py-pp-maint.exp: print FLAG_1

Apparently, this idiom, where v is a gdb.Value, was possible with Python 2,
but not with Python 3:

  '%x' % v

In Python 2, it would automatically get converted to an integer.  To solve
it, I simply added wrapped v in a call to int().

  '%x' % int(v)

In Python 2, the int type is implemented with a "long" in C, so on x86-32 it's
32-bits.  I was worried that doing int(v) would truncate the value and give
wrong results for enum values > 32-bits.  However, the int type != the int
function.  The int function does the right thing, selecting the right integer
type for the given value.  I tested with large enum values on x86-32 and
Python 2, and everything works as expected.

gdb/ChangeLog:

	* python/lib/gdb/printing.py (_EnumInstance.to_string): Explicitly
	convert gdb.Value to integer type using int().


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Factor out --status in DO_RUNTEST
@ 2016-01-19 16:35 sergiodj+buildbot
  2016-01-19 21:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 16:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41d1845edace3cf5dabd0aa7fa376b801fd5f675 ***

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

testsuite: Factor out --status in DO_RUNTEST

gdb/testsuite/ChangeLog:

	* Makefile.in (DO_RUNTEST): Add --status and update usages.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Add --status to runtest invocation
@ 2016-01-19 16:07 sergiodj+buildbot
  2016-01-19 20:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 16:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10eadbcc2866f11bd93ef379c76524521abdc218 ***

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

testsuite: Add --status to runtest invocation

By default, if a test driver (a test .exp) ends with an uncaught
error/exception, the runtest command will still have a return code of 0
(success).  However, if a test (or the environment) is broken and does
not work properly, it should be considered as failed so that we can
notice it and fix it.

Passing the --status flag to runtest will make it return an error if one
of the test it runs ends up with an uncaught error.

gdb/testsuite/ChangeLog:

	* Makefile.in (check-single): Pass --status to runtest.
	(check/%.exp): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix detection of "r_fs" and "r_gs" on FreeBSD.
@ 2016-01-19 15:50 sergiodj+buildbot
  2016-01-19 17:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6e69c1f1de84549d99792031dd05d5ba70bd8a5 ***

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

Fix detection of "r_fs" and "r_gs" on FreeBSD.

Include <sys/types.h> as a prerequisite for <machine/reg.h> when checking
for the r_fs and r_gs members in struct reg.  Note that the previous test
for <machine/reg.h> already includes <sys/types.h> as a prerequisite.

gdb/ChangeLog:

	* configure.ac: Include <sys/types.h when checking for "r_fs" in
	"struct reg".
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Limit breakpoint re-set to the current program space
@ 2016-01-19 12:38 sergiodj+buildbot
  2016-01-19 14:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 12:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2f4122d5cc2a21a441470336c8637b6a6965c6e ***

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

Limit breakpoint re-set to the current program space

Currently, we always re-set all locations of all breakpoints.  This
commit makes us re-set only locations of the current program space.

If we loaded symbols to a program space (e.g., "file" command or some
shared library was loaded), GDB must run through all breakpoints and
determine if any new locations need to be added to the breakpoint.
However, there's no reason to recreate locations for _other_ program
spaces, as those haven't changed.

Similarly, when we create a new inferior, through e.g., a fork, GDB
must run through all breakpoints and determine if any new locations
need to be added to the breakpoint.  There's no reason to destroy the
locations of the parent inferior and other inferiors.  We know those
won't change.

In addition to being inneficient, resetting breakpoints of inferiors
that are currently running is problematic, because:

 - some targets can't read memory while the inferior is running.

 - the inferior might exit while we're re-setting its breakpoints,
   which may confuse prologue skipping.

I went through all the places where we call breakpoint_re_set, and it
seems to me that all can be changed to only re-set locations of the
current program space.

The patch that reversed threads order in "info threads" etc. happened
to make gdb.threads/fork-plus-thread.exp expose this problem when
testing on x86/-m32.  The problem was latent and masked out by chance
by the code-cache:

 https://sourceware.org/ml/gdb-patches/2016-01/msg00213.html

Tested on x86-64 F20, native (-m64/-m32) and extended-remote
gdbserver.

Fixes the regression discussed in the url above with --target_board=unix/-m32:

 -FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
 +PASS: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: inferior 1 exited
 -FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: no threads left (timeout)
 -FAIL: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: only inferior 1 left (the program exited)
 +PASS: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: no threads left
 +PASS: gdb.threads/fork-plus-threads.exp: detach-on-fork=off: only inferior 1 left

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

	* ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
	* break-catch-throw.c (re_set_exception_catchpoint): Pass the
	current program space down to linespec decoding and breakpoint
	location updating.
	* breakpoint.c (parse_breakpoint_sals): Adjust calls to
	decode_line_full.
	(until_break_command): Adjust calls to decode_line_1.
	(base_breakpoint_decode_location, bkpt_decode_location): Add
	'search_pspace' parameter.  Pass it along.
	(bkpt_probe_create_sals_from_location): Adjust calls to
	parse_probes.
	(tracepoint_decode_location, tracepoint_probe_decode_location)
	(strace_marker_decode_location): Add 'search_pspace' parameter.
	Pass it along.
	(all_locations_are_pending): Rewrite to take a breakpoint and
	program space as arguments instead.
	(hoist_existing_locations): New function.
	(update_breakpoint_locations): Add 'filter_pspace' parameter.  Use
	hoist_existing_locations instead of always removing all locations,
	and adjust to all_locations_are_pending change.
	(location_to_sals): Add 'search_pspace' parameter.  Pass it along.
	Don't disable the breakpoint if there are other locations in
	another program space.
	(breakpoint_re_set_default): Adjust to pass down the current
	program space as filter program space.
	(decode_location_default): Add 'search_pspace' parameter and pass
	it along.
	(prepare_re_set_context): Don't switch program space here.
	(breakpoint_re_set): Use save_current_space_and_thread instead of
	save_current_program_space.
	* breakpoint.h (struct breakpoint_ops) <decode_location>: Add
	'search_pspace' parameter.
	(update_breakpoint_locations): Add 'filter_pspace' parameter.
	* cli/cli-cmds.c (edit_command, list_command): Adjust calls to
	decode_line_1.
	* elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
	program space as filter program space.
	* linespec.c (struct linespec_state) <search_pspace>: New field.
	(create_sals_line_offset, convert_explicit_location_to_sals)
	(parse_linespec): Pass the search program space down.
	(linespec_state_constructor): Add 'search_pspace' parameter.
	Store it.
	(linespec_parser_new): Add 'search_pspace' parameter and pass it
	along.
	(linespec_lex_to_end): Adjust.
	(decode_line_full, decode_line_1): Add 'search_pspace' parameter
	and pass it along.
	(decode_line_with_last_displayed): Adjust.
	(collect_symtabs_from_filename, symtabs_from_filename): New
	'search_pspace' parameter.  Use it.
	(find_function_symbols): Pass the search program space down.
	* linespec.h (decode_line_1, decode_line_full): Add
	'search_pspace' parameter.
	* probe.c (parse_probes_in_pspace): New function, factored out
	from ...
	(parse_probes): ... this.  Add 'search_pspace' parameter and use
	it.
	* probe.h (parse_probes): Add pspace' parameter.
	* python/python.c (gdbpy_decode_line): Adjust.
	* tracepoint.c (scope_info): Adjust.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS: Remove remnants of 48-bit microMIPS instruction support
@ 2016-01-18 22:31 sergiodj+buildbot
  2016-01-19  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 22:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 100b4f2e9f65565e3e3e484162c4474effc54be8 ***

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

MIPS: Remove remnants of 48-bit microMIPS instruction support

The POOL48A major opcode was defined in early revisions of the 64-bit
microMIPS ISA, has never been implemented, and was removed before the
64-bit microMIPS ISA specification[1] has been finalized.

This complements commit a6c7053929dd ("MIPS/opcodes: Remove microMIPS
48-bit LI instruction").

References:

[1] "MIPS Architecture for Programmers, Volume II-B: The microMIPS64
    Instruction Set", MIPS Technologies, Inc., Document Number: MD00594,
    Revision 3.06, October 17, 2012, Table 6.2 "microMIPS64 Encoding of
    Major Opcode Field", p. 578

	gas/
	* config/tc-mips.c (micromips_insn_length): Remove the mention
	of 48-bit microMIPS instructions.

	gdb/
	* mips-tdep.c (mips_insn_size): Remove 48-bit microMIPS
	instruction support.
	(micromips_next_pc): Likewise.
	(micromips_scan_prologue): Likewise.
	(micromips_deal_with_atomic_sequence): Likewise.
	(micromips_stack_frame_destroyed_p): Likewise.
	(mips_breakpoint_from_pc): Likewise.

	opcodes/
	* mips-dis.c (print_insn_micromips): Remove 48-bit microMIPS
	instruction support.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Remove unused global references in gdb_test
@ 2016-01-18 17:08 sergiodj+buildbot
  2016-01-18 21:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8bcbad33671aa67a0079fe4f8f448458de8cc05f ***

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

testsuite: Remove unused global references in gdb_test

Those are unused since gdb_test_multiple was added, factoring out most
of the content of gdb_test.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (gdb_test): Remove unused global references.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR threads/19422 - show which thread caused stop
@ 2016-01-18 16:03 sergiodj+buildbot
  2016-01-18 19:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f303dbd60d9c7984832446eeb9d4e4d89703c615 ***

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

Fix PR threads/19422 - show which thread caused stop

This commit changes GDB like this:

 - Program received signal SIGINT, Interrupt.
 + Thread 1 "main" received signal SIGINT, Interrupt.

 - Breakpoint 1 at 0x40087a: file threads.c, line 87.
 + Thread 3 "bar" hit Breakpoint 1 at 0x40087a: file threads.c, line 87.

 ... once the program goes multi-threaded.  Until GDB sees a second
thread spawn, the output is still the same as before, per the
discussion back in 2012:

  https://www.sourceware.org/ml/gdb/2012-11/msg00010.html

This helps non-stop mode, where you can't easily tell which thread hit
a breakpoint or received a signal:

 (gdb) info threads
   Id   Target Id         Frame
 * 1    Thread 0x7ffff7fc1740 (LWP 19362) "main" (running)
   2    Thread 0x7ffff7fc0700 (LWP 19366) "foo" (running)
   3    Thread 0x7ffff77bf700 (LWP 19367) "bar" (running)
 (gdb)
 Program received signal SIGUSR1, User defined signal 1.
 0x0000003616a09237 in pthread_join (threadid=140737353877248, thread_return=0x7fffffffd5b8) at pthread_join.c:92
 92          lll_wait_tid (pd->tid);
 (gdb) b threads.c:87
 Breakpoint 1 at 0x40087a: file threads.c, line 87.
 (gdb)
 Breakpoint 1, thread_function1 (arg=0x1) at threads.c:87
 87              usleep (1);  /* Loop increment.  */

The best the user can do is run "info threads" and try to figure
things out.

It actually also affects all-stop mode, in case of "handle SIG print
nostop":

...
  Program received signal SIGUSR1, User defined signal 1.

  Program received signal SIGUSR1, User defined signal 1.

  Program received signal SIGUSR1, User defined signal 1.

  Program received signal SIGUSR1, User defined signal 1.
...

The above doesn't give any clue that these were different threads
getting the SIGUSR1 signal.

I initially thought of lowercasing "breakpoint" in

  "Thread 3 hit Breakpoint 1"

but then after trying it I realized that leaving "Breakpoint"
uppercase helps the eye quickly find the relevant information.  It's
also easier to implement not showing anything about threads until the
program goes multi-threaded this way.

Here's a larger example session in non-stop mode:

  (gdb) c -a&
  Continuing.
  (gdb) interrupt -a
  (gdb)
  Thread 1 "main" stopped.
  0x0000003616a09237 in pthread_join (threadid=140737353877248, thread_return=0x7fffffffd5b8) at pthread_join.c:92
  92          lll_wait_tid (pd->tid);

  Thread 2 "foo" stopped.
  0x0000003615ebc6ed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  81      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)

  Thread 3 "bar" stopped.
  0x0000003615ebc6ed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  81      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
  b threads.c:87
  Breakpoint 4 at 0x40087a: file threads.c, line 87.
  (gdb) b threads.c:67
  Breakpoint 5 at 0x400811: file threads.c, line 67.
  (gdb) c -a&
  Continuing.
  (gdb)
  Thread 3 "bar" hit Breakpoint 4, thread_function1 (arg=0x1) at threads.c:87
  87              usleep (1);  /* Loop increment.  */

  Thread 2 "foo" hit Breakpoint 5, thread_function0 (arg=0x0) at threads.c:68
  68              (*myp) ++;
  info threads
    Id   Target Id         Frame
  * 1  Thread 0x7ffff7fc1740 (LWP 31957) "main" (running)
    2  Thread 0x7ffff7fc0700 (LWP 31961) "foo" thread_function0 (arg=0x0) at threads.c:68
    3  Thread 0x7ffff77bf700 (LWP 31962) "bar" thread_function1 (arg=0x1) at threads.c:87
  (gdb) shell kill -SIGINT 31957
  (gdb)
  Thread 1 "main" received signal SIGINT, Interrupt.
  0x0000003616a09237 in pthread_join (threadid=140737353877248, thread_return=0x7fffffffd5b8) at pthread_join.c:92
  92          lll_wait_tid (pd->tid);
  info threads
    Id   Target Id         Frame
  * 1  Thread 0x7ffff7fc1740 (LWP 31957) "main" 0x0000003616a09237 in pthread_join (threadid=140737353877248, thread_return=0x7fffffffd5b8) at pthread_join.c:92
    2  Thread 0x7ffff7fc0700 (LWP 31961) "foo" thread_function0 (arg=0x0) at threads.c:68
    3  Thread 0x7ffff77bf700 (LWP 31962) "bar" thread_function1 (arg=0x1) at threads.c:87
  (gdb) t 2
  [Switching to thread 2, Thread 0x7ffff7fc0700 (LWP 31961)]
  #0  thread_function0 (arg=0x0) at threads.c:68
  68              (*myp) ++;
  (gdb) catch syscall
  Catchpoint 6 (any syscall)
  (gdb) c&
  Continuing.
  (gdb)
  Thread 2 "foo" hit Catchpoint 6 (call to syscall nanosleep), 0x0000003615ebc6ed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  81      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)

I'll work on documentation next if this looks agreeable.

This patch applies on top of the star wildcards thread IDs series:

  https://sourceware.org/ml/gdb-patches/2016-01/msg00291.html

For convenience, I've pushed this to the
users/palves/show-which-thread-caused-stop branch.

gdb/doc/ChangeLog:
2016-01-18  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads): Mention that GDB displays the ID and name
	of the thread that hit a breakpoint or received a signal.

gdb/ChangeLog:
2016-01-18  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that GDB now displays the ID and name of the
	thread that hit a breakpoint or received a signal.
	* break-catch-sig.c (signal_catchpoint_print_it): Use
	maybe_print_thread_hit_breakpoint.
	* break-catch-syscall.c (print_it_catch_syscall): Likewise.
	* break-catch-throw.c (print_it_exception_catchpoint): Likewise.
	* breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
	(print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
	(print_it_catch_exec, print_it_ranged_breakpoint)
	(print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
	Use maybe_print_thread_hit_breakpoint.
	* breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
	* gdbthread.h (show_thread_that_caused_stop): Declare.
	* infrun.c (print_signal_received_reason): Print which thread
	received signal.
	* thread.c (show_thread_that_caused_stop): New function.

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

	* gdb.base/async-shell.exp: Adjust expected output.
	* gdb.base/dprintf-non-stop.exp: Adjust expected output.
	* gdb.base/siginfo-thread.exp: Adjust expected output.
	* gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
	* gdb.java/jnpe.exp: Adjust expected output.
	* gdb.threads/clone-new-thread-event.exp: Adjust expected output.
	* gdb.threads/continue-pending-status.exp: Adjust expected output.
	* gdb.threads/leader-exit.exp: Adjust expected output.
	* gdb.threads/manythreads.exp: Adjust expected output.
	* gdb.threads/pthreads.exp: Adjust expected output.
	* gdb.threads/schedlock.exp: Adjust expected output.
	* gdb.threads/siginfo-threads.exp: Adjust expected output.
	* gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
	expected output.
	* gdb.threads/signal-delivered-right-thread.exp: Adjust expected
	output.
	* gdb.threads/sigthread.exp: Adjust expected output.
	* gdb.threads/watchpoint-fork.exp: Adjust expected output.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Replace some $ARCH_{get, set}_pc with linux_{get, set}_pc_32bit
@ 2016-01-18 15:11 sergiodj+buildbot
  2016-01-18 16:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 276d4552dfc2dc3906fa2bd8690ea85b3d8ec055 ***

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

Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit

This patch adds a pair of new functions linux_get_pc_32bit and
linux_set_pc_32bit which get and set 32-bit register "pc" from
regcache.  This function can be used some targets and these own
$ARCH_{get,set}_pc are replaced by linux_{get,set}_pc_32bit
respectively.

This patch touches many targets, but I only have arm board to
test and no regression.  I also rebuilt nios2-linux GDBserver.
If it is right to go, I'll post the 64-bit counterpart later.

gdb/gdbserver:

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

	* linux-arm-low.c (debug_threads): Remove declaration.
	(arm_get_pc, arm_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-bfin-low.c (bfin_get_pc, bfin_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-cris-low.c (debug_threads): Remove declaration.
	(cris_get_pc, cris_set_pc,): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-crisv32-low.c (debug_threads): Remove declaration.
	(cris_get_pc, cris_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-low.c: Include inttypes.h.
	(linux_get_pc_32bit, linux_set_pc_32bit): New functions.
	* linux-low.h (linux_get_pc_32bit, linux_set_pc_32bit): Declare.
	* linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-m68k-low.c (m68k_get_pc, m68k_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-nios2-low.c (nios2_get_pc, nios2_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-sh-low.c (sh_get_pc, sh_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-xtensa-low.c (xtensa_get_pc, xtensa_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix gdbserver build failure on targets without fork
@ 2016-01-18 11:57 sergiodj+buildbot
  2016-01-18 13:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 11:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eb0edac83f82516bbbd5a0412bbdf7fd27c687f2 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: eb0edac83f82516bbbd5a0412bbdf7fd27c687f2

Fix gdbserver build failure on targets without fork

This commit fixes nat/linux-namespaces.c to build correctly on
targets without fork.

gdb/ChangeLog:

	* nat/linux-namespaces.c (do_fork): New function.
	(linux_mntns_get_helper): Use the above.

gdb/gdbserver/ChangeLog:

	* configure.ac (AC_FUNC_FORK): New check.
	* config.in: Regenerate.
	* configure: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] GDB SIGSEGV opening a Fortran program compiled with ifort
@ 2016-01-17  7:04 sergiodj+buildbot
  2016-01-17 11:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-17  7:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dc365182240722969f044918ecd3cab00da55502 ***

Author: Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Branch: master
Commit: dc365182240722969f044918ecd3cab00da55502

GDB SIGSEGV opening a Fortran program compiled with ifort

This patch fixes a SIGSEGV when trying to open a Fortran program
compiled with ifort (reproduced using version using version 16.0.1.150).
The error can be reproduce with most, if not any program. For instance,
a single file only containing "end", compiled with no additional flag,
suffices.

gdb/ChangeLog:

       PR gdb/19208
       * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
       if the function has no name.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] fix gdb version parsing in src-release.sh
@ 2016-01-17  6:17 sergiodj+buildbot
  2016-01-17  9:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-17  6:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b677098d4e086c093554a064076e021fec0399e8 ***

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

fix gdb version parsing in src-release.sh

Small change required after we switched the gdb version scheme to
using a -git suffix rather than a -cvs one.

ChangeLog:

        * src-release.sh: Compute the gdb tarball name by stripping
        '-git' rather than '-cvs'.

Tested by running "src-release.sh gdb" and verifying the tarball
name as well as its contents.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix phony_iconv wide character support.
@ 2016-01-15 22:55 sergiodj+buildbot
  2016-01-16  1:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-15 22:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f74f61cbf72dc158832d81d6ecd6f970f93798cc ***

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

Fix phony_iconv wide character support.

2016-01-15  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/
	* charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
	Conditionalize for Windows host.
	(GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
	(GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
	(phony_iconv_open): Handle both UTF-32 endiannesses.
	(phony_iconv): Likewise.  Check for output overflow and clean up
	out-of-input cases.  Correct adjustment to input buffer pointer.
	(set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
	phony_iconv_open.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix display of RL78 MOVW instructions that use the stack pointer.
@ 2016-01-14 16:27 sergiodj+buildbot
  2016-01-14 17:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-14 16:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d82fe66e8d38b20ad429cb99a99ed8741336d72 ***

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

Fix display of RL78 MOVW instructions that use the stack pointer.

	* rl78-decode.opc (rl78_decode_opcode): Add 's' operand to movw
	instructions that can support stack pointer operations.
	* rl78-decode.c: Regenerate.
	* rl78-dis.c: Fix display of stack pointer in MOVW based
	instructions.

	* testsuite/gas/rl78/sp-relative-movw.s: New test.
	* testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
	* testsuite/gas/rl78/rl78.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Remove field syscall_next_pc in struct gdbarch_tdep
@ 2016-01-14 14:57 sergiodj+buildbot
  2016-01-14 15:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-14 14:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e7cf25a8ab54cd02b48e7443ef25764475f02315 ***

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

[ARM] Remove field syscall_next_pc in struct gdbarch_tdep

Field syscall_next_pc in struct gdbarch_tdep was to calculate the
next pc of syscall instruction.  On linux target, syscall_next_pc
is set to arm_linux_syscall_next_pc, to do linux specific things.
However, after we have struct arm_get_next_pcs_ops, we can do the
same thing in struct arm_get_next_pcs_ops field syscall_next_pc,
so syscall_next_pc in struct gdbarch_tdep is not needed any more.

gdb:

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

	* arm-linux-tdep.c (arm_linux_get_next_pcs_syscall_next_pc):
	Declare.
	(arm_linux_get_next_pcs_ops): Install
	arm_linux_get_next_pcs_syscall_next_pc.
	(arm_linux_syscall_next_pc): Change to ...
	(arm_linux_get_next_pcs_syscall_next_pc): ... it.
	(arm_linux_init_abi): Don't set tdep->syscall_next_pc.
	* arm-tdep.c (arm_get_next_pcs_syscall_next_pc): Declare.
	(arm_get_next_pcs_syscall_next_pc): Make it static.  Don't
	call tdep->syscall_next_pc.
	* arm-tdep.h (struct gdbarch_tdep) <syscall_next_pc>: Remove.
	(arm_get_next_pcs_syscall_next_pc): Remove.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Fix missing architecture checks for ARMv8.2 system registers.
@ 2016-01-14 11:03 sergiodj+buildbot
  2016-01-14 11:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-14 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 651657fa61aa0a2946d56063295a7ce8d73f803b ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 651657fa61aa0a2946d56063295a7ce8d73f803b

[AArch64] Fix missing architecture checks for ARMv8.2 system registers.

Some of the RAS system registers added to binutils as part of the ARMv8.2
support are missing the feature checks to warn when they aren't
supported by the target.

This patch adds the missing feature checks with a test to check that
the correct warnings are given for all the ARMv8.2 system registers.

gas/
2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>

	* testsuite/gas/aarch64/illegal-sysreg-2.l: New.
	* testsuite/gas/aarch64/illegal-sysreg-2.d: New.

opcodes/
2016-01-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_reg_supported_p): Merge conditionals
	testing for RAS support.  Add checks for erxfr_el1, erxctlr_el1,
	erxtatus_el1 and erxaddr_el1.

Change-Id: I66b590ea49c1eb6b0e5c93e0dc2bc9c4e79a52fe


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Make thumb2_breakpoint static again
@ 2016-01-14  9:39 sergiodj+buildbot
  2016-01-14 10:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-14  9:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b451dda5f8905b26bafafe00423335d4fffe8dd ***

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

[ARM] Make thumb2_breakpoint static again

This patch makes thumb2_breakpoint static.  When writing this patch,
I find the only reason we keep thumb2_breakpoint extern is that it
is used as an argument passed to arm_gdbserver_get_next_pcs.  However,
field arm_thumb2_breakpoint is only used in a null check in
thumb_get_next_pcs_raw, so I wonder why do need to pass thumb2_breakpoint
to arm_gdbserver_get_next_pcs.

thumb2_breakpoint was added by Daniel Jacobowitz in order to support
single-step IT block
https://sourceware.org/ml/gdb-patches/2010-01/msg00624.html  the logic
there was if we have 32-bit thumb-2 breakpoint defined, we can safely
single-step IT block, otherwise, we can't.  Daniel didn't want to use
16-bit thumb BKPT instruction, because it triggers even on instruction
which should be executed.  Secondly, using 16-bit thumb illegal
instruction on top of 32-bit thumb instruction may break the meaning of
original IT blocks, because the other 16-bit can be regarded as an
instruction.  See more explanations from Daniel's kernel patch
http://www.spinics.net/lists/arm-kernel/msg80476.html

Let us back to this patch, GDB/GDBserver can safely single step
IT block if thumb2_breakpoint is defined, but the single step logic
doesn't have to know the thumb-2 breakpoint instruction.  Only
breakpoint insertion mechanism decides to use which breakpoint
instruction.  In the software single step code, instead of pass
thumb2_breakpoint, we can pass a boolean variable
has_thumb2_breakpoint indicate whether the target has thumb-2
breakpoint defined, which is equivalent to the original code.

Regression tested on arm-linux.  No regression.

gdb:

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

	* arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
	argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
	(thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
	instead.
	* arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
	<arm_thumb2_breakpoint>: Remove.
	<has_thumb2_breakpoint>: New field.
	(arm_get_next_pcs_ctor): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Pass
	1 to arm_get_next_pcs_ctor.
	* arm-tdep.c (arm_software_single_step): Pass 0 to
	arm_get_next_pcs_ctor.

gdb/gdbserver:

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

	* linux-aarch32-low.c (thumb2_breakpoint): Make it static.
	* linux-aarch32-low.h (thumb2_breakpoint): Remove declaration.
	* linux-arm-low.c (arm_gdbserver_get_next_pcs): Pass 1 to
	arm_get_next_pcs_ctor.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Implement "info threads -gid"
@ 2016-01-13 11:41 sergiodj+buildbot
  2016-01-13 19:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c84f6bbfe50ff13928360d3cc349d7c553867ce6 ***

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

Implement "info threads -gid"

This commit makes global thread IDs optionaly visible in "info
threads", with the new "-gid" switch:

 (gdb) info threads -gid
   Id   GId  Target Id         Frame
   1.1  1    Thread 0x7ffff7fc2740 (LWP 6022) "threads" (running)
   1.2  3    Thread 0x7ffff77c0700 (LWP 6028) "threads" (running)
   1.3  4    Thread 0x7ffff7fc2740 (LWP 6032) "threads" (running)
   2.1  2    Thread 0x7ffff7fc1700 (LWP 6037) "threads" (running)
   2.2  5    Thread 0x7ffff77c0700 (LWP 6038) "threads" (running)
 * 2.3  6    Thread 0x7ffff7fc2740 (LWP 6039) "threads" (running)

 (gdb) info threads
   Id   Target Id         Frame
   1.1  Thread 0x7ffff7fc2740 (LWP 6022) "threads" (running)
   1.2  Thread 0x7ffff77c0700 (LWP 6028) "threads" (running)
   1.3  Thread 0x7ffff7fc2740 (LWP 6032) "threads" (running)
   2.1  Thread 0x7ffff7fc1700 (LWP 6037) "threads" (running)
   2.2  Thread 0x7ffff77c0700 (LWP 6038) "threads" (running)
 * 2.3  Thread 0x7ffff7fc2740 (LWP 6039) "threads" (running)

No regressions on x86_64 Fedora 20.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention "info threads -gid".
	* gdbthread.h (struct thread_info) <global_num>: Mention "info
	threads -gid".
	* thread.c (info_threads_command): Handle "-gid".
	(_initialize_thread): Adjust "info threads" help string to mention
	-gid.

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

	* gdb.multi/tids.exp: Test "info threads -gid".

gdb/doc/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads): Document "info threads -gid".


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add Python InferiorThread.global_num attribute
@ 2016-01-13 11:40 sergiodj+buildbot
  2016-01-13 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22a0232400ea09c57ab70d97cffc1f25e6320da7 ***

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

Add Python InferiorThread.global_num attribute

This commit adds a new Python InferiorThread.global_num attribute.
This can be used to pass the correct thread ID to Breakpoint.thread,
which takes a global thread ID, not a per-inferior thread number.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention InferiorThread.global_num.
	* python/py-infthread.c (thpy_get_global_num): New function.
	(thread_object_getset): Register "global_num".

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

	* gdb.multi/tids.exp: Test InferiorThread.global_num and
	Breakpoint.thread.
	* gdb.python/py-infthread.exp: Test InferiorThread.global_num.

gdb/doc/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* python.texi (Breakpoints In Python) <Breakpoint.thread>: Add
	anchor.
	(Threads In Python): Document new InferiorThread.global_num
	attribute.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Centralize thread ID printing
@ 2016-01-13 11:38 sergiodj+buildbot
  2016-01-13 16:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 43792cf0de3a49fb871d432343672bdf16270e99 ***

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

Centralize thread ID printing

Add a new function to print a thread ID, in the style of paddress,
plongest, etc. and adjust all CLI-reachable paths to use it.

This gives us a single place to tweak to print inferior-qualified
thread IDs later:

 - [Switching to thread 1 (Thread 0x7ffff7fc2740 (LWP 8155))]
 + [Switching to thread 1.1 (Thread 0x7ffff7fc2740 (LWP 8155))]

etc., though for now, this has no user-visible change.

No regressions on x86_64 Fedora 20.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (remove_threaded_breakpoints)
	(print_one_breakpoint_location): Use print_thread_id.
	* btrace.c (btrace_enable, btrace_disable, btrace_teardown)
	(btrace_fetch, btrace_clear): Use print_thread_id.
	* common/print-utils.c (CELLSIZE): Delete.
	(get_cell): Rename to ...
	(get_print_cell): ... this and made extern.  Adjust call callers.
	Adjust to use PRINT_CELL_SIZE.
	* common/print-utils.h (get_print_cell): Declare.
	(PRINT_CELL_SIZE): New.
	* gdbthread.h (print_thread_id): Declare.
	* infcmd.c (signal_command): Use print_thread_id.
	* inferior.c (print_inferior): Use print_thread_id.
	* infrun.c (handle_signal_stop)
	(insert_exception_resume_breakpoint)
	(insert_exception_resume_from_probe)
	(print_signal_received_reason): Use print_thread_id.
	* record-btrace.c (record_btrace_info)
	(record_btrace_resume_thread, record_btrace_cancel_resume)
	(record_btrace_step_thread, record_btrace_wait): Use
	print_thread_id.
	* thread.c (thread_apply_all_command): Use print_thread_id.
	(print_thread_id): New function.
	(thread_apply_command): Use print_thread_id.
	(thread_command, thread_find_command, do_captured_thread_select):
	Use print_thread_id.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add Python InferiorThread.inferior attribute
@ 2016-01-13 11:36 sergiodj+buildbot
  2016-01-13 14:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8465445732dc04c3fb6cf954274e12d06b274f08 ***

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

Add Python InferiorThread.inferior attribute

So a script can easily get at a thread's inferior and its number.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention InferiorThread.inferior.
	* python/py-infthread.c (thpy_get_inferior): New.
	(thread_object_getset): Register "inferior".

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

	* gdb.python/py-infthread.exp: Test InferiorThread.inferior.

gdb/doc/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* python.texi (Threads In Python): Document
	InferiorThread.inferior.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add a new $_inferior convenience variable
@ 2016-01-13 11:35 sergiodj+buildbot
  2016-01-13 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3940304fe75c91f99e260a89fe8c45ece7e373f ***

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

Add a new $_inferior convenience variable

Like $_thread, but holds the current inferior number.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention $_inferior.
	* inferior.c (inferior_id_make_value): New.
	(inferior_funcs): New.
	(_initialize_inferior): Create $_inferior variable.

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

	* gdb.base/default.exp: Expect $_inferior as well.
	* gdb.multi/base.exp: Test $_inferior.

gdb/doc/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Inferiors and Programs): Document the $_inferior
	convenience variable.
	(Convenience Vars): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR19388: Can't access $_siginfo in breakpoint (catch signal) condition
@ 2016-01-13 10:52 sergiodj+buildbot
  2016-01-13 11:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 10:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a911d87ad714cbfbbc5c5752cb8b445a7e70196c ***

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

Fix PR19388: Can't access $_siginfo in breakpoint (catch signal) condition

This commit merges both the registers and $_siginfo "thread
running/executing" checks into a single function.

Accessing $_siginfo from a "catch signal" breakpoint condition doesn't
work.  The condition always fails with "Selected thread is running":

 (gdb) catch signal
 Catchpoint 3 (standard signals)
 (gdb)
 condition $bpnum $_siginfo.si_signo == 5
 (gdb) continue
 Continuing.
 Error in testing breakpoint condition:
 Selected thread is running.

 Catchpoint 3 (signal SIGUSR1), 0x0000003615e35877 in __GI_raise (sig=10) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
 56        return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
 (gdb)

When accessing the $_siginfo object, we check whether the thread is
marked running (external/public) state and refuse the access if so.
This is so "print $_siginfo" at the prompt fails nicelly when the
current thread is running.  While evaluating breakpoint conditionals,
we haven't decided yet whether the thread is going to stop, so
is_running still returns true, and we thus always error out.

Evaluating an expression that requires registers access is really
conceptually the same -- we could think of $_siginfo as a pseudo
register.  However, in that case we check whether the thread is marked
executing (internal/private state), not running (external/public
state).  Changing the $_siginfo validation to check is_executing as
well fixes the bug in question.

Note that checking is_executing is not fully correct, not even for
registers.  See PR 19389.  However, I think this is the lesser of two
evils and ends up as an improvement.  We at least now have a single
place to fix.

Tested on x86_64 GNU/Linux.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	PR breakpoints/19388
	* frame.c (get_current_frame): Use validate_registers_access.
	* gdbthread.h (validate_registers_access): Declare.
	* infrun.c (validate_siginfo_access): Delete.
	(siginfo_value_read, siginfo_value_write): Use
	validate_registers_access.
	* thread.c (validate_registers_access): New function.

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

	PR breakpoints/19388
	* gdb.base/catch-signal-siginfo-cond.c: New file.
	* gdb.base/catch-signal-siginfo-cond.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Implement 'catch syscall' for gdbserver
@ 2016-01-12 20:34 sergiodj+buildbot
  2016-01-13  3:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 20:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82075af2c14b1f8a54fa5796fb63f7ef23f98d9d ***

Author: Josh Stone <jistone@redhat.com>
Branch: master
Commit: 82075af2c14b1f8a54fa5796fb63f7ef23f98d9d

Implement 'catch syscall' for gdbserver

This adds a new QCatchSyscalls packet to enable 'catch syscall', and new
stop reasons "syscall_entry" and "syscall_return" for those events.  It
is currently only supported on Linux x86 and x86_64.

gdb/ChangeLog:

2016-01-12  Josh Stone  <jistone@redhat.com>
	    Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* NEWS (Changes since GDB 7.10): Mention QCatchSyscalls and the
	syscall_entry and syscall_return stop reasons.  Mention GDB
	support for remote catch syscall.
	* remote.c (PACKET_QCatchSyscalls): New enum.
	(remote_set_syscall_catchpoint): New function.
	(remote_protocol_features): New element for QCatchSyscalls.
	(remote_parse_stop_reply): Parse syscall_entry/return stops.
	(init_remote_ops): Install remote_set_syscall_catchpoint.
	(_initialize_remote): Config QCatchSyscalls.
	* linux-nat.h (struct lwp_info) <syscall_state>: Comment typo.

gdb/doc/ChangeLog:

2016-01-12  Josh Stone  <jistone@redhat.com>
	    Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* gdb.texinfo (Remote Configuration): List the QCatchSyscalls packet.
	(Stop Reply Packets): List the syscall entry and return stop reasons.
	(General Query Packets): Describe QCatchSyscalls, and add it to the
	table and the detailed list of stub features.

gdb/gdbserver/ChangeLog:

2016-01-12  Josh Stone  <jistone@redhat.com>
	    Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* inferiors.h: Include "gdb_vecs.h".
	(struct process_info): Add syscalls_to_catch.
	* inferiors.c (remove_process): Free syscalls_to_catch.
	* remote-utils.c (prepare_resume_reply): Report syscall_entry and
	syscall_return stops.
	* server.h (UNKNOWN_SYSCALL, ANY_SYSCALL): Define.
	* server.c (handle_general_set): Handle QCatchSyscalls.
	(handle_query): Report support for QCatchSyscalls.
	* target.h (struct target_ops): Add supports_catch_syscall.
	(target_supports_catch_syscall): New macro.
	* linux-low.h (struct linux_target_ops): Add get_syscall_trapinfo.
	(struct lwp_info): Add syscall_state.
	* linux-low.c (handle_extended_wait): Mark syscall_state as an entry.
	Maintain syscall_state and syscalls_to_catch across exec.
	(get_syscall_trapinfo): New function, proxy to the_low_target.
	(linux_low_ptrace_options): Enable PTRACE_O_TRACESYSGOOD.
	(linux_low_filter_event): Toggle syscall_state entry/return for
	syscall traps, and set it ignored for all others.
	(gdb_catching_syscalls_p): New function.
	(gdb_catch_this_syscall_p): New function.
	(linux_wait_1): Handle SYSCALL_SIGTRAP.
	(linux_resume_one_lwp_throw): Add PTRACE_SYSCALL possibility.
	(linux_supports_catch_syscall): New function.
	(linux_target_ops): Install it.
	* linux-x86-low.c (x86_get_syscall_trapinfo): New function.
	(the_low_target): Install it.

gdb/testsuite/ChangeLog:

2016-01-12  Josh Stone  <jistone@redhat.com>
	    Philippe Waroquiers  <philippe.waroquiers@skynet.be>

	* gdb.base/catch-syscall.c (do_execve): New variable.
	(main): Conditionally trigger an execve.
	* gdb.base/catch-syscall.exp: Enable testing for remote targets.
	(test_catch_syscall_execve): New, check entry/return across execve.
	(do_syscall_tests): Call test_catch_syscall_execve.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Support ARMv8.2 RAS extension.
@ 2016-01-12 16:46 sergiodj+buildbot
  2016-01-13  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 105bde5771c1c1b26b69e3623c88f3caafa3a480 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 105bde5771c1c1b26b69e3623c88f3caafa3a480

[ARM] Support ARMv8.2 RAS extension.

The ARMv8.2 architecture includes the RAS extension which adds an
instruction, ESB, and a number of coprocessor registers. This patch adds
the instruction to binutils, making it available when -march=armv8.2-a
is selected. It also adds tests for the instruction and for the
coprocessor registers.

gas/
2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-arm.c (arm_ext_v8_2): New.
	(insns): Add "esb".
	* testsuite/gas/arm/armv8_2-a.d: New.
	* testsuite/gas/arm/armv8_2-a.s: New.

opcodes/
2016-01-12  Matthew Wahab  <matthew.wahab@arm.com>

	* arm-dis.c (arm_opcodes): Add "esb".
	(thumb_opcodes): Likewise.

Change-Id: I67f3d70789db78d1c66a56c4994675f99ac15e34


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Sync top-level Makefile.def with GCC
@ 2016-01-12 16:37 sergiodj+buildbot
  2016-01-12 22:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce5e165eae8925f64da52172f3e67ad8010a1aa0 ***

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

Sync top-level Makefile.def with GCC

2016-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>

	PR bootstrap/69134
	* Makefile.def (mpfr): Disable assembler.
	* Makefile.in: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbserver: use the new gdb warning helpers
@ 2016-01-12 15:45 sergiodj+buildbot
  2016-01-12 19:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 15:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f13a3ce8afc1144169a14c7704689e263316e70 ***

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

gdbserver: use the new gdb warning helpers

We need to use -Wno-missing-prototypes for now as much of the code
sticks externs in local files and not in common headers.

2016-01-11  Mike Frysinger  <vapier@gentoo.org>

	* acinclude.m4: Include new ../warning.m4 file.
	* configure: Regenerated.
	* configure.ac: Replace all warning logic with AM_GDB_WARNINGS.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbserver: fix various warnings
@ 2016-01-12 15:44 sergiodj+buildbot
  2016-01-12 18:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 15:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b3da067f0893be637f9e992b409e36682ea081a ***

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

gdbserver: fix various warnings

Delete unused funcs, update old prototypes, and mark local funcs
as static.  This doesn't cover all missing prototype warnings.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove trademark acknowledgements throughout
@ 2016-01-12 15:09 sergiodj+buildbot
  2016-01-12 15:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 15:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc504a311794145e7aef2011f31ea87aa64bea4c ***

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

Remove trademark acknowledgements throughout

The GNU Coding Standards say:

  "Please do not include any trademark acknowledgements in GNU
  software packages or documentation."

gdb/ChangeLog:
2016-01-12  Pedro Alves  <palves@redhat.com>

	Remove use of the registered trademark symbol throughout.

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

	Remove use of the registered trademark symbol throughout.

gdb/doc/ChangeLog:
2016-01-12  Pedro Alves  <palves@redhat.com>

	Remove use of the registered trademark symbol throughout.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Hurd: Make gdb/reply_mig_hack.awk script compatible to "mawk"
@ 2016-01-12 12:01 sergiodj+buildbot
  2016-01-12 12:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 12:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5eddd57823971bdb54f957d10c11ff3fc9f97b1e ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 5eddd57823971bdb54f957d10c11ff3fc9f97b1e

Hurd: Make gdb/reply_mig_hack.awk script compatible to "mawk"

The "mawk" AWK implementation did't like that regular expression:

    mawk: [...]/gdb/reply_mig_hack.awk: line 98: regular expression compile failed (missing operand)

	gdb/
	* reply_mig_hack.awk: Rewrite one regular expression.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Reapply: List inferiors/threads/pspaces in ascending order
@ 2016-01-12  1:37 sergiodj+buildbot
  2016-01-12  2:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-12  1:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b05b120205e697db6291abb95a8cd2be054f99e9 ***

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

Reapply: List inferiors/threads/pspaces in ascending order

[This reapplies a change that was accidentally reverted with c0ecb95f3d.]

Before:
  (gdb) info threads
    Id   Target Id         Frame
    3    Thread 0x7ffff77c3700 (LWP 29035) callme () at foo.c:30
    2    Thread 0x7ffff7fc4700 (LWP 29034) 0x000000000040087b in child_function_2 (arg=0x0) at foo.c:60
  * 1    Thread 0x7ffff7fc5740 (LWP 29030) 0x0000003b37209237 in pthread_join (threadid=140737353893632, thread_return=0x0) at pthread_join.c:92

After:
  (gdb) info threads
    Id   Target Id         Frame
  * 1    Thread 0x7ffff7fc5740 (LWP 29030) 0x0000003b37209237 in pthread_join (threadid=140737353893632, thread_return=0x0) at pthread_join.c:92
    2    Thread 0x7ffff7fc4700 (LWP 29034) 0x000000000040087b in child_function_2 (arg=0x0) at foo.c:60
    3    Thread 0x7ffff77c3700 (LWP 29035) callme () at foo.c:30

gdb/doc/ChangeLog:
2015-11-24  Pedro Alves  <palves@redhat.com>

	PR 17539
	* gdb.texinfo (Inferiors and Programs): Adjust "maint info
	program-spaces" example to ascending order listing.
	(Threads): Adjust "info threads" example to ascending order
	listing.
	(Forks): Adjust "info inferiors" example to ascending order
	listing.

gdb/ChangeLog:
2015-11-24  Pedro Alves  <palves@redhat.com>

	PR 17539
	* inferior.c (add_inferior_silent): Append the new inferior to the
	end of the list.
	* progspace.c (add_program_space): Append the new pspace to the
	end of the list.
	* thread.c (new_thread): Append the new thread to the end of the
	list.

gdb/testsuite/ChangeLog:
2015-11-24  Pedro Alves  <palves@redhat.com>

	PR 17539
	* gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
	threads in ascending order.
	* gdb.base/foll-fork.exp: Likewise.
	* gdb.base/foll-vfork.exp: Likewise.
	* gdb.base/multi-forks.exp: Likewise.
	* gdb.mi/mi-nonstop.exp: Likewise.
	* gdb.mi/mi-nsintrall.exp: Likewise.
	* gdb.multi/base.exp: Likewise.
	* gdb.multi/multi-arch.exp: Likewise.
	* gdb.python/py-inferior.exp: Likewise.
	* gdb.threads/break-while-running.exp: Likewise.
	* gdb.threads/execl.exp: Likewise.
	* gdb.threads/gcore-thread.exp: Likewise.
	* gdb.threads/info-threads-cur-sal.exp: Likewise.
	* gdb.threads/kill.exp: Likewise.
	* gdb.threads/linux-dp.exp: Likewise.
	* gdb.threads/multiple-step-overs.exp: Likewise.
	* gdb.threads/next-bp-other-thread.exp: Likewise.
	* gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
	* gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
	* gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
	* gdb.threads/thread-find.exp: Likewise.
	* gdb.threads/tls.exp: Likewise.
	* lib/mi-support.exp (mi_reverse_list): Delete.
	(mi_check_thread_states): No longer reverse list.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Regression for foll-vfork.exp
@ 2016-01-11 21:25 sergiodj+buildbot
  2016-01-11 23:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 21:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9a70630256e21a7b86344d555dbe39407e998f91 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 9a70630256e21a7b86344d555dbe39407e998f91

testsuite: Regression for foll-vfork.exp

fe33faff35a8ee19db823149e764e3373e603bb9 is the first bad commit
commit fe33faff35a8ee19db823149e764e3373e603bb9
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Tue Dec 22 10:52:31 2015 -0500
    Remove HP-UX reference in foll-vfork.exp

FAIL: gdb.base/foll-vfork.exp: exec: vfork parent follow, finish after tcatch vfork: continue to vfork
FAIL: gdb.base/foll-vfork.exp: exec: vfork child follow, finish after tcatch vfork: continue to vfork
FAIL: gdb.base/foll-vfork.exp: exit: vfork parent follow, finish after tcatch vfork: continue to vfork
FAIL: gdb.base/foll-vfork.exp: exit: vfork child follow, finish after tcatch vfork: continue to vfork

It happens for plain gdb.base/foll-vfork.exp runtest on Fedora 23 x86_64.

-Temporary catchpoint 2 (vforked process 24562), vfork () at ../sysdeps/unix/sysv/linux/x86_64/vfork.S:52^M
+Temporary catchpoint 2 (vforked process 25345), vfork () at ../sysdeps/unix/sysv/linux/x86_64/vfork.S:52^M
 52             pushq   %rdi^M
 Current language:  auto^M
 The current source language is "auto; currently asm".^M
-(gdb) PASS: gdb.base/foll-vfork.exp: exec: vfork parent follow, finish after tcatch vfork: continue to vfork
+(gdb) FAIL: gdb.base/foll-vfork.exp: exec: vfork parent follow, finish after tcatch vfork: continue to vfork

-Temporary catchpoint 2 (vforked process 24629), vfork () at ../sysdeps/unix/sysv/linux/x86_64/vfork.S:52^M
+Temporary catchpoint 2 (vforked process 25411), vfork () at ../sysdeps/unix/sysv/linux/x86_64/vfork.S:52^M
 52             pushq   %rdi^M
 Current language:  auto^M
 The current source language is "auto; currently asm".^M
-(gdb) PASS: gdb.base/foll-vfork.exp: exec: vfork child follow, finish after tcatch vfork: continue to vfork
+(gdb) FAIL: gdb.base/foll-vfork.exp: exec: vfork child follow, finish after tcatch vfork: continue to vfork

So I have reverted it and just simplified the comment.

The third case is not necessary during testing but I have changed back all the
3 cases.

Pedro Alves:
I know it was that way before, but would you mind moving this to a helper
proc.

gdb/testsuite/ChangeLog
2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
	    Pedro Alves  <palves@redhat.com>

	* gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
	(tcatch_vfork_then_child_follow_exec)
	(tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
	identification.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] testsuite: Fix false FAILs on too long base directory
@ 2016-01-11 21:16 sergiodj+buildbot
  2016-01-11 21:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 21:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0ecb95f3dc0c3e8d1545f0a37c0c3e537e1ea96 ***

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

testsuite: Fix false FAILs on too long base directory

I was getting

gu (print arg0)^M
= 0x7fffffffdafb
"/unsafebuild-x86_64-redhat-linux-gnu/gdb/testsuite.unix.-m64/outputs/gdb.guile/scm-value/scm-"...^M
(gdb) FAIL: gdb.guile/scm-value.exp: verify dereferenced value
python print (arg0)^M
0x7fffffffdafd
"/unsafebuild-x86_64-redhat-linux-gnu/gdb/testsuite.unix.-m64/outputs/gdb.python/py-value/py-v"...^M
(gdb) FAIL: gdb.python/py-value.exp: verify dereferenced value

and also:

(gdb) p argv[0]^M
$2 = 0x7fffffffd832 "/home/jkratoch/redhat/gdb-test-", 'x' <repeats 169
times>...^M
(gdb) FAIL: gdb.guile/scm-value.exp: argv[0] should be available on this
target

gdb/testsuite/ChangeLog
2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
	and repeats to unlimited.
	* gdb.python/py-value.exp: Likewise.
	* lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
	and repeats to unlimited.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Delete opcodes that have been removed from ISA 3.0.
@ 2016-01-11 18:06 sergiodj+buildbot
  2016-01-11 18:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 18:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT afa8d4054b8e0b1384f2d07f1c15163c0699d660 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: afa8d4054b8e0b1384f2d07f1c15163c0699d660

Delete opcodes that have been removed from ISA 3.0.

opcodes/
	* ppc-opc.c <xscmpnedp>: Delete.
	<xvcmpnedp>: Likewise.
	<xvcmpnedp.>: Likewise.
	<xvcmpnesp>: Likewise.
	<xvcmpnesp.>: Likewise.

gas/
	* testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
	xvcmpnesp, xvcmpnesp.>: Delete tests.
	* testsuite/gas/ppc/power9.s: Likewise.
	* testsuite/gas/ppc/vsx3.d: Likewise.
	* testsuite/gas/ppc/vsx3.s: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Import changes made to files shared with the FSF GCC project.
@ 2016-01-11 11:18 sergiodj+buildbot
  2016-01-11 12:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 11:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4849dfd8f454b9c595e6ee7477f6b7b25c31a499 ***

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

Import changes made to files shared with the FSF GCC project.

	Import the following changes from the GCC mainline:

	2015-11-13  Tsvetkova Alexandra  <aleksandra.tsvetkova@intel.com>

	* configure.ac: Enable libmpx by default.
	* configure: Regenerated.

	2015-11-19  Martin Liska  <mliska@suse.cz>

	* .gitignore: Add .clang-format to ignored files.
	* Makefile.tpl: Add clang-format.
	* Makefile.in: Regenerate.

	2015-12-01  Andreas Tobler  <andreast@gcc.gnu.org>

	PR libffi/65726
	* Makefile.def (lang_env_dependencies): Make libffi depend
	on cxx.
	* Makefile.in: Regenerate.

	2015-12-02  Ian Lance Taylor  <iant@google.com>

	PR go/66147
	* Makefile.tpl (HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET.
	* Makefile.in: Regenerate.

	2015-12-17  Nathan Sidwell  <nathan@acm.org>

	* config/isl.m4 (ISL_CHECK_VERSION): Add gmp libs.
	* configure: Regenerate.

	2015-12-17  Sebastian Pop  <s.pop@samsung.com>

	* Makefile.in: Replace ISL with isl.
	* Makefile.tpl: Same.
	* config/isl.m4: Same.
	* configure.ac: Same.
	* contrib/download_prerequisites: Same.
	* configure: Regenerate.

	2016-01-01  Ben Elliston  <bje@gnu.org>

	* config.guess: Import version 2016-01-01.
	* config.sub: Likewise.

include	2016-01-07  Mike Frysinger  <vapier@gentoo.org>

	* longlong.h: Change !__SHMEDIA__ to
	(!defined (__SHMEDIA__) || !__SHMEDIA__).
	Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: move many common settings from CPPFLAGS to config.h
@ 2016-01-11  0:08 sergiodj+buildbot
  2016-01-11  2:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-11  0:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce39bd389039d99458950b072550ab52f0a07a34 ***

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

sim: move many common settings from CPPFLAGS to config.h

Rather than stuffing the command line with a bunch of -D flags, start
moving things to config.h which is managed by autoheader.  This makes
the makefile a bit simpler and the build output tighter, and it makes
the migration to automake easier as there are fewer vars to juggle.

We'll want to move the other options out too, but it'll take more work.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: drop unused SIM_AC_OPTION_PACKAGES
@ 2016-01-10 23:15 sergiodj+buildbot
  2016-01-11  1:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-10 23:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e19418e02e25ae4c62eb95547220897fa6aaf2e0 ***

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

sim: drop unused SIM_AC_OPTION_PACKAGES

This was imported from the ppc sim, but that was only used to control
a single file, and that is already governed by the hw models.  There's
no need to have a sep configure option here, especially since none of
the other sims are using it.  Even when the code is enabled, there's
no runtime overhead.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: allow the environment configure option everywhere
@ 2016-01-10 22:28 sergiodj+buildbot
  2016-01-11  0:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-10 22:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16f7876d71604f835aefe48f0bf230c028c05d99 ***

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

sim: allow the environment configure option everywhere

Currently ports have to call SIM_AC_OPTION_ENVIRONMENT explicitly in
order to make the configure flag available.  There's no real reason
to not allow this flag for all ports, so move it to the common sim
macro.  This way we get standard behavior across all ports too.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: drop targ-vals.def->nltvals.def indirection
@ 2016-01-10  9:12 sergiodj+buildbot
  2016-01-10 14:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-10  9:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99d8e879938c947588332a9cc579d378ccc2a855 ***

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

sim: drop targ-vals.def->nltvals.def indirection

We don't have alternative nltvals.def files, so always symlinking
the targ-vals.def file to it doesn't gain us anything.  It does
make the build more complicated though and a pain to convert to
something newer (like automake).  Drop the symlinking entirely.

In the future, we'll want to explode this file anyways into the
respective arch dirs so things can be selected dynamically at
runtime, so it's not like we'll be bringing this back.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: drop SIM_AC_OPTION_SMP call
@ 2016-01-10  8:59 sergiodj+buildbot
  2016-01-10 12:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-10  8:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d90347b5dcbb10ecb410b1246613c0caf511bd9 ***

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

sim: mips: drop SIM_AC_OPTION_SMP call

No other port calls this macro directly, and mips has it hardcoded
to the default -- disabling smp.  In the future we'll enable this
for all targets in common code, so tidy up the mips code now.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: allow the inline configure option everywhere
@ 2016-01-10  8:51 sergiodj+buildbot
  2016-01-10 11:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-10  8:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 347fe5bb868b7383d4f6942894b31ecf1da6894e ***

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

sim: allow the inline configure option everywhere

Currently ports have to call SIM_AC_OPTION_INLINE explicitly in order
to make the configure flag available.  There's no real reason to not
allow this flag for all ports, so move it to the common sim macro.
This way we get standard behavior across all ports too.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: drop common/cconfig.h in favor of a single config.h
@ 2016-01-09  9:01 sergiodj+buildbot
  2016-01-09  9:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-09  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 936df7568a0e47547285a0dd57b81643264fef38 ***

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

sim: drop common/cconfig.h in favor of a single config.h

The common subdir sets up a cconfig.h file to hold checks for the common
code.  In practice, most files still end up using config.h instead which
just leads to confusion.

Merge all the configure checks that went into cconfig.h into SIM_AC_COMMON
so we can drop the cconfig.h file altogether.  Now there is only a single
config.h file like normal.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] perf testsuite: python 3 fixes
@ 2016-01-08 15:34 sergiodj+buildbot
  2016-01-08 16:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-08 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 582a1b0064b14cb12b18f48678876d32c59c11c8 ***

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

perf testsuite: python 3 fixes

There are a few errors when trying to run the performance testsuite with
Python 3.  This commit fixes them.

In Python 2, it was possible to use relative imports (importing a module
relative to the current one).  In Python 3 it isn't.  So I use
absolute_import from the __future__ module, which allows Python 2 to
behave like Python 3, and use the Python 3 syntax.

In Python 3, dict.iterkeys doesn't exist anymore.  Using dict.keys is a
good compromise in this case.

gdb/testsuite/ChangeLog:

	* gdb.perf/lib/perftest/perftest.py: Change relative imports to
	absolute.
	(SingleStatisticTestResult.report): Use dict.keys instead of
	dict.iterkeys.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Change SIGINT handler for extension languages only when target terminal is ours
@ 2016-01-08 11:25 sergiodj+buildbot
  2016-01-08 15:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-08 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f99e8fc9cb84ca80cfca6c119f1f22bbfd2a314 ***

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

Change SIGINT handler for extension languages only when target terminal is ours

I see a timeout in gdb.base/random-signal.exp,

 Continuing.^M
 PASS: gdb.base/random-signal.exp: continue
 ^CPython Exception <type 'exceptions.KeyboardInterrupt'> <type
 exceptions.KeyboardInterrupt'>: ^M
 FAIL: gdb.base/random-signal.exp: stop with control-c (timeout)

it can be reproduced by running random-signal.exp with native-gdbserver
in a loop, like this, and the fail will be shown in about 20 runs,

$ (set -e; while true; do make check RUNTESTFLAGS="--target_board=native-gdbserver random-signal.exp"; done)

In the test, the program is being single-stepped for software watchpoint,
and in each internal stop, python unwinder sniffer is used,

 #0  pyuw_sniffer (self=<optimised out>, this_frame=<optimised out>, cache_ptr=0xd554f8) at /home/yao/SourceCode/gnu/gdb/git/gdb/python/py-unwind.c:608
 #1  0x00000000006a10ae in frame_unwind_try_unwinder (this_frame=this_frame@entry=0xd554e0, this_cache=this_cache@entry=0xd554f8, unwinder=0xecd540)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/frame-unwind.c:107
 #2  0x00000000006a143f in frame_unwind_find_by_frame (this_frame=this_frame@entry=0xd554e0, this_cache=this_cache@entry=0xd554f8)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/frame-unwind.c:163
 #3  0x000000000069dc6b in compute_frame_id (fi=0xd554e0) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:454
 #4  get_prev_frame_if_no_cycle (this_frame=this_frame@entry=0xd55410) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1781
 #5  0x000000000069fdb9 in get_prev_frame_always_1 (this_frame=0xd55410) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1955
 #6  get_prev_frame_always (this_frame=this_frame@entry=0xd55410) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1971
 #7  0x00000000006a04b1 in get_prev_frame (this_frame=this_frame@entry=0xd55410) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:2213

when GDB goes to python extension, or other language extension, the
SIGINT handler is changed, and is restored when GDB leaves extension
language.  GDB only stays in extension language for a very short period
in this case, but if ctrl-c is pressed at that moment, python extension
will handle the SIGINT, and exceptions.KeyboardInterrupt is shown.

Language extension is used in GDB side rather than inferior side,
so GDB should only change SIGINT handler for extension language when
the terminal is ours (not inferior's).  This is what this patch does.
With this patch applied, I run random-signal.exp in a loop for 18
hours, and no fail is shown.

gdb:

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

	* extension.c: Include target.h.
	(set_active_ext_lang): Only call install_gdb_sigint_handler,
	check_quit_flag, and set_quit_flag if target_terminal_is_ours
	returns false.
	(restore_active_ext_lang): Likewise.
	* target.c (target_terminal_is_ours): New function.
	* target.h (target_terminal_is_ours): Declare.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] PR ld/19368: Add missing relocation type class for R_ARM_IRELATIVE
@ 2016-01-08  9:58 sergiodj+buildbot
  2016-01-08 10:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-08  9:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 109575d7ebac21a0eb67980001ecd4173d696f88 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 109575d7ebac21a0eb67980001ecd4173d696f88

[ARM] PR ld/19368: Add missing relocation type class for R_ARM_IRELATIVE

2016-01-08  Richard Sandiford  <richard.sandiford@arm.com>
	    Jiong Wang  <jiong.wang@arm.com>

	PR ld/19368
	bfd/
	* elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
	reloc_class_ifunc.

	ld/
	* testsuite/ld-arm/ifunc-3.rd: Update expected result.
	* testsuite/ld-arm/ifunc-4.rd: Likewise.
	* testsuite/ld-arm/ifunc-9.rd: Likewise.
	* testsuite/ld-arm/ifunc-10.rd: Likewise.
	* testsuite/ld-arm/ifunc-12.rd: Likewise.
	* testsuite/ld-arm/ifunc-13.rd: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: config: drop use of __DATE__/__TIME__
@ 2016-01-07  3:07 sergiodj+buildbot
  2016-01-07  4:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-07  3:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b900245c3b92fc460a3f7fa17d14eb08f9ab4c76 ***

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

sim: config: drop use of __DATE__/__TIME__

These don't add a whole lot of useful info, and people don't like them as
it makes builds unreproducible, so just drop them.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: sim_{create_inferior, open, parse_args}: constify argv/env slightly
@ 2016-01-07  2:58 sergiodj+buildbot
  2016-01-07  3:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-07  2:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e3d4f4d5d386995e99d035354a9e411d1dc0331 ***

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

sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly

2016-01-03  Mike Frysinger  <vapier@gentoo.org>

	* sim-options.c (sim_parse_args): Mark argv array const.
	* sim-options.h (sim_parse_args): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes
@ 2016-01-06 18:52 sergiodj+buildbot
  2016-01-06 19:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-06 18:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b31e4803316aa0635a6f9beaeceea3e18dbbe459 ***

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

MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes

	include/
	* opcode/mips.h: Add a summary of MIPS16 operand codes.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make {arm,thumb}_get_next_pcs_raw static
@ 2016-01-06 15:34 sergiodj+buildbot
  2016-01-06 17:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-06 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5aa306929127aacf9890a949f9a21b38a0e0e7e ***

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

Make {arm,thumb}_get_next_pcs_raw static

This patch makes arm_get_next_pcs_raw and thumb_get_next_pcs_raw
static.

gdb:

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

	* arch/arm-get-next-pcs.c (arm_get_next_pcs): Move it to some
	lines below.
	(thumb_get_next_pcs_raw): Make it static.
	(arm_get_next_pcs_raw): Likewise.
	* arch/arm-get-next-pcs.h (thumb_get_next_pcs_raw): Remove the
	declaration.
	(arm_get_next_pcs_raw): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM/AArch64] Fix -Werror=unused-const-variable warnings in GDBserver
@ 2016-01-06 15:10 sergiodj+buildbot
  2016-01-06 16:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-06 15:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2ca446f682854c2b187178358b97174bf313fa7 ***

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

[ARM/AArch64] Fix -Werror=unused-const-variable warnings in GDBserver

This patch fixes gcc warning when build ARM GDBserver and AArch64
GDBserver,

AArch64 GDBserver:

gdb/gdbserver/linux-aarch32-low.h:36:29: error: 'thumb2_breakpoint' defined but not used [-Werror=unused-const-variable]
 static const unsigned short thumb2_breakpoint[] = { 0xf7f0, 0xa000 };
                             ^
gdb/gdbserver/linux-aarch32-low.h:34:29: error: 'thumb_breakpoint' defined but not used [-Werror=unused-const-variable]
 static const unsigned short thumb_breakpoint = 0xde01;
                             ^
gdb/gdbserver/linux-aarch32-low.h:28:28: error: 'arm_breakpoint' defined but not used [-Werror=unused-const-variable]
 static const unsigned long arm_breakpoint = arm_eabi_breakpoint;
                            ^
cc1: all warnings being treated as errors

ARM GDBserver:

gdb/gdbserver/linux-aarch32-low.h:34:29: error: 'thumb_breakpoint' defined but not used [-Werror=unused-const-variable]
 static const unsigned short thumb_breakpoint = 0xde01;
                             ^~~~~~~~~~~~~~~~

gdb/gdbserver/linux-aarch32-low.h:28:28: error: 'arm_breakpoint' defined but not used [-Werror=unused-const-variable]
 static const unsigned long arm_breakpoint = arm_eabi_breakpoint;
                            ^~~~~~~~~~~~~~

by simply moving these macros and variables to
linux-aarch32-low.c and only declare thumb2_breakpoint in
linux-aarch32-low.h, which is not perfect, and reveals some issues
in recent arm GDBserver software single step changes.  I'll post
follow-up patches.

gdb/gdbserver:

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

	* linux-aarch32-low.h (arm_abi_breakpoint): Move to
	linux-aarch32-low.c.
	(arm_eabi_breakpoint, arm_breakpoint): Likewise.
	(arm_breakpoint_len, thumb_breakpoint_len): Likewise.
	(thumb2_breakpoint, thumb2_breakpoint_len): Likewise.
	(thumb2_breakpoint): Declare.
	* linux-aarch32-low.c (arm_abi_breakpoint): Moved from
	linux-aarch32-low.h.
	(arm_eabi_breakpoint, arm_breakpoint): Likewise.
	(arm_breakpoint_len, thumb_breakpoint_len): Likewise.
	(thumb2_breakpoint, thumb2_breakpoint_len): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Change copyright owner to FSF in sim/testsuite/sim/mips/hilo-hazard-4.s
@ 2016-01-06  5:52 sergiodj+buildbot
  2016-01-06 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-06  5:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68477034727ad85aeed248ec995da746f7639e53 ***

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

Change copyright owner to FSF in sim/testsuite/sim/mips/hilo-hazard-4.s

sim/testsuite/sim/mips/ChangeLog:

        * hilo-hazard-4.s: Change copyright ownder to FSF.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: change version stamp to git
@ 2016-01-06  4:40 sergiodj+buildbot
  2016-01-06  9:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-06  4:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf69ad5a189db1dca362723a3b0a7a1b545219a9 ***

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

gdb: change version stamp to git


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] libiberty: fix warnings about left shifting a negative value.
@ 2016-01-05 22:21 sergiodj+buildbot
  2016-01-06  4:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 22:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13b356b2b5c1857490b7911dbbb48e17a3a92b04 ***

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

libiberty: fix warnings about left shifting a negative value.

  GCC PR 66827 reports some problems with left shifting a negative
  value:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66827

  Of the problems reported only two remain - in libiberty/regex.c:

libiberty/regex.c:6970:11: runtime error: left shift of negative value -1
libiberty/regex.c:7165:4: runtime error: left shift of negative value -1

  The patch below fixes these errors by casting the value to be shifted
  to unsigned before the shift occurs.

  No regressions were found in the libiberty testsuite or bootstrapping
  gcc (on an x86_64 target).


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: score: drop sim file check
@ 2016-01-05 22:13 sergiodj+buildbot
  2016-01-06  3:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 22:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6675033211e145ecd094b6803ed4a3427b3fd21e ***

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

gdb: score: drop sim file check

There has never been a GNU/sim port for the S+Core architecture.
It was added to support private code that has (and most likely
never will) see the light of day [1].  Punt this as we don't do
this for other people.  If you want to maintain a proprietary
internal build, then that's not really our problem.

[1] https://sourceware.org/ml/gdb-patches/2009-03/msg00390.html


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: msp430: drop duplicate sim_load_file call
@ 2016-01-05 21:27 sergiodj+buildbot
  2016-01-06  1:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 402cf0534665db83e19c00f130184e94552a75fb ***

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

sim: msp430: drop duplicate sim_load_file call

There's no need, or desire, to call sim_load_file from sim_open.  The
higher levels (gdb/run) take care of calling sim_load for us already.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: parse_args: polish getopt error message
@ 2016-01-04 11:04 sergiodj+buildbot
  2016-01-04 14:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-04 11:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8d7d784e23b5b2f8c7e28ece1bdb73b58199f16f ***

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

sim: parse_args: polish getopt error message

The cris sim hit a few failures after the recent getopt logic, and the
expected output showed a few ways we can improve things to better match
other utils.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: d10v: gut endian logic
@ 2016-01-04 10:17 sergiodj+buildbot
  2016-01-04 11:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-04 10:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13adda68c54abf2654d01fa6523c379a13e418da ***

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

sim: d10v: gut endian logic

The compiler should produce reasonable code here in general, so punt the
various arch checks and bswap defines.  This code will eventually go away
entirely when we convert it to the common memory code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] btrace: do not return out of TRY/CATCH
@ 2016-01-04  8:52 sergiodj+buildbot
  2016-01-04  9:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-04  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 43368e1d9ab8437079001f7a5f6ae2241acaece3 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 43368e1d9ab8437079001f7a5f6ae2241acaece3

btrace: do not return out of TRY/CATCH

In btrace_pt_readmem_callback, we read memory inside TRY/CATCH and return in
case of an error return value.  This corrupts the cleanup chain, which
eventually results in a SEGV when doing or discarding cleanups later on.

gdb/
	* btrace.c (btrace_pt_readmem_callback): Do not return in TRY/CATCH.

testsuite/
	* gdb.btrace/dlopen.exp: New.
	* gdb.btrace/dlopen.c: New.
	* gdb.btrace/dlopen-dso.c: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: parse_args: display getopt error ourselves
@ 2016-01-04  3:17 sergiodj+buildbot
  2016-01-04  3:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-04  3:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77cf2ef5dc9099501529151921a73be904757466 ***

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

sim: parse_args: display getopt error ourselves

Fix a long standing todo where we let getopt write directly to stderr
when an invalid option is passed.  Use the sim io funcs instead as they
go through the filtered callbacks that gdb wants.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: TODO: move to wiki
@ 2016-01-04  1:04 sergiodj+buildbot
  2016-01-04  1:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-04  1:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3726f72c654ab357be5b79c78f238da7a869f9a3 ***

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

sim: TODO: move to wiki

We're maintaining development docs in the wiki now:
	https://sourceware.org/gdb/wiki/Sim/TODO


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: use libiberty countargv in more places
@ 2016-01-03  9:29 sergiodj+buildbot
  2016-01-03 11:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-03  9:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34fed69938f1296b62354b2a825b49602fe7af50 ***

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

sim: use libiberty countargv in more places

A bunch of places open code the countargv implementation, or outright
duplicate it (as count_argc).  Replace all of those w/countargv.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: nrun: use lbasename
@ 2016-01-03  9:17 sergiodj+buildbot
  2016-01-03  9:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-03  9:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aba6f46b235a3a139c04d5ed6a3310125aa9c982 ***

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

sim: nrun: use lbasename


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: drop host endian configure option
@ 2016-01-03  6:05 sergiodj+buildbot
  2016-01-03  7:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-03  6:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0cb8d8513cf44a102953ff5cf93e9dd399f42e9a ***

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

sim: drop host endian configure option

The --enable-sim-hostendian flag was purely so people had an escape route
for when cross-compiling.  This is because historically, AC_C_BIGENDIAN
did not work in those cases.  That was fixed a while ago though, so we can
require that macro everywhere now and simplify a good bit of code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: convert to bfd_endian
@ 2016-01-03  5:29 sergiodj+buildbot
  2016-01-03  6:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-03  5:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ac72f0659d64d6a14da862242db0d841d2878d0 ***

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

sim: convert to bfd_endian

Rather than re-invent endian defines, as well as maintain our own list
of OS & arch-specific includes, punt all that logic in favor of the bfd
ones already set up and maintained elsewhere.  We already rely on the
bfd library, so leveraging the endian aspect should be fine.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: use standard output helpers
@ 2016-01-02 19:11 sergiodj+buildbot
  2016-01-02 19:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-02 19:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3fbb288afd9071523b61b3222869cfed0f95ab8 ***

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

sim: cris: use standard output helpers

The sim-io module provides output helpers, so no need to define local
ones anymore.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: delete dead current_state globals
@ 2016-01-02 15:38 sergiodj+buildbot
  2016-01-02 16:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-02 15:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d47f5b30d8481272e9480118bdcb283690070349 ***

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

sim: delete dead current_state globals

The global current_state handle to the current simulator state is a
design idea that was half implemented, but never really cleaned up.
The point was to have a global variable pointing to the state so that
funcs could more quickly & easily access the state anywhere.  We've
instead moved in the direction of passing state around everywhere and
don't have any intention of moving back.

I also can't find any references to gdb using this variable, or to
cgen related "dump_regs" functions, both of which were used in the
comments related to this code.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: ppc: do not exit when parsing args w/gdb
@ 2016-01-02  8:50 sergiodj+buildbot
  2016-01-02  9:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-02  8:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dea827fc5c3349dc0308d0e22ab2d6791282cf8b ***

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

sim: ppc: do not exit when parsing args w/gdb

When connecting to the simulator in gdb, we don't want it to exit on
us when we pass down unknown/invalid/help/etc... options.  Plumb down
the kind argument so we can handle both gdb & psim interfaces.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] update copyright year printed by GDB, GDBserver and gdbreplay.
@ 2016-01-01  4:41 sergiodj+buildbot
  2016-01-01  6:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2016-01-01  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edd88788349db3bd2af5fc9a38e2ea9cc220757f ***

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

update copyright year printed by GDB, GDBserver and gdbreplay.

gdb/ChangeLog:

        * top.c (print_gdb_version): Change copyright year in version
        message.

gdb/gdbserver/ChangeLog:

        * gdbreplay.c (gdbreplay_version): Change copyright year in
        version message.
        * server.c (gdbserver_version): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] opcodes/arc: Support dmb instruction with no operands
@ 2015-12-31 22:08 sergiodj+buildbot
  2015-12-31 22:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-31 22:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ba8bc973cca60cb06bf41a2808ba6fa4ed02879 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 5ba8bc973cca60cb06bf41a2808ba6fa4ed02879

opcodes/arc: Support dmb instruction with no operands

In this GCC commit:
  https://gcc.gnu.org/ml/gcc-patches/2015-12/msg00735.html
GCC started emitting dmb instructions with no operands.  The intention
was that dmb with no operands should be an alias for 'dmb 0'.

The following patch extends the arc opcodes library to support dmb with
no operands.

opcodes/ChangeLog:

	* arc-tbl.h (dmb): Add a no operand version of dmb.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: m68hc11: fix default endian
@ 2015-12-31  4:59 sergiodj+buildbot
  2015-12-31  5:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-31  4:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e26d677a240d3b495b7c565006d75646a15ed53 ***

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

sim: m68hc11: fix default endian

The previous commit here set the default to little instead of big.
A typo lost when reviewing the different targets in parallel.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris/m68hc11: move default endian/alignment to configure
@ 2015-12-31  2:11 sergiodj+buildbot
  2015-12-31  3:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-31  2:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eca4255a1a6c3603e05c4f3ca9c0849f529657c3 ***

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

sim: cris/m68hc11: move default endian/alignment to configure


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: inline sim_state_initialize
@ 2015-12-30 11:24 sergiodj+buildbot
  2015-12-30 18:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30 11:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cec99e6b2c28d3d32d770ad645c4b0c26f2e1685 ***

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

sim: h8300: inline sim_state_initialize

All the state is handled already by the common cpu allocation which
zeros out the entire state.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: switch to common sim-resume
@ 2015-12-30 10:40 sergiodj+buildbot
  2015-12-30 15:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30 10:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ca9d09e826e959f382ab45b2e1dfa8125135124 ***

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

sim: h8300: switch to common sim-resume


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: move default endian/alignment to configure
@ 2015-12-30 10:32 sergiodj+buildbot
  2015-12-30 14:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5658c2571f34fcf7f0f10dbd45ddc6680aa57576 ***

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

sim: h8300: move default endian/alignment to configure


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: simplify STATE_MY_NAME setup
@ 2015-12-30  9:52 sergiodj+buildbot
  2015-12-30 13:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30  9:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9950eccba15155dda9ef8025a5a1685dd9db53b7 ***

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

sim: simplify STATE_MY_NAME setup

No point in writing basename ourselves when libiberty provides one.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: move unused/buggy lregs array
@ 2015-12-30  9:04 sergiodj+buildbot
  2015-12-30 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30  9:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c78dff22918f29b3970729f32f70060b70e75678 ***

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

sim: h8300: move unused/buggy lregs array

This array isn't used anywhere, and the init phase actually corrupts
some memory because the array has 18 elements but tries to set the
19th (ZERO) position.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: drop unused inst.h
@ 2015-12-30  8:41 sergiodj+buildbot
  2015-12-30  9:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-30  8:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2089a69c164c789bcfd06b5eb9e0878f5520e13 ***

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

sim: h8300: drop unused inst.h

We can also drop the compile.o rule since the common dep generation
logic takes care of this for us.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use libiberty's crc32 implementation in gdbserver
@ 2015-12-28 16:31 sergiodj+buildbot
  2015-12-28 17:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-28 16:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65da7f144f53f8af57ff8d4e337ceda49daacc21 ***

Author: Patrick Palka <patrick@parcs.ath.cx>
Branch: master
Commit: 65da7f144f53f8af57ff8d4e337ceda49daacc21

Use libiberty's crc32 implementation in gdbserver

Tested on x86_64-pc-linux-gnu native-gdbserver, no new regressions.

gdb/gdbserver/ChangeLog:

	* server.c (crc32_table): Delete.
	(crc32): Use libiberty's xcrc32 function.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Correct nios2 _gp address computation.
@ 2015-12-27 20:41 sergiodj+buildbot
  2015-12-27 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-27 20:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7be2893a6449e64fe6cfcdd8700b0a367a69f19 ***

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

Correct nios2 _gp address computation.

2015-12-27  Sandra Loosemore  <sandra@codesourcery.com>

	bfd/
	* elf32-nios2.c (nios2_elf_assign_gp): Correct computation of _gp
	address.
	(nios2_elf32_relocate_section): Tidy code for R_NIOS2_GPREL error
	messages.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: unify sim-hload
@ 2015-12-27  6:09 sergiodj+buildbot
  2015-12-27  6:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-27  6:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e744ef887c1e879052cb30783638807190275f8 ***

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

sim: unify sim-hload

Pretty much all targets are using this module already, so add it to the
common list of objects.  The only oddball out here is cris and that's
because it supports loading via an offset for all the phdrs.  We drop
support for that.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: bfin: push down mmr address/size checks
@ 2015-12-27  0:20 sergiodj+buildbot
  2015-12-27  1:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-27  0:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 466b619e95908dc073b78413f0d0d0b1cb97e4b5 ***

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

sim: bfin: push down mmr address/size checks

The bfin port is using the WITH_DEVICES framework for two reasons:
- get access to the cpu making the request (if available)
- check the alignment & size for core & system MMRs

We addressed the first part with commit dea10706e9159ba6e94eab4c25010f3,
and we handle the second part with this commit.  Arguably this is more
correct too because trying to do bad reads/writes directly (when devices
support is disabled) often results in bad memory accesses.

As part of this clean up, we also adjust all of the existing logic that
would reject invalid accesses: the code was relying on the checks never
returning, but that's not the case when things like gdb (via the user's
commands) are making the requests.  Thus we'd still end up with bad mem
accesses, or sometimes gdb being hung due to while(1) loops.

Now we can connect (most of) these models into any address and have them
work correctly.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: bfin: avoid stack error under asan
@ 2015-12-26 23:35 sergiodj+buildbot
  2015-12-27  0:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-26 23:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 236bf91febaa3a7b0c2231a8740968e90aa497c6 ***

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

sim: bfin: avoid stack error under asan

We set up an array of 3 elements and then index into it with a 2bit
value.  We check the range before we actually use the pointer, but
the indexing is enough to make asan upset, so just stuff a fourth
value in there to keep things simple.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: delete mmu stubs to move to common sim_{read, write}
@ 2015-12-26 17:01 sergiodj+buildbot
  2015-12-26 18:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-26 17:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26f8bf63bf36f9062a5cc1afacf71462a4abe0c8 ***

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

sim: mips: delete mmu stubs to move to common sim_{read,write}

The only unique thing about mip's sim_{read,write} helpers is the call to
address_translation on the incoming address.  When we look closer at that
function though, we see it's just a stub that maps physical to virtual,
and the cache/return values are hardcoded.  If we delete this function,
we can then collapse all the callers and drop the custom sim_{read,write}
logic entirely.

Some day we might want to add MMU support, but when we do, we'll want to
have the common layers handle things so all targets benefit.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: do not pass cpu when writing memory during init
@ 2015-12-26 13:41 sergiodj+buildbot
  2015-12-26 15:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-26 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b494522f9f20e1e1d29089067d51fc141c33558 ***

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

sim: cris: do not pass cpu when writing memory during init

The point of passing down the cpu to core reads/writes is to signal which
cpu is making the access.  For system accesses (such as internal memory
initialization), passing the cpu down doesn't make sense, and in the case
of early init like cris, can cause crashes.  Since the cpu isn't fully set
up at this point, if the core code tries to access some fields (like the
PC reg), it'll crash.  While cris shouldn't be doing this setup here (it
should be in the inferior stage), we'll deal with that later.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Document that the PATTERN argument to gdb_test is optional.
@ 2015-12-25 19:47 sergiodj+buildbot
  2015-12-26  9:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 19:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 79fad5b803e22798bcb087066234a954d0ccdc60 ***

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

Document that the PATTERN argument to gdb_test is optional.

2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* lib/gdb.exp (gdb_test): Update comments to clarify that the
	PATTERN argument is optional.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: frv: punt WITH_DEVICE support
@ 2015-12-25 18:35 sergiodj+buildbot
  2015-12-26  8:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 18:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2023145711ca36f06258e07f4fa1c490efbbf37e ***

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

sim: frv: punt WITH_DEVICE support

The frv port used the device logic to support a single cache address,
and the comments around that are "these were merely copied from a diff
port and are unused", plus the code to attach the memory is "#if 0".
Just punt it all.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: migrate from WITH_DEVICES to WITH_HW
@ 2015-12-25 12:14 sergiodj+buildbot
  2015-12-26  5:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 12:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34cf511206839b0f2b76870bf2d487c2dbcdbc1f ***

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

sim: cris: migrate from WITH_DEVICES to WITH_HW

The cris port was using the device framework to handle two addresses when
the --cris-900000xx flag was specified.  That can be implemented using the
newer hardware framework instead which allows us to drop the device logic
entirely, as well as delete the tconfig.h file.  Basically we create a new
cris_900000xx device model and move the read logic out of devices.c and
into that.  The rest of the devices logic was callback to the hardware
framework already.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: clean up rvdummy a bit
@ 2015-12-25 11:46 sergiodj+buildbot
  2015-12-26  4:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13e49fd6364e94625985b9eb15da5b1decd6a196 ***

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

sim: cris: clean up rvdummy a bit

This fixes a few warnings when compiling the rvdummy tool.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: set up sane default path to rvdummy
@ 2015-12-25 11:20 sergiodj+buildbot
  2015-12-26  3:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 11:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d4a587a4ed828eaf3273b435e328120e73bbb2cc ***

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

sim: cris: set up sane default path to rvdummy

Much like we autodetect the path to the run program when there is none
set explicitly, do the same for the rvdummy program.  Otherwise the
default make check fails to execute the helper properly.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: drop WITH_ENGINE define
@ 2015-12-25 10:01 sergiodj+buildbot
  2015-12-26  0:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 10:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf59f47ebeccf4ea82b6c529c882644e4c445323 ***

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

sim: drop WITH_ENGINE define

We enable this everywhere already, and all new ports should use the
engine logic, so no point in making it an option to disable.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: sim-model: build for everyone
@ 2015-12-25  9:58 sergiodj+buildbot
  2015-12-25 23:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  9:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d58595077841917ad57c9f8d2a61184a504ef40 ***

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

sim: sim-model: build for everyone

Rather than include this for some targets, set it up so we can build it
all the time via the common code.  This makes it easier for targets to
opt into it when they're ready, increases build coverage, and allows us
to centralize much of the logic.

We also get to delete tconfig.h from two more targets -- they were
setting WITH_DEVICES to 0 which has the same behavior as not defining
it at all.

While the SIM_HAVE_MODEL knob is gone, we now have WITH_MODEL_P, but it
is only used by the common sim-model code.  We use it to declare dummy
model lists when the arch hasn't created its own.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: move MACH/MODEL types into SIM_xxx namespace
@ 2015-12-25  9:35 sergiodj+buildbot
  2015-12-25 21:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  9:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a0ebee658862bec66191df192c1d3b09bf0c943 ***

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

sim: move MACH/MODEL types into SIM_xxx namespace

The "MACH" and "MODEL" names are a bit generic and collide with symbols
used by other sections of code (like h8300's opcodes).  Since these are
sim-specific types, they really should have a "SIM_" prefix.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: arm: delete unused code
@ 2015-12-25  8:19 sergiodj+buildbot
  2015-12-25 20:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  8:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91d6df784db745df2b0a6827de8306246083bc94 ***

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

sim: arm: delete unused code

These vestiges of the 20 year old emulator are just getting in the way.
Punt all the dead code we either don't compile or don't use.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: move WITH_SCACHE_PBB to sim-main.h
@ 2015-12-25  7:53 sergiodj+buildbot
  2015-12-25 19:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  7:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0c1b768b4f42c631547643ec01b020108c0ef8e ***

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

sim: move WITH_SCACHE_PBB to sim-main.h

This helps us break up tconfig.h more.  Any file using this define should
be pulling in sim-main.h already, so things should continue working.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: device_error: punt
@ 2015-12-25  7:29 sergiodj+buildbot
  2015-12-25 18:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  7:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 42a3af5688cd41550e2b517f676f03f2842e615b ***

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

sim: device_error: punt

Only four targets implement this function, and three of them do nothing.
The 4th merely calls abort.  Since calls to this function are followed
by calls to sim_hw_abort or sim_io_error, this is largely useless.  In
the two places where we don't, replace the call with sim_engine_abort.
We want to kill off the WITH_DEVICES logic in favor of WITH_HW, so this
is a good first step.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: always enable callback memory
@ 2015-12-25  5:41 sergiodj+buildbot
  2015-12-25 16:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  5:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e8e7dd966670c80f3b71f8cf7e07f2843b33e80 ***

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

sim: always enable callback memory

We enable WITH_CALLBACK_MEMORY everywhere and don't provide a way to
turn it off, and no target does so.  Make it unconditional for all
to keep things simple.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: dv-pal: always use CPU_INDEX
@ 2015-12-25  5:23 sergiodj+buildbot
  2015-12-25 14:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  5:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 268c91391a3235cb00249b6eb9a2cb7341914fed ***

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

sim: dv-pal: always use CPU_INDEX

Since the core always provides CPU_INDEX, use it.  The current code
doesn't actually use it even though it should since it doesn't include
the right headers.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: delete TARGET_TX3904 define
@ 2015-12-25  3:50 sergiodj+buildbot
  2015-12-25 13:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  3:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef04e3719831b50e62cb97cd0ac10548a35cef40 ***

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

sim: mips: delete TARGET_TX3904 define

With the LMA cleanup, we no longer need this define.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h
@ 2015-12-25  3:41 sergiodj+buildbot
  2015-12-25 11:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  3:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cb379ede3cf6cf367b2bb58b85d8ee849a82a9b0 ***

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

sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h

We want to kill off tconfig.h, so move the one define mips still uses
to sim-main.h.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: cris: move option install to sim_open
@ 2015-12-25  2:24 sergiodj+buildbot
  2015-12-25  9:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  2:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9db2b719087eb42cfb31018fe87657243f6185c9 ***

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

sim: cris: move option install to sim_open

We've moved custom option install for other targets to sim_open, so update
cris too.  It's the last one using MODULE_LIST, so we can drop that from
the common code too.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: delete old breakpoint code
@ 2015-12-25  2:16 sergiodj+buildbot
  2015-12-25  8:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  2:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cec19744887931294e9d4a1dfa4fa8bd42e57ae5 ***

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

sim: delete old breakpoint code

This code relies on the old sim-break module, but that was deleted in 2003.
The module only existed for gdb to tell the sim to set breakpoints on its
behalf, but then that logic was abandoned in favor of gdb knowing all about
proper breakpoints (since it does already for non-sim targets).  Some dead
code lived on in the older ports though -- clean it up now.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: h8300: move h8300-specific options out of common code
@ 2015-12-25  1:50 sergiodj+buildbot
  2015-12-25  6:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  1:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd3fb5b8fb33adb751407a128e1f2240dfb215d9 ***

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

sim: h8300: move h8300-specific options out of common code

Register the options in sim_open like other arches to avoid having to hack
up the common modules.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: enable watchpoint module everywhere
@ 2015-12-25  1:42 sergiodj+buildbot
  2015-12-25  5:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  1:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 84e8e361dd3a3dd7314759f7f07927dac401d0e6 ***

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

sim: enable watchpoint module everywhere

We build & bundle the watchpoint module everywhere, but we don't make
the command line flags available by default.  A few targets opted in,
but most did not.  Just enable the flag for everyone.  Not all targets
will respect the flags (making them nops), but shouldn't be a big deal.
This is how we handle other common modules already.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: delete SIM_HAVE_MEM_SIZE
@ 2015-12-25  1:00 sergiodj+buildbot
  2015-12-25  3:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  1:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1af947345ccba81244d3370756d0047d3bc8b6e ***

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

sim: delete SIM_HAVE_MEM_SIZE

This define isn't used anywhere (doesn't seem to ever have been used by
versions committed), so delete the commented out code as it's dead.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] sim: delete SIM_HAVE_SIMCACHE
@ 2015-12-25  0:34 sergiodj+buildbot
  2015-12-25  1:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8abe6c668e9336418277e64983587f121c8534e6 ***

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

sim: delete SIM_HAVE_SIMCACHE

This was used by the old run interface, but we punted that awhile ago,
so drop this define too.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add assembler support for ARMv8-M Baseline
@ 2015-12-24 10:35 sergiodj+buildbot
  2015-12-24 12:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-24 10:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff8646eef8bdef6fe3091eb79627929c1c100c6a ***

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

Add assembler support for ARMv8-M Baseline

2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
    (tag_cpu_arch_combine): Adjust comment in v4t_plus_v6_m with regards
    to merging with ARMv8-M Baseline.

binutils/
    * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Baseline Tag_CPU_arch
    value.

gas/
    * config/tc-arm.c (arm_ext_v6t2_v8m): New feature for instructions
    shared between ARMv6T2 and ARMv8-M.
    (move_or_literal_pool): Check mov.w/mvn and movw availability against
    arm_ext_v6t2 and arm_ext_v6t2_v8m respectively instead of checking
    arm_arch_t2.
    (do_t_branch): Error out for wide conditional branch instructions if
    targetting ARMv8-M Baseline.
    (non_v6t2_wide_only_insn): Add the logic for new wide-only instructions
    in ARMv8-M Baseline.
    (wide_insn_ok): New function.
    (md_assemble): Use wide_insn_ok instead of non_v6t2_wide_only_insn and
    adapt error message for unsupported wide instruction to ARMv8-M
    Baseline.
    (insns): Reorganize instructions shared by ARMv8-M Baseline and
    ARMv6t2 architecture.
    (arm_cpus): Set feature bit ARM_EXT2_V6T2_V8M for marvell-pj4 and
    marvell-whitney cores.
    (arm_archs): Define armv8-m.base architecture.
    (cpu_arch_ver): Define ARM_ARCH_V8M_BASE architecture version.
    (aeabi_set_public_attributes): Add logic to set Tag_CPU_arch to 17 for
    ARMv8-M Mainline.  Set Tag_DIV_use for ARMv8-M Baseline as well.

gas/testsuite/
    * gas/arm/archv8m-base.d: New file.
    * gas/arm/attr-march-armv8m.base.d: Likewise.
    * gas/arm/armv8m.base-idiv.d: Likewise.
    * gas/arm/any-armv8m.d: Adapt to deal with ARMv8-M Baseline.

include/elf/
    * arm.h (TAG_CPU_ARCH_V8M_BASE): Declare.

include/opcode/
    * arm.h (ARM_EXT2_V6T2_V8M): New extension bit.
    (ARM_AEXT2_V8A): New architecture extension bitfield.
    (ARM_AEXT2_V8_1A): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
    (ARM_AEXT_V8M_BASE): New architecture extension bitfield.
    (ARM_AEXT2_V8M): Add extension bit ARM_EXT2_V6T2_V8M.
    (ARM_ARCH_V6T2): Use ARM_EXT2_V6T2_V8M for the second extension
    bitfield.
    (ARM_ARCH_V6KT2): Likewise.
    (ARM_ARCH_V6ZT2): Likewise.
    (ARM_ARCH_V6KZT2): Likewise.
    (ARM_ARCH_V7): Likewise.
    (ARM_ARCH_V7A): Likewise.
    (ARM_ARCH_V7VE): Likewise.
    (ARM_ARCH_V7R): Likewise.
    (ARM_ARCH_V7M): Likewise.
    (ARM_ARCH_V7EM): Likewise.
    (ARM_ARCH_V8A): Likewise.
    (ARM_ARCH_V8M_BASE): New architecture bitfield.
    (ARM_ARCH_THUMB2): Include instructions shared by ARMv6t2 and ARMv8-M.
    (ARM_ARCH_V7A_SEC): Use ARM_EXT2_V6T2_V8M for the second extension
    bitfield and reindent.
    (ARM_ARCH_V7A_MP_SEC): Likewise.
    (ARM_ARCH_V7R_IDIV): Likewise.
    (ARM_ARCH_V8A_FP): Use ARM_AEXT2_V8A instead of ARM_EXT2_ATOMICS.
    (ARM_ARCH_V8A_SIMD): Likewise.
    (ARM_ARCH_V8A_CRYPTOV1): Likewise.

opcodes/
    * arm-dis.c (arm_opcodes): Guard movw, movt cbz, cbnz, clrex, ldrex,
    ldrexb, ldrexh, strex, strexb, strexh shared by ARMv6T2 and ARMv8-M by
    ARM_EXT2_V6T2_V8M instead of ARM_EXT_V6T2.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Consolidate Thumb-1/Thumb-2 ISA detection
@ 2015-12-24  9:44 sergiodj+buildbot
  2015-12-24 10:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-24  9:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc289b0a832c536a2ec324634cb420f39b212696 ***

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

Consolidate Thumb-1/Thumb-2 ISA detection

2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
    * config/tc-arm.c (move_or_literal_pool): Check mov.w, mvm and movw
    availability against arm_ext_v6t2 instead of checking arm_arch_t2,
    fixing comments along the way.
    (handle_it_state): Check arm_ext_v6t2 instead of arm_arch_t2 to
    generate IT instruction.
    (t1_isa_t32_only_insn): New function.
    (md_assemble): Use above new function to check for invalid wide
    instruction for CPU Thumb ISA and to determine what Thumb extension
    bit is necessary for that instruction.
    (md_apply_fix): Use arm_ext_v6t2 instead of arm_arch_t2 to decide if
    branch is out of range.

include/opcode/
    * arm.h (ARM_ARCH_THUMB2): Add comment explaining its meaning and
    remove extension bit not including any Thumb-2 instruction.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [testsuite/Ada] stop using project files when building test programs
@ 2015-12-24  5:38 sergiodj+buildbot
  2015-12-24  6:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-24  5:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab8314b3d99625c9a2125d39f4f3e74bf9e49cce ***

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

[testsuite/Ada] stop using project files when building test programs

The current approach when building Ada programs for testing is
based on the use of a project file (testsuite/gdb.ada/gnat_ada.gpr).
To do that, we pass a number of additional arguments to target_compile,
one of them being the project file (via "-P/path/to/gnat_ada.gpr").
This used to work well-enough, but AdaCore is currently working towards
removing project-file support from gnatmake (the prefered tool for
using project files is gprbuild). So, we need to either switch
the compilation to gprbuild, or stop using project files.

First, using gprbuild is not always what users will be using to
build their applications. So having the option of using gnatmake
provides more flexibility towards exactly reproducing past bugs.
If we ever need a testcase that requires the use of gprbuild, then
I believe support for a new target needs to be added to dejagnu's
target_compile.

Also, the only real reason behind using a project file in the first
place is that we wanted to make it easy to specify the directory
where all compilation artifacts get stored. This is a consequence
of the organization choice we made for gdb.ada to keep each testcase
well organized. It is very easy to achieve that goal without using
project files.

This is therefore what this patch does: It change gdb_compile_ada
to build any program using gnatmake without using a project file
(by temporarily changing the current working directory).

There is a small (beneficial) side-effect; in the situation where
GDB is built in-tree, gnatmake is called as...

        % gnatmake [...] unit.adb

... which means that the debugging info in unit.o will say contain
a filename whose name is 'unit.adb', rather than '/path/to/unit.adb'.
This also better matches what users might typically do. But the side-
effect is that the unit name in the GDB output is not always a full
path. This patch tweaks a couple of testcases to make the path part
optional.

gdb/testsuite:

        * lib/ada.exp (target_compile_ada_from_dir): New function.
        (gdb_compile_ada): Reimplement avoiding the use of project files.
        * gdb.ada/gnat_ada.gpr: Delete.
        * gdb.ada/cond_lang.exp: Adjust test to make path before
        filename optional.
        * gdb.ada/small_reg_param.exp: Likewise.

Tested on x86_64-linux, with both in-tree and out-of-tree builds.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove HP-UX reference in foll-vfork.exp
@ 2015-12-22 16:10 sergiodj+buildbot
  2015-12-22 23:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 16:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fe33faff35a8ee19db823149e764e3373e603bb9 ***

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

Remove HP-UX reference in foll-vfork.exp

One more I just found.

Tested with native, native-gdbserver and native-extended-gdbserver on
Linux.

gdb/testsuite/ChangeLog:

	* gdb.base/foll-vork.exp: Remove HP-UX special case.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdbserver crash in gdb/gdbserver/thread.c::thread_search_callback
@ 2015-12-22 15:43 sergiodj+buildbot
  2015-12-22 19:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e50fe5ca6ed2ce780cbbfa516aec20b023433ce ***

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

gdbserver crash in gdb/gdbserver/thread.c::thread_search_callback

Connecting GDB to a LynxOS-178 GDBserver causes GDBserver to crash:

    % gdbserver :4444 simple_main
    Process simple_main created; pid = 19
    Listening on port 4444
    Remote debugging from host 205.232.38.10
    Segmentation fault (core dumped)

The crash happens in thread_search_callback where the function
calls the_target->thread_stopped (via the thread_stopped macro)
without verifying whether the callback is NULL or not.

For the record, the regression was introduced by:

    commit a67a9faef0e32886c83611cc7a0ba61e91123063
    Date:   Mon Nov 30 16:05:26 2015 +0000
    Subject: gdbserver:prepare_access_memory: pick another thread

This patch avoids the crash by checking the value of the callback
first, before calling it.

gdb/gdbserver/ChangeLog:

        * target.c (thread_search_callback): Add check that
        the thread_stopped target callback is not NULL before
        calling it.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [win32] cannot automatically find executable file [...] warning at GDB startup
@ 2015-12-22 15:35 sergiodj+buildbot
  2015-12-22 17:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aec47d1d54be415050bbd3ccb93c0157d60ed92d ***

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

[win32] cannot automatically find executable file [...] warning at GDB startup

The following change...

    commit 43499ea30db2a866412c86952c7e1d7b158d806f
    Date:   Tue Nov 17 15:17:44 2015 +0000
    Subject: [C++/mingw] windows-nat.c casts

... causes a small regression in GDB, where we get the following
warning at startup:

    % gdb
    C:\[...]\gdb.exe: warning: cannot automatically find executable file or library to read symbols.
    Use "file" or "dll" command to load executable/libraries directly.
    GNU gdb (GDB) 7.10.50.20151218-cvs (with AdaCore local changes)
    [...]
    (gdb)

The warning comes from _initialize_loadable which tries to dynamically
load some symbols from kernel32.dll and psapi.dll, and in particular:

  hm = LoadLibrary ("psapi.dll");
  if (hm)
    {
      GPA (hm, EnumProcessModules);
      GPA (hm, GetModuleInformation);
      GPA (hm, GetModuleFileNameEx);
    }

The problem is that the new GPA macro assumes that the name of
the variable we use to point to the function, and the name of
its associated symbol are the same. This is mostly the case,
except for GetModuleFileNameEx, where the name is provided by
the GetModuleFileNameEx_name macro (defined differently depending
on whether we are on cygwin or not). As a result, the dynamic
resolution for GetModuleFileNameEx returns NULL, and we trip
the following check which leads to the warning:

  if (!EnumProcessModules || !GetModuleInformation || !GetModuleFileNameEx)
    {
      [...]
      warning(_("[...]"));
    }

This patch fixes the problem by calling GetProcAddress directly,
rather than through the GPA macro, but in a way which hopefully
avoids the C++ compilation warning that the previous patch was
trying to get rid of.

gdb/ChangeLog:

	* windows-nat.c (_initialize_loadable): Fix computing of
	GetModuleFileNameEx.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] RXv2 support update
@ 2015-12-22 14:38 sergiodj+buildbot
  2015-12-22 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 14:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 239efab16429cad466591ccd1c57bba786171765 ***

Author: Yoshinori Sato <ysato@users.sourceforge.jp>
Branch: master
Commit: 239efab16429cad466591ccd1c57bba786171765

RXv2 support update

2015-12-22  Yoshinori Sato <ysato@users.sourceforge.jp>

opcodes/
	* rx-decode.opc (movco): Use uniqe id.
	(movli): Likewise.
	(stnz): Condition fix.
	(mvtacgu): Destination fix.
	* rx-decode.c: Regenerate.

bfd/
	* archures.c: Add bfd_mach_rx_v2.
	* bfd-in2.h: Regenerate.
	* cpu-rx.c (arch_info_struct): Add v2 information.
	* elf32-rx.c (elf32_rx_machine): Add v2 support.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add an expect for running commands with CLI jump
@ 2015-12-22  3:04 sergiodj+buildbot
  2015-12-22  3:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-22  3:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d265cb4a956310d2cae231ac63a37e11fe376e1 ***

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

Add an expect for running commands with CLI jump

2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gdb/testsuite/
    * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
    case.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove HP-UX references fom testsuite
@ 2015-12-21 18:02 sergiodj+buildbot
  2015-12-21 18:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-21 18:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ca22649a6dfeb71058c33be4d0542b98f1f0ff5 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 3ca22649a6dfeb71058c33be4d0542b98f1f0ff5

Remove HP-UX references fom testsuite

This patch removes all special cases for HP-UX, for which support has
been removed earlier, that I found in the testsuite.  Note that the hppa
architecture != HP-UX, since other OSes can run on hppa, so I tried to
leave everything that is not HP-UX specific.

Two complete tests were completely HP-UX specific, so I removed them.

I ran the testsuite on Linux x86-64, native and native-gdbserver, and
noticed no regressions.

gdb/testsuite/ChangeLog:

	* gdb.asm/asm-source.exp: Remove HP-UX references.
	* gdb.base/annota1.exp: Likewise.
	* gdb.base/annota3.exp: Likewise.
	* gdb.base/attach.exp: Likewise.
	* gdb.base/bigcore.exp: Likewise.
	* gdb.base/break.exp: Likewise.
	* gdb.base/call-ar-st.exp: Likewise.
	* gdb.base/callfuncs.exp: Likewise.
	* gdb.base/catch-fork-static.exp: Likewise.
	* gdb.base/display.exp: Likewise.
	* gdb.base/foll-exec-mode.exp: Likewise.
	* gdb.base/foll-exec.exp: Likewise.
	* gdb.base/foll-fork.exp: Likewise.
	* gdb.base/foll-vfork.exp: Likewise.
	* gdb.base/funcargs.exp: Likewise.
	* gdb.base/hbreak2.exp: Likewise.
	* gdb.base/inferior-died.exp: Likewise.
	* gdb.base/interrupt.exp: Likewise.
	* gdb.base/multi-forks.exp: Likewise.
	* gdb.base/nodebug.exp: Likewise.
	* gdb.base/sepdebug.exp: Likewise.
	* gdb.base/solib1.c: Likewise.
	* gdb.base/step-test.exp: Likewise.
	* gdb.mi/non-stop.c: Likewise.
	* gdb.mi/pthreads.c: Likewise.
	* gdb.multi/bkpt-multi-exec.ex: Likewise.
	* gdb.threads/pthreads.c: Likewise.
	* gdb.threads/staticthreads.exp: Likewise.
	* lib/future.exp: Likewise.
	* lib/gdb.exp: Likewise.
	* gdb.base/so-indr-cl.c: Remove.
	* gdb.base/so-indr-cl.exp: Likewise.
	* gdb.base/solib.c: Likewise.
	* gdb.base/solib.exp: Likewise.
	* gdb.base/solib2.c: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Use arm_eabi_breakpoint on aarch32
@ 2015-12-21 14:08 sergiodj+buildbot
  2015-12-21 15:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-21 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35adc03f3787405297259a1706608bdeaab4fda9 ***

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

Use arm_eabi_breakpoint on aarch32

This patch is to get b37a6290 back again, which was removed by
d9311bfa by mistake.

gdb/gdbserver:

2015-12-21  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch32-low.h [__aarch64__]: Use arm_abi_breakpoint
	arm breakpoint.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride
@ 2015-12-21  3:05 sergiodj+buildbot
  2015-12-21 11:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-21  3:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b4a7fcab76dc6162a4db4b93d878a212553b722a ***

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

Minor reformatting fix in gdbtypes.c::create_array_type_with_stride

gdb/ChangeLog:

        * gdbtypes.c (create_array_type_with_stride): Fix indentation.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove HP-UX reference in testsuite/configure.ac
@ 2015-12-20 15:11 sergiodj+buildbot
  2015-12-21 10:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-20 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf401b072ea4eaff1af425df69f32cad8d52b57c ***

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

Remove HP-UX reference in testsuite/configure.ac

gdb/testsuite/ChangeLog:

	* configure.ac: Remove HP-UX case.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <a4e22a5df64a46bc99f737a982c0b9d1e8a45e2b@gdb-build>]
* [binutils-gdb] Fix ARI warning in gdb/arch/arm-get-next-pcs.c
@ 2015-12-19  3:44 sergiodj+buildbot
  2015-12-21  8:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-19  3:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e7826da33d884c21bd1a036e71fe1002fae76ce4 ***

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

Fix ARI warning in gdb/arch/arm-get-next-pcs.c

gdb/ChangeLog:

        * arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Remove trailing
        newline at end of error message.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Make prompt_for_continue call throw_quit directly.
@ 2015-12-19  2:04 sergiodj+buildbot
  2015-12-21  6:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-19  2:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1690b6163c6546305cb5f8811d4c7348d8f435e0 ***

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

Make prompt_for_continue call throw_quit directly.

2015-12-18  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/
	* utils.c (prompt_for_continue): Call throw_quit directly on 'q'.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Cast to enum bfd_endian in arm_get_next_pcs_read_memory_unsigned_integer
@ 2015-12-18 20:40 sergiodj+buildbot
  2015-12-21  5:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f2dfcfdb5def494d13bff72275f6ff75fe75f40 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 5f2dfcfdb5def494d13bff72275f6ff75fe75f40

Cast to enum bfd_endian in arm_get_next_pcs_read_memory_unsigned_integer

This patch fixes the cxx build broken by commit : d9311bfaf572cf14af577a66e79c51c491553552.

Pushed as obvious.

gdb/ChangeLog:

	* arm-tdep.c (arm_get_next_pcs_read_memory_unsigned_integer): Cast
	to enum bfd_endian)


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Enable software single stepping for while-stepping actions in GDBServer
@ 2015-12-18 17:51 sergiodj+buildbot
  2015-12-21  1:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fe5e27e9d63b065731b1b0b69ffd344942f4f39 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 7fe5e27e9d63b065731b1b0b69ffd344942f4f39

Enable software single stepping for while-stepping actions in GDBServer

This patch enables software single stepping if the targets support it,
to do while-stepping actions.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* linux-low.c (single_step): New function.
	(linux_resume_one_lwp_throw): Call single_step.
	(start_step_over): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Share regcache function regcache_raw_read_unsigned
@ 2015-12-18 17:35 sergiodj+buildbot
  2015-12-20 22:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68ce205943e0821eacd8028881ced3607cc83c0d ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 68ce205943e0821eacd8028881ced3607cc83c0d

Share regcache function regcache_raw_read_unsigned

This patch is in preparation for software single step support on ARM in
GDBServer. It adds a new shared function regcache_raw_read_unsigned and
regcache_raw_get_unsigned so that GDB and GDBServer can use the same call
to fetch a raw register into an integer.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/ChangeLog:

	* Makefile.in (SFILES): Append common/common-regcache.c.
	(COMMON_OBS): Append common/common-regcache.o.
	(common-regcache.o): New rule.
	* common/common-regcache.h (register_status) New enum.
	(regcache_raw_read_unsigned): New declaration.
	* common/common-regcache.c: New file.
	* regcache.h (enum register_status): Move to common-regcache.h.
	(regcache_raw_read_unsigned): Likewise.
	(regcache_raw_get_unsigned): Likewise.

gdb/gdbserver/ChangeLog:

	* Makefile.in (SFILES): Append common/common-regcache.c.
	(OBS): Append common-regcache.o.
	(common-regcache.o): New rule.
	* regcache.c (init_register_cache): Initialize cache to
	REG_UNAVAILABLE.
	(regcache_raw_read_unsigned): New function.
	* regcache.h (REG_UNAVAILABLE, REG_VALID): Replaced by shared
	register_status enum.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Refactor arm_software_single_step to use regcache
@ 2015-12-18 17:27 sergiodj+buildbot
  2015-12-20 20:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0e59a68884ad3a346ff0f6f763636c7245e4cb3 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: d0e59a68884ad3a346ff0f6f763636c7245e4cb3

Refactor arm_software_single_step to use regcache

This patch is in preparation for software single step support on ARM in
GDBServer. It refactors arm_*_software_single_step and sub-functions to
use regcache instead of frame to access registers so that the code can be
shared more easily between GDB and GDBServer.

Note also that since the intention is at some point to get rid of frame
completely in that function, memory reads have also been replaced by
read_memory_unsigned_integer rather than get_frame_memory_unsigned.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/ChangeLog:

	* arm-linux-tdep.c (arm_linux_sigreturn_next_pc_offset): New function.
	(arm_linux_sigreturn_next_pc): Likewise.
	(arm_linux_syscall_next_pc): Use regcache instead of frame.
	(arm_linux_software_single_step): Likewise.
	* arm-tdep.c (arm_is_thumb): New function.
	(shifted_reg_va): Use regcache instead of frame.
	(thumb_get_next_pc_raw): Likewise.
	(arm_get_next_pc_raw): Likewise.
	(arm_get_next_pc): Likewise.
	(thumb_deal_with_atomic_sequence_raw): Likewise.
	(arm_deal_with_atomic_sequence_raw): Likewise.
	(arm_deal_with_atomic_sequence): Likewise.
	(arm_software_single_step): Likewise.
	* arm-tdep.h (struct gdbarch_tdep): Use regcache for syscall_next_pc.
	(arm_get_next_pc): Use regcache.
	(arm_deal_with_atomic_sequence): Likewise.
	(arm_is_thumb): New declaration.
	* regcache.c (regcache_raw_get_unsigned): New function.
	* regcache.h (regcache_raw_get_unsigned): New function declaration.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Share some ARM target dependent code from GDB with GDBServer
@ 2015-12-18 17:01 sergiodj+buildbot
  2015-12-20 19:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cba7e83fda349cbf423fab274f5b8677d8148947 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: cba7e83fda349cbf423fab274f5b8677d8148947

Share some ARM target dependent code from GDB with GDBServer

This patch is in preparation for software single stepping support on ARM
it shares some functions and definitions that will be needed.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

Not tested: wince/bsd build.

gdb/ChangeLog:

	* arch/arm.c (bitcount): Move from arm-tdep.c.
	(condition_true): Likewise.
	* arch/arm.h (Instruction Definitions): Move form arm-tdep.h.
	(condition_true): Move defenition from arm-tdep.h.
	(bitcount): Likewise.
	* arm-tdep.c (condition_true): Move to arch/arm.c.
	(bitcount): Likewise.
	* arm-tdep.h (Instruction Definitions): Move to arch/arm.h.
	* arm-wince-tdep.c: Include arch/arm.h.
	* armnbsd-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [ARM] Enable CRC by default for ARMv8.1 and later.
@ 2015-12-17 21:47 sergiodj+buildbot
  2015-12-20  4:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 21:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 29b1539538f5f285e017adbc64b8d72b45c104a8 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 29b1539538f5f285e017adbc64b8d72b45c104a8

[ARM] Enable CRC by default for ARMv8.1 and later.

ARMv8.1 includes CRC as a required extension but the +crc feature isn't
enabled by -march=armv8.1-a as it should be. This patch fixes that.

opcode/include
2015-12-15  Matthew Wahab  <matthew.wahab@arm.com>

	* arm.h (ARM_ARCH_V8_1A): Add the CRC_EXT_ARMV8 co-processor
	feature macro.
	(ARM_ARCH_V8_2A): Likewise.

Change-Id: Id1fe0e6fa51dede19d61e1fd08e68628ea1b1e9e


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix PR threads/19354: "info threads" error with multiple inferiors
@ 2015-12-17 15:38 sergiodj+buildbot
  2015-12-20 14:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 15:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6904d5a6aa63e4bef7207407250d8b76b56f8a9 ***

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

Fix PR threads/19354: "info threads" error with multiple inferiors

Note: this applies on top of:
 [PATCH] Remove support for LinuxThreads and vendor 2.4 kernels w/ backported NPTL
 https://sourceware.org/ml/gdb-patches/2015-12/msg00214.html

We try to avoid using libthread_db.so to list threads in the inferior
when debugging live processes, but the code that decides whether to
use it decides incorrectly if you have more than one inferior, and the
current inferior doesn't have execution yet.  The result is visible
as:

 (gdb) add-inferior
 Added inferior 2
 (gdb) inferior 2
 [Switching to inferior 2 [<null>] (<noexec>)]
 (gdb) info inferiors
   Num  Description       Executable
   1    process 15397     /home/pedro/gdb/tests/threads
 * 2    <null>
 (gdb) info threads
 Cannot find new threads: generic error
 (gdb)

Fix this by checking whether each inferior has execution rather than
just the current inferior.

By moving the core updating to linux-nat.c's update_thread_list
implementation, this also ends up fixing the
lwp-last-seen-running-on-core updating in the case we're debugging a
program that uses raw clone rather than pthreads, as linux-thread-db.c
isn't pushed in the target stack in that scenario.

Tested on x86_64 Fedora 20.

gdb/ChangeLog:
2015-12-17  Pedro Alves  <palves@redhat.com>

	PR threads/19354
	* linux-nat.c (linux_nat_update_thread_list): Update process cores
	each lwp was last seen running on here.
	* linux-thread-db.c (update_thread_core): Delete.
	(thread_db_update_thread_list_td_ta_thr_iter): Rename to ...
	(thread_db_update_thread_list): ... this.  Skip inferiors with
	execution.  Also call the target beneath.
	(thread_db_update_thread_list): Delete.

gdb/testsuite/ChangeLog:
2015-12-17  Pedro Alves  <palves@redhat.com>

	PR threads/19354
	* gdb.multi/info-threads.exp: New file.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 11/14] Add support for the 2H vector type.
@ 2015-12-17 15:02 sergiodj+buildbot
  2015-12-18 23:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 15:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3067d3b96cfb88e86acf94d2aa1575cff0e0110f ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 3067d3b96cfb88e86acf94d2aa1575cff0e0110f

[AArch64][PATCH 11/14] Add support for the 2H vector type.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. The FP16 additions to the
scalar pairwise group introduce a new vector type, 2H. This patch adds
support for this vector type to binutils.

The patch adds a new operand qualifier to the enum
aarch64.h:aarch64_opnd_qualifier. This interferes with the calculation
used by aarch64-dis.c:get_vreg_qualifier_from_value, called when
decoding an instruction. Since the new vector type is only used in FP16
scalar pairwise instructions which do not require the function, this
patch adjusts the function to ignore the new qualifier.

gas/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c (parse_neon_type_for_operand): Adjust to
	take into account new vector type 2H.
	(vectype_to_qualifier): Likewise.

include/opcode/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (enum aarch64_opnd_qualifier): Add
	AARCH64_OPND_QLF_V_2H.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.coM>

	* aarch64-dis.c (get_vreg_qualifier_from_value): Update comment
	and adjust calculation to ignore qualifier for type 2H.
	* aarch64-opc.c (aarch64_opnd_qualifier): Add "2H".

Change-Id: Idf9a3694732962c80fde04f08c7304de9164f126


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [Patch ARM] Fix build attributes for armv8-a in case of assembler files that contain no directives.
@ 2015-12-17 11:45 sergiodj+buildbot
  2015-12-20 10:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10c9892b66d56de0aab3fbaec3d59a0304dc0a21 ***

Author: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Branch: master
Commit: 10c9892b66d56de0aab3fbaec3d59a0304dc0a21

[Patch ARM] Fix build attributes for armv8-a in case of assembler files that contain no directives.

There is currently a problem in the way in which we produce
build attributes for simple assembler files that have armv8-a
instructions.

In these case we need to generate TAG_ISA_THUMB_Use to be Thumb-2
and set the architecture profile to be 'A' rather than not
setting architecture profile to be 'A' and setting TAG_ISA_THUMB_Use
to be Thumb-1.

This is a pre-requisite for any v8-m patches that have been posted.
arm-none-eabi gas testsuite run. no regressions.

2015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* gas/config/tc-arm.c (aeabi_set_public_attributes): Adjust
	TAG_ARCH_profile for armv8-a.
	* gas/testsuite/gas/arm/armv8a-automatic-hlt.d: New test.
	* gas/testsuite/gas/arm/armv8a-automatic-hlt.s: New test.
	* gas/testsuite/gas/arm/armv8a-automatic-lda.d: New test.
	* gas/testsuite/gas/arm/armv8a-automatic-lda.s: New test.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix -Wno-unknown-warning support detection
@ 2015-12-17 10:22 sergiodj+buildbot
  2015-12-20  8:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 10:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7544db951abbb5dca5373dcc7ae83ed60c0782ad ***

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

Fix -Wno-unknown-warning support detection

Ref: https://sourceware.org/ml/gdb/2015-12/msg00024.html

We have code in configure.ac that tries to detect whether the compiler
supports each warning and suppress it if not, but that doesn't work
with "-Wno-" options, because gcc doesn't error out for
-Wno-unknown-warning unless other diagnostics are being produced.

See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html.

Handle this by checking whether -Wfoo works when we actually want
-Wno-foo.

gdb/ChangeLog:
2015-12-16  Pedro Alves  <palves@redhat.com>

	* configure.ac (compiler warning flags): When testing a
	-Wno-foo option, check whether -Wfoo works instead.
	* configure: Regenerate.

gdb/gdbserver/ChangeLog:
2015-12-16  Pedro Alves  <palves@redhat.com>

	* configure.ac (compiler warning flags): When testing a
	-Wno-foo option, check whether -Wfoo works instead.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Tweak gdb.trace/ftrace.exp for aarch64
@ 2015-12-17  9:14 sergiodj+buildbot
  2015-12-20  2:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  9:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a22279dd83da7a0dd2b496c92dc2522427f74e37 ***

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

Tweak gdb.trace/ftrace.exp for aarch64

Some tests are skipped on aarch64 unexpectedly because arg0exp isn't
set.  This patch is to set arg0exp to "$x0" for aarch64.

gdb/testsuite:

2015-12-15  Yao Qi  <yao.qi@linaro.org>

	* gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
	is aarch64*-*-*.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] bfd: don't produce corrupt COFF symbol table due to long ELF file name symbols
@ 2015-12-17  9:06 sergiodj+buildbot
  2015-12-20  1:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 270f824531ceef276616a5d2f3027fa9f537c10b ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 270f824531ceef276616a5d2f3027fa9f537c10b

bfd: don't produce corrupt COFF symbol table due to long ELF file name symbols

The re-writing logic in _bfd_coff_final_link() overwrote the ".file"
part of the symbol table entry, due to not coping with the auxiliary
entry generated in all cases.

Note that while I would have wanted to add a test case,
(a) I didn't spot any one testing the base functionality here, and
(b) I wasn't able to figure out proper conditionals to use in e.g.
    ld-elf/elf.exp to check for the necessary PE/PE+ support (which
    varies by target).


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix invalid left shift of negative value
@ 2015-12-17  8:58 sergiodj+buildbot
  2015-12-20  0:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  8:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d19cae752a7b032b8253feb4fa3b9f1dc162823 ***

Author: Dominik Vogt <vogt@linux.vnet.ibm.com>
Branch: master
Commit: 1d19cae752a7b032b8253feb4fa3b9f1dc162823

Fix invalid left shift of negative value

Fix occurrences of left-shifting negative constants in C code.

sim/arm/ChangeLog:

	* thumbemu.c (handle_T2_insn): Fix left shift of negative value.
	* armemu.c (handle_v6_insn): Likewise.

sim/avr/ChangeLog:

	* interp.c (sign_ext): Fix left shift of negative value.

sim/mips/ChangeLog:

	* micromips.igen (process_isa_mode): Fix left shift of negative
	value.

sim/msp430/ChangeLog:

	* msp430-sim.c (get_op, put_op): Fix left shift of negative value.

sim/v850/ChangeLog:

	* simops.c (v850_bins): Fix left shift of negative value.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for the MRS instruction to the AArch64 simulator.
@ 2015-12-17  7:48 sergiodj+buildbot
  2015-12-19 21:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT caa8d70005e4e12392683c799b30790fc4c62166 ***

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

Add support for the MRS instruction to the AArch64 simulator.

	* aarch64/simulator.c (system_get): New function.  Provides read
	access to the dczid system register.
	(do_mrs): New function - implements the MRS instruction.
	(dexSystem): Call do_mrs for the MRS instruction.  Halt on
	unimplemented system instructions.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Add support for RX V2 Instruction Set
@ 2015-12-17  7:40 sergiodj+buildbot
  2015-12-19 20:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a117b0a51cd3c768453c244a3754c1b9a77e74fc ***

Author: Yoshinori Sato <ysato@users.sourceforge.jp>
Branch: master
Commit: a117b0a51cd3c768453c244a3754c1b9a77e74fc

Add support for RX V2 Instruction Set

binutils
	* readelf.c(get_machine_flags): Add v2 flag.

gas
	* config/rx-defs.h(rx_cpu_type): Add RXV2 type.
	* config/tc-rx.c(cpu_type_list): New type lookup table.
	(md_parse_option): Use lookup table for choose cpu.
	(md_show_usage): Add rxv2 for mcpu option.
	* doc/c-rx.texi: Likewise.
	* config/rx-parse.y: Add v2 instructions and ACC register.
	(rx_check_v2): check v2 type.

include/elf
	* rx.h(E_FLAG_RX_V2): New RXv2 type.

include/opcode
	* rx.h: Add new instructions.

opcoes
	* rx-deocde.opc(rx_decode_opcode): Add new instructions pattern.
	* rx-dis.c(register_name): Add new register.

gas/testsuite
	* gas/rx/emaca.d: New.
	* gas/rx/emaca.sm: New.
	* gas/rx/emsba.d: New.
	* gas/rx/emsba.sm: New.
	* gas/rx/emula.d: New.
	* gas/rx/emula.sm: New.
	* gas/rx/fadd.d: Add new pattern.
	* gas/rx/fadd.sm: Add new pattern.
	* gas/rx/fmul.d: Add new pattern.
	* gas/rx/fmul.sm: Add new pattern.
	* gas/rx/fsqrt.d: New.
	* gas/rx/fsqrt.sm: New.
	* gas/rx/fsub.d: Add new pattern.
 	* gas/rx/fsub.sm: Add new pattern.
	* gas/rx/ftou.d: New.
	* gas/rx/ftou.sm: New.
	* gas/rx/maclh.d: New.
	* gas/rx/maclh.sm: New.
	* gas/rx/maclo.d: Add new pattern.
	* gas/rx/maclo.sm: Add new pattern.
	* gas/rx/macros.inc: Add new register.
	* gas/rx/movco.d: New.
	* gas/rx/movco.sm: New.
	* gas/rx/movli.d: New.
	* gas/rx/movli.sm: New.
	* gas/rx/msbhi.d: New.
	* gas/rx/msbhi.sm: New.
	* gas/rx/msblh.d: New.
	* gas/rx/msblh.sm: New.
	* gas/rx/msblo.d: New.
	* gas/rx/msblo.sm: New.
	* gas/rx/mullh.d: New.
	* gas/rx/mullh.sm: New.
	* gas/rx/mvfacgu.d: New.
	* gas/rx/mvfacgu.sm: New.
	* gas/rx/mvfachi.d: Add new pattern.
	* gas/rx/mvfachi.sm: Add new pattern.
	* gas/rx/mvfaclo.d: Add new pattern.
	* gas/rx/mvfaclo.sm: Add new pattern.
	* gas/rx/mvfacmi.d: Add new pattern.
	* gas/rx/mvfacmi.sm: Add new pattern.
	* gas/rx/mvfc.d: Add new pattern.
	* gas/rx/mvtacgu.d: New.
	* gas/rx/mvtacgu.sm: New.
	* gas/rx/mvtc.d: Add new pattern.
	* gas/rx/popc.d: Add new pattern.
	* gas/rx/pushc.d: Add new pattern.
	* gas/rx/racl.d: New.
	* gas/rx/racl.sm: New.
	* gas/rx/racw.d: Add new pattern.
	* gas/rx/racw.sm: Add new pattern.
	* gas/rx/rdacl.d: New.
	* gas/rx/rdacl.sm: New.
	* gas/rx/rdacw.d: New.
	* gas/rx/rdacw.sm: New.
	* gas/rx/rx.exp: Add option.
	* gas/rx/stnz.d: Add new pattern.
	* gas/rx/stnz.sm: Add new pattern.
	* gas/rx/stz.d: Add new pattern.
	* gas/rx/stz.sm: Add new pattern.
	* gas/rx/utof.d: New.
	* gas/rx/utof.sm: New.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Check for readline support in gdb.base/history-duplicates.exp.
@ 2015-12-17  7:33 sergiodj+buildbot
  2015-12-19 13:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0588c79688b061699500f317e193bbb3fe50c41d ***

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

Check for readline support in gdb.base/history-duplicates.exp.

2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.base/history-duplicates.exp: Skip if no readline support.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Target remote mode fork and exec event support
@ 2015-12-17  6:17 sergiodj+buildbot
  2015-12-19  6:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  6:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8020350c5277e056e89b0ea5e14a8d09408f7fb3 ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 8020350c5277e056e89b0ea5e14a8d09408f7fb3

Target remote mode fork and exec event support

This patch implements support for fork and exec events with target remote
mode Linux targets.  For such targets with Linux kernels 2.5.46 and later,
this enables follow-fork-mode, detach-on-fork and fork and exec
catchpoints.

The changes required to implement this included:

 * Don't exit from gdbserver if there are still active inferiors.

 * Allow changing the active process in remote mode.

 * Enable fork and exec events in remote mode.

 * Print "Ending remote debugging" only when disconnecting.

 * Combine remote_kill and extended_remote_kill into a single function
   that can handle the multiple inferior case for target remote.  Also,
   the same thing for remote_mourn and extended_remote_mourn.

 * Enable process-style ptids in target remote.

 * Remove restriction on multiprocess mode in target remote.

gdb/gdbserver/ChangeLog:

	* server.c (process_serial_event): Don't exit from gdbserver
	in remote mode if there are still active inferiors.

gdb/ChangeLog:

	* inferior.c (number_of_live_inferiors): New function.
	(have_live_inferiors): Use number_of_live_inferiors in place
	of duplicate code.
	* inferior.h (number_of_live_inferiors): Declare new function.
	* remote.c (set_general_process): Remove restriction on target
	remote mode.
	(remote_query_supported): Likewise.
	(remote_detach_1): Exit in target remote mode only when there
	is just one live inferior left.
	(remote_disconnect): Unpush the target directly instead of
	calling remote_mourn.
	(remote_kill): Rewrite function to handle both target remote
	and extended-remote.  Call remote_kill_k.
	(remote_kill_k): New function.
	(extended_remote_kill): Delete function.
	(remote_mourn, extended_remote_mourn): Combine functions into
	one, remote_mourn, and enable extended functionality for target
	remote.
	(remote_pid_to_str): Enable "process" style ptid string for
	target remote.
	(remote_supports_multi_process): Remove restriction on target
	remote mode.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 14/14] Support FP16 Adv.SIMD Scalar Shift By Immediate instructions.
@ 2015-12-17  6:02 sergiodj+buildbot
  2015-12-19  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  6:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4fd0a9fd005ea3affe8e61f6ec82817055a3bc2b ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 4fd0a9fd005ea3affe8e61f6ec82817055a3bc2b

[AArch64][PATCH 14/14] Support FP16 Adv.SIMD Scalar Shift By Immediate instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch extends
instructions in the group Adv.SIMD Scalar Shift By Immediate to support
FP16, making this support available when +simd+fp16 is enabled.

The extended instructions are: SCVTF, FCVTZS, UCVTF and FCVTZU.

The general form for these instructions is
   <OP> <Hd>, <Hs>, #<imm>

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16: Add tests for Adv.SIMD scalar shift
	by immediate instructions.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_SSHIFT_H): New.
	(aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
	and fcvtzu to the Adv.SIMD scalar shift by immediate group.

Change-Id: I40506496f52dd96909e7344f243b38a1870df7ff


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 13/14] Support FP16 Adv.SIMD Shift By Immediate instructions.
@ 2015-12-17  5:53 sergiodj+buildbot
  2015-12-19  2:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b5b0f34c669a91b9d873221ea3d688cf7f495ab5 ***

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

[AArch64][PATCH 13/14] Support FP16 Adv.SIMD Shift By Immediate instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch extends
instructions in the group Adv.SIMD Shift By Immediate to support FP16,
making this support available when +simd+fp16 is enabled.

The new instructions legal make some uses of the 4h vector type that had
been invalid. This patch adjusts a test that checks for these uses.

The extended instructions are: SCVTF, FCVTZS, UCVTF and FCVTZU.

The general form for these instructions is
   <OP> <Vd>.<T>, <Vs>.<T>, #<imm>
   where T is 4h or 8h.

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes
	instructions.
	* gas/aarch64/illegal.d: Update expected output.
	* gas/aarch64/illegal.s: Replace tests for illegal use of 'h'
	specifier.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_VSHIFT_H): New.
	(aarch64_opcode_table): Add fp16 versions of scvtf, fcvtzs, ucvtf
	and fcvtzu to the Adv.SIMD shift by immediate group.

Change-Id: I3480f63883d54db46562573185da6982f2365ee8


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 9/14] Support FP16 Adv.SIMD Modified Immediate instructions.
@ 2015-12-17  5:29 sergiodj+buildbot
  2015-12-18 22:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b5fc357a17d59929cf39869d19fc4eabdb7ae81 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 4b5fc357a17d59929cf39869d19fc4eabdb7ae81

[AArch64][PATCH 9/14] Support FP16 Adv.SIMD Modified Immediate instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch adds an FP16
instruction to the group Adv.SIMD Modified Immediate, making it
available when +simd+fp16 is enabled.

The instruction added is: FMOV.

The form of this instructions is
    <OP> <Hd>, #<imm>

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD modified immediate
	instructions.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_SIMD_IMM_H): New.
	(aarch64_opcode_table): Add fp16 version of fmov to the Adv.SIMD
	modified immediate group.

Change-Id: Ic66af44c494e6a53fb1cf01c372cdc62d12643e2


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 7/14] Support FP16 Scalar Indexed Element instructions.
@ 2015-12-17  5:14 sergiodj+buildbot
  2015-12-18 19:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f7728b7413b3bed576f8dd11d1343c20b3a2333 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 5f7728b7413b3bed576f8dd11d1343c20b3a2333

[AArch64][PATCH 7/14] Support FP16 Scalar Indexed Element instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch adds FP16
instructions to the group Scalar Indexed Element, making them available
when +simd+fp16 is enabled.

The instructions added are: FMLA, FMLS, FMUL and FMULX.

The general form for these instructions is
  <OP> <Hd>, <Hs>, <V>.h[<idx>]

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16.s: Add tests for scalar indexed element
	instructions.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (aarch64_opcode_table): Add fp16 versions of fmla,
	fmls, fmul and fmulx to the scalar indexed element group.

Change-Id: I6a4ee20a9ae1019b89d0fd05da55222f267c5627


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 6/14] Support FP16 Vector Indexed Element instructions.
@ 2015-12-17  5:06 sergiodj+buildbot
  2015-12-18 18:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 42f23f6218262ae8488caab214b7f272c6758941 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 42f23f6218262ae8488caab214b7f272c6758941

[AArch64][PATCH 6/14] Support FP16 Vector Indexed Element instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch adds FP16
instructions to the group Vector Indexed Element, making them available
when +simd+fp16 is enabled.

The instructions added are: FMLA, FMLS, FMUL and FMULX.

The general form for these instructions is
  <OP> <V>.<T>, <V>.<T>, <V>.h[<idx>]
  where T is 4h or 8h

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16.s: Add tests for vector indexed element
	instructions.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_ELEMENT_FP_H): New.
	(aarch64_opcode_table): Add fp16 versions of fmla, fmls, fmul and
	fmulx to the vector indexed element group.

Change-Id: Ib70cd4eaa6ea2938f84ac41f31d72644dbb0ceb4


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 4/14] Support FP16 Vector Two Register Misc. instructions.
@ 2015-12-17  4:50 sergiodj+buildbot
  2015-12-18 15:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f3aa142b8b04bfccef2cbc3233b565c2b3faa01a ***

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

[AArch64][PATCH 4/14] Support FP16 Vector Two Register Misc. instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the floating point and Adv.SIMD support. This patch adds FP16
instructions to the group Vector Two Register Misc, making them
available when +simd+fp16 is enabled.

The instructions added are: FCMGT, FCMGE, FCMEQ, FCMLE, FCMLT, FABS,
FNEG, FRINTN, FRINTA, FRINTP, FRINTM, FRINTX, FRINTZ, FRINTI, FCVTNS,
FCVTNU, FCVTPS, FCVTPU, FCVTMS, FCVTMU, FCVTZS, FCVTZU, FCVTAS, FCVTAU,
SCVTF, UCVTF, FRECPE, FRSQRTE and FSQRT.

The general form for these instructions is
  <OP> <Vd>.<T>, <Vs>.<T>
  where T is 4h or 8h.

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: Update expected output.
	* gas/aarch64/advsimd-fp16.s: Add tests for vector two register misc.
	instructions.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_V2SAMEH): New.
	(aarch64_opcode_table): Add fp16 versions of frintn, frintm,
	fcvtns, fcvtms, fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fabs, frintp,
	frintz, fcvtps, fcvtzs, frecpe, frinta, frintx, fcvtnu, fcvtmu,
	fcvtau, ucvtf, fcmge, fcmle, fneg, frinti, fcvtpu, fcvtzu, frsqrte
	and fsqrt to the vector register misc. group.

Change-Id: I0267511a7f7ea14247504d29fe4752e84c9af9ad


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 2/14] Support ARMv8.2 FP16 Vector Three Same instructions.
@ 2015-12-17  4:35 sergiodj+buildbot
  2015-12-18 13:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51d543ed936c9ea7d045ecf80030e6bc8ffff29f ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 51d543ed936c9ea7d045ecf80030e6bc8ffff29f

[AArch64][PATCH 2/14] Support ARMv8.2 FP16 Vector Three Same instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to floating point and Adv.SIMD support. This patch adds FP16
instructions to the group Vector Three Register Same, making them
available when +simd+fp16 is enabled.

The instructions added are: FMAXNM, FMAXNMP, FNMINNM, FMINNMP, FMLA,
FMLS, FADD, FADDP, FSUB, FABD, FMULX, FMUL, FCMEQ, FCMGE, FCMGT, FACGE,
FACGT, FMAX, FMAXP, FMIN, FMINP, FRECPS, FDIV and FRSQRTS.

The general form for these instructions is
  <OP> <Vd>.<T>, <Vs>.<T>, <Vm>.<T>
  where T is 4h or 8h.

gas/testsuite/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/advsimd-fp16.d: New.
	* gas/aarch64/advsimd-fp16.s: New.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (QL_V3SAMEH): New.
	(aarch64_opcode_table): Add fp16 versions of fmaxnm, fmla, fadd,
	fmulx, fcmeq, fmax, frecps, fminnm, fmls, fsub, fmin, frsqrts,
	fmaxnmp, faddp, fmul, fcmge, facge, fmaxp, fdiv, fminnmp, fabd,
	fcmgt, facgt and fminp to the vector three same group.

Change-Id: I3f1c5fe82ca73f7a17fe5329cf2b0de03c94328c


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch
@ 2015-12-17  4:19 sergiodj+buildbot
  2015-12-18 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6351190792e586b5e80fe0efa0f254b4da0b6705 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 6351190792e586b5e80fe0efa0f254b4da0b6705

[AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch

A mistake with rebasing the ARMv8.2 AT instruction patch left this part

+  /* AT S1E1RP, AT S1E1WP.  Values are from aarch64_sys_regs_at.  */
+  if ((reg->value == CPENS (0, C7, C9, 0)
+       || reg->value == CPENS (0, C7, C9, 1))
+      && !AARCH64_CPU_HAS_FEATURE (features, AARCH64_FEATURE_V8_2))
+    return FALSE;

in aarch64_pstatefield_supported_p rather than in
aarch64_sys_ins_reg_supported_p, where it was supposed to be.

The patch adding support for id_aa64mmfr2_el1, also had the effect of
removing a conditional branch in aarch64_sys_reg_supported_p.

The effect of both of these is to suppress an error if some ARMv8.2
system registers are used with the wrong -march settings.

This patch fixes these mistakes.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
	removed statement.
	(aarch64_pstatefield_supported_p): Move feature checks for AT
	registers ..
	(aarch64_sys_ins_reg_supported_p): .. to here.

Change-Id: I48783d118eaaf0f3312e8b08a8340ef7af4e36a4


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: 'list' command, tweak handling of +/- arguments.
@ 2015-12-17  3:37 sergiodj+buildbot
  2015-12-18  3:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  3:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0def019aaf79adf3add2a0559ab75bb84d72085 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: a0def019aaf79adf3add2a0559ab75bb84d72085

gdb: 'list' command, tweak handling of +/- arguments.

There is an inconsistency with the handling of the special +/- arguments
to the list command.

For the very first time that list is used (after the inferior has
changed locations) then only the first character of the argument string
is checked, so 'list +BLAH' will operate as 'list +' and 'list -----FOO'
will operate as 'list -'.  This compares to each subsequent use of list,
where the whole argument string is checked, so 'list +BLAH' will try to
list lines of code around the function '+BLAH'.

This commit unifies the behaviour so that the whole argument string is
checked, in order to list the next 10, or previous 10 lines from a file
only 'list +' and 'list -' are now valid.

gdb/ChangeLog:

	* cli/cli-cmds.c (list_command): Check that the argument string is
	a single character, either '+' or '-'.

gdb/testsuite/ChangeLog:

	* gdb.base/list.exp (test_list_invalid_args): New function,
	defined, and called.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Small code restructure for list_command.
@ 2015-12-17  3:20 sergiodj+buildbot
  2015-12-18  1:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  3:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a48ce76774633e9e27dd245ba275a714b2b339f ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 1a48ce76774633e9e27dd245ba275a714b2b339f

gdb: Small code restructure for list_command.

Move handling of special +/- arguments to the list_command function
inside a single if block, this helps group all related functionality
together.  There should be no user visible changes after this commit.

gdb/ChangeLog:

	* cli/cli-cmds.c (list_command): Move all handling of +/-
	arguments into a single if block.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Use NULL instead of 0 for pointer comparison.
@ 2015-12-17  3:12 sergiodj+buildbot
  2015-12-18  0:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  3:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c05462adbc01f0aba946c42422146ccca2ae4db ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 8c05462adbc01f0aba946c42422146ccca2ae4db

gdb: Use NULL instead of 0 for pointer comparison.

Small code cleanup, use NULL instead of 0 when checking pointers.  There
should be no user visible changes after this commit.

gdb/ChangeLog:

	* cli/cli-cmds.c (list_command): Use NULL instead of 0 when
	checking pointers.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] ld -r doesn't need plugin for slim lto object
@ 2015-12-17  2:50 sergiodj+buildbot
  2015-12-17  9:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5847ba7267b6eedd4b750f5eeece3ec037a27fd ***

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

ld -r doesn't need plugin for slim lto object

Plugin isn't required on slim lto object for relocatable link.

bfd/

	PR ld/19317
	* linker.c (_bfd_generic_link_add_one_symbol): Don't complain
	plugin needed to handle slim lto object for relocatable link.

ld/testsuite/

	PR ld/19317
	* ld-plugin/lto.exp (lto_no_fat): New.
	(lto_link_tests): Add a test for PR ld/19317.
	(lto_run_tests): Likewise.
	(run_ld_link_tests): Likewise.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][Patch 5/5] Add instruction PSB CSYNC
@ 2015-12-17  2:31 sergiodj+buildbot
  2015-12-17 16:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e6f4800fc01c7957d0688158385aba3bf5ce8de ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 1e6f4800fc01c7957d0688158385aba3bf5ce8de

[AArch64][Patch 5/5] Add instruction PSB CSYNC

The Statistical Profile Extension adds the instruction PSB CSYNC as an
alias for the HINT #17 instruction. This patch adds the instruction to
binutils as a HINT alias that takes an operand.

A new operand type, AARCH64_OPND_BARRIER_PSB, is added to represent the
operand to PSB. A parser for the operand type is added to the assembler
and a printer to the disassembler. The operand name "csync" is added to
the list of HINT options with HINT number #17. Encoding and decoding of
the operand is handled by the ins_hint/ext_hint functions added in the
preceding patches.

gas/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c (aarch64_hint_opt_hsh): New.
	(parse_barrier_psb): New.
	(parse_operands): Add case for AARCH64_OPND_BARRIER_PSB.
	(md_begin): Set up aarch64_hint_opt_hsh.

gas/testsuite/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/system-2.d: Enable the statistical profiling
	extension.  Update the expected output.
	* gas/aarch64/system-2.s: Add tests for PSB CSYNC.
	* gas/aarch64/system.d: Update the expected output.

include/opcode/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_opnd): Add AARCH64_OPND_BARRIER_PSB.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-opc.c (aarch64_hint_options): Add "csync".
	(aarch64_print_operands): Handle AARCH64_OPND_BARRIER_PSB.
	* aarch64-tbl.h (aarch64_feature_stat_profile): New.
	(STAT_PROFILE): New.
	(aarch64_opcode_table): Add "psb".
	(AARCH64_OPERANDS): Add "BARRIER_PSB".

Change-Id: I5ffb672d26a8b15b48785478d359350a9b70ca09


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][Patch 4/5] Support HINT aliases taking operands.
@ 2015-12-17  2:22 sergiodj+buildbot
  2015-12-17 15:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ed608f98b2c8c483c994f884429420e74835417 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 9ed608f98b2c8c483c994f884429420e74835417

[AArch64][Patch 4/5] Support HINT aliases taking operands.

The Statistical Profile Extension adds the instruction PSB CSYNC as an
alias for the HINT #17 instruction. This patch adds support for aliases
of HINT which take an operand, adding a table to store operand names and
their matching hint number as well as encoding and decoding functions
for such operands. Parsing and printing the operands are deferred to any
support added for aliases with such operands.

include/opcode/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_hint_options): Declare.
	(aarch64_opnd_info): Add field hint_option.

opcodes/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm.c (aarch64_ins_hint): New.
	* aarch64-asm.h (aarch64_ins_hint): Declare.
	* aarch64-dis.c (aarch64_ext_hint): New.
	* aarch64-dis.h (aarch64_ext_hint): Declare.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-opc.c (aarch64_hint_options): New.
	* aarch64-tbl.h (AARCH64_OPERANDS): Fix typos.

Change-Id: I2205038fc1c47d3025d1f0bc2fbf405b5575b287


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][Patch 3/5] Adjust maximum number of instruction aliases.
@ 2015-12-17  2:14 sergiodj+buildbot
  2015-12-17 14:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0f7013add6b1737e9a5e5d63cdf41ab2ebca0bf ***

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

[AArch64][Patch 3/5] Adjust maximum number of instruction aliases.

The Statistical Profile Extension adds the instruction PSB CSYNC as an
alias for the HINT #17 instruction. The HINT instruction currently has 8
aliases, which is the maximum number allowed. This patch raises to 16
the limit on the number of aliases an instruction can have.

opcodes/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-gen.c (find_alias_opcode): Set max_num_aliases to 16.

Change-Id: I131044bf6e0fe0940a9e7478d9bf52137748907d


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][Patch 2/5] Add Statistical Profiling Extension system registers.
@ 2015-12-17  2:06 sergiodj+buildbot
  2015-12-17 12:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55c144e691ec05a7b8231b5c58dc6d6659a1c4eb ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 55c144e691ec05a7b8231b5c58dc6d6659a1c4eb

[AArch64][Patch 2/5] Add Statistical Profiling Extension system registers.

The Statistical Profile extension included in the ARMv8.2 architecture
adds a number of system registers. This patch adds the registers to
binutils, making them available when the architecture extension
"+profile" is enabled.

opcodes/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_reg): Add pbmlimitr_el1, pmbptr_el1,
	pmbsr_el1, pmbidr_el1, pmscr_el1, pmsicr_el1, pmsirr_el1,
	pmsfcr_el1, pmsevfr_el1, pmslatfr_el1, pmsidr_el1, pmscr_el2 and
	pmscr_el2.
	(aarch64_sys_reg_supported_p): Add architecture feature tests for
	the new registers.

gas/testsuite/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/sysreg-2.s: Add tests for the statistical profiling
	system registers.
	* gas/aarch64/sysreg-2.d: Enable the statistical profiling
	extension and update the expected output.

Change-Id: Ibf23ad34db7c33f0fcd30010b796748b38be6efb


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][Patch 1/5] Support the ARMv8.2 Statistical Profiling Extension.
@ 2015-12-17  1:57 sergiodj+buildbot
  2015-12-17 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  1:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73af8ed6b107040eb7488f6ec122cd05d5e2e903 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 73af8ed6b107040eb7488f6ec122cd05d5e2e903

[AArch64][Patch 1/5] Support the ARMv8.2 Statistical Profiling Extension.

The Statistical Profile extension included in the ARMv8.2 architecture
adds a number of system registers and a new instruction. This patch set
adds support for the extension to binutils, enabled when
-march=armv8.2-a+profile is given.

The patches in this series:
- Add the new command line option and feature flags.
- Add the new system registers.
- Adjust the maximum number of aliases permitted for an instruction.
- Add support for HINT aliases which take operands.
- Add the new instruction, an alias of the HINT instruction.

This patch adds the option "profile" to the permitted architecture
extensions, disabling it by default.

gas/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c (aarch64_features): Add "profile".
	* doc/c-aarch64.texi (AArch64 Extensions): Add "profile".

include/opcode/
2015-12-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (AARCH64_FEATURE_PROFILE): New.

Change-Id: If9bb4a9b69a264180f96f8ffaf10b15ced273699


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix regression revealed by corethreads.exp
@ 2015-12-17  1:39 sergiodj+buildbot
  2015-12-17  8:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  1:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60269a4a36a78063d7563a32a6d34107cb52cca5 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 60269a4a36a78063d7563a32a6d34107cb52cca5

Fix regression revealed by corethreads.exp

This patch fixes a regression introduced by:
https://sourceware.org/ml/gdb-patches/2015-12/msg00192.html

We can't use thread_from_lwp with core files.  As mentioned in a comment,
td_ta_map_lwp2thr uses ps_get_thread_area, but we can't use that
currently on core targets, as it uses ptrace directly.

Use directly record_thread instead.

This fixes :
PASS -> FAIL: gdb.threads/corethreads.exp: thread0 found
PASS -> FAIL: gdb.threads/corethreads.exp: thread1 found

gdb/ChangeLog:

	* linux-thread-db.c (find_new_threads_callback): Use record_thread.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] [AArch64][PATCH 2/2] Support ARMv8.2 DC CVAP instruction.
@ 2015-12-17  1:10 sergiodj+buildbot
  2015-12-17  4:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  1:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d6bf7ce6c26cd31fe744419269dea999a3faaf8c ***

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

[AArch64][PATCH 2/2] Support ARMv8.2 DC CVAP instruction.

ARMv8.2 adds the new system instruction DC CVAP. This patch adds support
for the instruction to binutils, enabled when -march=armv8.2-a is
selected.

gas/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c (parse_sys_ins_reg): Add check of
	architectural support for system register.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/sysreg-2.d: Add tests for dc instruction.
	* gas/aarch64/sysreg-2.s: Add uses of dc instruction.

include/opcode/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_sys_ins_reg_supported_p): Declare.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_regs_dc): Add "cvap".
	(aarch64_sys_ins_reg_supported_p): New.

Change-Id: I3158b97d9bbee9644c2d0e2986db807412ef1053


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Remove "spaces" references from gdb.multi/base.exp
@ 2015-12-17  1:05 sergiodj+buildbot
  2015-12-17  5:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  1:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36d6fc0a3cbda55b9eb07a351c1312e369d4743f ***

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

Remove "spaces" references from gdb.multi/base.exp

I think these references to "spaces" came from the original multi-exec
submission that exposed "symbol spaces" to the user and had a
different UI, and then survived a global find/replace.

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

	* gdb.multi/base.exp: Remove stale "spaces" references.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Stop using nowarnings in gdb/testsuite/gdb.multi/
@ 2015-12-17  0:22 sergiodj+buildbot
  2015-12-17  1:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  0:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 762f774785f4ef878ac4c831e1f4733dc957234d ***

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

Stop using nowarnings in gdb/testsuite/gdb.multi/

Several of the gdb.multi tests use the "nowarnings" option to suppress
warnings.  The warnings in question all come from missing headers,
like e.g.:

 src/gdb/testsuite/gdb.multi/multi-arch-exec.c:28:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
    exit (1);
    ^

There's no point in trying to avoid to include standard headers.  In
gdb.base/hangout.c's case, it's even dangerous, as that file calls
printf.  In order to compile a call to a variatic function correctly,
a declaration must be visible.

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

	* gdb.multi/base.exp: Don't use nowarnings.
	* gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
	* gdb.multi/hangout.c: Include stdio.h.
	* gdb.multi/hello.c: Include stdlib.h.
	* gdb.multi/multi-arch-exec.c: Include stdlib.h.
	* gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
	* gdb.multi/multi-arch.exp: Don't use nowarnings.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
[parent not found: <8eab413676a0222a863f45ff606f3db69bb7afc4@gdb-build>]
* [binutils-gdb] [AArch64][PATCH 2/2] Add RAS system registers.
@ 2015-12-10 15:18 sergiodj+buildbot
  2015-12-11 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 15:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 47f8114261a50dcb44bd3be355b705e37d920944 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 47f8114261a50dcb44bd3be355b705e37d920944

[AArch64][PATCH 2/2] Add RAS system registers.

The ARMv8.2 RAS extension adds a number of new registers. This patch
adds the registers and makes them available whenever the RAS extension
is enabled, as it is when -march=armv8.2-a is selected.

The new registers are:
    erridr_el1, errselr_el1, erxfr_el1, erxctlr, erxaddr_el1,
    erxmisc0_el1, erxmisc1_el1, vsesr_el2, disr_el1 and
    vdisr_el2.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/sysreg-2.d: Add tests for new registers.
	* gas/aarch64/sysreg-2.s: Likewise.  Also replace some spaces with
	tabs.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_regs): Add "vsesr_el2", "erridr_el1",
	"errselr_el1", "erxfr_el1", "erxctlr", "erxaddr_el1",
	"erxmisc0_el1", "erxmisc1_el1", "disr_el1" and "vdisr_el2".
	(aarch64_sys_reg_supported_p): Add architecture feature tests for
	new registers.

Change-Id: I8a01a0f0ee7987f89eead32650f6afcc749b3c74


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb: Handle multiple base address in debug_ranges data.
@ 2015-12-10 10:15 sergiodj+buildbot
  2015-12-11 16:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 10:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28d2bfb9c3e519a3b7619bbe5d061ebe520750ef ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 28d2bfb9c3e519a3b7619bbe5d061ebe520750ef

gdb: Handle multiple base address in debug_ranges data.

It is possible to use multiple base addresses within a single address
range series, within the .debug_ranges section.  The following is a
simplified example for 32-bit addresses:

  .section ".debug_ranges"
  .4byte	0xffffffff
  .4byte	BASE_1
  .4byte	START_OFFSET_1
  .4byte	END_OFFSET_1
  .4byte	START_OFFSET_2
  .4byte	END_OFFSET_2
  .4byte	0xffffffff
  .4byte	BASE_2
  .4byte	START_OFFSET_3
  .4byte	END_OFFSET_3
  .4byte	0
  .4byte	0

In this example START/END 1 and 2 are relative to BASE_1, while
START/END 3 are relative to BASE_2.

Currently gdb does not correctly parse this DWARF, resulting in
corrupted address range information.  This commit fixes this issue, and
adds a new test to cover this case.

In order to support testing of this feature extensions were made to the
testsuite dwarf assembler, additional functionality was added to the
.debug_line generation function, and a new function for generating the
.debug_ranges section was added.

gdb/ChangeLog:

	* dwarf2read.c (dwarf2_ranges_read): Unify and fix base address
	reading code.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/dw2-ranges-base.c: New file.
	* gdb.dwarf2/dw2-ranges-base.exp: New file.
	* lib/dwarf.exp (namespace eval Dwarf): Add new variables to
	support additional line table, and debug ranges generation.
	(Dwarf::ranges): New function, generate .debug_ranges.
	(Dwarf::lines): Support generating simple line table programs.
	(Dwarf::assemble): Initialise new namespace variables.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix GOT address computations in initial PLT entries for nios2.
@ 2015-12-10  0:31 sergiodj+buildbot
  2015-12-11 14:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-10  0:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33d4099fc891760ea1f080746dee4dcfc36c757c ***

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

Fix GOT address computations in initial PLT entries for nios2.

2015-12-09  Sandra Loosemore  <sandra@codesourcery.com>

	bfd/
	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Correct
	%hiadj/%lo computations for _GLOBAL_OFFSET_TABLE_ in initial
	PLT entries.  Assert alignment requirements.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] dwarf2loc.c: Perform a pointer to address conversion for DWARF_VALUE_MEMORY.
@ 2015-12-09 17:11 sergiodj+buildbot
  2015-12-11 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-09 17:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f56331b468908d1502c7ae26adab6f9b858cb13f ***

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

dwarf2loc.c: Perform a pointer to address conversion for DWARF_VALUE_MEMORY.

This patch fixes the following failures for rl78-elf:

FAIL: gdb.base/vla-datatypes.exp: print int_vla
FAIL: gdb.base/vla-datatypes.exp: print unsigned_int_vla
FAIL: gdb.base/vla-datatypes.exp: print double_vla
FAIL: gdb.base/vla-datatypes.exp: print float_vla
FAIL: gdb.base/vla-datatypes.exp: print long_vla
FAIL: gdb.base/vla-datatypes.exp: print unsigned_long_vla
FAIL: gdb.base/vla-datatypes.exp: print char_vla
FAIL: gdb.base/vla-datatypes.exp: print short_vla
FAIL: gdb.base/vla-datatypes.exp: print unsigned_short_vla
FAIL: gdb.base/vla-datatypes.exp: print unsigned_char_vla
FAIL: gdb.base/vla-datatypes.exp: print foo_vla
FAIL: gdb.base/vla-datatypes.exp: print bar_vla
FAIL: gdb.base/vla-datatypes.exp: print vla_struct_object
FAIL: gdb.base/vla-datatypes.exp: print vla_union_object
FAIL: gdb.base/vla-ptr.exp: print td_vla
FAIL: gdb.mi/mi-vla-c99.exp: evaluate complete vla

The first failure in this bunch occurs due to printing an incorrect
result for a variable length array:

    print int_vla
    $1 = {-1, -1, -1, -1, -1}

The result should actually be this:

    $1 = {0, 2, 4, 6, 8}

When I started examining this bug, I found that printing an
individual array element worked correctly.  E.g. "print int_vla[2]"
resulted in 4 being printed.  I have not looked closely to see why
this is the case.

I found that evaluation of the location expression for int_vla was
causing problems.  This is the relevant DWARF entry for int_vla:

<2><15a>: Abbrev Number: 10 (DW_TAG_variable)
    <15b>   DW_AT_name        : (indirect string, offset: 0xbf): int_vla
    <15f>   DW_AT_decl_file   : 1
    <160>   DW_AT_decl_line   : 35
    <161>   DW_AT_type        : <0x393>
    <165>   DW_AT_location    : 4 byte block: 86 7a 94 2  (DW_OP_breg22 (r22): -6; DW_OP_deref_size: 2)

I found that DW_OP_breg22 was providing a correct result.
DW_OP_deref_size was fetching the correct value from memory.  However,
the value being fetched should be considered a pointer.
DW_OP_deref_size zero extends the fetched value prior to pushing
it onto the evaluation stack.  (The DWARF-4 document specifies this
action; so GDB is faithfully implementing the DWARF-4 specification.)

However, zero extending the pointer is not sufficient for converting
that value to an address for rl78 and (perhaps) other architectures
which define a `pointer_to_address' method.  (I suspect that m32c
would have the same problem.)

Ideally, we would perform the pointer to address conversion in
DW_OP_deref_size.  We don't, however, know the type of the object
that the address refers to in DW_OP_deref_size.  I can't think
of a way to infer the type at that point in the code.

Before proceeding, I should note that there are two other DWARF
operations that could be used in place of DW_OP_deref_size.  One of
these is DW_OP_GNU_deref_type.  Current GDB implements this operation,
but as is obvious from the name, it is non-standard DWARF.  The other
operation is DW_OP_xderef_size.  Even though it's part of DWARF-2
through DWARF-4 specifications, it's not presently implemented in GDB.
Present day GCC does not output dwarf expressions containing this
operation either.  [Of the two, I like DW_OP_GNU_deref_type better.
Using it avoids the need to specify an "address space identifier".
(GCC, GDB, and other non-free tools all need to agree on the meanings
of these identifiers.)]

Back to the bug analysis...

The closest consumer of the DW_OP_deref_size result is the
DWARF_VALUE_MEMORY case in dwarf2_evaluate_loc_desc_full.  At that
location, we do know the object type to which the address is intended
to refer.  I added code to perform a pointer to address conversion at
this location.  (See the patch.)

I do have some misgivings regarding this patch.  As noted earlier, it
would really be better to perform the pointer to address conversion in
DW_OP_deref_size.  I can't, however, think of a way to make this work.
Changing GCC to output one of the other aforementioned operations might
be preferable but, as noted earlier, these solutions have problems as
well.  Long term, I think it'd be good to have something like
DW_OP_GNU_deref_type become part of the standard.  If that can't or
won't happen, we'll need to implement DW_OP_xderef_size.

But until that happens, this patch will work for expressions in which
DW_OP_deref_size occurs last.  It should even work for dereferences
followed by adding an offset.  I don't think it'll work for more than
one dereference in the same expression.

gdb/ChangeLog:

	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Perform a pointer
	to address conversion for DWARF_VALUE_MEMORY.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] gdb.base/async.exp: Handle "asynchronous execution not supported"
@ 2015-12-09 16:51 sergiodj+buildbot
  2015-12-11 12:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-09 16:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fc2beac27f81d0840e717e3dd8d6524f9c2e890 ***

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

gdb.base/async.exp: Handle "asynchronous execution not supported"

This change eliminates some failures on simulator targets and makes
the test run a bit quicker too - without this change, we have to wait
for timeouts.

gdb/testsuite/ChangeLog:

	* gdb.base/async.exp (proc test_background): Add case
	for asynchronous execution not supported.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] Fix wrong output of x87 registers due to truncation to double on amd64
@ 2015-12-09 12:32 sergiodj+buildbot
  2015-12-11  8:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-09 12:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b593e3d9b00b09af43abf1e95d68e68200e3c2a5 ***

Author: Ruslan Kabatsayev <b7.10110111@gmail.com>
Branch: master
Commit: b593e3d9b00b09af43abf1e95d68e68200e3c2a5

Fix wrong output of x87 registers due to truncation to double on amd64

When `info float` is used on an AMD64 system, GDB prints
floating-point values of x87 registers with raw contents like
0x361a867a8e0527397ce0 or 0xc4f988454a1ddd3cfdab wrongly.

This happens due to truncation to double, after which the former
becomes 0.0, and the latter becomes negative infinity.  This is caused
by failed detection of x86-64 host, which results in setting
gdb_host_{float,double,long_double}_format to zeros.

This commit fixes this misdetection, and adds a test to make sure
future commits don't introduce a regression here.

gdb/ChangeLog:
2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>

	PR gdb/18702
	* configure.host: Fix detection of x86_64 host when setting
	floatformats.

gdb/testsuite/ChangeLog:
2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
	    Pedro Alves  <pedro@redhat.com>

	PR gdb/18702
	Add checking of floatformats setup on x86_64 hosts.
	* gdb.arch/i386-float.S (main): Load bigval and smallval.
	(smallval, bigval): New labels/constants.
	* gdb.arch/i386-float.exp: Use with_test_prefix and test "info
	float" after loading bigval and smallval.


^ permalink raw reply	[flat|nested] 2223+ messages in thread
* [binutils-gdb] rl78: relaxation fixes
@ 2015-12-08  7:01 sergiodj+buildbot
  2015-12-11  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2223+ messages in thread
From: sergiodj+buildbot @ 2015-12-08  7:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e896287c1643b8b47080c4a8ddbe9a92d9fa585b ***

Author: DJ Delorie <dj@redhat.com>
Branch: master
Commit: e896287c1643b8b47080c4a8ddbe9a92d9fa585b

rl78: relaxation fixes

Various fixes to linker relaxation.  In general, we need to support
relaxing every branch, even if we don't relax it in the assembler,
so we can optionally defer relaxation to the linker.

* elf32-rl78.c (rl78_offset_for_reloc): Add more relocs.
(rl78_elf_relax_section): Add bc/bz/bnc/bnz/bh/bnh.  Fix reloc
choices.

* config/rl78-parse.y: Make all branches relaxable via
rl78_linkrelax_branch().
* config/tc-rl78.c (rl78_linkrelax_branch): Mark all relaxable
branches with relocs.
(options): Add OPTION_NORELAX.
(md_longopts): Add -mnorelax.
(md_parse_option): Support OPTION_NORELAX.
(op_type_T): Add bh, sk, call, and br.
(rl78_opcode_type): Likewise.
(rl78_relax_frag): Fix not-relaxing logic.  Add sk.
(md_convert_frag): Fix relocation handling.
(tc_gen_reloc): Strip relax relocs when not linker relaxing.
(md_apply_fix): Defer overflow handling for anything that needs a
PLT, to the linker.
* config/tc-rl78.h (TC_FORCE_RELOCATION): Force all relocations to
the linker when linker relaxing.
* doc/c-rl78.texi (norelax): Add.


^ permalink raw reply	[flat|nested] 2223+ messages in thread

end of thread, other threads:[~2017-12-13  9:46 UTC | newest]

Thread overview: 2223+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-05 15:52 [binutils-gdb] [ARM] Add ARMv8.2 FP16 vmul/vmla/vmls (by scalar) sergiodj+buildbot
2016-04-05 15:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 16:16 ` Failures on Debian-i686, " sergiodj+buildbot
2016-04-05 16:43 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-04-05 17:17 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-04-05 17:48 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2016-04-05 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-04-05 18:53 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
  -- strict thread matches above, loose matches on Subject: below --
2017-10-11 20:32 [binutils-gdb] Add native target for FreeBSD/arm sergiodj+buildbot
2017-12-13  9:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-11 14:30 [binutils-gdb] Garbage collect reattach_breakpoints sergiodj+buildbot
2017-11-29 13:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-11 10:21 [binutils-gdb] Remove unnecessary parentheses in declarations sergiodj+buildbot
2017-11-25  6:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-11  8:11 [binutils-gdb] Flash memory size not aligned to address sergiodj+buildbot
2017-11-24 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-10 17:00 [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg sergiodj+buildbot
2017-11-22  9:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-10 16:39 [binutils-gdb] Eliminate catch_errors sergiodj+buildbot
2017-11-21 18:44 ` Failures on Fedora-ppc64be-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  0:38 ` Failures on Fedora-ppc64be-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  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-10  0:03 [binutils-gdb] Remove "do_nothing" sergiodj+buildbot
2017-11-18 10:15 ` Failures on Fedora-ppc64be-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  7:18 ` Failures on Fedora-ppc64be-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 16:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-09 16:13 [binutils-gdb] Fix automatic dependency tracking sergiodj+buildbot
2017-11-12 18:48 ` Failures on Fedora-ppc64be-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  4:50 ` Failures on Fedora-ppc64be-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 14:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-09  7:27 [binutils-gdb] Remove some cleanups from dwarf2read.c sergiodj+buildbot
2017-11-10 23:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-09  5:11 [binutils-gdb] PR22212, memory leak in nm sergiodj+buildbot
2017-11-08 11:49 ` Failures on Fedora-ppc64be-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-07 14:35 ` Failures on Fedora-ppc64be-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-02 19:15 ` Failures on Fedora-ppc64be-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 12:00 ` Failures on Fedora-ppc64be-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  3:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06 22:49 [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts sergiodj+buildbot
2017-10-31 19:58 ` Failures on Fedora-ppc64be-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 13:38 ` Failures on Fedora-ppc64be-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-29 21:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06 13:11 [binutils-gdb] Move i386.o to arch/i386.o sergiodj+buildbot
2017-10-29  7:17 ` Failures on Fedora-ppc64be-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 15:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06 10:17 [binutils-gdb] [RFC] Replicate src dir in build dir sergiodj+buildbot
2017-10-26  3:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06  7:54 [binutils-gdb] x86: Add VERIFY_COPY_RELOC sergiodj+buildbot
2017-10-24 22:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06  7:44 [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-23  3:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-06  7:30 [binutils-gdb] Add RESOLVED_LOCALLY_P sergiodj+buildbot
2017-10-21  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-05 17:35 [binutils-gdb] Fix fork-related regressions on GNU/Linux sergiodj+buildbot
2017-10-18 13:04 ` Failures on Fedora-ppc64be-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 14:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up some DFP interfaces sergiodj+buildbot
2017-10-17  5:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Remove unused "union agent_val" from ax.h sergiodj+buildbot
2017-10-17 22:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32 sergiodj+buildbot
2017-10-15 17:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-05  1:42 [binutils-gdb] bfd_set_input_error sergiodj+buildbot
2017-10-12  0:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-04 23:08 [binutils-gdb] PR21167, relocation sections not included in groups sergiodj+buildbot
2017-10-10 17:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Redesign mock environment for gdbarch selftests sergiodj+buildbot
2017-10-04 23:18 ` Failures on Fedora-ppc64be-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  1:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-30 18:41 [binutils-gdb] x86: Check target_id instead of elf_machine_code sergiodj+buildbot
2017-09-23 20:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-30 16:30 [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create sergiodj+buildbot
2017-09-22 17:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-30 15:38 [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation sergiodj+buildbot
2017-09-21 21:19 ` Failures on Fedora-ppc64be-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  0:40 ` Failures on Fedora-ppc64be-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 12:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-30 12:05 [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization sergiodj+buildbot
2017-09-19  9:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-30 11:36 [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization sergiodj+buildbot
2017-09-18 11:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>
2017-08-30 11:23 ` sergiodj+buildbot
2017-08-29 23:07 [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register sergiodj+buildbot
2017-09-17 23:34 ` Failures on Fedora-ppc64be-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-16 12:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-29 21:02 [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c sergiodj+buildbot
2017-09-16  4:12 ` Failures on Fedora-ppc64be-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 13:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-27  2:54 [binutils-gdb] Disallow copy relocation against protected data symbol sergiodj+buildbot
2017-09-04  5:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-08-26  0:39 [binutils-gdb] x86: Remove redundant "symbol" in comments sergiodj+buildbot
2017-09-01 15:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>
2017-08-26  0:25 ` sergiodj+buildbot
2017-08-24 21:53 [binutils-gdb] Remove unused function set_inferior_target_data sergiodj+buildbot
2017-08-31  1:23 ` Failures on Fedora-ppc64be-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 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-03-24 16:24 [binutils-gdb] Add rvalue reference tests and docs sergiodj+buildbot
2017-08-08 18:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-03-24  9:10 [binutils-gdb] Support rvalue reference type in parser sergiodj+buildbot
2017-08-02 18:44 ` Failures on Fedora-ppc64be-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-01 22:04 ` Failures on Fedora-ppc64be-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-03 19:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-03-22 10:25 [binutils-gdb] Fix arm process record for some instructions sergiodj+buildbot
2017-04-17 17:24 ` Failures on Fedora-ppc64be-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-02 23:54 ` Failures on Fedora-ppc64be-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  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-03-21 21:25 [binutils-gdb] testsuite: Introduce dejagnu_version sergiodj+buildbot
2017-03-21 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <@gdb-build>
2017-03-18  3:13 ` sergiodj+buildbot
2017-03-18  3:13 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-08 20:33 [binutils-gdb] Add support for the new 'lnia' extended mnemonic sergiodj+buildbot
2017-03-11  0:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-03-08 13:00 [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command sergiodj+buildbot
2017-03-09  5:16 ` Failures on Fedora-ppc64be-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 17:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-28 14:32 [binutils-gdb] PowerPC addpcis fix again sergiodj+buildbot
2017-03-02  9:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-24  1:21 [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling sergiodj+buildbot
2017-02-25 11:13 ` Failures on Fedora-ppc64be-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  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-15 17:26 [binutils-gdb] [AArch64] Add SVE system registers sergiodj+buildbot
2017-02-18 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-15  2:56 [binutils-gdb] Fix bit/bif instructions sergiodj+buildbot
2017-02-17 12:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-14 17:02 [binutils-gdb] python: Implement btrace Python bindings for record history sergiodj+buildbot
2017-02-15 15:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-13 18:27 [binutils-gdb] Don't use "_gp" on RISC-V, use "_global_pointer$" instead sergiodj+buildbot
2017-02-14  6:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-10 16:54 [binutils-gdb] PR gdb/21122: Fix documentation mistakes for breakpoint commands sergiodj+buildbot
2017-02-10 17:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-09 15:56 [binutils-gdb] Fix NULL pointer dereference sergiodj+buildbot
2017-02-09 16:22 ` Failures on Fedora-ppc64be-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  3:17 ` Failures on Fedora-ppc64be-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 14:53 ` Failures on Fedora-ppc64be-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 16:36 ` Failures on Fedora-ppc64be-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 12:42 ` Failures on Fedora-ppc64be-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:11 ` Failures on Fedora-ppc64be-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  7:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-03  5:37 [binutils-gdb] Use bool in Rust code sergiodj+buildbot
2017-02-05  2:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-03  4:54 [binutils-gdb] Reindent rust-lang.c sergiodj+buildbot
2017-02-04 23:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-03  4:25 [binutils-gdb] struct mi_interp: Remove unused fields sergiodj+buildbot
2017-02-04 12:21 ` Failures on Fedora-ppc64be-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  1:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-03  0:38 [binutils-gdb] Fix "maintenance selftest" printing stray instructions sergiodj+buildbot
2017-02-04 15:55 ` Failures on Fedora-ppc64be-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:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-02 13:57 [binutils-gdb] Tweak pretty_print_disassembler's intro comment sergiodj+buildbot
2017-02-03  8:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-02 12:25 [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy sergiodj+buildbot
2017-02-03  0:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-01 16:37 [binutils-gdb] btrace, testsuite: fix extended-remote fail sergiodj+buildbot
2017-02-02  8:08 ` Failures on Fedora-ppc64be-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 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-01 14:07 [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads sergiodj+buildbot
2017-02-01 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-02-01  0:40 [binutils-gdb] gdb/varobj.c: Fix leak sergiodj+buildbot
2017-02-01  4:25 ` Failures on Fedora-ppc64be-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 18:31 ` Failures on Fedora-ppc64be-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  3:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-27 15:16 [binutils-gdb] amd64: remove additional comparison for validity of a register number sergiodj+buildbot
2017-01-27 20:40 ` Failures on Fedora-ppc64be-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:02 ` Failures on Fedora-ppc64be-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:10 ` Failures on Fedora-ppc64be-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:00 ` Failures on Fedora-ppc64be-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 14:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-13 15:29 [binutils-gdb] 'make check-headers' for c++ header sergiodj+buildbot
2017-01-23 11:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-13 12:41 [binutils-gdb] Remove magic numbers in m68k-dis.c:print_insn_arg sergiodj+buildbot
2017-01-23  4:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 21:33 [binutils-gdb] Use gdbpy_ref in py-utils.c sergiodj+buildbot
2017-01-19 13:35 ` Failures on Fedora-ppc64be-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  0:51 ` Failures on Fedora-ppc64be-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 17:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 17:08 [binutils-gdb] Update comment in remote_can_async_p sergiodj+buildbot
2017-01-22 10:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 17:03 [binutils-gdb] Use gdbpy_ref in bpfinishpy_out_of_scope sergiodj+buildbot
2017-01-18 15:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 16:30 [binutils-gdb] Use gdbpy_ref in py-cmd.c sergiodj+buildbot
2017-01-18 12:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 15:58 [binutils-gdb] Remove dead serial_interface_lookup calls sergiodj+buildbot
2017-01-22  3:11 ` Failures on Fedora-ppc64be-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  8:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12 14:12 [binutils-gdb] Use gdbpy_ref in py-prettyprint.c sergiodj+buildbot
2017-01-17 20:39 ` Failures on Fedora-ppc64be-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-21 23:09 ` Failures on Fedora-ppc64be-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 19:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  8:52 [binutils-gdb] Use gdbpy_enter in fnpy_call sergiodj+buildbot
2017-01-16 16:10 ` Failures on Fedora-ppc64be-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  9:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  7:52 [binutils-gdb] Add scoped_value_mark sergiodj+buildbot
2017-01-20 22:34 ` Failures on Fedora-ppc64be-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  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  7:06 [binutils-gdb] Remove make_cleanup_discard_psymtabs sergiodj+buildbot
2017-01-20 19:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  6:35 [binutils-gdb] Use class to manage BFD reference counts sergiodj+buildbot
2017-01-20 12:41 ` Failures on Fedora-ppc64be-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:08 ` Failures on Fedora-ppc64be-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  1:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  2:53 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-19  7:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  2:37 [binutils-gdb] Use gdbpy_ref in py-param.c sergiodj+buildbot
2017-01-19  2:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-12  1:51 [binutils-gdb] Use gdbpy_ref in py-inferior.c sergiodj+buildbot
2017-01-18 23:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 22:26 [binutils-gdb] Use gdbpy_ref in py_print_frame sergiodj+buildbot
2017-01-17 16:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 21:38 [binutils-gdb] Use gdbpy_enter in py-progspace.c sergiodj+buildbot
2017-01-14 10:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 20:19 [binutils-gdb] Use gdbpy_enter in py-param.c sergiodj+buildbot
2017-01-16 19:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 19:49 [binutils-gdb] Use gdbpy_enter in cmdpy_function sergiodj+buildbot
2017-01-16 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 19:07 [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c sergiodj+buildbot
2017-01-14  0:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 18:31 [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers sergiodj+buildbot
2017-01-15 19:10 ` Failures on Fedora-ppc64be-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 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 17:11 [binutils-gdb] Use gdbpy_enter in py-prettyprint.c sergiodj+buildbot
2017-01-15  8:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 16:05 [binutils-gdb] Use gdbpy_enter in py-unwind.c sergiodj+buildbot
2017-01-15  0:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 13:22 [binutils-gdb] Use gdbpy_enter in py-inferior.c sergiodj+buildbot
2017-01-14  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 12:35 [binutils-gdb] Use gdbpy_enter in py-breakpoint.c sergiodj+buildbot
2017-01-13 16:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 11:46 [binutils-gdb] Introduce gdbpy_enter sergiodj+buildbot
2017-01-13 12:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11 11:14 [binutils-gdb] Use gdbpy_ref in py-value.c sergiodj+buildbot
2017-01-13  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11  7:18 [binutils-gdb] Change event code to use gdbpy_ref sergiodj+buildbot
2017-01-11 14:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-11  6:08 [binutils-gdb] Use gdbpy_ref in py-type.c sergiodj+buildbot
2017-01-11 17:44 ` Failures on Fedora-ppc64be-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  6:29 ` Failures on Fedora-ppc64be-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:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-10 16:47 [binutils-gdb] Change return type of ui_out redirect to void sergiodj+buildbot
2017-01-10 19:45 ` Failures on Fedora-ppc64be-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:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-09  9:47 [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table sergiodj+buildbot
2017-01-09 11:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-08 10:52 [binutils-gdb] [D] Fix crash when debug expression enabled sergiodj+buildbot
2017-01-09  7:32 ` Failures on Fedora-ppc64be-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 13:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-06 19:51 [binutils-gdb] Include serial.h in ser-base.h sergiodj+buildbot
2017-01-08  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-06 18:31 [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h sergiodj+buildbot
2017-01-08  2:51 ` Failures on Fedora-ppc64be-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 20:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-06 16:36 [binutils-gdb] Include target.h in inf-loop.h sergiodj+buildbot
2017-01-07 17:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-06 15:00 [binutils-gdb] Include ax.h in ax-gdb.h sergiodj+buildbot
2017-01-07 10:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-05 15:02 [binutils-gdb] Fix ARI warning sergiodj+buildbot
2017-01-07  3:51 ` Failures on Fedora-ppc64be-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 20:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-04 14:57 [binutils-gdb] update-copyright.py for binutils sergiodj+buildbot
2017-01-06 10:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2017-01-04 13:51 [binutils-gdb] picflag.m4 high bit set in comment sergiodj+buildbot
2017-01-06  3:52 ` Failures on Fedora-ppc64be-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-05 23:54 ` Failures on Fedora-ppc64be-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 20:26 ` Failures on Fedora-ppc64be-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  9:53 ` Failures on Fedora-ppc64be-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 13:32 ` Failures on Fedora-ppc64be-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 19:19 ` Failures on Fedora-ppc64be-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 22:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-16 11:03 [binutils-gdb] Fix compile time warning building arm-dis.c sergiodj+buildbot
2016-12-20  2:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-16  3:46 [binutils-gdb] Implement and document --gc-keep-exported sergiodj+buildbot
2016-12-20  0:59 ` Failures on Fedora-ppc64be-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 21:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-15  1:26 [binutils-gdb] MAINTAINERS: Add myself as a MIPS maintainer sergiodj+buildbot
2016-12-19 19:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-15  0:54 [binutils-gdb] MIPS/opcodes: Also set disassembler's ASE flags from ELF structures sergiodj+buildbot
2016-12-19 15:05 ` Failures on Fedora-ppc64be-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 11:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-14 23:46 [binutils-gdb] MIPS16: Fix SP-relative SD instruction annotation sergiodj+buildbot
2016-12-19 10:50 ` Failures on Fedora-ppc64be-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:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-14  9:08 [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used sergiodj+buildbot
2016-12-19  4:55 ` Failures on Fedora-ppc64be-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  1:33 ` Failures on Fedora-ppc64be-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 22:45 ` Failures on Fedora-ppc64be-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:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-14  6:47 [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used sergiodj+buildbot
2016-12-18 17:42 ` Failures on Fedora-ppc64be-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 14:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-13 17:09 [binutils-gdb] Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes sergiodj+buildbot
2016-12-18 12:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-13  0:21 [binutils-gdb] Don't add PHDR for objcopy/strip or ld script specifying PHDRS sergiodj+buildbot
2016-12-18  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-12 23:39 [binutils-gdb] Don't fudge p_vaddr when PHDR in segment sergiodj+buildbot
2016-12-18  6:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-12 18:30 [binutils-gdb] Port c++/78252 from GCC sergiodj+buildbot
2016-12-18  4:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-12 10:51 [binutils-gdb] Remove assert on exec_bfd in cris_delayed_get_disassembler sergiodj+buildbot
2016-12-17 21:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-12 10:38 [binutils-gdb] Handle memory error in print_insn_rx sergiodj+buildbot
2016-12-17 19:26 ` Failures on Fedora-ppc64be-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:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-10  1:40 [binutils-gdb] MIPS16: Remove unused `>' operand code sergiodj+buildbot
2016-12-17  2:16 ` Failures on Fedora-ppc64be-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-16 23:46 ` Failures on Fedora-ppc64be-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 20:57 ` Failures on Fedora-ppc64be-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:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09 17:14 [binutils-gdb] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily sergiodj+buildbot
2016-12-16  9:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09 16:12 [binutils-gdb] Create tdep->rl78_psw_type lazily sergiodj+buildbot
2016-12-16  6:21 ` Failures on Fedora-ppc64be-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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09 11:55 [binutils-gdb] Use code cache in aarch64 prologue analyzer sergiodj+buildbot
2016-12-16  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09 11:10 [binutils-gdb] Use code cache in arm prologue analyzer sergiodj+buildbot
2016-12-15 23:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09 10:25 [binutils-gdb] Compile gdb.perf/skip-prologue.c with and without debug info sergiodj+buildbot
2016-12-15 20:00 ` Failures on Fedora-ppc64be-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 17:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09  7:23 [binutils-gdb] Avoid PATH_MAX usage sergiodj+buildbot
2016-12-15 14:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09  1:29 [binutils-gdb] MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg' sergiodj+buildbot
2016-12-15 12:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09  0:50 [binutils-gdb] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment sergiodj+buildbot
2016-12-15 10:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-09  0:14 [binutils-gdb] AArch64/opcodes: Correct another `index' global shadowing error sergiodj+buildbot
2016-12-15  8:12 ` Failures on Fedora-ppc64be-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  3:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08 13:02 [binutils-gdb] sync binutils config/ with gcc sergiodj+buildbot
2016-12-15  0:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08 12:39 [binutils-gdb] PR20932, Internal error during record link assignment sergiodj+buildbot
2016-12-14 22:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08 11:33 [binutils-gdb] Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid sergiodj+buildbot
2016-12-14 19:34 ` Failures on Fedora-ppc64be-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 16:51 ` Failures on Fedora-ppc64be-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 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08  9:33 [binutils-gdb] Hurd, C++: Avoid "const char *" to "char *" casts sergiodj+buildbot
2016-12-14 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08  9:00 [binutils-gdb] Hurd, C++: Avoid GNU C nested functions sergiodj+buildbot
2016-12-14  8:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-08  8:11 [binutils-gdb] Hurd, C++: Explicitly cast "void *" sergiodj+buildbot
2016-12-14  6:32 ` Failures on Fedora-ppc64be-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-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  2:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-07 14:36 [binutils-gdb] MIPS/opcodes: Correct an `interaction' comment typo sergiodj+buildbot
2016-12-13 23:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-07 14:08 [binutils-gdb] MIPS16/opcodes: Update opcode table comment sergiodj+buildbot
2016-12-13 21:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-07 13:56 [binutils-gdb] MIPS/opcodes: Reformat `-M' disassembler option's help text sergiodj+buildbot
2016-12-13 18:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-07 13:08 [binutils-gdb] MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3 sergiodj+buildbot
2016-12-13 17:06 ` Failures on Fedora-ppc64be-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:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-06 21:38 [binutils-gdb] Remove unnecessary inferior lookup in inferior_command sergiodj+buildbot
2016-12-13 12:13 ` Failures on Fedora-ppc64be-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  8:50 ` Failures on Fedora-ppc64be-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  6:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-06 14:59 [binutils-gdb] Assert on lval_register sergiodj+buildbot
2016-12-13  4:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-06  8:18 [binutils-gdb] PowerPC64 toc optimisation for power9 sergiodj+buildbot
2016-12-13  0:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-06  7:30 [binutils-gdb] argv.c (expandargv): Check for directories passed as @-files sergiodj+buildbot
2016-12-12 23:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 18:41 [binutils-gdb] Fix seg-fault in the binutils utilities when reading a corrupt input file sergiodj+buildbot
2016-12-12 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 17:56 [binutils-gdb] Fix abort when running tools on a bogus binary sergiodj+buildbot
2016-12-12 18:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 17:30 [binutils-gdb] Fix seg-fault running strip on a corrupt binary sergiodj+buildbot
2016-12-12 16:00 ` Failures on Fedora-ppc64be-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 11:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 16:01 [binutils-gdb] [ARM] Add ARMv8.3 VJCVT instruction sergiodj+buildbot
2016-12-12  9:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 15:33 [binutils-gdb] [ARM] Add ARMv8.3 command line option and feature flag sergiodj+buildbot
2016-12-12  9:21 ` Failures on Fedora-ppc64be-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  5:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-05 14:06 [binutils-gdb] Fix seg-fault attempting to strip a corrupt binary sergiodj+buildbot
2016-12-12  4:52 ` Failures on Fedora-ppc64be-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  0:34 ` Failures on Fedora-ppc64be-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 21:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-04  2:02 [binutils-gdb] Fix bugs with tbnz/tbz instructions sergiodj+buildbot
2016-12-11  9:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-03 13:35 [binutils-gdb] PowerPC64 dot-symbol compatibility bugfixes sergiodj+buildbot
2016-12-11  6:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-03 13:02 [binutils-gdb] Tidy ppc64_elf_hide_symbol sergiodj+buildbot
2016-12-11  4:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-03 12:21 [binutils-gdb] PowerPC64 add_symbol_adjust sergiodj+buildbot
2016-12-11  3:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-03 11:55 [binutils-gdb] Indirect and warning symbols sergiodj+buildbot
2016-12-11  0:32 ` Failures on Fedora-ppc64be-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 21:26 ` Failures on Fedora-ppc64be-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:30 ` Failures on Fedora-ppc64be-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 15:22 ` Failures on Fedora-ppc64be-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-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  9:42 ` Failures on Fedora-ppc64be-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  6:58 ` Failures on Fedora-ppc64be-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  4:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 18:11 [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp sergiodj+buildbot
2016-12-10  1:55 ` Failures on Fedora-ppc64be-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-09 23:46 ` Failures on Fedora-ppc64be-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 21:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 16:03 [binutils-gdb] Rename some trace functions sergiodj+buildbot
2016-12-09 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 15:26 [binutils-gdb] Remove mi_out_data::suppress_output sergiodj+buildbot
2016-12-09 16:07 ` Failures on Fedora-ppc64be-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:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 11:30 [binutils-gdb] Add support for Fushia OS sergiodj+buildbot
2016-12-09 11:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 10:50 [binutils-gdb] [AArch64] Recognize STR instruction in prologue sergiodj+buildbot
2016-12-09 10:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02 10:11 [binutils-gdb] Add unit test to aarch64 prologue analyzer sergiodj+buildbot
2016-12-09  6:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  6:01 [binutils-gdb] Don't handle timeout inside gdb_test_multiple sergiodj+buildbot
2016-12-09  6:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  5:34 [binutils-gdb] Class-ify ui_out_table sergiodj+buildbot
2016-12-09  3:37 ` Failures on Fedora-ppc64be-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  0:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  4:41 [binutils-gdb] Simplify ui-out level code sergiodj+buildbot
2016-12-08 21:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  3:57 [binutils-gdb] Class-ify ui_out_level sergiodj+buildbot
2016-12-08 20:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  2:49 [binutils-gdb] Class-ify ui_out_hdr sergiodj+buildbot
2016-12-08 16:40 ` Failures on Fedora-ppc64be-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 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  2:11 [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator sergiodj+buildbot
2016-12-08 11:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-02  1:27 [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages sergiodj+buildbot
2016-12-08  8:57 ` Failures on Fedora-ppc64be-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  6:45 ` Failures on Fedora-ppc64be-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  5:27 ` Failures on Fedora-ppc64be-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:05 ` Failures on Fedora-ppc64be-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:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 22:09 [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output sergiodj+buildbot
2016-12-07 21:23 ` Failures on Fedora-ppc64be-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 17:28 ` Failures on Fedora-ppc64be-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 14:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 17:48 [binutils-gdb] Fix bug with FP stur instructions sergiodj+buildbot
2016-12-07 12:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 14:12 [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode sergiodj+buildbot
2016-12-07 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 13:18 [binutils-gdb] Fix handling of MIPS16 HI16 relocs sergiodj+buildbot
2016-12-07  9:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 12:29 [binutils-gdb] Fix a seg-fault disassembling a corrupt binary sergiodj+buildbot
2016-12-07  6:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 12:11 [binutils-gdb] Fix abort in x86 disassembler sergiodj+buildbot
2016-12-07  3:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01 10:32 [binutils-gdb] Fix seg-fault running addr2line on a corrupt binary sergiodj+buildbot
2016-12-07  1:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01  5:58 [binutils-gdb] Use std::string in ui_out_table sergiodj+buildbot
2016-12-06 21:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01  5:08 [binutils-gdb] Use std::vector for cli_ui_out_data::streams sergiodj+buildbot
2016-12-06 21:06 ` Failures on Fedora-ppc64be-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 16:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01  3:47 [binutils-gdb] Use std::vector for ui_out::levels sergiodj+buildbot
2016-12-06 14:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-12-01  3:08 [binutils-gdb] Use new/delete instead of malloc/free-based functions sergiodj+buildbot
2016-12-06 13:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-30 21:56 [binutils-gdb] Makefiles: Disable suffix rules and implicit rules sergiodj+buildbot
2016-12-06  9:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-30 12:39 [binutils-gdb] [ARM] Read memory as unsigned integer sergiodj+buildbot
2016-12-06  7:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-30 12:13 [binutils-gdb] Revert accidental elf.c change sergiodj+buildbot
2016-12-06  6:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-30  7:01 [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs sergiodj+buildbot
2016-12-06  2:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-29 12:01 [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting sergiodj+buildbot
2016-12-06  0:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-29 11:20 [binutils-gdb] [ARC] Fix disassembler option sergiodj+buildbot
2016-12-05 21:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-29  3:18 [binutils-gdb] Fix debug output in record_full_open_1 sergiodj+buildbot
2016-12-05 17:45 ` Failures on Fedora-ppc64be-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 12:36 ` Failures on Fedora-ppc64be-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 15:16 ` Failures on Fedora-ppc64be-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-m64, branch master sergiodj+buildbot
2016-11-28 19:26 [binutils-gdb] Adjust Value.location for lval_register sergiodj+buildbot
2016-12-05  9:19 ` Failures on Fedora-ppc64be-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  6:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-28 16:35 [binutils-gdb] Properly hide hidden versioned symbol in executable sergiodj+buildbot
2016-12-05  3:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-27  8:30 [binutils-gdb] Remove verbosity from ui_out_message and friends sergiodj+buildbot
2016-12-04 17:58 ` Failures on Fedora-ppc64be-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:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-27  5:56 [binutils-gdb] Fix return value of uo_redirect sergiodj+buildbot
2016-12-04 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-27  5:37 [binutils-gdb] Remove ui_out_destroy sergiodj+buildbot
2016-12-04 10:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-27  4:37 [binutils-gdb] Rename ui_out_data to mi_ui_out_data sergiodj+buildbot
2016-12-04  6:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-27  4:20 [binutils-gdb] Remove unused functions and declarations sergiodj+buildbot
2016-12-04  4:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-26 15:59 [binutils-gdb] Remove stale comments sergiodj+buildbot
2016-12-04  1:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-25 21:27 [binutils-gdb] Remove check requiring void argument to functions with no parameters sergiodj+buildbot
2016-12-04  0:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-25 17:47 [binutils-gdb] Fix typo in Makefile sergiodj+buildbot
2016-12-03 22:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-25 16:29 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-12-03 15:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-25 15:36 [binutils-gdb] Fix typos in comment sergiodj+buildbot
2016-12-03 19:33 ` Failures on Fedora-ppc64be-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 12:50 ` Failures on Fedora-ppc64be-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:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-24 21:00 [binutils-gdb] Add noexcept to custom non-throwing new operators sergiodj+buildbot
2016-12-03  9:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-24 19:17 [binutils-gdb] Optimize byte-aligned copies in copy_bitwise() sergiodj+buildbot
2016-12-03  7:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-24 19:13 [binutils-gdb] Add unit test for copy_bitwise sergiodj+buildbot
2016-12-03  5:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-24 18:47 [binutils-gdb] Fix copy_bitwise() sergiodj+buildbot
2016-12-03  3:25 ` Failures on Fedora-ppc64be-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  0:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-24 14:48 [binutils-gdb] [ARM] Bind defined symbol locally in PIE sergiodj+buildbot
2016-12-02 20:40 ` Failures on Fedora-ppc64be-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 18:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23 17:24 [binutils-gdb] gdb: Use C++11 std::chrono sergiodj+buildbot
2016-12-02 15:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23 17:10 [binutils-gdb] Minor formatting fixups in Makefiles sergiodj+buildbot
2016-12-02 13:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23 16:36 [binutils-gdb] Normalize names of some source files sergiodj+buildbot
2016-12-02 10:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23 15:19 [binutils-gdb] Makefiles: Flatten and sort file lists sergiodj+buildbot
2016-12-02  7:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23 11:55 [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries sergiodj+buildbot
2016-12-02  5:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  9:06 [binutils-gdb] elf_backend_dtrel_excludes_plt sergiodj+buildbot
2016-12-02  3:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  8:40 [binutils-gdb] Delete duplicate target short-cuts to dynamic sections sergiodj+buildbot
2016-12-02  0:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  7:46 [binutils-gdb] Regen POTFILES.in sergiodj+buildbot
2016-12-01 22:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  3:21 [binutils-gdb] Fix spelling mistakes in comments in configure scripts sergiodj+buildbot
2016-12-01 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  2:43 [binutils-gdb] gdbserver: Use warning for warnings sergiodj+buildbot
2016-12-01 20:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  1:51 [binutils-gdb] gdbserver: Use debug_printf for debug output sergiodj+buildbot
2016-12-01 17:21 ` Failures on Fedora-ppc64be-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 14:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  0:36 [binutils-gdb] gdbarch software_single_step frame_info to regcache: tic6x sergiodj+buildbot
2016-12-01  5:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-23  0:03 [binutils-gdb] Change gdbarch software_single_step frame_info to regcache sergiodj+buildbot
2016-12-01 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 22:40 [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu sergiodj+buildbot
2016-12-01  7:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 21:00 [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000 sergiodj+buildbot
2016-12-01  3:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 20:47 [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390 sergiodj+buildbot
2016-12-01  1:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 20:15 [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc sergiodj+buildbot
2016-11-30 22:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 19:25 [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2 sergiodj+buildbot
2016-11-30 21:19 ` Failures on Fedora-ppc64be-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 18:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 17:49 [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips sergiodj+buildbot
2016-11-30 16:58 ` Failures on Fedora-ppc64be-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 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 16:56 [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha sergiodj+buildbot
2016-11-30 12:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 15:55 [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64 sergiodj+buildbot
2016-11-30  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 15:10 [binutils-gdb] New regcache_raw_get_signed sergiodj+buildbot
2016-11-30  6:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 14:50 [binutils-gdb] [ARC] Fix printing 'b' mnemonics sergiodj+buildbot
2016-11-30  1:36 ` Failures on Fedora-ppc64be-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  3:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 11:18 [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs sergiodj+buildbot
2016-11-29 22:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-22 10:39 [binutils-gdb] Use input_bfd in relocate_section sergiodj+buildbot
2016-11-29 19:03 ` Failures on Fedora-ppc64be-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  3:27 ` Failures on Fedora-ppc64be-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:41 ` Failures on Fedora-ppc64be-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:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-21 14:37 [binutils-gdb] Create subobject value in pretty printer sergiodj+buildbot
2016-11-26 18:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-19 19:14 [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma sergiodj+buildbot
2016-11-26  7:23 ` Failures on Fedora-ppc64be-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  5:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-19  3:34 [binutils-gdb] Makefile: fix typo sergiodj+buildbot
2016-11-26  1:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-19  1:25 [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component sergiodj+buildbot
2016-11-25 16:41 ` Failures on Fedora-ppc64be-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-25 22:14 ` Failures on Fedora-ppc64be-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-m64, branch master sergiodj+buildbot
2016-11-18 18:18 [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input sergiodj+buildbot
2016-11-25 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18 18:01 [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported) sergiodj+buildbot
2016-11-25 15:12 ` Failures on Fedora-ppc64be-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  9:13 ` Failures on Fedora-ppc64be-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  2:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18 16:14 [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings sergiodj+buildbot
2016-11-25  7:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18 16:06 [binutils-gdb] Implement P0136R1, Rewording inheriting constructors sergiodj+buildbot
2016-11-25  5:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18 14:01 [binutils-gdb] PR c++/71696 testcase sergiodj+buildbot
2016-11-24 22:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18 13:05 [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions sergiodj+buildbot
2016-11-24 19:34 ` Failures on Fedora-ppc64be-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 17:23 ` Failures on Fedora-ppc64be-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-m64, branch master sergiodj+buildbot
2016-11-18 11:23 [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions sergiodj+buildbot
2016-11-24 13:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-18  9:59 [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries sergiodj+buildbot
2016-11-24 10:46 ` Failures on Fedora-ppc64be-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  7:26 ` Failures on Fedora-ppc64be-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  4:31 ` Failures on Fedora-ppc64be-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-m64, branch master sergiodj+buildbot
2016-11-17 18:31 [binutils-gdb] Document new hard requirement on GNU make sergiodj+buildbot
2016-11-24  0:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-17 16:49 [binutils-gdb] gdb/c-exp.y: fprintf -> parser_fprintf sergiodj+buildbot
2016-11-23 20:36 ` Failures on Fedora-ppc64be-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 18:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-17 14:41 [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]> sergiodj+buildbot
2016-11-23 15:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-17  1:28 [binutils-gdb] gdb/tracepoint.c: Don't use printf_vma sergiodj+buildbot
2016-11-23 13:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-17  0:20 [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame sergiodj+buildbot
2016-11-23 11:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-16 22:59 [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers sergiodj+buildbot
2016-11-23  7:30 ` Failures on Fedora-ppc64be-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  5:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-16 21:50 [binutils-gdb] Distinguish sentinel frame from null frame sergiodj+buildbot
2016-11-23  2:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-16 20:03 [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp sergiodj+buildbot
2016-11-23  0:03 ` Failures on Fedora-ppc64be-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 21:13 ` Failures on Fedora-ppc64be-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 18:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-15 22:01 [binutils-gdb] Delete gdb::unique_ptr/gdb::move sergiodj+buildbot
2016-11-22 16:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-15 20:54 [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move} sergiodj+buildbot
2016-11-22 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-15 20:24 [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition sergiodj+buildbot
2016-11-22 10:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-14 19:27 [binutils-gdb] Also check GOT PLT for R_X86_64_PLTOFF64 sergiodj+buildbot
2016-11-22  9:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-14 10:28 [binutils-gdb] btrace: read entire aux buffer sergiodj+buildbot
2016-11-22  8:13 ` Failures on Fedora-ppc64be-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  4:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-12 20:45 [binutils-gdb] Remove some cleanups from the rust code sergiodj+buildbot
2016-11-21 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-12 19:05 [binutils-gdb] Use std::string in rust_get_disr_info sergiodj+buildbot
2016-11-21 14:35 ` Failures on Fedora-ppc64be-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 11:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 20:35 [binutils-gdb] Identify verilog dump tests as such sergiodj+buildbot
2016-11-21  9:26 ` Failures on Fedora-ppc64be-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:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 18:47 [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction sergiodj+buildbot
2016-11-21  4:38 ` Failures on Fedora-ppc64be-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  2:18 ` Failures on Fedora-ppc64be-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 21:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 15:42 [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space sergiodj+buildbot
2016-11-20 20:08 ` Failures on Fedora-ppc64be-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 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 13:30 [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag sergiodj+buildbot
2016-11-20 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 12:40 [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols sergiodj+buildbot
2016-11-20 13:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 12:02 [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr sergiodj+buildbot
2016-11-20  9:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 10:40 [binutils-gdb] Remove parameter valaddr from c print functions sergiodj+buildbot
2016-11-20  7:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-11 10:09 [binutils-gdb] sim: mips: fix dv-tx3904cpu build error sergiodj+buildbot
2016-11-20  5:49 ` Failures on Fedora-ppc64be-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  1:52 ` Failures on Fedora-ppc64be-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  5:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-10  7:47 [binutils-gdb] X86: Merge AVX512F vmovq sergiodj+buildbot
2016-11-18 23:24 ` Failures on Fedora-ppc64be-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:11 ` Failures on Fedora-ppc64be-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:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-08 21:34 [binutils-gdb] Clean up tracepoint.h/c:collection_list sergiodj+buildbot
2016-11-13 15:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-08 18:27 [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup sergiodj+buildbot
2016-11-13  3:02 ` Failures on Fedora-ppc64be-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-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-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:51 ` Failures on Fedora-ppc64be-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-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-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:50 ` Failures on Fedora-ppc64be-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-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-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-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-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:48 ` Failures on Fedora-ppc64be-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:47 ` Failures on Fedora-ppc64be-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:50 ` Failures on Fedora-ppc64be-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:46 ` Failures on Fedora-ppc64be-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:44 ` Failures on Fedora-ppc64be-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-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-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:42 ` Failures on Fedora-ppc64be-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-m64, branch master sergiodj+buildbot
2016-11-03 15:35 [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind sergiodj+buildbot
2016-11-09 12:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-11-03 15:21 [binutils-gdb] Add enum for mips breakpoint kinds sergiodj+buildbot
2016-11-09  9:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-28 10:04 [binutils-gdb] btrace: allow leading trace gaps sergiodj+buildbot
2016-11-05 23:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-27 13:09 [binutils-gdb] gdb: Coalesce/aggregate (async) vCont packets/actions sergiodj+buildbot
2016-11-05  1:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-26 16:05 [binutils-gdb] gdb: Clean up remote.c:remote_resume sergiodj+buildbot
2016-10-26 16:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-14 13:25 [binutils-gdb] Fix set sysroot command on AIX sergiodj+buildbot
2016-10-15  5:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-14  9:25 [binutils-gdb] btrace: remove leftover comment sergiodj+buildbot
2016-10-14 23:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-14  7:30 [binutils-gdb] Include strings.h where available sergiodj+buildbot
2016-10-14 17:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-13 17:38 [binutils-gdb] ARI: Remove true/false checks sergiodj+buildbot
2016-10-13 17:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-13 15:27 [binutils-gdb] Share proc get_var_address sergiodj+buildbot
2016-10-13 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-13 14:54 [binutils-gdb] Skip testing structures with floating points sergiodj+buildbot
2016-10-13 14:54 ` Failures on Fedora-ppc64be-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  5:50 ` Failures on Fedora-ppc64be-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:25 ` Failures on Fedora-ppc64be-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:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-12 16:00 [binutils-gdb] arc: Add support for Newlib sergiodj+buildbot
2016-10-12 16:00 ` Failures on Fedora-ppc64be-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:02 ` Failures on Fedora-ppc64be-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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-12 13:03 [binutils-gdb] arc: Add a gdbarch_tdep structure sergiodj+buildbot
2016-10-12 14:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-12 11:51 [binutils-gdb] [AArch64] Track FP registers in prologue analyzer sergiodj+buildbot
2016-10-12 11:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-11 23:35 [binutils-gdb] BFD_FAKE_SECTION macro params sergiodj+buildbot
2016-10-11 23:36 ` Failures on Fedora-ppc64be-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:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-11 15:00 [binutils-gdb] testsuite: Use standard_output_file sergiodj+buildbot
2016-10-11 15:01 ` Failures on Fedora-ppc64be-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:43 ` Failures on Fedora-ppc64be-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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-10-10 11:41 [binutils-gdb] Share enum arm_breakpoint_kinds sergiodj+buildbot
2016-10-10 11:53 ` Failures on Fedora-ppc64be-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 10:53 ` Failures on Fedora-ppc64be-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:06 ` Failures on Fedora-ppc64be-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  0:24 ` Failures on Fedora-ppc64be-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 17:39 ` Failures on Fedora-ppc64be-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  5:31 ` Failures on Fedora-ppc64be-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 17:47 ` Failures on Fedora-ppc64be-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 14:01 ` Failures on Fedora-ppc64be-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 21:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-12 15:28 [binutils-gdb] Use target_sim_options for sim target sergiodj+buildbot
2016-09-12 15:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-10 23:25 [binutils-gdb] Pass HWCAP to ifunc resolver sergiodj+buildbot
2016-09-10 22:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-10 20:57 [binutils-gdb] Remove some unneeded casts from remote.c sergiodj+buildbot
2016-09-10 19:45 ` Failures on Fedora-ppc64be-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:51 ` Failures on Fedora-ppc64be-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:17 ` Failures on Fedora-ppc64be-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:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-07  1:30 [binutils-gdb] Resolve size relocation with copy relocation sergiodj+buildbot
2016-09-07 18:13 ` Failures on Fedora-ppc64be-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 15:46 ` Failures on Fedora-ppc64be-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:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-06 22:01 [binutils-gdb] Remove obsolete TYPE_FLAG_... values sergiodj+buildbot
2016-09-07  6:48 ` Failures on Fedora-ppc64be-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  0:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-09-06 16:28 [binutils-gdb] gdb/: Require a C++ compiler sergiodj+buildbot
2016-09-06 17:18 ` Failures on Fedora-ppc64be-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 17:31 ` Failures on Fedora-ppc64be-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:12 ` Failures on Fedora-ppc64be-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 22:42 ` Failures on Fedora-ppc64be-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 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-08-26 16:28 [binutils-gdb] Fixed -init, -fini linker options sergiodj+buildbot
2016-08-27  4:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-08-24 18:25 [binutils-gdb] [ARC] C++ compatibility for arc-dis.h sergiodj+buildbot
2016-08-25  5:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-08-24 18:02 [binutils-gdb] [ARC] Parse NOTE section in core dump files sergiodj+buildbot
2016-08-24 23:24 ` Failures on Fedora-ppc64be-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:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-08-19 16:06 [binutils-gdb] x32 Fast tracepoints: IPA target descriptions sergiodj+buildbot
2016-08-19 16:06 ` Failures on Fedora-ppc64be-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:19 ` Failures on Fedora-ppc64be-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:49 ` Failures on Fedora-ppc64be-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 13:52 ` Failures on Fedora-ppc64be-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 18:10 ` Failures on Fedora-ppc64be-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:03 ` Failures on Fedora-ppc64be-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-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:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-19 10:01 [binutils-gdb] Use do_self_tests in selftest.exp sergiodj+buildbot
2016-07-19 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-13 14:28 [binutils-gdb] opcodes, gas: support for the ldtxa SPARC instructions sergiodj+buildbot
2016-07-13 15:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-07 15:52 [binutils-gdb] Fix of default lookup for "this" symbol sergiodj+buildbot
2016-07-07 16:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 16:12 [binutils-gdb] Remove extra output directory level for Ada tests sergiodj+buildbot
2016-07-06 20:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 15:43 [binutils-gdb] Remove extraneous parentheses sergiodj+buildbot
2016-07-06 18:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 15:28 [binutils-gdb] Use unsigned integer constant with left shifts sergiodj+buildbot
2016-07-06 17:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 14:25 [binutils-gdb] Set uses_fp for frames with a valid FP register explicitly sergiodj+buildbot
2016-07-06 16:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 13:45 [binutils-gdb] Remove check for negative size sergiodj+buildbot
2016-07-06 15:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06 13:14 [binutils-gdb] Use 'ptid_t' instead of 'ptid' for fbsd_next_vfork_done's return type sergiodj+buildbot
2016-07-06 13:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06  7:38 [binutils-gdb] [ARM] Fix endless recursion on calculating CPRC candidate sergiodj+buildbot
2016-07-06  7:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-06  5:38 [binutils-gdb] Allow subscripting raw pointers sergiodj+buildbot
2016-07-06  5:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-05 14:06 [binutils-gdb] Fix fail in gdb.mi/mi-reverse.exp sergiodj+buildbot
2016-07-05 14:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-05 11:42 [binutils-gdb] [ARM] Purecode compatible long branch veneer for M-profile targets with MOVW sergiodj+buildbot
2016-07-05 11:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-05 10:56 [binutils-gdb] [ARM] Change noread to purecode sergiodj+buildbot
2016-07-05 11:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-05  9:02 [binutils-gdb] babeltrace compilation regression sergiodj+buildbot
2016-07-05  9:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 19:49 [binutils-gdb] Optimize memory_xfer_partial for remote sergiodj+buildbot
2016-07-01 21:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 19:44 [binutils-gdb] [AArch64] Fix +nofp16 handling sergiodj+buildbot
2016-07-01 20:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 18:48 [binutils-gdb] Fake VFORK_DONE events when following only the parent after a vfork sergiodj+buildbot
2016-07-01 19:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 18:19 [binutils-gdb] Move fbsd_resume and related functions below fork following helper code sergiodj+buildbot
2016-07-01 18:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 17:17 [binutils-gdb] Honor detach-on-fork on FreeBSD sergiodj+buildbot
2016-07-01 17:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 16:41 [binutils-gdb] Fix Thumb-2 BL detection sergiodj+buildbot
2016-07-01 16:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 15:50 [binutils-gdb] Set debug registers on all threads belonging to the current inferior sergiodj+buildbot
2016-07-01 15:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 14:59 [binutils-gdb] Consolidate x86 debug register code for BSD native targets sergiodj+buildbot
2016-07-01 15:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 12:59 [binutils-gdb] Extend JIT-reader test and fix GDB problems that exposes sergiodj+buildbot
2016-07-01 14:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 12:41 [binutils-gdb] Fix failure to detach if process exits while detaching on Linux sergiodj+buildbot
2016-07-01 13:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 11:56 [binutils-gdb] Forget watchpoint locations when inferior exits or is killed/detached sergiodj+buildbot
2016-07-01 11:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01 10:53 [binutils-gdb] Factor out "Detaching from program" message printing sergiodj+buildbot
2016-07-01 11:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01  8:42 [binutils-gdb] x86: allow suffix-less movzw and 64-bit movzb sergiodj+buildbot
2016-07-01  8:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01  7:49 [binutils-gdb] x86: remove stray instruction attributes sergiodj+buildbot
2016-07-01  8:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-07-01  7:09 [binutils-gdb] x86/Intel: fix operand checking for MOVSD sergiodj+buildbot
2016-07-01  7:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-30 15:32 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-06-30 15:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-30 11:43 [binutils-gdb] Fix gdbserver/MI testing regression sergiodj+buildbot
2016-06-30 12:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-30 11:28 [binutils-gdb] Make testing gdb with FORCE_SEPARATE_MI_TTY=1 actually work sergiodj+buildbot
2016-06-30 11:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-30 10:07 [binutils-gdb] [ARM][GAS] ARMv8.2 should enable ARMv8.1 NEON instructions sergiodj+buildbot
2016-06-30 10:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-30  8:28 [binutils-gdb] Add support for simulating big-endian AArch64 binaries sergiodj+buildbot
2016-06-30  8:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 18:30 [binutils-gdb] Add copyright header in gdb.base/return.c sergiodj+buildbot
2016-06-29 21:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 16:36 [binutils-gdb] PR gdb/17210 - fix possible memory leak in read_memory_robust sergiodj+buildbot
2016-06-29 17:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 14:59 [binutils-gdb] Initialize strtok_r's saveptr to NULL sergiodj+buildbot
2016-06-29 15:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 14:20 [binutils-gdb] Set unknown_syscall differently on arm linux sergiodj+buildbot
2016-06-29 14:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 12:11 [binutils-gdb] sparc: make SPARC_OPCODE_ARCH_MAX part of its enum sergiodj+buildbot
2016-06-29 13:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 11:32 [binutils-gdb] Use strtok_r instead of strsep in rust_get_disr_info sergiodj+buildbot
2016-06-29 12:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-29 10:35 [binutils-gdb] Preserve all mapping symbols in ARM and AArch64 object files sergiodj+buildbot
2016-06-29 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 18:34 [binutils-gdb] [TILEPro] Don't build gdb sergiodj+buildbot
2016-06-29  0:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 17:17 [binutils-gdb] [AArch64] Use int64_t for address offset sergiodj+buildbot
2016-06-28 22:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 15:00 [binutils-gdb] Mark ARM mapping symbols in object files are precious, so that strip will not remove them sergiodj+buildbot
2016-06-28 19:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 14:32 [binutils-gdb] Implement get_syscall_trapinfo for arm-linux sergiodj+buildbot
2016-06-28 17:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 13:31 [binutils-gdb] Implement get_syscall_trapinfo for aarch64-linux sergiodj+buildbot
2016-06-28 16:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 13:01 [binutils-gdb] Remove parameter sysret from linux_target_ops.get_syscall_trapinfo sergiodj+buildbot
2016-06-28 15:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 12:03 [binutils-gdb] Probe catch syscall support sergiodj+buildbot
2016-06-28 14:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28 11:18 [binutils-gdb] Don't convert R_SPARC_32 to R_SPARC_RELATIVE if class is ELFCLASS64 sergiodj+buildbot
2016-06-28 12:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-28  8:38 [binutils-gdb] [AArch64] Make register indices be full 64-bit values sergiodj+buildbot
2016-06-28  9:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-27 17:03 [binutils-gdb] Print void types correctly in Rust sergiodj+buildbot
2016-06-27 17:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-27 12:10 [binutils-gdb] PR 19264 looping in ppc64_elf_size_stubs sergiodj+buildbot
2016-06-27 15:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-24 22:59 [binutils-gdb] Add a gdbarch 'print_auxv_entry' method for FreeBSD ABIs sergiodj+buildbot
2016-06-26  2:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-24  3:10 [binutils-gdb] Make gdbpy_parameter static sergiodj+buildbot
2016-06-25  2:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-23  9:16 [binutils-gdb] [ARC] Misc minor edits/fixes sergiodj+buildbot
2016-06-24 21:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-22 11:03 [binutils-gdb] Send deleted watchpoint-scope output to all UIs sergiodj+buildbot
2016-06-23 19:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-22  9:22 [binutils-gdb] tilegx: move TILEGX_NUM_PIPELINE_ENCODINGS to tilegx_pipeline enum sergiodj+buildbot
2016-06-24 14:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 18:08 [binutils-gdb] Simplify starting the command event loop sergiodj+buildbot
2016-06-22 15:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 18:04 [binutils-gdb] Make stdin be per UI sergiodj+buildbot
2016-06-23 10:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 16:33 [binutils-gdb] Make main_ui be heap allocated sergiodj+buildbot
2016-06-23  6:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 15:18 [binutils-gdb] Push thread->control.command_interp to the struct thread_fsm sergiodj+buildbot
2016-06-23  3:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 12:26 [binutils-gdb] Make gdb_in_secondary_prompt_p() be per UI sergiodj+buildbot
2016-06-22 18:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-21 10:12 [binutils-gdb] Make target_terminal_inferior/ours almost nops on non-main UIs sergiodj+buildbot
2016-06-22  9:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-17 11:35 [binutils-gdb] gdb: new AndesTech NDS32 port sergiodj+buildbot
2016-06-17 16:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-14 22:53 [binutils-gdb] Initialize 'ra' to zero to avoid uninitialized use sergiodj+buildbot
2016-06-15  5:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-14  6:01 [binutils-gdb] Set my_archive for thin archives sergiodj+buildbot
2016-06-14 10:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-12  4:48 [binutils-gdb] Subtract GOT base only with a base register sergiodj+buildbot
2016-06-12  5:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-10  9:37 [binutils-gdb] Fortran: Testsuite, non-local references in nested functions sergiodj+buildbot
2016-06-10 10:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-07 15:04 [binutils-gdb] Fix PLT first entry GOT operand calculation sergiodj+buildbot
2016-06-07 16:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-07 13:02 [binutils-gdb] PowerPC VLE sergiodj+buildbot
2016-06-07 13:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-07 11:49 [binutils-gdb] Frame static link: Handle null pointer sergiodj+buildbot
2016-06-07 12:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-07  9:09 [binutils-gdb] [ARM] Add command line option for RAS extension sergiodj+buildbot
2016-06-07  9:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-06 21:21 [binutils-gdb] Add method/format information to =record-started sergiodj+buildbot
2016-06-06 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-06 18:25 [binutils-gdb] Support x86-64 TLS code sequences without PLT sergiodj+buildbot
2016-06-06 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-04 20:35 [binutils-gdb] Add z8k ld testsuite and fix range check in coff-z8k.c sergiodj+buildbot
2016-06-04 21:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-03 23:50 [binutils-gdb] Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu sergiodj+buildbot
2016-06-04  0:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-03 23:15 [binutils-gdb] Handle indirect branches for AMD64 and Intel64 sergiodj+buildbot
2016-06-03 23:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-03 11:47 [binutils-gdb] Fix C++ build for Cygwin sergiodj+buildbot
2016-06-03 12:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 19:39 [binutils-gdb] Fix PR python/18984 sergiodj+buildbot
2016-06-02 19:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 16:28 [binutils-gdb] Add "arm_any" architecture type to allow -m option to various binutils to match any ARM architecture sergiodj+buildbot
2016-06-02 17:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 15:40 [binutils-gdb] mi-memory-changed.exp: Fix filename passed to untested sergiodj+buildbot
2016-06-02 16:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 15:31 [binutils-gdb] Allow ARC Linux targets that do not use uclibc sergiodj+buildbot
2016-06-02 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 14:30 [binutils-gdb] Replace data32 with data16 in comments sergiodj+buildbot
2016-06-02 14:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02 13:17 [binutils-gdb] Add support for 48 and 64 bit ARC instructions sergiodj+buildbot
2016-06-02 13:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02  3:32 [binutils-gdb] Revert PR16467 change sergiodj+buildbot
2016-06-02  3:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-02  1:33 [binutils-gdb] add more extern C sergiodj+buildbot
2016-06-02  2:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01 16:03 [binutils-gdb] Add new Serbian translation for the bfd library sergiodj+buildbot
2016-06-01 17:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01 15:39 [binutils-gdb] Add support for some variants of the ARC nps400 rflt instruction sergiodj+buildbot
2016-06-01 16:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01 10:56 [binutils-gdb] Add xmalloc_failed() function to common-utils.c in to avoid the need to link in libiberty's xmalloc code sergiodj+buildbot
2016-06-01 11:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01  9:27 [binutils-gdb] infcmd, btrace: fix crash in 'finish' for tailcall-only frames sergiodj+buildbot
2016-06-01  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01  8:46 [binutils-gdb] Wake up interruptible_select in remote_fileio ctrl-c handler sergiodj+buildbot
2016-06-01  9:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-06-01  3:22 [binutils-gdb] sh: make constant unsigned to avoid narrowing sergiodj+buildbot
2016-06-01  3:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-31 19:07 [binutils-gdb] [PR gdb/19893] Fix handling of synthetic C++ references sergiodj+buildbot
2016-05-31 19:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-31 11:20 [binutils-gdb] Don't needlessly clear xmemdup allocated memory sergiodj+buildbot
2016-05-31 11:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 17:39 [binutils-gdb] Add tests for 64bit values in trace-condition.exp sergiodj+buildbot
2016-05-30 23:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 17:30 [binutils-gdb] Add variable length tests for emit_ref in trace-condition.exp sergiodj+buildbot
2016-05-30 22:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 17:22 [binutils-gdb] Add emit_less_unsigned test in trace-condition.exp sergiodj+buildbot
2016-05-30 20:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 17:13 [binutils-gdb] Move trace conditions tests from ftrace.exp to trace-condition.exp sergiodj+buildbot
2016-05-30 19:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 17:04 [binutils-gdb] Add counter-cases for trace-condition.exp tests sergiodj+buildbot
2016-05-30 17:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-30 12:38 [binutils-gdb] PR 15231: import bare DW_TAG_lexical_block sergiodj+buildbot
2016-05-30 13:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-29 18:59 [binutils-gdb] NEWS: QCatchSyscalls: simplify sergiodj+buildbot
2016-05-29 19:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-28 13:19 [binutils-gdb] Add dependencies to configure rule sergiodj+buildbot
2016-05-28 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-28 10:13 [binutils-gdb] MIPS/BFD: Enable local R_MIPS_26 overflow detection sergiodj+buildbot
2016-05-28 13:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-27 22:07 [binutils-gdb] MIPS/BFD: Include the addend in JALX's target alignment verification sergiodj+buildbot
2016-05-28  9:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-27 17:19 [binutils-gdb] Update x86 CPU_XXX_FLAGS handling sergiodj+buildbot
2016-05-28  4:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-27  0:21 [binutils-gdb] Add support for new POWER ISA 3.0 instructions sergiodj+buildbot
2016-05-27  5:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-25  7:51 [binutils-gdb] Fortran, testsuite: Add testcases for nested structures sergiodj+buildbot
2016-05-26  0:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-25  7:07 [binutils-gdb] Fortran, testsuite: Use multi_line in whatis_type testcase sergiodj+buildbot
2016-05-25 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-24 11:32 [binutils-gdb] Fix syntax error in annota-input-while-running.exp sergiodj+buildbot
2016-05-24 15:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-24  9:33 [binutils-gdb] Add myself as a write-after-approval GDB maintainer sergiodj+buildbot
2016-05-24 14:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-23 16:44 [binutils-gdb] [ARC] Update instruction type and delay slot info sergiodj+buildbot
2016-05-24  4:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-23  8:59 [binutils-gdb] Support for dedicated output section for some ARM veneer types sergiodj+buildbot
2016-05-23 11:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-23  5:30 [binutils-gdb] tic54x: rename typedef of struct symbol_ sergiodj+buildbot
2016-05-23  6:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-19  5:39 [binutils-gdb] Allocate ppc64 got and dynrelocs before plt sergiodj+buildbot
2016-05-19  9:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-18 14:45 [binutils-gdb] Fix double prompt output after run control MI commands with mi-async on (PR 20045) sergiodj+buildbot
2016-05-18 22:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-17 22:44 [binutils-gdb] Add support for the Rust language sergiodj+buildbot
2016-05-18  5:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-17 21:36 [binutils-gdb] Update gdb test suite for Rust sergiodj+buildbot
2016-05-18  7:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-17 20:49 [binutils-gdb] Fix latent yacc-related bug in gdb/Makefile.in init.c rule sergiodj+buildbot
2016-05-17 21:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-17 11:40 [binutils-gdb] LD/ELF: Unify STB_GNU_UNIQUE handling sergiodj+buildbot
2016-05-17 12:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-10 18:12 [binutils-gdb] Allow stubs without associated input section in ARM backend sergiodj+buildbot
2016-05-11  4:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-10 16:40 [binutils-gdb] Add support for ARMv8-M Mainline with DSP extension sergiodj+buildbot
2016-05-10 20:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-08  0:20 [binutils-gdb] remove trivialy unused variables sergiodj+buildbot
2016-05-08  0:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-05-03 23:21 [binutils-gdb] PR 10549: MIPS/LD: Handle OSABI setting for STB_GNU_UNIQUE sergiodj+buildbot
2016-05-04  2:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-26 14:47 [binutils-gdb] fort_dyn_array: Enable dynamic member types inside a structure sergiodj+buildbot
2016-04-26 15:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-22 16:34 [binutils-gdb] Propagate GDB/C++ exceptions across readline using sj/lj-based TRY/CATCH sergiodj+buildbot
2016-04-23  6:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-22 12:23 [binutils-gdb] Tweak gdb.reverse/step-precsave.exp and gdb.reverse/step-reverse.exp sergiodj+buildbot
2016-04-22 19:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-21 16:36 [binutils-gdb] Switch gdb's TRY/CATCH to sjlj again sergiodj+buildbot
2016-04-22  8:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-21 14:48 [binutils-gdb] Add support for non-ELF targets to check their relocs sergiodj+buildbot
2016-04-22  6:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-21 10:39 [binutils-gdb] Add missing sentinel 'char *' casts in concat/reconcat calls sergiodj+buildbot
2016-04-21 20:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-20 22:27 [binutils-gdb] Build GDB as a C++ program by default sergiodj+buildbot
2016-04-21  9:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-20 11:08 [binutils-gdb] arc: Fix relocation formula for ARC_NPS_CMEM16 relocation sergiodj+buildbot
2016-04-20 11:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-13  8:11 [binutils-gdb] Do target_terminal_ours in query & friends instead of in all callers sergiodj+buildbot
2016-04-14  0:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-12 20:57 [binutils-gdb] Use target_terminal_ours_for_output in warning/internal_error sergiodj+buildbot
2016-04-13 21:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-08 13:52 [binutils-gdb] testsuite: Fix for gcc-4.8: gdb.base/jit.exp gdb.base/jit-so.exp sergiodj+buildbot
2016-04-08 14:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-07 20:44 [binutils-gdb] testsuite: Fix false FAILs with .bashrc GDBHISTFILE= sergiodj+buildbot
2016-04-08  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-07 19:12 [binutils-gdb] Fix gdb.compile/compile.exp shlib regression sergiodj+buildbot
2016-04-08  0:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-07 18:15 [binutils-gdb] arc/nps400: Add new instructions sergiodj+buildbot
2016-04-07 23:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-07 17:52 [binutils-gdb] gas/arc: Handle multiple arc_opcode chains for same mnemonic sergiodj+buildbot
2016-04-07 21:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-06 21:44 [binutils-gdb] Optimized-out pointer: New test for error handling sergiodj+buildbot
2016-04-06 23:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-05 19:25 [binutils-gdb] Make ftrace tests work with remote targets sergiodj+buildbot
2016-04-06  3:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-05 18:35 [binutils-gdb] Improve gdb_remote_download, remove gdb_download sergiodj+buildbot
2016-04-06  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-04-05 16:36 [binutils-gdb] IPA: Move getauxval out of #ifndef IN_PROCESS_AGENT sergiodj+buildbot
2016-04-06  0:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-31 22:48 [binutils-gdb] gdbserver: Fix C++ build errors in tracepoint.c sergiodj+buildbot
2016-04-01 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-31 19:22 [binutils-gdb] Add regression test for PR gdb/19858 (JIT code registration on attach) sergiodj+buildbot
2016-04-01  4:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-31 12:58 [binutils-gdb] python: Use console format for output of gdb.execute command sergiodj+buildbot
2016-03-31 15:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-29 13:24 [binutils-gdb] [ARC] Add support for Quarkse opcodes sergiodj+buildbot
2016-03-29 13:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-29  9:45 [binutils-gdb] Relax assertion in BFIN linker to allow for discard GOT relocs sergiodj+buildbot
2016-03-29 10:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-22 12:26 [binutils-gdb] Attribute with DW_FORM_flag_present sergiodj+buildbot
2016-03-22 15:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-21 18:10 [binutils-gdb] arc: Add nps400 machine type, and assembler flag sergiodj+buildbot
2016-03-21 23:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-21 17:28 [binutils-gdb] arc: Remove duplicated constant in include/elf/arc.h sergiodj+buildbot
2016-03-21 20:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-21 16:37 [binutils-gdb] Remove use of alloca sergiodj+buildbot
2016-03-21 17:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-21 10:37 [binutils-gdb] Canonicalize more arm linux syscalls sergiodj+buildbot
2016-03-21 11:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-18 15:45 [binutils-gdb] Make sparc_software_single_step static sergiodj+buildbot
2016-03-18 22:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-17 23:01 [binutils-gdb] Add mips and s390 build targets for gold sergiodj+buildbot
2016-03-18  7:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-17 10:26 [binutils-gdb] S390: Add syscall info for syscalls up to 374 sergiodj+buildbot
2016-03-18  2:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-17  9:47 [binutils-gdb] linux-record: Simplify with record_mem_at_reg() sergiodj+buildbot
2016-03-17 23:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-17  9:34 [binutils-gdb] linux-record.c: Fix whitespace issues sergiodj+buildbot
2016-03-17 19:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-17  9:19 [binutils-gdb] linux-record: Fix bad fall-through for pipe/pipe2 sergiodj+buildbot
2016-03-17 16:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-16 22:29 [binutils-gdb] PR remote/19496, interrupted syscall in forking-threads-plus-bkpt sergiodj+buildbot
2016-03-17 13:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-16 17:48 [binutils-gdb] xml-tdesc.c (tdesc_start_enum): Fix c++ build sergiodj+buildbot
2016-03-17  7:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-15 17:14 [binutils-gdb] Fix PR gdb/19676: Internal error in linux-thread.db.c if /proc not mounted sergiodj+buildbot
2016-03-15 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-15 16:47 [binutils-gdb] Fix PR gdb/19676: Disable displaced stepping if /proc not mounted sergiodj+buildbot
2016-03-15 17:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-14 20:28 [binutils-gdb] Regenerate bfd-in2.h sergiodj+buildbot
2016-03-14 21:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-14 16:56 [binutils-gdb] gdb.base/default.exp: Add missing $_as_string to "show convenience" test sergiodj+buildbot
2016-03-14 17:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-11 10:15 [binutils-gdb] gdb/s390: Fill pseudo register agent expression hooks sergiodj+buildbot
2016-03-11 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-11  9:28 [binutils-gdb] Fix some places where octet to byte conversions are needed sergiodj+buildbot
2016-03-11 10:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-10 15:43 [binutils-gdb] Mark the i370 target as obsolete sergiodj+buildbot
2016-03-11  3:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-10  1:30 [binutils-gdb] gdb.trace/tfind.exp: Force call via global entry point on ppc64le sergiodj+buildbot
2016-03-10  6:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 22:03 [binutils-gdb] gdb.trace/change-loc.exp: Don't depend on tracepoint ordering sergiodj+buildbot
2016-03-10  5:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 21:55 [binutils-gdb] More "Program" -> "Thread NN received signal" testsuite adjustment sergiodj+buildbot
2016-03-11  2:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 21:46 [binutils-gdb] gdb: fix doc string of target_can_use_hardware_watchpoint sergiodj+buildbot
2016-03-11  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 20:57 [binutils-gdb] Use struct buffer in gdb_readline_no_editing_callback sergiodj+buildbot
2016-03-10 20:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 20:36 [binutils-gdb] gdb_readline -> gdb_readline_no_editing sergiodj+buildbot
2016-03-10 17:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 20:27 [binutils-gdb] Update prompt_for_continue comments sergiodj+buildbot
2016-03-10 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 20:15 [binutils-gdb] Eliminate async_annotation_suffix sergiodj+buildbot
2016-03-10 15:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 19:54 [binutils-gdb] Garbage collect window_hook sergiodj+buildbot
2016-03-10 12:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 19:42 [binutils-gdb] Test issuing a command split in multiple lines with continuation chars sergiodj+buildbot
2016-03-10 10:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 19:21 [binutils-gdb] gdb.trace/entry-values.exp: Fixes for powerpc64 sergiodj+buildbot
2016-03-10  8:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 18:50 [binutils-gdb] gdb.trace: Use manually-defined start labels in unavailable-dwarf-piece.exp sergiodj+buildbot
2016-03-10  4:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 18:28 [binutils-gdb] gdb: Add gen_return_address for powerpc sergiodj+buildbot
2016-03-10  1:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 16:30 [binutils-gdb] S390: Add use of unavailable-stack frame ID sergiodj+buildbot
2016-03-09 21:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09 15:43 [binutils-gdb] For COFF and COFF/PE targets, skip relocations against absolute symbols sergiodj+buildbot
2016-03-09 16:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09  6:37 [binutils-gdb] Allow zero length archive elements sergiodj+buildbot
2016-03-09  9:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09  4:57 [binutils-gdb] Don't create dynamic sections when relocatable sergiodj+buildbot
2016-03-09  8:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09  3:39 [binutils-gdb] [CRIS] Don't internal error if forced big endian sergiodj+buildbot
2016-03-09  7:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09  3:19 [binutils-gdb] Assert that a floating type's length is at least as long as its format sergiodj+buildbot
2016-03-09  4:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-09  2:37 [binutils-gdb] Fix HP/PA GNU/Linux "long double" format sergiodj+buildbot
2016-03-09  3:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-08 17:47 [binutils-gdb] Handle local IFUNC symbols in shared object sergiodj+buildbot
2016-03-08 18:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-08 13:50 [binutils-gdb] Group common symbol checking together sergiodj+buildbot
2016-03-08 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-08 13:41 [binutils-gdb] [ARC] Allow non-instruction relocations within .text sections sergiodj+buildbot
2016-03-08 14:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-06  1:57 [binutils-gdb] Improve analysis of racy testcases sergiodj+buildbot
2016-03-06  2:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-05 12:31 [binutils-gdb] Fix argument passing for call sergiodj+buildbot
2016-03-05 13:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-04 17:01 [binutils-gdb] ARM process record: VMOV sergiodj+buildbot
2016-03-04 19:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-04 14:50 [binutils-gdb] Treat common symbol in executable as definition sergiodj+buildbot
2016-03-04 15:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 21:12 [binutils-gdb] Add new plugin hooks to support querying section alignment and size sergiodj+buildbot
2016-03-04  1:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 21:03 [binutils-gdb] get_symbols() plugin API tweak to support --start-lib/--end-lib sergiodj+buildbot
2016-03-04  0:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 19:03 [binutils-gdb] gdb.base/skip.exp: Use with_test_prefix sergiodj+buildbot
2016-03-03 22:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 10:20 [binutils-gdb] Reformat gdb.base/step-over-syscall.exp sergiodj+buildbot
2016-03-03 16:45 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 10:09 [binutils-gdb] Rename disp-step-syscall.exp to step-over-syscall.exp sergiodj+buildbot
2016-03-03 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03 10:00 [binutils-gdb] Step over fork/vfork syscall insn in gdbserver sergiodj+buildbot
2016-03-03 14:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03  9:51 [binutils-gdb] Step over syscalll insn with disp-step on and off sergiodj+buildbot
2016-03-03 12:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03  9:42 [binutils-gdb] Refactor gdb.base/disp-step-syscall.exp for general step over test sergiodj+buildbot
2016-03-03 11:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-03  9:31 [binutils-gdb] [GDBserver] Leave child suspended when step over parent sergiodj+buildbot
2016-03-03 10:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 17:42 [binutils-gdb] Call enqueue_pending_signal in linux_resume_one_lwp_throw sergiodj+buildbot
2016-03-03  1:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 17:06 [binutils-gdb] testsuite: Fix timeout issues during print of vla-arrays sergiodj+buildbot
2016-03-02 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 16:31 [binutils-gdb] [OBV] gdbserver: Only write ipa_tdesc_idx if agent is actually loaded sergiodj+buildbot
2016-03-02 23:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 16:16 [binutils-gdb] testsuite: Remove unnecessary code in fortran vla-history test sergiodj+buildbot
2016-03-02 22:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 15:53 [binutils-gdb] testsuite: Fix run to main issue introduced by GCC 5.x sergiodj+buildbot
2016-03-02 19:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 15:30 [binutils-gdb] Add new maintainer to Write After Approval sergiodj+buildbot
2016-03-02 17:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 14:37 [binutils-gdb] Fix detection of gfortran compilers sergiodj+buildbot
2016-03-02 15:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02 14:03 [binutils-gdb] Regenerate or1k opcodes file sergiodj+buildbot
2016-03-02 14:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02  4:03 [binutils-gdb] Regenerate bfd files sergiodj+buildbot
2016-03-02  5:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-02  3:46 [binutils-gdb] Regenerate rl78 opcodes file sergiodj+buildbot
2016-03-02  7:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-01 18:47 [binutils-gdb] Fix gdb.trace/ftrace-lock.c compilation sergiodj+buildbot
2016-03-01 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-01 17:53 [binutils-gdb] Fix gdb.threads/watchpoint-fork*.c compilation sergiodj+buildbot
2016-03-01 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-01 15:41 [binutils-gdb] Fix output path for arm-disp-step.exp sergiodj+buildbot
2016-03-01 17:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-01 15:31 [binutils-gdb] Compile gdb.arch/arm-neon.c with "quiet" sergiodj+buildbot
2016-03-01 16:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-03-01 11:06 [binutils-gdb] Fix typo in print_insn_rl78_common function sergiodj+buildbot
2016-03-01 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-29 17:29 [binutils-gdb] aarch64-linux process record: more syscalls sergiodj+buildbot
2016-02-29 19:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-29 16:04 [binutils-gdb] [ARC] Local symbols relocation cleanup sergiodj+buildbot
2016-02-29 17:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 20:30 [binutils-gdb] Add aarch64-*-rtems* target sergiodj+buildbot
2016-02-27  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 18:19 [binutils-gdb] [BFD][AARCH64]Fix MOVW_SABS_G(0, 1, 2) relocation overflow check sergiodj+buildbot
2016-02-27  0:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 17:52 [binutils-gdb] Optimize x86 GOT32X/GOTPCRELX relocations sergiodj+buildbot
2016-02-26 22:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 16:00 [binutils-gdb] Fix various bugs in arm_record_exreg_ld_st_insn sergiodj+buildbot
2016-02-26 21:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 15:51 [binutils-gdb] Record right reg num of thumb special data instructions sergiodj+buildbot
2016-02-26 20:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 15:15 [binutils-gdb] Generalize gdb.reverse/aarch64.exp sergiodj+buildbot
2016-02-26 17:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-26 14:51 [binutils-gdb] Properly implement STT_COMMON sergiodj+buildbot
2016-02-26 16:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <166616ce00e0c27fa3f556bcdeb908d4c0212393@gdb-build>
2016-02-25 19:17 ` sergiodj+buildbot
2016-02-25 17:42 [binutils-gdb] avoid compiler warnings in remote-m32r-sdi.c sergiodj+buildbot
2016-02-25 23:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-25 17:22 [binutils-gdb] Remove gdb.base/branches.c sergiodj+buildbot
2016-02-25 22:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <7337a6f2297cdd91bb852b479b284e5796d62cc9@gdb-build>
2016-02-25 16:41 ` sergiodj+buildbot
2016-02-25 12:24 [binutils-gdb] Add elf_x86_64_need_pic sergiodj+buildbot
2016-02-25 13:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24 23:37 [binutils-gdb] Update symbol version for symbol from linker script sergiodj+buildbot
2016-02-25  6:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24 18:24 [binutils-gdb] Move new skip features to proper section (post 7.11) sergiodj+buildbot
2016-02-25  0:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24 15:09 [binutils-gdb] Revert "ABS32" sergiodj+buildbot
2016-02-24 22:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24 14:22 [binutils-gdb] [OPCODES][ARM][1/3]Add armv8.2 fp16 instruction dissembler support sergiodj+buildbot
2016-02-24 20:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24 14:07 [binutils-gdb] ABS32 sergiodj+buildbot
2016-02-24 16:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-24  3:22 [binutils-gdb] Build unavailable-stack frames for tracepoint sergiodj+buildbot
2016-02-24  4:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23 21:37 [binutils-gdb] Extend "skip" command to support -file, -gfile, -function, -rfunction sergiodj+buildbot
2016-02-23 22:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23 18:34 [binutils-gdb] arm-tdep.c: Remove unused "to" parameters sergiodj+buildbot
2016-02-23 19:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23 13:32 [binutils-gdb] Make linker assigned symbol dynamic only for shared object sergiodj+buildbot
2016-02-23 15:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23 13:10 [binutils-gdb] Increment the ABIVERSION to 5 for MIPS objects with non-executable stacks sergiodj+buildbot
2016-02-23 13:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23  9:37 [binutils-gdb] Process record for aarch64-linux syscall sergiodj+buildbot
2016-02-23 10:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-23  0:43 [binutils-gdb] Always create dynsym section with dynamic sections sergiodj+buildbot
2016-02-23  2:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-22 13:15 [binutils-gdb] Remove BSF_COMMON from comments sergiodj+buildbot
2016-02-22 15:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-22 12:26 [binutils-gdb] Fix arm process record code format sergiodj+buildbot
2016-02-22 13:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-21 21:15 [binutils-gdb] Also update recursive call to d_lookup_symbol_imports sergiodj+buildbot
2016-02-21 21:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-21 20:46 [binutils-gdb] Remove search_parents parameter from d_lookup_symbol_imports sergiodj+buildbot
2016-02-21 20:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-19 15:34 [binutils-gdb] Fix a seg-fault in the linker when it encounters a corrupt binary containing a reloc with no associated symbol sergiodj+buildbot
2016-02-19 16:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-19 14:40 [binutils-gdb] [ARM] Add FP16 feature extension for ARMv8.2 architecture sergiodj+buildbot
2016-02-19 15:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-18 19:38 [binutils-gdb] Determine the iteration count based on wallclock instead of user+system time sergiodj+buildbot
2016-02-18 21:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-18 16:46 [binutils-gdb] Intel MPX bound violation handling sergiodj+buildbot
2016-02-18 18:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-17 19:31 [binutils-gdb] [x86-64] Omit dynamic sections symbols sergiodj+buildbot
2016-02-17 20:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <b00b61e1fd95b778ec85bf314baddd1be9040d25@gdb-build>
2016-02-17 10:34 ` sergiodj+buildbot
2016-02-16 15:36 [binutils-gdb] testsuite: Make standard_temp_file use invocation-specific directories sergiodj+buildbot
2016-02-16 20:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-16 13:59 [binutils-gdb] Remove PC from syscall_next_pc sergiodj+buildbot
2016-02-16 14:35 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-15 17:01 [binutils-gdb] testsuite: Fix some tests that write outside of the standard output directory sergiodj+buildbot
2016-02-15 18:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-14  8:25 [binutils-gdb] testsuite regression: gdb.fortran/vla-value-sub.exp gdb.fortran/vla-value-sub-finish.exp sergiodj+buildbot
2016-02-14  8:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <e44e00ffffe358d91df0ec4a11563eef0c14beb4@gdb-build>
2016-02-12 23:05 ` sergiodj+buildbot
2016-02-12 19:08 [binutils-gdb] i386-biarch-core.exp: Use standard_output_file sergiodj+buildbot
2016-02-12 21:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-12 16:22 [binutils-gdb] [ARM] Software single step cross kernel helpers sergiodj+buildbot
2016-02-12 19:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-12 16:11 [binutils-gdb] [ARM] Fixup PC in software single step sergiodj+buildbot
2016-02-12 17:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <d21b5f15d92bc1902b9e57198f67550326c887d7@gdb-build>
2016-02-12 14:48 ` sergiodj+buildbot
2016-02-12  9:19 [binutils-gdb] btrace, frame: fix crash in get_frame_type sergiodj+buildbot
2016-02-12 13:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-12  9:10 [binutils-gdb] stack: check frame_unwind_caller_id sergiodj+buildbot
2016-02-12 11:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-11 20:15 [binutils-gdb] Add missing quotes to gdb/testsuite/README sergiodj+buildbot
2016-02-12  1:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-11 19:37 [binutils-gdb] arm-tdep.c: Remove unused variables sergiodj+buildbot
2016-02-11 22:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <62e5fd57bcdfb58eadd08ec430c4dfd742027d8e@gdb-build>
2016-02-11  0:55 ` sergiodj+buildbot
     [not found] <e909d859f5635d66e79fef467da70d6090bfae1b@gdb-build>
2016-02-10 23:25 ` sergiodj+buildbot
2016-02-10 12:21 [binutils-gdb] Add support for ARC instruction relaxation in the assembler sergiodj+buildbot
2016-02-10 20:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-10 11:38 [binutils-gdb] Correct assertion in NIOS2 linker to allow signed 16-buit immediate values sergiodj+buildbot
2016-02-10 19:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-10  4:06 [binutils-gdb] Update NEWS post GDB 7.11 branch creation sergiodj+buildbot
2016-02-10 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-09 22:56 [binutils-gdb] python/19506 -- gdb.Breakpoint address location regression sergiodj+buildbot
2016-02-10  1:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-09 16:46 [binutils-gdb] Fix compile time warnings building the binutils with a gcc6 compiler sergiodj+buildbot
2016-02-09 21:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-09 11:06 [binutils-gdb] Add a more helpful warning message to explain why some AArch64 relocations can overflow sergiodj+buildbot
2016-02-09 16:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-09 10:57 [binutils-gdb] Revert "Fix build breakage" sergiodj+buildbot
2016-02-09 14:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-09 10:10 [binutils-gdb] Add a more helpful warning message to explain why some AArch64 relocations can overflow sergiodj+buildbot
2016-02-09 10:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-08 19:40 [binutils-gdb] Always organize test artifacts in a directory hierarchy sergiodj+buildbot
2016-02-08 21:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-08 19:12 [binutils-gdb] Fix in-tree, parallel running of Ada tests sergiodj+buildbot
2016-02-08 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-07 14:56 [binutils-gdb] varobj: Cleanup dead code sergiodj+buildbot
2016-02-07 15:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-06  1:39 [binutils-gdb] sim: mips: fix prog_bfd usage sergiodj+buildbot
2016-02-06  2:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-05 10:26 [binutils-gdb] Fix formatting of pe-mips.c file sergiodj+buildbot
2016-02-05 11:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-05 10:11 [binutils-gdb] Change the default architecture value for ARC bfds so that they have the lowest possible value, and hence can be merged with other ARC binaries wihtout changing their architecture value sergiodj+buildbot
2016-02-05 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-04 15:57 [binutils-gdb] [testsuite] Remove BASEDIR sergiodj+buildbot
2016-02-04 17:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-04 10:06 [binutils-gdb] Fix the encoding of the MSP430's RRUX instruction sergiodj+buildbot
2016-02-04 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-03 22:03 [binutils-gdb] MAINTAINERS: Add Thiemo Seufer back, as a past maintainer sergiodj+buildbot
2016-02-03 22:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-02 21:21 [binutils-gdb] Fix typos in bfd/ChangeLog and bfd/elf64-x86-64.c sergiodj+buildbot
2016-02-03  0:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-02 12:26 [binutils-gdb] Adaptation of siginfo fixup for the new bnd fields sergiodj+buildbot
2016-02-02 16:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-02 11:13 [binutils-gdb] Use linux_get_siginfo_type_with_fields for x86 sergiodj+buildbot
2016-02-02 13:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-02 10:56 [binutils-gdb] Merge gdb and gdbserver implementations for siginfo sergiodj+buildbot
2016-02-02 11:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-01 18:23 [binutils-gdb] gdb: New set/show max-value-size command sergiodj+buildbot
2016-02-01 18:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-01 11:43 [binutils-gdb] x86 synthetic plt symbols sergiodj+buildbot
2016-02-01 13:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-01 10:48 [binutils-gdb] Fix NetBSD build with BSD and GNU make(1) sergiodj+buildbot
2016-02-01 11:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-02-01  3:01 [binutils-gdb] elf64-s390.c: Fix -Werror=misleading-indentation sergiodj+buildbot
2016-02-01  3:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-31 20:38 [binutils-gdb] Fix /usr/bin/ld: final link failed: File truncated error on hppa sergiodj+buildbot
2016-01-31 21:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-31  0:17 [binutils-gdb] Check reloc against IFUNC symbol only with dynamic symbols sergiodj+buildbot
2016-01-31  0:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-29 20:45 [binutils-gdb] Fix two misleading indentation warnings sergiodj+buildbot
2016-01-29 21:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-28 21:41 [binutils-gdb] Set BFD_DECOMPRESS to decompress debug sections sergiodj+buildbot
2016-01-29  0:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-28 21:00 [binutils-gdb] Sync libiberty with GCC sergiodj+buildbot
2016-01-28 21:31 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-28 15:47 [binutils-gdb] Import strchrnul from gnulib and use it sergiodj+buildbot
2016-01-28 17:30 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-28 14:27 [binutils-gdb] Fix GDB crash in dprintf.exp sergiodj+buildbot
2016-01-28 14:59 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-27 19:48 [binutils-gdb] rx: Treat scalars larger than 8 bytes as aggregates in rx_push_dummy_call sergiodj+buildbot
2016-01-27 20:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-26 21:41 [binutils-gdb] Fix function comments sergiodj+buildbot
2016-01-26 22:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-26 14:40 [binutils-gdb] [GDBserver] Use regcache_read_pc in install_software_single_step_breakpoints sergiodj+buildbot
2016-01-26 17:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-26 14:13 [binutils-gdb] [GDBserver] Block and unblock SIGIO sergiodj+buildbot
2016-01-26 15:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <a579cd9aa8c57c8a54833f26452a1afef38e5d20@gdb-build>
2016-01-25 23:46 ` sergiodj+buildbot
2016-01-25 16:27 [binutils-gdb] Remove new_thread_notify and dead_thread_notify sergiodj+buildbot
2016-01-25 21:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25 16:18 [binutils-gdb] ARC/BFD: Fix a build error from `index' shadowing a global declaration sergiodj+buildbot
2016-01-25 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25 15:24 [binutils-gdb] [PATCH[ARM]Check mapping symbol while backward searching for IT block sergiodj+buildbot
2016-01-25 18:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25 13:48 [binutils-gdb] Fix PR 19461: strange "info thread" behavior in non-stop sergiodj+buildbot
2016-01-25 16:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25 13:32 [binutils-gdb] Move foreach_with_prefix to lib/gdb.exp sergiodj+buildbot
2016-01-25 14:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25  9:54 [binutils-gdb] Add missing end-of-comment marker to previous delta. (Doh!) sergiodj+buildbot
2016-01-25 10:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-25  9:41 [binutils-gdb] Fix memory corruption on Mach-O systems by suppressing a memory tidy up sergiodj+buildbot
2016-01-25  9:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-24  1:27 [binutils-gdb] MIPS/BFD: Simplify register index calculation in BZ16_REG_FIELD sergiodj+buildbot
2016-01-24  3:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-24  1:16 [binutils-gdb] MIPS/BFD: Correct register index calculation in BZ16_REG sergiodj+buildbot
2016-01-24  1:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <dc29a1ce6a25233e608f90511e67af3c18e19a98@gdb-build>
2016-01-23 14:37 ` sergiodj+buildbot
     [not found] <cc5fd9abe4980e48e2cc27b0225f3c6ba7c0756b@gdb-build>
2016-01-23 12:02 ` sergiodj+buildbot
2016-01-22 20:50 [binutils-gdb] testsuite: Fix PR threads/19422 regression + Guile regression sergiodj+buildbot
2016-01-22 21:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-22 17:04 [binutils-gdb] Reword the string description of native FreeBSD ptids sergiodj+buildbot
2016-01-22 17:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-22  9:39 [binutils-gdb] [testsuite] Unbuffer the output in gdb.base/multi-forks.c sergiodj+buildbot
2016-01-22 11:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-22  1:15 [binutils-gdb] * breakpoint.c (init_breakpoint_sal): Add comment sergiodj+buildbot
2016-01-22  2:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-22  0:30 [binutils-gdb] * lib/ada.exp (gdb_compile_ada): Fix typo sergiodj+buildbot
2016-01-22  1:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <f906b857015513af81f94db8e11b1e334c767def@gdb-build>
2016-01-21 22:06 ` sergiodj+buildbot
2016-01-21 14:04 [binutils-gdb] Fix compile time errors building ARC target on a 32-bit host sergiodj+buildbot
2016-01-21 20:52 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-21 12:28 [binutils-gdb] gdb: Small cleanup to disasm.c:maybe_add_dis_line_entry sergiodj+buildbot
2016-01-21 19:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-21 11:03 [binutils-gdb] Fix unexpected failures in the linker testsuite for ARM VxWorks targets sergiodj+buildbot
2016-01-21 16:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20 19:03 [binutils-gdb] Fix sorting of enum values in FlagEnumerationPrinter sergiodj+buildbot
2016-01-20 20:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20 18:53 [binutils-gdb] gnu_vector.exp: Respect `should_kfail' for PR 8549 sergiodj+buildbot
2016-01-20 19:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20 17:40 [binutils-gdb] Fix missing IPA lib in tspeed.exp in some configurations sergiodj+buildbot
2016-01-20 18:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20 14:43 [binutils-gdb] [AArch64] Reject invalid immediate operands to MSR UAO sergiodj+buildbot
2016-01-20 15:15 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20 13:05 [binutils-gdb] Add support for an ARM specific 'y' section attribute flag to mark the section as NOREAD sergiodj+buildbot
2016-01-20 13:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-20  4:14 [binutils-gdb] minor reformatting in printcmd.c::print_scalar_formatted sergiodj+buildbot
2016-01-20 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 23:43 [binutils-gdb] Use a separate variable for the size passed to sysctl sergiodj+buildbot
2016-01-20  9:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 17:43 [binutils-gdb] Use LWP IDs with ptrace register requests on FreeBSD sergiodj+buildbot
2016-01-20  5:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 17:34 [binutils-gdb] Display per-thread information for threads in FreeBSD cores sergiodj+buildbot
2016-01-20  4:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 17:18 [binutils-gdb] Add a pseudosection for the NT_FREEBSD_THRMISC note sergiodj+buildbot
2016-01-20  1:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 17:09 [binutils-gdb] Add support to readelf for reading FreeBSD ELF core notes sergiodj+buildbot
2016-01-20  0:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 16:43 [binutils-gdb] Fix enum flag with Python 3 sergiodj+buildbot
2016-01-19 23:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 16:35 [binutils-gdb] testsuite: Factor out --status in DO_RUNTEST sergiodj+buildbot
2016-01-19 21:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 16:07 [binutils-gdb] testsuite: Add --status to runtest invocation sergiodj+buildbot
2016-01-19 20:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 15:50 [binutils-gdb] Fix detection of "r_fs" and "r_gs" on FreeBSD sergiodj+buildbot
2016-01-19 17:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-19 12:38 [binutils-gdb] Limit breakpoint re-set to the current program space sergiodj+buildbot
2016-01-19 14:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-18 22:31 [binutils-gdb] MIPS: Remove remnants of 48-bit microMIPS instruction support sergiodj+buildbot
2016-01-19  1:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-18 17:08 [binutils-gdb] testsuite: Remove unused global references in gdb_test sergiodj+buildbot
2016-01-18 21:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-18 16:03 [binutils-gdb] Fix PR threads/19422 - show which thread caused stop sergiodj+buildbot
2016-01-18 19:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-18 15:11 [binutils-gdb] Replace some $ARCH_{get, set}_pc with linux_{get, set}_pc_32bit sergiodj+buildbot
2016-01-18 16:51 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-18 11:57 [binutils-gdb] Fix gdbserver build failure on targets without fork sergiodj+buildbot
2016-01-18 13:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-17  7:04 [binutils-gdb] GDB SIGSEGV opening a Fortran program compiled with ifort sergiodj+buildbot
2016-01-17 11:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-17  6:17 [binutils-gdb] fix gdb version parsing in src-release.sh sergiodj+buildbot
2016-01-17  9:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-15 22:55 [binutils-gdb] Fix phony_iconv wide character support sergiodj+buildbot
2016-01-16  1:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-14 16:27 [binutils-gdb] Fix display of RL78 MOVW instructions that use the stack pointer sergiodj+buildbot
2016-01-14 17:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-14 14:57 [binutils-gdb] [ARM] Remove field syscall_next_pc in struct gdbarch_tdep sergiodj+buildbot
2016-01-14 15:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-14 11:03 [binutils-gdb] [AArch64] Fix missing architecture checks for ARMv8.2 system registers sergiodj+buildbot
2016-01-14 11:42 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-14  9:39 [binutils-gdb] [ARM] Make thumb2_breakpoint static again sergiodj+buildbot
2016-01-14 10:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 11:41 [binutils-gdb] Implement "info threads -gid" sergiodj+buildbot
2016-01-13 19:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 11:40 [binutils-gdb] Add Python InferiorThread.global_num attribute sergiodj+buildbot
2016-01-13 18:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 11:38 [binutils-gdb] Centralize thread ID printing sergiodj+buildbot
2016-01-13 16:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 11:36 [binutils-gdb] Add Python InferiorThread.inferior attribute sergiodj+buildbot
2016-01-13 14:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 11:35 [binutils-gdb] Add a new $_inferior convenience variable sergiodj+buildbot
2016-01-13 12:58 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-13 10:52 [binutils-gdb] Fix PR19388: Can't access $_siginfo in breakpoint (catch signal) condition sergiodj+buildbot
2016-01-13 11:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 20:34 [binutils-gdb] Implement 'catch syscall' for gdbserver sergiodj+buildbot
2016-01-13  3:18 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 16:46 [binutils-gdb] [ARM] Support ARMv8.2 RAS extension sergiodj+buildbot
2016-01-13  0:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 16:37 [binutils-gdb] Sync top-level Makefile.def with GCC sergiodj+buildbot
2016-01-12 22:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 15:45 [binutils-gdb] gdbserver: use the new gdb warning helpers sergiodj+buildbot
2016-01-12 19:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 15:44 [binutils-gdb] gdbserver: fix various warnings sergiodj+buildbot
2016-01-12 18:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 15:09 [binutils-gdb] Remove trademark acknowledgements throughout sergiodj+buildbot
2016-01-12 15:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12 12:01 [binutils-gdb] Hurd: Make gdb/reply_mig_hack.awk script compatible to "mawk" sergiodj+buildbot
2016-01-12 12:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-12  1:37 [binutils-gdb] Reapply: List inferiors/threads/pspaces in ascending order sergiodj+buildbot
2016-01-12  2:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-11 21:25 [binutils-gdb] testsuite: Regression for foll-vfork.exp sergiodj+buildbot
2016-01-11 23:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-11 21:16 [binutils-gdb] testsuite: Fix false FAILs on too long base directory sergiodj+buildbot
2016-01-11 21:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-11 18:06 [binutils-gdb] Delete opcodes that have been removed from ISA 3.0 sergiodj+buildbot
2016-01-11 18:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-11 11:18 [binutils-gdb] Import changes made to files shared with the FSF GCC project sergiodj+buildbot
2016-01-11 12:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-11  0:08 [binutils-gdb] sim: move many common settings from CPPFLAGS to config.h sergiodj+buildbot
2016-01-11  2:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-10 23:15 [binutils-gdb] sim: drop unused SIM_AC_OPTION_PACKAGES sergiodj+buildbot
2016-01-11  1:28 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-10 22:28 [binutils-gdb] sim: allow the environment configure option everywhere sergiodj+buildbot
2016-01-11  0:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-10  9:12 [binutils-gdb] sim: drop targ-vals.def->nltvals.def indirection sergiodj+buildbot
2016-01-10 14:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-10  8:59 [binutils-gdb] sim: mips: drop SIM_AC_OPTION_SMP call sergiodj+buildbot
2016-01-10 12:47 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-10  8:51 [binutils-gdb] sim: allow the inline configure option everywhere sergiodj+buildbot
2016-01-10 11:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-09  9:01 [binutils-gdb] sim: drop common/cconfig.h in favor of a single config.h sergiodj+buildbot
2016-01-09  9:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-08 15:34 [binutils-gdb] perf testsuite: python 3 fixes sergiodj+buildbot
2016-01-08 16:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-08 11:25 [binutils-gdb] Change SIGINT handler for extension languages only when target terminal is ours sergiodj+buildbot
2016-01-08 15:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-08  9:58 [binutils-gdb] [ARM] PR ld/19368: Add missing relocation type class for R_ARM_IRELATIVE sergiodj+buildbot
2016-01-08 10:38 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-07  3:07 [binutils-gdb] sim: config: drop use of __DATE__/__TIME__ sergiodj+buildbot
2016-01-07  4:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-07  2:58 [binutils-gdb] sim: sim_{create_inferior, open, parse_args}: constify argv/env slightly sergiodj+buildbot
2016-01-07  3:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-06 18:52 [binutils-gdb] MIPS/include: opcode/mips.h: Add a summary of MIPS16 operand codes sergiodj+buildbot
2016-01-06 19:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-06 15:34 [binutils-gdb] Make {arm,thumb}_get_next_pcs_raw static sergiodj+buildbot
2016-01-06 17:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-06 15:10 [binutils-gdb] [ARM/AArch64] Fix -Werror=unused-const-variable warnings in GDBserver sergiodj+buildbot
2016-01-06 16:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-06  5:52 [binutils-gdb] Change copyright owner to FSF in sim/testsuite/sim/mips/hilo-hazard-4.s sergiodj+buildbot
2016-01-06 10:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-06  4:40 [binutils-gdb] gdb: change version stamp to git sergiodj+buildbot
2016-01-06  9:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-05 22:21 [binutils-gdb] libiberty: fix warnings about left shifting a negative value sergiodj+buildbot
2016-01-06  4:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-05 22:13 [binutils-gdb] gdb: score: drop sim file check sergiodj+buildbot
2016-01-06  3:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-05 21:27 [binutils-gdb] sim: msp430: drop duplicate sim_load_file call sergiodj+buildbot
2016-01-06  1:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-04 11:04 [binutils-gdb] sim: parse_args: polish getopt error message sergiodj+buildbot
2016-01-04 14:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-04 10:17 [binutils-gdb] sim: d10v: gut endian logic sergiodj+buildbot
2016-01-04 11:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-04  8:52 [binutils-gdb] btrace: do not return out of TRY/CATCH sergiodj+buildbot
2016-01-04  9:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-04  3:17 [binutils-gdb] sim: parse_args: display getopt error ourselves sergiodj+buildbot
2016-01-04  3:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-04  1:04 [binutils-gdb] sim: TODO: move to wiki sergiodj+buildbot
2016-01-04  1:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-03  9:29 [binutils-gdb] sim: use libiberty countargv in more places sergiodj+buildbot
2016-01-03 11:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-03  9:17 [binutils-gdb] sim: nrun: use lbasename sergiodj+buildbot
2016-01-03  9:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-03  6:05 [binutils-gdb] sim: drop host endian configure option sergiodj+buildbot
2016-01-03  7:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-03  5:29 [binutils-gdb] sim: convert to bfd_endian sergiodj+buildbot
2016-01-03  6:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-02 19:11 [binutils-gdb] sim: cris: use standard output helpers sergiodj+buildbot
2016-01-02 19:43 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-02 15:38 [binutils-gdb] sim: delete dead current_state globals sergiodj+buildbot
2016-01-02 16:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-02  8:50 [binutils-gdb] sim: ppc: do not exit when parsing args w/gdb sergiodj+buildbot
2016-01-02  9:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2016-01-01  4:41 [binutils-gdb] update copyright year printed by GDB, GDBserver and gdbreplay sergiodj+buildbot
2016-01-01  6:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-31 22:08 [binutils-gdb] opcodes/arc: Support dmb instruction with no operands sergiodj+buildbot
2015-12-31 22:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-31  4:59 [binutils-gdb] sim: m68hc11: fix default endian sergiodj+buildbot
2015-12-31  5:36 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-31  2:11 [binutils-gdb] sim: cris/m68hc11: move default endian/alignment to configure sergiodj+buildbot
2015-12-31  3:01 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30 11:24 [binutils-gdb] sim: h8300: inline sim_state_initialize sergiodj+buildbot
2015-12-30 18:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30 10:40 [binutils-gdb] sim: h8300: switch to common sim-resume sergiodj+buildbot
2015-12-30 15:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30 10:32 [binutils-gdb] sim: h8300: move default endian/alignment to configure sergiodj+buildbot
2015-12-30 14:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30  9:52 [binutils-gdb] sim: simplify STATE_MY_NAME setup sergiodj+buildbot
2015-12-30 13:07 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30  9:04 [binutils-gdb] sim: h8300: move unused/buggy lregs array sergiodj+buildbot
2015-12-30 10:32 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-30  8:41 [binutils-gdb] sim: h8300: drop unused inst.h sergiodj+buildbot
2015-12-30  9:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-28 16:31 [binutils-gdb] Use libiberty's crc32 implementation in gdbserver sergiodj+buildbot
2015-12-28 17:10 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-27 20:41 [binutils-gdb] Correct nios2 _gp address computation sergiodj+buildbot
2015-12-27 21:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-27  6:09 [binutils-gdb] sim: unify sim-hload sergiodj+buildbot
2015-12-27  6:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-27  0:20 [binutils-gdb] sim: bfin: push down mmr address/size checks sergiodj+buildbot
2015-12-27  1:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-26 23:35 [binutils-gdb] sim: bfin: avoid stack error under asan sergiodj+buildbot
2015-12-27  0:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-26 17:01 [binutils-gdb] sim: mips: delete mmu stubs to move to common sim_{read, write} sergiodj+buildbot
2015-12-26 18:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-26 13:41 [binutils-gdb] sim: cris: do not pass cpu when writing memory during init sergiodj+buildbot
2015-12-26 15:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 19:47 [binutils-gdb] Document that the PATTERN argument to gdb_test is optional sergiodj+buildbot
2015-12-26  9:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 18:35 [binutils-gdb] sim: frv: punt WITH_DEVICE support sergiodj+buildbot
2015-12-26  8:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 12:14 [binutils-gdb] sim: cris: migrate from WITH_DEVICES to WITH_HW sergiodj+buildbot
2015-12-26  5:46 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 11:46 [binutils-gdb] sim: cris: clean up rvdummy a bit sergiodj+buildbot
2015-12-26  4:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 11:20 [binutils-gdb] sim: cris: set up sane default path to rvdummy sergiodj+buildbot
2015-12-26  3:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25 10:01 [binutils-gdb] sim: drop WITH_ENGINE define sergiodj+buildbot
2015-12-26  0:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  9:58 [binutils-gdb] sim: sim-model: build for everyone sergiodj+buildbot
2015-12-25 23:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  9:35 [binutils-gdb] sim: move MACH/MODEL types into SIM_xxx namespace sergiodj+buildbot
2015-12-25 21:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  8:19 [binutils-gdb] sim: arm: delete unused code sergiodj+buildbot
2015-12-25 20:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  7:53 [binutils-gdb] sim: move WITH_SCACHE_PBB to sim-main.h sergiodj+buildbot
2015-12-25 19:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  7:29 [binutils-gdb] sim: device_error: punt sergiodj+buildbot
2015-12-25 18:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  5:41 [binutils-gdb] sim: always enable callback memory sergiodj+buildbot
2015-12-25 16:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  5:23 [binutils-gdb] sim: dv-pal: always use CPU_INDEX sergiodj+buildbot
2015-12-25 14:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  3:50 [binutils-gdb] sim: mips: delete TARGET_TX3904 define sergiodj+buildbot
2015-12-25 13:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  3:41 [binutils-gdb] sim: mips: move SIM_QUIET_NAN_NEGATED to sim-main.h sergiodj+buildbot
2015-12-25 11:53 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  2:24 [binutils-gdb] sim: cris: move option install to sim_open sergiodj+buildbot
2015-12-25  9:29 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  2:16 [binutils-gdb] sim: delete old breakpoint code sergiodj+buildbot
2015-12-25  8:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  1:50 [binutils-gdb] sim: h8300: move h8300-specific options out of common code sergiodj+buildbot
2015-12-25  6:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  1:42 [binutils-gdb] sim: enable watchpoint module everywhere sergiodj+buildbot
2015-12-25  5:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  1:00 [binutils-gdb] sim: delete SIM_HAVE_MEM_SIZE sergiodj+buildbot
2015-12-25  3:02 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-25  0:34 [binutils-gdb] sim: delete SIM_HAVE_SIMCACHE sergiodj+buildbot
2015-12-25  1:08 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-24 10:35 [binutils-gdb] Add assembler support for ARMv8-M Baseline sergiodj+buildbot
2015-12-24 12:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-24  9:44 [binutils-gdb] Consolidate Thumb-1/Thumb-2 ISA detection sergiodj+buildbot
2015-12-24 10:17 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-24  5:38 [binutils-gdb] [testsuite/Ada] stop using project files when building test programs sergiodj+buildbot
2015-12-24  6:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-22 16:10 [binutils-gdb] Remove HP-UX reference in foll-vfork.exp sergiodj+buildbot
2015-12-22 23:11 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-22 15:43 [binutils-gdb] gdbserver crash in gdb/gdbserver/thread.c::thread_search_callback sergiodj+buildbot
2015-12-22 19:12 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-22 15:35 [binutils-gdb] [win32] cannot automatically find executable file [...] warning at GDB startup sergiodj+buildbot
2015-12-22 17:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-22 14:38 [binutils-gdb] RXv2 support update sergiodj+buildbot
2015-12-22 16:21 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-22  3:04 [binutils-gdb] Add an expect for running commands with CLI jump sergiodj+buildbot
2015-12-22  3:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-21 18:02 [binutils-gdb] Remove HP-UX references fom testsuite sergiodj+buildbot
2015-12-21 18:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-21 14:08 [binutils-gdb] Use arm_eabi_breakpoint on aarch32 sergiodj+buildbot
2015-12-21 15:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-21  3:05 [binutils-gdb] Minor reformatting fix in gdbtypes.c::create_array_type_with_stride sergiodj+buildbot
2015-12-21 11:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-20 15:11 [binutils-gdb] Remove HP-UX reference in testsuite/configure.ac sergiodj+buildbot
2015-12-21 10:13 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <a4e22a5df64a46bc99f737a982c0b9d1e8a45e2b@gdb-build>
2015-12-20  7:09 ` sergiodj+buildbot
2015-12-19  3:44 [binutils-gdb] Fix ARI warning in gdb/arch/arm-get-next-pcs.c sergiodj+buildbot
2015-12-21  8:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-19  2:04 [binutils-gdb] Make prompt_for_continue call throw_quit directly sergiodj+buildbot
2015-12-21  6:23 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-18 20:40 [binutils-gdb] Cast to enum bfd_endian in arm_get_next_pcs_read_memory_unsigned_integer sergiodj+buildbot
2015-12-21  5:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-18 17:51 [binutils-gdb] Enable software single stepping for while-stepping actions in GDBServer sergiodj+buildbot
2015-12-21  1:14 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-18 17:35 [binutils-gdb] Share regcache function regcache_raw_read_unsigned sergiodj+buildbot
2015-12-20 22:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-18 17:27 [binutils-gdb] Refactor arm_software_single_step to use regcache sergiodj+buildbot
2015-12-20 20:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-18 17:01 [binutils-gdb] Share some ARM target dependent code from GDB with GDBServer sergiodj+buildbot
2015-12-20 19:34 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17 21:47 [binutils-gdb] [ARM] Enable CRC by default for ARMv8.1 and later sergiodj+buildbot
2015-12-20  4:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17 15:38 [binutils-gdb] Fix PR threads/19354: "info threads" error with multiple inferiors sergiodj+buildbot
2015-12-20 14:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17 15:02 [binutils-gdb] [AArch64][PATCH 11/14] Add support for the 2H vector type sergiodj+buildbot
2015-12-18 23:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17 11:45 [binutils-gdb] [Patch ARM] Fix build attributes for armv8-a in case of assembler files that contain no directives sergiodj+buildbot
2015-12-20 10:25 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17 10:22 [binutils-gdb] Fix -Wno-unknown-warning support detection sergiodj+buildbot
2015-12-20  8:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  9:14 [binutils-gdb] Tweak gdb.trace/ftrace.exp for aarch64 sergiodj+buildbot
2015-12-20  2:48 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  9:06 [binutils-gdb] bfd: don't produce corrupt COFF symbol table due to long ELF file name symbols sergiodj+buildbot
2015-12-20  1:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  8:58 [binutils-gdb] Fix invalid left shift of negative value sergiodj+buildbot
2015-12-20  0:20 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  7:48 [binutils-gdb] Add support for the MRS instruction to the AArch64 simulator sergiodj+buildbot
2015-12-19 21:40 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  7:40 [binutils-gdb] Add support for RX V2 Instruction Set sergiodj+buildbot
2015-12-19 20:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  7:33 [binutils-gdb] Check for readline support in gdb.base/history-duplicates.exp sergiodj+buildbot
2015-12-19 13:03 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  6:17 [binutils-gdb] Target remote mode fork and exec event support sergiodj+buildbot
2015-12-19  6:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  6:02 [binutils-gdb] [AArch64][PATCH 14/14] Support FP16 Adv.SIMD Scalar Shift By Immediate instructions sergiodj+buildbot
2015-12-19  3:44 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  5:53 [binutils-gdb] [AArch64][PATCH 13/14] Support FP16 Adv.SIMD Shift By Immediate instructions sergiodj+buildbot
2015-12-19  2:26 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  5:29 [binutils-gdb] [AArch64][PATCH 9/14] Support FP16 Adv.SIMD Modified Immediate instructions sergiodj+buildbot
2015-12-18 22:09 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  5:14 [binutils-gdb] [AArch64][PATCH 7/14] Support FP16 Scalar Indexed Element instructions sergiodj+buildbot
2015-12-18 19:37 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  5:06 [binutils-gdb] [AArch64][PATCH 6/14] Support FP16 Vector Indexed Element instructions sergiodj+buildbot
2015-12-18 18:24 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  4:50 [binutils-gdb] [AArch64][PATCH 4/14] Support FP16 Vector Two Register Misc. instructions sergiodj+buildbot
2015-12-18 15:49 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  4:35 [binutils-gdb] [AArch64][PATCH 2/14] Support ARMv8.2 FP16 Vector Three Same instructions sergiodj+buildbot
2015-12-18 13:27 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  4:19 [binutils-gdb] [AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch sergiodj+buildbot
2015-12-18 10:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  3:37 [binutils-gdb] gdb: 'list' command, tweak handling of +/- arguments sergiodj+buildbot
2015-12-18  3:57 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  3:20 [binutils-gdb] gdb: Small code restructure for list_command sergiodj+buildbot
2015-12-18  1:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  3:12 [binutils-gdb] gdb: Use NULL instead of 0 for pointer comparison sergiodj+buildbot
2015-12-18  0:05 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  2:50 [binutils-gdb] ld -r doesn't need plugin for slim lto object sergiodj+buildbot
2015-12-17  9:50 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  2:31 [binutils-gdb] [AArch64][Patch 5/5] Add instruction PSB CSYNC sergiodj+buildbot
2015-12-17 16:54 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  2:22 [binutils-gdb] [AArch64][Patch 4/5] Support HINT aliases taking operands sergiodj+buildbot
2015-12-17 15:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  2:14 [binutils-gdb] [AArch64][Patch 3/5] Adjust maximum number of instruction aliases sergiodj+buildbot
2015-12-17 14:16 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  2:06 [binutils-gdb] [AArch64][Patch 2/5] Add Statistical Profiling Extension system registers sergiodj+buildbot
2015-12-17 12:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  1:57 [binutils-gdb] [AArch64][Patch 1/5] Support the ARMv8.2 Statistical Profiling Extension sergiodj+buildbot
2015-12-17 11:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  1:39 [binutils-gdb] Fix regression revealed by corethreads.exp sergiodj+buildbot
2015-12-17  8:33 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  1:10 [binutils-gdb] [AArch64][PATCH 2/2] Support ARMv8.2 DC CVAP instruction sergiodj+buildbot
2015-12-17  4:41 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  1:05 [binutils-gdb] Remove "spaces" references from gdb.multi/base.exp sergiodj+buildbot
2015-12-17  5:56 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-17  0:22 [binutils-gdb] Stop using nowarnings in gdb/testsuite/gdb.multi/ sergiodj+buildbot
2015-12-17  1:04 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
     [not found] <8eab413676a0222a863f45ff606f3db69bb7afc4@gdb-build>
2015-12-11 11:00 ` sergiodj+buildbot
2015-12-10 15:18 [binutils-gdb] [AArch64][PATCH 2/2] Add RAS system registers sergiodj+buildbot
2015-12-11 20:00 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-10 10:15 [binutils-gdb] gdb: Handle multiple base address in debug_ranges data sergiodj+buildbot
2015-12-11 16:06 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-10  0:31 [binutils-gdb] Fix GOT address computations in initial PLT entries for nios2 sergiodj+buildbot
2015-12-11 14:55 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-09 17:11 [binutils-gdb] dwarf2loc.c: Perform a pointer to address conversion for DWARF_VALUE_MEMORY sergiodj+buildbot
2015-12-11 13:39 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-09 16:51 [binutils-gdb] gdb.base/async.exp: Handle "asynchronous execution not supported" sergiodj+buildbot
2015-12-11 12:22 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-09 12:32 [binutils-gdb] Fix wrong output of x87 registers due to truncation to double on amd64 sergiodj+buildbot
2015-12-11  8:19 ` Failures on Fedora-ppc64be-m64, branch master sergiodj+buildbot
2015-12-08  7:01 [binutils-gdb] rl78: relaxation fixes sergiodj+buildbot
2015-12-11  5:58 ` Failures on Fedora-ppc64be-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).