public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove convert_mov_to_lea
@ 2015-09-03 11:33 sergiodj+buildbot
  2015-09-03 11:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
                   ` (15 more replies)
  0 siblings, 16 replies; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-09-03 11:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77697d411ef33c3e603275b905ae965ff555400d ***

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

Remove convert_mov_to_lea

	* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Remove
	convert_mov_to_lea.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Support gnu vector in inferior call
@ 2015-11-27 15:00 sergiodj+buildbot
  2015-11-27 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 238f2452e6d94f7b227a9d132f5ae887299d96c6 ***

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

[AArch64] Support gnu vector in inferior call

As defined in AArch64 AAPCS, short vectors are passed through V
registers, and its maximum alignment is 16-byte.  This patch is
to reflect these rules in GDB.  This patch fixes some fails in
gdb.base/gnu_vector.exp.

gdb:

2015-11-27  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_type_align): For vector type, return
	its length, but with the maximum of 16 bytes.
	(is_hfa): Return zero for vector type.
	(aarch64_push_dummy_call): Handle short vectors.
	(aarch64_extract_return_value): Likewise.
	(aarch64_store_return_value): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Handle HFA and HVA together
@ 2015-11-27 15:08 sergiodj+buildbot
  2015-11-27 16:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 15:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd635f74a3b71043d35501db31b3acac956018cd ***

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

[AArch64] Handle HFA and HVA together

AArch64 AAPCS defined HFA (homogeneous floating-point aggregate)
and HVF (homogeneous short vector aggregate), bug GDB only handles the
former.  In the AAPCS doc, both types are treated exactly the same
in terms of alignment and passing locations (on registers or stack).
This patch is to extend is_hfa to handle both HFA and HVA.

gdb:

2015-11-27  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (is_hfa): Rename to ...
	(is_hfa_or_hva): ... this.  Handle vector type.  All callers
	updated.
	(aarch64_extract_return_value): Update debugging message.
	(aarch64_store_return_value): Likewise.
	(aarch64_return_in_memory): Update comments.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Only check breakpoint alignment on inserting
@ 2015-11-27 15:57 sergiodj+buildbot
  2015-11-27 17:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 15:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 805035d70cd8637c169caf97800accdd267d1d8e ***

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

[AArch64] Only check breakpoint alignment on inserting

This patch fixes the GDB internal error on AArch64 when running
watchpoint-fork.exp

 top?bt 15
 internal_error (file=file@entry=0x79d558 "../../binutils-gdb/gdb/linux-nat.c", line=line@entry=4866, fmt=0x793b20 "%s: Assertion `%s' failed.")
    at ../../binutils-gdb/gdb/common/errors.c:51
 #1  0x0000000000495bc4 in linux_nat_thread_address_space (t=<optimized out>, ptid=<error reading variable: Cannot access memory at address 0x1302>)
    at ../../binutils-gdb/gdb/linux-nat.c:4866
 #2  0x00000000005db2c8 in delegate_thread_address_space (self=<optimized out>, arg1=<error reading variable: Cannot access memory at address 0x1302>)
    at ../../binutils-gdb/gdb/target-delegates.c:2447
 #3  0x00000000005e8c7c in target_thread_address_space (ptid=<error reading variable: Cannot access memory at address 0x1302>)
    at ../../binutils-gdb/gdb/target.c:2727
 #4  0x000000000054eef8 in get_thread_arch_regcache (ptid=..., gdbarch=0xad51e0) at ../../binutils-gdb/gdb/regcache.c:529
 #5  0x000000000054efcc in get_thread_regcache (ptid=...) at ../../binutils-gdb/gdb/regcache.c:546
 #6  0x000000000054f120 in get_thread_regcache_for_ptid (ptid=...) at ../../binutils-gdb/gdb/regcache.c:560
 #7  0x00000000004a2278 in aarch64_point_is_aligned (is_watchpoint=0, addr=34168, len=2) at ../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.c:122
 #8  0x00000000004a2e68 in aarch64_handle_breakpoint (type=hw_execute, addr=34168, len=2, is_insert=0, state=0xae8880)
    at ../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.c:465
 #9  0x000000000048edf0 in aarch64_linux_remove_hw_breakpoint (self=<optimized out>, gdbarch=<optimized out>, bp_tgt=<optimized out>)
    at ../../binutils-gdb/gdb/aarch64-linux-nat.c:657
 #10 0x00000000005da8dc in delegate_remove_hw_breakpoint (self=<optimized out>, arg1=<optimized out>, arg2=<optimized out>)
    at ../../binutils-gdb/gdb/target-delegates.c:492
 #11 0x0000000000536a24 in bkpt_remove_location (bl=<optimized out>) at ../../binutils-gdb/gdb/breakpoint.c:13065
 #12 0x000000000053351c in remove_breakpoint_1 (bl=0xb3fe70, is=is@entry=mark_inserted) at ../../binutils-gdb/gdb/breakpoint.c:4026
 #13 0x000000000053ccc0 in detach_breakpoints (ptid=...) at ../../binutils-gdb/gdb/breakpoint.c:3930
 #14 0x00000000005a3ac0 in handle_inferior_event_1 (ecs=0x7ffffff048) at ../../binutils-gdb/gdb/infrun.c:5042

After the fork, GDB will physically remove the breakpoints from the child
process (in frame #14), but at that time, GDB doesn't create an inferior
yet for child, but inferior_ptid is set to child's ptid (in frame #13).
In aarch64_point_is_aligned, we'll get the regcache of current_lwp_ptid
to determine if the current process is 32-bit or 64-bit, so the inferior
can't be found, and the internal error is caused.

I don't find a better fix other than not checking alignment on removing
breakpoint.

gdb:

2015-11-27  Yao Qi  <yao.qi@linaro.org>

	* nat/aarch64-linux-hw-point.c (aarch64_dr_state_remove_one_point):
	Don't assert on alignment.
	(aarch64_handle_breakpoint): Only check alignment when IS_INSERT
	is true.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Let aliased instructions be their preferred form.
@ 2015-11-27 16:04 sergiodj+buildbot
  2015-11-27 17:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 16:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35822b3812f74319dfad28876d37645589b83a80 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 35822b3812f74319dfad28876d37645589b83a80

[AArch64] Let aliased instructions be their preferred form.

Although the AArch64 backend supports aliased instructions, the aliasing
forms are always preferred over the real instruction. This makes it
awkward to handle instructions which have aliases but which are their
own preferred form.

This patch includes the instruction being aliased in the list of
alternatives which is searched when considering which form to use.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-dis.c: Weaken assert.
	* aarch64-gen.c: Include the instruction in the list of its
	possible aliases.

Change-Id: I1f23eb25fccef76a64d3d732d58761bd25fad94e


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.2 instruction alias REV64.
@ 2015-11-27 16:27 sergiodj+buildbot
  2015-11-27 18:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 16:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64357d2e04994ba161b4a99ef2bc45db0c180ea0 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 64357d2e04994ba161b4a99ef2bc45db0c180ea0

[AArch64] Add ARMv8.2 instruction alias REV64.

This patch adds the alias REV64 <Rd>, <Rs> as an alias for REV <Rd>,
<Rs>. However, REV is still the preferred form for the instruction.

gas/testsuite/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/alias-2.d: Add tests for REV.
	* gas/aarch64/alias-2.s: Likewise.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-tbl.h (aarchr64_opcode_table): Update "rev", add
	"rev64".

Change-Id: I331567c8d3618ba9fec1673c6e0b5977222dde61


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] New test gdb.arch/arm-neon.exp
@ 2015-11-27 16:37 sergiodj+buildbot
  2015-11-27 16:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58b584afe6ed6949c10b3049167c66cc070e0e81 ***

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

New test gdb.arch/arm-neon.exp

Both ARM and AArch64 have defined some SIMD data types in arm_neon.h,
but we don't have a test case for passing them and returning them in
inferior call.  This test also covers passing and returning
homogeneous short vector aggregate (defined by AArch64 ABI document)
in inferior call too.

gdb/testsuite:

	* gdb.arch/arm-neon.exp: New.
	* gdb.arch/arm-neon.c: New.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 2/3] Adjust a utility function for floating point values.
@ 2015-11-27 16:42 sergiodj+buildbot
  2015-11-27 19:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 16:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf86120bae8973340583a0613ad622f0ca013efd ***

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

[AArch64][PATCH 2/3] Adjust a utility function for floating point values.

ARMv8.2 adds 16-bit floating point operations as an optional
extension. This patch adjusts the utility function expand_fp_imm to
support 16-bit values.

The function is intended to convert an 8-bit immediate representing a
floating point value to a representation that can be passed to
fprintf. Because of the limited use of the results, the only change made
to the function is to treat a request for a 16-bit float as a request
for a 32-bit float.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (half_conv_t): New.
	(expand_fp_imm): Replace is_dp flag with the parameter size to
	specify the number of bytes for the required expansion.  Treat
	a 16-bit expansion like a 32-bit expansion.  Add check for an
	unsupported size request.  Update comment.
	(aarch64_print_operand): Update to support 16-bit floating point
	values.  Update for changes to expand_fp_imm.

Change-Id: I1ae3df3864be375d71925197ab03397ed1ad2d15


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 3/3] Add floating-point FP16 instructions
@ 2015-11-27 16:50 sergiodj+buildbot
  2015-11-27 20:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 622b9eb1a6047bd3ad3e1a3f120cf7318ac25b57 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 622b9eb1a6047bd3ad3e1a3f120cf7318ac25b57

[AArch64][PATCH 3/3] Add floating-point FP16 instructions

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the ARMv8 FP support. This patch adds the new FP16 instructions,
making them available when the architecture extension +fp+fp16 is
specified.

The instructions added are:

- Comparisons and conditionals: FCMP, FCCMPE, FCMP, FCMPE and FCSEL.
- Arithmetic: FABS, FNEG, FSQRT, FMUL, FDIV, FADD, FSUB, FMADD, FMSUB,
  FNMADD and FNMSUB.
- Rounding: FRINTN, FRINTP, FRINTM, FRINTZ, FRINTA, FRINTX and FRINTI.
- Conversions: SCVTF (fixed-point), SCVTF (integer), UCVTF (fixed-point)
  UCVTF (integer), FCVTZS (fixed-point), FCVTZS (integer), FCVTZU
  (fixed-point), FCVTZU (integer), FCVTNS, FCVTNU, FCVTAS, FCVTAU,
  FCVTPS, FCVTPU, FCVTMS and  FCVTMU.
- Scalar FMOV: immediate, general and register

gas/testsuite/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/float-fp16.d: New.
	* gas/aarch64/float-fp16.s: New.

opcodes/
2015-11-27  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_FIX2FP_H, QL_FP2FIX_H): New.
	(QL_INT2FP_H, QL_FP2INT_H): New.
	(QL_FP2_H, QL_FP3_H, QL_FP4_H): New
	(QL_DST_H): New.
	(QL_FCCMP_H): New.
	(aarch64_opcode_table): Add 16-bit variants of scvt, ucvtf,
	fcvtzs, fcvtzu, fcvtns, fcvtnu, scvtf, ucvtf, fcvtas, fcvtau,
	fmov, fcvtpos, fcvtpu, fcvtms, fcvtmu, fcvtzs, fcvtzu, fccmp,
	fccmpe, fcmp, fcmpe, fabs, fneg, fsqrt, frintn, frintp, frintm,
	frintz, frinta, frintx, frinti, fmul, fdiv, fadd, fsub, fmax,
	fmin, fmaxnm, fminnm, fnmul, fmadd, fmsub, fnmadd, fnmsub and
	fcsel.

Change-Id: Ie6d40bd1b215a9bc024e12ba75e52afbe1675eb7


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <e19616610d7327664f99215a69cb326682742dc3@gdb-build>]
* [binutils-gdb] [AArch64] Add ARMv8.2 instructions BFC and REV64.
@ 2015-11-27 18:23 sergiodj+buildbot
  2015-11-27 18:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 18:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d685192a58d4c198633bd0e69cfe0a114576e98a ***

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

[AArch64] Add ARMv8.2 instructions BFC and REV64.

ARMv8.2 adds two new instructions: BFC as an alias for BFM and REV64 as
an alias for REV. This patch set adds support for these to binutils,
enabled when the -march=armv8.2-a is given. It depends on the support
for an instruction being its preferred form which was added in an
earlier patch.

This patch adds the alias BFC <Rd>, #<imm>, #<width> as the preferred
form for BFM when the source is a zero register and the conditions for
using the BFI form are met (in other words, BFC is the preferred form
for BFI <Rd>, <Rs>, #<imm>, #<width> when the <Rs> is a zero register).

gas/testsuite/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/alias-2.d: New.
	* gas/aarch64/alias-2.s: New.

include/opcode/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_op): Add OP_BFC.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-asm.c (convert_bfc_to_bfm): New.
	(convert_to_real): Add case for OP_BFC.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-dis.c: (convert_bfm_to_bfc): New.
	(convert_to_alias): Add case for OP_BFC.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-opc.c (operand_general_constraint_met_p): Weaken assert
	to allow width operand in three-operand instructions.
	* aarch64-tbl.h (QL_BF1): New.
	(aarch64_feature_v8_2): New.
	(ARMV8_2): New.
	(aarch64_opcode_table): Add "bfc".

Change-Id: I6efe318b2538ba11f0caece7c6d70957441c872b


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 1/3] Support ARMv8.2 FP16 floating point instructions.
@ 2015-11-27 19:07 sergiodj+buildbot
  2015-11-27 19:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-27 19:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3bd894a7147feacf6a8ab388b1b1e0d685abfcdc ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 3bd894a7147feacf6a8ab388b1b1e0d685abfcdc

[AArch64][PATCH 1/3] Support ARMv8.2 FP16 floating point instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to the ARMv8 FP support. This patch set adds support for the 16-bit FP
instructions to binutils, enabling the instructions when both +fp and
+fp16 architecture extensions are enabled.

The patches in this series:
- Add a feature macro for use by the encoding/decoding mechanism.
- Adjust a utility function, used when disassembling, to support 16-bit
  floating point values.
- Add the new scalar floating-point instructions.

This patch adds the feature macro FP_F16 to the AArch64 encoding/decoding
mechanism, enabling it when both +fp and +fp16 are selected.

opcodes/
2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-tbl.h (aarch64_feature_fp_f16): New.
	(FP_F16): New.

Change-Id: Ie370e43e3d77a7d54b4416b4be901b363a37f3d5


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning
@ 2015-11-28 16:50 sergiodj+buildbot
  2015-11-28 17:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaae08a7e4ac526975403ebb5f93b7f24ea16b90 ***

Author: Uros Bizjak <ubizjak@gmail.com>
Branch: master
Commit: aaae08a7e4ac526975403ebb5f93b7f24ea16b90

Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

 	* getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as
 	argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225534 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix several crashes of C++ demangler on fuzzed input.
@ 2015-11-28 17:05 sergiodj+buildbot
  2015-11-28 17:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 17:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d81bf7ddc2ad497037fbfde5d15cfa8d81a9e959 ***

Author: Mikhail Maltsev <maltsevm@gmail.com>
Branch: master
Commit: d81bf7ddc2ad497037fbfde5d15cfa8d81a9e959

Fix several crashes of C++ demangler on fuzzed input.

libiberty/
	* cp-demangle.c (d_dump): Fix syntax error.
	(d_identifier): Adjust type of len to match d_source_name.
	(d_expression_1): Fix out-of-bounds access.  Check code variable for
	NULL before dereferencing it.
	(d_find_pack): Do not recurse for FIXED_TYPE, DEFAULT_ARG and NUMBER.
	(d_print_comp_inner): Add NULL pointer check.
	* cp-demangle.h (d_peek_next_char): Define as inline function when
	CHECK_DEMANGLER is defined.
	(d_advance): Likewise.
	* testsuite/demangle-expected: Add new testcases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225727 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning
@ 2015-11-28 17:16 sergiodj+buildbot
  2015-11-28 17:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 17:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6a8796db3691b9a53dc5475eaec5388bc1af115d ***

Author: Uros Bizjak <ubizjak@gmail.com>
Branch: master
Commit: 6a8796db3691b9a53dc5475eaec5388bc1af115d

Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

	* getruntime.c (RUSAGE_SELF): Define if not already defined.
	(get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225614 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR63758 by using the _NSGetEnviron() API on Darwin
@ 2015-11-28 17:21 sergiodj+buildbot
  2015-11-28 18:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35a88fa501ff2e2fe133e7c0f38768ae703a43b7 ***

Author: Iain Sandoe <iain@codesourcery.com>
Branch: master
Commit: 35a88fa501ff2e2fe133e7c0f38768ae703a43b7

Fix PR63758 by using the _NSGetEnviron() API on Darwin

include/

	Roland McGrath  <roland@gnu.org>

	PR other/63758
	* environ.h: New file.

libiberty/

	Roland McGrath  <roland@gnu.org>
	Iain Sandoe  <iain@codesourcery.com>

	PR other/63758
	* pex-unix.c: Obtain the environment interface from settings in environ.h
	rather than in-line code.  Update copyright date.
	* setenv.c: Likewise.
	* xmalloc.c: Likewise.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228942 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] (Makefiles): PATCH to include libcpp and libiberty in GCC etags
@ 2015-11-28 17:28 sergiodj+buildbot
  2015-11-28 19:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 17:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e924157387421d45ccf2aafd33a886abda05420 ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: 1e924157387421d45ccf2aafd33a886abda05420

(Makefiles): PATCH to include libcpp and libiberty in GCC etags

	gcc/c/
	* Make-lang.in (c.tags): Also include libcpp TAGS.
	gcc/cp/
	* Make-lang.in (c++.tags): Also include libcpp TAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229504 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PR other/61321 - demangler crash on casts in template parameters
@ 2015-11-28 17:44 sergiodj+buildbot
  2015-11-28 19:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 17:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4be264168ee2f6c38b6b9b3db0a166441be478b ***

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

PR other/61321 - demangler crash on casts in template parameters

The fix for bug 59195:

 [C++ demangler handles conversion operator incorrectly]
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59195

unfortunately makes the demangler crash due to infinite recursion, in
case of casts in template parameters.

For example, with:

 template<int> struct A {};
 template <typename Y> void function_temp(A<sizeof ((Y)(999))>) {}
 template void function_temp<int>(A<sizeof (int)>);

The 'function_temp<int>' instantiation above mangles to:

  _Z13function_tempIiEv1AIXszcvT_Li999EEE

The demangler parses this as:

typed name
  template
    name 'function_temp'
    template argument list
      builtin type int
  function type
    builtin type void
    argument list
      template                          (*)
        name 'A'
        template argument list
          unary operator
            operator sizeof
            unary operator
              cast
                template parameter 0    (**)
              literal
                builtin type int
                name '999'

And after the fix for 59195, due to:

 static void
 d_print_cast (struct d_print_info *dpi, int options,
	       const struct demangle_component *dc)
 {
 ...
   /* For a cast operator, we need the template parameters from
      the enclosing template in scope for processing the type.  */
   if (dpi->current_template != NULL)
     {
       dpt.next = dpi->templates;
       dpi->templates = &dpt;
       dpt.template_decl = dpi->current_template;
     }

when printing the template argument list of A (what should be "<sizeof
(int)>"), the template parameter 0 (that is, "T_", the '**' above) now
refers to the first parameter of the the template argument list of the
'A' template (the '*' above), exactly what we were already trying to
print.  This leads to infinite recursion, and stack exaustion.  The
template parameter 0 should actually refer to the first parameter of
the 'function_temp' template.

Where it reads "for the cast operator" in the comment in d_print_cast
(above), it's really talking about a conversion operator, like:

  struct A { template <typename U> explicit operator U(); };

We don't want to inject the template parameters from the enclosing
template in scope when processing a cast _expression_, only when
handling a conversion operator.

The problem is that DEMANGLE_COMPONENT_CAST is currently ambiguous,
and means _both_ 'conversion operator' and 'cast expression'.

Fix this by adding a new DEMANGLE_COMPONENT_CONVERSION component type,
which does what DEMANGLE_COMPONENT_CAST does today, and making
DEMANGLE_COMPONENT_CAST just simply print its component subtree.

I think we could instead reuse DEMANGLE_COMPONENT_CAST and in
d_print_comp_inner still do:

 @@ -5001,9 +5013,9 @@ d_print_comp_inner (struct d_print_info *dpi, int options,
        d_print_comp (dpi, options, dc->u.s_extended_operator.name);
        return;

     case DEMANGLE_COMPONENT_CAST:
       d_append_string (dpi, "operator ");
 -     d_print_cast (dpi, options, dc);
 +     d_print_conversion (dpi, options, dc);
       return;

leaving the unary cast case below calling d_print_cast, but seems to
me that spliting the component types makes it easier to reason about
the code.

g++'s testsuite actually generates three symbols that crash the
demangler in the same way.  I've added those as tests in the demangler
testsuite as well.

And then this fixes PR other/61233 too, which happens to be a
demangler crash originally reported to GDB, at:
https://sourceware.org/bugzilla/show_bug.cgi?id=16957

Bootstrapped and regtested on x86_64 Fedora 20.

Also ran this through GDB's testsuite.  GDB will require a small
update to use DEMANGLE_COMPONENT_CONVERSION in one place it's using
DEMANGLE_COMPONENT_CAST in its sources.

libiberty/
2015-11-27  Pedro Alves  <palves@redhat.com>

        PR other/61321
        PR other/61233
        * demangle.h (enum demangle_component_type)
        <DEMANGLE_COMPONENT_CONVERSION>: New value.
        * cp-demangle.c (d_demangle_callback, d_make_comp): Handle
        DEMANGLE_COMPONENT_CONVERSION.
        (is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
        instead of DEMANGLE_COMPONENT_CAST.
        (d_operator_name): Return a DEMANGLE_COMPONENT_CONVERSION
        component if handling a conversion.
        (d_count_templates_scopes, d_print_comp_inner): Handle
        DEMANGLE_COMPONENT_CONVERSION.
        (d_print_comp_inner): Handle DEMANGLE_COMPONENT_CONVERSION instead
        of DEMANGLE_COMPONENT_CAST.
        (d_print_cast): Rename as ...
        (d_print_conversion): ... this.  Adjust comments.
        (d_print_cast): Rewrite - simply print the left subcomponent.
        * cp-demint.c (cplus_demangle_fill_component): Handle
        DEMANGLE_COMPONENT_CONVERSION.

        * testsuite/demangle-expected: Add tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231020 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] SH FDPIC backend support
@ 2015-11-28 18:00 sergiodj+buildbot
  2015-11-28 20:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 18:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f4936735c5ed55abd37062791f60ba2754c89c31 ***

Author: Rich Felker <dalias@libc.org>
Branch: master
Commit: f4936735c5ed55abd37062791f60ba2754c89c31

SH FDPIC backend support

	gcc/ChangeLog
	* config.gcc: Handle --enable-fdpic.
	* config/sh/constraints.md (Ccl): New constraint.
	* config/sh/linux.h (SUBTARGET_LINK_EMUL_SUFFIX): Handle -mfdpic.
	* config/sh/sh-c.c (sh_cpu_cpp_builtins): Add __FDPIC__ and
	__SH_FDPIC__.
	* config/sh/sh-mem.cc (expand_block_move): Support FDPIC for calls
	to library functions.
	* config/sh/sh-protos.h (function_symbol_result): New struct.
	(function_symbol): Return function_symbol_result.
	(sh_get_fdpic_reg_initial_val, sh_load_function_descriptor): New
	declarations.
	* config/sh/sh.c (TARGET_ASM_INTEGER, sh_assemble_integer):
	Implement target hook.
 	(TARGET_CANNOT_FORCE_CONST_MEM, sh_cannot_force_const_mem_p):
	Likewise.
	(sh_option_override): Force -fPIC if FDPIC is in effect.
 	(sh_asm_output_addr_const_extra): Add UNSPEC_GOTFUNCDESC and
	UNSPEC_GOTOFFFUNCDESC cases.
	(prepare_move_operands): Use FDPIC initial GOT register for
	TLS-related GOT access; inhibit cross-section address offset
	constants for FDPIC.
	(sh_assemble_integer): New function.
	(sh_cannot_copy_insn_p): Inhibit copying insns that are FDPIC
	PC-relative call sites.
	(expand_ashiftrt): Adapt invocation of function_symbol.
	(sh_expand_prologue): Inhibit PC-relative GOT address load for
	FDPIC.
	(nonpic_symbol_mentioned_p): Add cases for UNSPEC_GOTFUNCDESC and
	UNSPEC_GOTOFFFUNCDESC.
	(legitimize_pic_address): Resolve function symbols to function
	descriptors for FDPIC.  Do not use GOT-relative addressing for
	local data that may be read-only on FDPIC.
	(sh_emit_storesi, sh_emit_storehi): New functions.
	(sh_trampoline_init): Generate FDPIC trampolines.
	(sh_function_ok_for_sibcall): Add TARGET_FDPIC check.
	(sh_expand_sym_label2reg): Don't assume sibcalls are local.
	(sh_output_mi_thunk): Generate FDPIC call.
	(function_symbol): Return function_symbol_result.  For
	SFUNC_STATIC on FDPIC, generate call site labels to use
	PC-relative addressing rather than GOT-relative addressing.
	(sh_conditional_register_usage): Make PIC register fixed and call used
	when FDPIC is in effect.
	(sh_legitimate_constant_p): Impose FDPIC
	constant constraints.
	(sh_cannot_force_const_mem_p, sh_load_function_descriptor)
	(sh_get_fdpic_reg_initial_val): New functions.
	* config/sh/sh.h (SUBTARGET_ASM_SPEC, SUBTARGET_LINK_EMUL_SUFFIX):
	Handle -mfdpic.
	(FDPIC_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS)
	(PIC_OFFSET_TABLE_REG_CALL_CLOBBERED)
	(SH_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macros.
	(DRIVER_SELF_SPECS): Add SUBTARGET_DRIVER_SELF_SPECS and
	FDPIC_SELF_SPECS.
	(TRAMPOLINE_SIZE): Select trampoline size for FDPIC.
	(ASM_PREFERRED_EH_DATA_FORMAT): Add EH format constraints for
	FDPIC.
	(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Handle FDPIC case.
	* config/sh/sh.md (UNSPEC_GOTFUNCDESC, UNSPEC_GOTOFFFUNCDESC): New
	constants.
	(calli_fdpic, call_valuei_fdpic, sibcalli_fdpic)
	(sibcalli_pcrel_fdpic, sibcall_pcrel_fdpic, sibcall_valuei_fdpic)
	(sibcall_valuei_pcrel_fdpic, sibcall_value_pcrel_fdpic)
	(sym2GOTFUNCDESC, symGOTFUNCDESC2reg, sym2GOTOFFFUNCDESC)
	(symGOTOFFFUNCDESC2reg): New patterns.
	(udivsi3_i1, udivsi3_i4, udivsi3_i4_single, udivsi3,
	*divsi_inv_call_combine, divsi3_i4, divsi3_i4_single, divsi3)
	(ashlsi3, ashlsi3_d_call, ashrsi3_n, lshrsi3, lshrsi3_d_call)
	(calli, call_valuei, call, call_value, sibcalli, sibcalli_pcrel)
	(sibcall_pcrel, sibcall, sibcall_valuei, sibcall_valuei_pcrel)
	(sibcall_value_pcrel, sibcall_value, GOTaddr2picreg, symGOT_load)
	(symGOTOFF2reg, block_move_real, block_lump_real)
	(block_move_real_i4, block_lump_real_i4): Add support for FDPIC
	calls.
	(mulsi3, ic_invalidate_line, initialize_trampoline, call_pop,
	call_value_pop): Adjust for new function_symbol signature.
	* config/sh/sh.opt (-mfdpic): New option.
	* doc/install.texi (Options specification): Document
	--enable-fdpic.
	* doc/invoke.texi (SH Options): Document -mfdpic.

include/ChangeLog:
	* longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.

libitm/ChangeLog:
	* config/sh/sjlj.S (_ITM_beginTransaction): Bypass PLT calling
	GTM_begin_transaction for compatibility with FDPIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229438 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Port libvtv to Solaris
@ 2015-11-28 18:00 sergiodj+buildbot
  2015-11-28 20:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 18:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87746c154ae96bd3b632198273061eb6879f20a5 ***

Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Branch: master
Commit: 87746c154ae96bd3b632198273061eb6879f20a5

Port libvtv to Solaris

	libstdc++-v3:
	* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use
	-Wl,-R in VTV_CXXLINKFLAGS.
	* configure: Regenerate.

	* testsuite/18_support/bad_exception/23591_thread-1.c: Use
	-fvtable-verify=none on Solaris 12+.

	libgcc:
	* Makefile.in (VTV_CFLAGS): New variable.
	(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
	(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
	Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
	to extra_parts if $enable_vtable_verify = yes.

	libvtv:
	* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
	* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
	<*-*-solaris2*>: Check for init priority support.
	Check for getexecname, __fortify_fail, _obstack_begin.
	(VTV_NO_OBSTACK): New conditional.
	* configure: Regenerate.
	* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
	Create empty config.h
	* Makefile.in: Regenerate.

	* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
	variable.
	(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
	(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.

	(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
	[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.

	(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
	(iterate_modules): Fix typo.
	Use VTV_PAGE_SIZE.
	(dl_iterate_phdr_callback): Fix typo.
	Use VTV_PAGE_SIZE.
	(__VLTChangePermission): Fix typos.

	include:
	* vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
	__sparc__]: Define.

	gcc:
	* config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up.
	(STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define.
	(STARTFILE_SPEC): Use %(startfile_vtv).
	(ENDFILE_SPEC): Use %(endfile_vtv).
	(SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC,
	ENDFILE_VTV_SPEC.

	* gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230865 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] libsanitizer merge from upstream r250806, compiler part.
@ 2015-11-28 18:08 sergiodj+buildbot
  2015-11-28 21:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 18:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b16c5514a2e01d47295e8d82cecd6b62db62955 ***

Author: Maxim Ostapenko <m.ostapenko@partner.samsung.com>
Branch: master
Commit: 3b16c5514a2e01d47295e8d82cecd6b62db62955

libsanitizer merge from upstream r250806, compiler part.

gcc/

	* asan.c (asan_emit_stack_protection): Don't pass local stack to
	asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned
	NULL and use local stack than.
	(asan_finish_file): Insert __asan_version_mismatch_check_v[n] call
	in addition to __asan_init.
	* sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init.
	(BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call.
	* asan.h (asan_intercepted_p): Handle new string builtins.
	* ubsan.c (ubsan_use_new_style_p): New function.
	(ubsan_instrument_float_cast): If location is unknown, assign
	input_location to loc. Propagate loc to ubsan_create_data if
	ubsan_use_new_style_p returned true.

config/

	* bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with
	LSAN_OPTIONS=detect_leaks.

gcc/testsuite/

	* c-c++-common/ubsan/float-cast-overflow-10.c: Adjust test.
	* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
	* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
	* g++.dg/asan/default-options-1.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229112 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Implement N4514, C++ Extensions for Transactional Memory.
@ 2015-11-28 18:09 sergiodj+buildbot
  2015-11-28 18:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 18:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9a3881624886dc523a500a86bfdac6dc58fd0db ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: e9a3881624886dc523a500a86bfdac6dc58fd0db

Implement N4514, C++ Extensions for Transactional Memory.

gcc/
	* builtins.def (BUILT_IN_ABORT): Add transaction_pure attribute.
gcc/c-family/
	* c-common.c (c_common_reswords): Add C++ TM TS keywords.
	(c_common_attribute_table): Add transaction_safe_dynamic.
	transaction_safe now affects type identity.
	(handle_tm_attribute): Handle transaction_safe_dynamic.
	* c-common.h (enum rid): Add RID_ATOMIC_NOEXCEPT,
	RID_ATOMIC_CANCEL, RID_SYNCHRONIZED.
	(OBJC_IS_CXX_KEYWORD): Add RID_SYNCHRONIZED.
	(D_TRANSMEM): New.
	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_transactional_memory.
	* c-pretty-print.c (pp_c_attributes_display): Don't print
	transaction_safe in C++.
gcc/c/
	* c-parser.c (c_lex_one_token): Handle @synchronized.
	* c-decl.c (match_builtin_function_types): A declaration of a built-in
	can change whether the function is transaction_safe.
gcc/cp/
	* cp-tree.h (struct cp_declarator): Add tx_qualifier field.
	(BCS_NORMAL, BCS_TRANSACTION): New enumerators.
	* lex.c (init_reswords): Limit TM kewords to -fgnu-tm.
	* parser.c (cp_lexer_get_preprocessor_token): Fix @synchronized.
	(make_call_declarator): Take tx_qualifier.
	(cp_parser_tx_qualifier_opt): New.
	(cp_parser_lambda_declarator_opt): Use it.
	(cp_parser_direct_declarator): Likewise.
	(cp_parser_statement): Handle atomic_noexcept, atomic_cancel.
	(cp_parser_compound_statement): Change in_try parameter to bcs_flags.
	(cp_parser_std_attribute): Map optimize_for_synchronized to
	transaction_callable.
	(cp_parser_transaction): Take the token.  Handle atomic_noexcept.
	* lambda.c (maybe_add_lambda_conv_op): Handle transaction-safety.
	* call.c (enum conversion_kind): Add ck_tsafe.
	(standard_conversion): Handle transaction-safety conversion.
	(convert_like_real, resolve_address_of_overloaded_function): Likewise.
	(check_methods): Diagnose transaction_safe_dynamic on non-virtual
	function.
	(look_for_tm_attr_overrides): Don't inherit transaction_safe_dynamic.
	* cvt.c (tx_safe_fn_type_p, tx_unsafe_fn_variant)
	(can_convert_tx_safety): New.
	* typeck.c (composite_pointer_type): Handle transaction-safety.
	* name-lookup.h (enum scope_kind): Add sk_transaction.
	* name-lookup.c (begin_scope): Handle it.
	* semantics.c (begin_compound_stmt): Pass it.
	* decl.c (check_previous_goto_1): Check it.
	(struct named_label_entry): Add in_transaction_scope.
	(poplevel_named_label_1): Set it.
	(check_goto): Check it.
	(duplicate_decls): A specialization can be transaction_safe
	independently of its template.
	(grokdeclarator): Handle tx-qualifier.
	* rtti.c (ptr_initializer): Handle transaction-safe.
	* search.c (check_final_overrider): Check transaction_safe_dynamic.
	Don't check transaction_safe.
	* mangle.c (write_function_type): Mangle transaction_safe here.
	(write_CV_qualifiers_for_type): Not here.
	(write_type): Preserve transaction_safe when stripping attributes.
	* error.c (dump_type_suffix): Print transaction_safe.
libiberty/
	* cp-demangle.c (d_cv_qualifiers): Dx means transaction_safe.
	(cplus_demangle_type): Let d_cv_qualifiers handle it.
	(d_dump, d_make_comp, has_return_type, d_encoding)
	(d_count_templates_scopes, d_print_comp_inner)
	(d_print_mod_list, d_print_mod, d_print_function_type)
	(is_ctor_or_dtor): Handle DEMANGLE_COMPONENT_TRANSACTION_SAFE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228462 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Adjust GDB to demangler API change
@ 2015-11-28 18:15 sergiodj+buildbot
  2015-11-28 21:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 18:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16807a48edfdfe89c8f8f745edeb938ef0b7e5eb ***

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

Adjust GDB to demangler API change

Before commit 3a8724032abf, DEMANGLE_COMPONENT_CAST was used for both
casts and conversion operators.  We now have
DEMANGLE_COMPONENT_CONVERSION for the latter.

gdb/ChangeLog:
2014-11-28  Pedro Alves  <palves@redhat.com>

	* cp-name-parser.y (conversion_op): Use
	DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] libiberty TAGS
@ 2015-11-28 19:24 sergiodj+buildbot
  2015-11-28 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-28 19:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f3363926de602b7590526740a01a64ca973ca78a ***

Author: Mike Stump <mikestump@comcast.net>
Branch: master
Commit: f3363926de602b7590526740a01a64ca973ca78a

libiberty TAGS

 	* Makefile.in (etags tags TAGS): Use && instead of ;.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230270 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix mi-nonstop.exp with extended-remote
@ 2015-11-30 20:05 sergiodj+buildbot
  2015-11-30 21:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f015c27b5294eaf87d0aa814d94972e65c7cc90e ***

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

Fix mi-nonstop.exp with extended-remote

Testing with "maint set target-non-stop on" makes mi-nonstop.exp run
with the extended-remote board.  That reveals that mi-nonstop.exp is
using the wrong predicate to check for "using remote protocol".

This is not visible today because non-stop tests all fail to run with
extended-remote board, because they spawn gdb and then do "set
non-stop on".  However, with that board, gdb connects to the gdbserver
from within mi_gdb_start, and changing non-stop when already connected
doesn't work.  Fix that by instead enabling non-stop mode on gdb's
command line.

gdb/testsuite/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.mi/mi-nonstop.exp: Append "set non-stop on" to GDBFLAGS
	instead of issuing "-gdb-set non-stop 1" after starting gdb.
	Use mi_is_target_remote instead of checking "is_remote target".
	* lib/gdb.exp (gdb_is_target_remote): Rename to ...
	(gdb_is_target_remote_prompt): ... this, and add 'prompt_regexp'
	parameter.
	(gdb_is_target_remote): Reimplement.
	* lib/mi-support.exp (mi_is_target_remote): New procedure.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remote all-stop-on-top-of-non-stop
@ 2015-11-30 20:13 sergiodj+buildbot
  2015-11-30 22:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6efcd9a8b3dc6a01cd1f212a2d854e5f8896715e ***

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

Remote all-stop-on-top-of-non-stop

This is the first pass at implementing support for all-stop mode
running against the remote target using the non-stop variant of the
protocol.

The trickiest part here is the initial connection setup/synching.  We
need to fetch all inferiors' target descriptions etc. before stopping
threads, because stop_all_threads needs to read the threads' registers
(to record each thread's stop_pc).  But OTOH, the initial inferior
setup (target_post_attach, post_create_inferior, etc.), only works
correctly if the inferior is stopped...  So I've split that initial
setup part from attach_command_post_wait to a separate function, and
added a "still needs setup" flag to the inferior structure.  This is
similar to gdbserver/linux-low.c's handling of discovering the
process's target description).  Then if on connection all threads of
the remote inferior are running, when we go about stopping them, as
soon as they stop we call setup_inferior, from within
stop_all_threads.

Also, in all-stop, we need to process all the initial stop replies to
learn about all the pending signal the threads may already be stopped
for, and pick the one to report as current.  This is exposed by
gdb.threads/reconnect-signal.exp.

gdb/
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdbthread.h (switch_to_thread_no_regs): Declare.
	* infcmd.c (setup_inferior): New function, factored out from ...
	(attach_command_post_wait): ... this.  Rename to ...
	(attach_post_wait): ... this.  Replace parameter async_exec with
	attach_post_wait_mode parameter.  Adjust.
	(enum attach_post_wait_mode): New enum.
	(struct attach_command_continuation_args): Replace 'async_exec'
	field with 'mode' field.
	(attach_command_continuation): Adjust.
	(attach_command): Add comment.  Mark the inferior as needing
	setup.  Adjust to use enum attach_post_wait_mode.
	(notice_new_inferior): Use switch_to_thread_no_regs.  Adjust to
	use enum attach_post_wait_mode.
	* inferior.h (setup_inferior): Declare.
	(struct inferior) <needs_setup>: New field.
	* infrun.c (set_last_target_status): Make extern.
	(stop_all_threads): Make extern.  Setup inferior, if necessary.
	* infrun.h (set_last_target_status, stop_all_threads): Declare.
	* remote-notif.c (remote_async_get_pending_events_handler)
	(handle_notification): Replace non_stop checks with
	target_is_non_stop_p() checks.
	* remote.c (remote_notice_new_inferior): Remove non_stop check.
	(remote_update_thread_list): Replace non_stop check with
	target_is_non_stop_p() check.
	(print_one_stopped_thread): New function.
	(process_initial_stop_replies): New 'from_tty' parameter.
	"Notice" all new live inferiors after storing initial stops as
	pending status in each corresponding thread.  If all-stop, stop
	all threads, try picking a signalled thread as current, and print
	the status of that one thread.  Record the last target status.
	(remote_start_remote): Replace non_stop checks with
	target_is_non_stop_p() checks.  Don't query for the remote current
	thread of use qOffsets here.  Pass from_tty to
	process_initial_stop_replies.
	(extended_remote_attach): Replace non_stop checks with
	target_is_non_stop_p() checks.
	(extended_remote_post_attach): Send qOffsets here.
	(remote_vcont_resume, remote_resume, remote_stop)
	(remote_interrupt, remote_parse_stop_reply, remote_wait): Replace
	non_stop checks with target_is_non_stop_p() checks.
	(remote_async): If target is non-stop, mark/clear the pending
	events token.
	* thread.c (switch_to_thread_no_regs): New function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver crash running gdb.threads/non-ldr-exc-1.exp
@ 2015-11-30 20:28 sergiodj+buildbot
  2015-12-01  0:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34c6591498f4363ef2c71d683cdaaa33d6a6ad64 ***

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

gdbserver crash running gdb.threads/non-ldr-exc-1.exp

This fixes a gdbserver crash when running
gdb.threads/non-ldr-exc-1.exp with "maint set target-non-stop on".
The problem is that qSymbol is called when gdbserver has
current_thread == NULL.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdbthread.h (find_any_thread_of_pid): Declare.
	* inferiors.c (thread_of_pid, find_any_thread_of_pid): New
	functions.
	* server.c (handle_query): If current_thread is NULL, look for
	another thread of the selected process.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] remote: stop reason and watchpoint data address per thread
@ 2015-11-30 20:36 sergiodj+buildbot
  2015-12-01  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 799a2abe613be0645b84f5aaa050f2f91e6ae3f7 ***

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

remote: stop reason and watchpoint data address per thread

Running local-watch-wrong-thread.exp with "maint set target-non-stop
on" exposes that gdb/remote.c only records whether the target stopped
for a breakpoint/watchpoint plus the watchpoint data address *for the
last reported remote event*.  But in non-stop mode, we need to keep
that info per-thread, as each thread can end up with its own
last-status pending.

gdb/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* remote.c (struct remote_state) <remote_watch_data_address,
	stop_reason>: Delete fields.
	(struct private_thread_info) <stop_reason, watch_data_address>:
	New fields.
	(resume_clear_thread_private_info): New function.
	(append_pending_thread_resumptions): Call it.
	(remote_resume): Clear all threads' private info.
	(process_stop_reply): Adjust.
	(remote_wait_as): Don't reference remote_state's stop_reason
	field.
	(remote_stopped_by_sw_breakpoint)
	(remote_stopped_by_hw_breakpoint, remote_stopped_by_watchpoint)
	(remote_stopped_data_address): Adjust to refer get data from the
	current thread.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] New vCtrlC packet, non-stop mode equivalent of \003
@ 2015-11-30 20:44 sergiodj+buildbot
  2015-12-01  1:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de979965d3f5de7e4bf2354871fe85b3f77c720e ***

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

New vCtrlC packet, non-stop mode equivalent of \003

There's currently no non-stop equivalent of the all-stop ^C (\003)
"packet" that GDB sends when a ctrl-c is pressed while a foreground
command is active.  There's vCont;t, but that's defined to cause a
"signal 0" stop.

This fixes many tests that type ^C, when testing with extended-remote
with "maint set target-non-stop on".  E.g.:

 Continuing.
 talk to me baby
 PASS: gdb.base/interrupt.exp: process is alive
 a
 a
 PASS: gdb.base/interrupt.exp: child process ate our char
 ^C
 [Thread 22730.22730] #1 stopped.
 0x0000003615ee6650 in __read_nocancel () at ../sysdeps/unix/syscall-template.S:81
 81      T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
 (gdb) FAIL: gdb.base/interrupt.exp: send_gdb control C
 p func1 ()

gdb/
2015-11-30  Pedro Alves  <palves@redhat.com>

	* NEWS (New remote packets): Mention vCtrlC.
	* remote.c (PACKET_vCtrlC): New enum value.
	(async_remote_interrupt): Call target_interrupt instead of
	target_stop.
	(remote_interrupt_as): Remove 'ptid' parameter.
	(remote_interrupt_ns): New function.
	(remote_stop): Adjust.
	(remote_interrupt): If the target is in non-stop mode, try
	interrupting with vCtrlC.
	(initialize_remote): Install set remote ctrl-c packet.

gdb/doc/
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Bootstrapping): Add "interrupting remote targets"
	anchor.
	(Packets): Document vCtrlC.

gdb/gdbserver/
2015-11-30  Pedro Alves  <palves@redhat.com>

	* server.c (handle_v_requests): Handle vCtrlC.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] attach + target always in non-stop mode: stop all threads
@ 2015-11-30 20:54 sergiodj+buildbot
  2015-11-30 23:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 20:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 066f6b6edcb63b363cc9a95c3727b996d1895549 ***

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

attach + target always in non-stop mode: stop all threads

When running with "maint set target-non-stop on", and in all-stop
mode, nothing is stopping all threads after attaching.  vAttach in
non-stop can leave all threads running and GDB has to explicitly pause
them.

This is not visible with the native target, as in that case, attach
always stops all threads (the core re-resumes them in case of
"attach&").

In addition, it's not defined which thread manages to report the
initial attach stop, so always pick the lowest one (otherwise
multi-attach.exp regresses).

gdb/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* infcmd.c (attach_post_wait): If the target is always in non-stop
	mode, and the UI is in all-stop mode, stop all threads and pick
	the one with lowest number as current.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver resume_stop handling bug
@ 2015-11-30 21:00 sergiodj+buildbot
  2015-12-01  2:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56cf4bed5354769d7352c5cf4e054a346d2553cd ***

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

gdbserver resume_stop handling bug

Running attach-many-short-lived-threads.exp with the extended-remote
board with "maint set target-non-stop on" times out -- the attach
never completes.  Enabling infrun debug logs, we see that GDB is stuck
stopping all threads:

 infrun: target_wait (-1.0.0, status) =
 infrun:   1639.22213.0 [Thread 1639.22213],
 infrun:   status->kind = stopped, signal = GDB_SIGNAL_0
 infrun:   Thread 1639.22260 not executing
 infrun:   Thread 1639.22256 not executing
 infrun:   Thread 1639.22258 not executing
 infrun:   Thread 1639.22257 not executing
 infrun:   Thread 1639.22259 not executing
 infrun:   Thread 1639.22255 not executing
 infrun:   Thread 1639.22253 executing, already stopping
 infrun:   Thread 1639.22251 executing, already stopping
 infrun:   Thread 1639.22252 executing, already stopping
 infrun:   Thread 1639.22250 executing, already stopping
 infrun:   Thread 1639.22254 executing, already stopping
 infrun:   Thread 1639.22247 executing, already stopping
 infrun:   Thread 1639.22213 not executing
 infrun:   Thread 1639.22207 not executing
 infrun:   Thread 1639.22201 not executing
 infrun:   Thread 1639.22219 not executing
 infrun:   Thread 1639.1639 not executing
 ** HANG HERE **

GDB is waiting for the stop replies of any of those "already stopping"
threads.  Take 22253 for example.  On the gdbserver logs we see:

 ...
 resume_stop request for LWP 22253
 stopping LWP 22253
 Sending sigstop to lwp 22253
 linux_resume done
 ...

and:

 my_waitpid (-1, 0x40000001)
 my_waitpid (-1, 0x80000001): status(3057f), 22253
 LWFE: waitpid(-1, ...) returned 22253, ERRNO-OK
 LLW: waitpid 22253 received Trace/breakpoint trap (stopped)
 pc is 0x3615ef4ce1
 HEW: Got clone event from LWP 22253, new child is LWP 22259

but from here on, we never see any other event for LWP 22253.  In
particular, we never see the expected SIGSTOP (from "Sending sigstop"
above).  The issue is that linux_resume_stopped_resumed_lwps never
re-resumes the 22253 after the clone event.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* linux-low.c (resume_stopped_resumed_lwps): Don't check whether
	the thread's last_resume_kind was resume_stop.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make dprintf-non-stop.exp cope with remote testing
@ 2015-11-30 21:07 sergiodj+buildbot
  2015-12-01  2:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09df4675f2e4f8f098954f9a38f44d12089f1c4e ***

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

Make dprintf-non-stop.exp cope with remote testing

Testing with the extended-remote board with "maint set target-non-stop
on" shows a dprintf-non-stop.exp regression.  The issue is simply that
the test is expecting output that is only valid for the native target:

 native:

  [process 8676] #1 stopped.

 remote:

  [Thread 8900.8900] #1 stopped.

In order to expose this without "maint set target-non-stop on", this
restarts gdb with non-stop mode already enabled.

gdb/testsuite/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.base/dprintf-non-stop.exp: Use build_executable instead of
	prepare_for_testing.  Start gdb with "set non-stop on" appended to
	GDBFLAGS.  Lax expected stop output.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remote thread create/exit events
@ 2015-11-30 21:14 sergiodj+buildbot
  2015-12-01  3:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65706a29bac50c2c971227a1945e46502845766b ***

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

Remote thread create/exit events

When testing with "maint set target-non-stop on", a few
threading-related tests expose an issue that requires new RSP packets.

Say there are 3 threads running, 1-3.  If GDB tries to stop thread 1,
2 and 3, and then waits for their stops, but meanwhile say, thread 2
exits, GDB hangs forever waiting for a stop for thread 2 that won't
ever happen.

This patch fixes the issue by adding support for thread exit events to
the protocol.  However, we don't want these always enabled, as they're
useless most of the time, and would slow down remote debugging.  So I
made it so that GDB can enable/disable them, and then made gdb do that
around the cases that need it, which currently is only
infrun.c:stop_all_threads.

In turn, if we have thread exit events, then the extra "thread x
exited" traffic slows down attach-many-short-lived-threads.exp enough
that gdb has trouble keeping up with new threads that are spawned
while gdb tries to stop existing ones.  To fix that I added support
for the counterpart thread created events too.  Enabling those when we
try to stop threads ensures that new threads never get a chance to
themselves start new threads, killing the race.

gdb/doc/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Remote Configuration): List "set/show remote
	thread-events" command in configuration table.
	(Stop Reply Packets): Document "T05 create" stop
	reason and 'w' stop reply.
	(General Query Packets): Document QThreadEvents packet.  Document
	QThreadEvents qSupported feature.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* linux-low.c (handle_extended_wait): Assert that the LWP's
	waitstatus is TARGET_WAITKIND_IGNORE.  If GDB wants to hear about
	thread create events, leave the new child's status pending.
	(linux_low_filter_event): If GDB wants to hear about thread exit
	events, leave the LWP marked dead and don't delete it.
	(linux_wait_for_event_filtered): Don't check for thread exit.
	(filter_exit_event): New function.
	(linux_wait_1): Use it, when returning an exit event.
	(linux_resume_one_lwp_throw): Assert that the LWP's
	waitstatus is TARGET_WAITKIND_IGNORE.
	* remote-utils.c (prepare_resume_reply): Handle
	TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED.
	* server.c (report_thread_events): New global.
	(handle_general_set): Handle QThreadEvents.
	(handle_query) <qSupported>: Handle and report QThreadEvents+;
	(handle_target_event): Handle TARGET_WAITKIND_THREAD_CREATED and
	TARGET_WAITKIND_THREAD_EXITED.
	* server.h (report_thread_events): Declare.

gdb/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* NEWS (New commands): Mention "set/show remote thread-events"
	commands.
	(New remote packets): Mention thread created/exited stop reasons
	and QThreadEvents packet.
	* infrun.c (disable_thread_events): New function.
	(stop_all_threads): Disable/enable thread create/exit events.
	Handle TARGET_WAITKIND_THREAD_EXITED.
	(handle_inferior_event_1): Handle TARGET_WAITKIND_THREAD_CREATED
	and TARGET_WAITKIND_THREAD_EXITED.
	* remote.c (remove_child_of_pending_fork): Also remove threads of
	threads that have TARGET_WAITKIND_THREAD_EXITED events.
	(remote_parse_stop_reply): Handle "create" magic register.  Handle
	'w' stop reply.
	(initialize_remote): Install remote_thread_events as
	to_thread_events target hook.
	(remote_thread_events): New function.
	* target-delegates.c: Regenerate.
	* target.c (target_thread_events): New function.
	* target.h (struct target_ops) <to_thread_events>: New field.
	(target_thread_events): Declare.
	* target/waitstatus.c (target_waitstatus_to_string): Handle
	TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED.
	* target/waitstatus.h (enum target_waitkind)
	<TARGET_WAITKIND_THREAD_CREATED, TARGET_WAITKIND_THREAD_EXITED):
	New values.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: fix killed-outside.exp
@ 2015-11-30 21:22 sergiodj+buildbot
  2015-12-01  3:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a681f9c91372d282229f6d58ba235ef0dd3644fb ***

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

gdbserver: fix killed-outside.exp

killed-outside.exp regresses with "maint set target-non-stop on".  The
logs show:

 (gdb) continue
 Continuing.
 infrun: clear_proceed_status_thread (Thread 9028.9028)
 infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT)
 infrun: proceed: resuming Thread 9028.9028
 Sending packet: $Z0,3615a03966,1#4b...  Notification received: Stop:X9;process:2344
 Packet received: E01
 Sending packet: $Z0,3615a13970,1#47...Packet received: E01
 Sending packet: $Z0,3615a14891,1#4a...Packet received: E01
 infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 9028.9028] at 0x4005e4
 Sending packet: $vCont;c:p2344.2344#1a...Packet received: E.target not running.
 Sending packet: $qXfer:threads:read::0,fff#03...Packet received: l<threads>\n</threads>\n
 Sending packet: $vStopped#55...Packet received: OK
 Unexpected vCont reply in non-stop mode: E.target not running.
 (gdb) remote_async_inferior_event_handler
 infrun: target_wait (-1.0.0, status) =
 infrun:   9028.0.0 [process 9028],
 infrun:   status->kind = signalled, signal = GDB_SIGNAL_KILL
 infrun: TARGET_WAITKIND_SIGNALLED

 Program terminated with signal SIGKILL, Killed.
 The program no longer exists.
 infrun: stop_waiting
 infrun: clear_step_over_info
 infrun: stop_all_threads
 remote_thread_exit_events(1)

Note the "Unexpected vCont reply" error.

I traced it to a problem in status_pending_p_callback.  It resumes an
LWP when it shouldn't.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* linux-low.c (thread_still_has_status_pending_p): Don't check
	vCont;t here.
	(lwp_resumed): New function.
	(status_pending_p_callback): Return early if the LWP is not
	supposed to be resumed.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] infrun: Fix TARGET_WAITKIND_NO_RESUMED handling in non-stop mode
@ 2015-11-30 21:37 sergiodj+buildbot
  2015-12-01  5:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f4836ba964a96364f39c7eab8b8b2f8656d14d05 ***

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

infrun: Fix TARGET_WAITKIND_NO_RESUMED handling in non-stop mode

Running the testsuite against gdbserver with "maint set target-non-stop on"
stumbled on a set of problems.  See code comments for details.

This handles my concerns expressed in PR14618.

gdb/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	PR 14618
	* infrun.c (handle_no_resumed): New function.
	(handle_inferior_event_1) <TARGET_WAITKIND_NO_RESUMED>: Defer to
	handle_no_resumed.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Implement TARGET_WAITKIND_NO_RESUMED in the remote protocol
@ 2015-11-30 21:45 sergiodj+buildbot
  2015-12-01  6:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2faf941ae49653ff6e1485adfee299313d47c91 ***

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

Implement TARGET_WAITKIND_NO_RESUMED in the remote protocol

Testing with "maint set target-non-stop on" causes regressions in
tests that rely on TARGET_WAITKIND_NO_RESUMED, which isn't modelled on
the RSP.  In real all-stop, gdbserver detects the situation and
reporst error to GDB, and so the tests (e.g.,
gdb.threads/no-unwaited-for-left.exp) at fail quickly.  But with
"maint set target-non-stop on", GDB instead hangs forever waiting for
a stop reply that never comes, and so the tests take longer to time
out.

This adds a new "N" stop reply packet that maps 1-1 to
TARGET_WAITKIND_NO_RESUMED.

gdb/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	PR 14618
	* NEWS (New remote packets): Mention the N stop reply.
	* remote.c (remote_protocol_features): Add "no-resumed" entry.
	(remote_query_supported): Report no-resumed+ support.
	(remote_parse_stop_reply): Handle 'N'.
	(process_stop_reply): Handle TARGET_WAITKIND_NO_RESUMED.
	(remote_wait_as): Handle 'N' / TARGET_WAITKIND_NO_RESUMED.
	(_initialize_remote): Register "set/show remote
	no-resumed-stop-reply" commands.

gdb/doc/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	PR 14618
	* gdb.texinfo (Stop Reply Packets): Document the N stop reply.
	(Remote Configuration): Add the "set/show remote
	no-resumed-stop-reply" to the available settings table.
	(General Query Packets): Document the "no-resumed" qSupported
	feature.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	PR 14618
	* linux-low.c (linux_wait_1): If the last resumed thread is gone,
	report TARGET_WAITKIND_NO_RESUMED.
	* remote-utils.c (prepare_resume_reply): Handle
	TARGET_WAITKIND_NO_RESUMED.
	* server.c (report_no_resumed): New global.
	(handle_query) <qSupported>: Handle "no-resumed+".  Report
	"no-resumed+" support.
	(resume): When the target reports TARGET_WAITKIND_NO_RESUMED, only
	return error if the client doesn't support no-resumed events.
	(push_stop_notification): New function.
	(handle_target_event): Use it.  Report TARGET_WAITKIND_NO_RESUMED
	events if the client supports them.

gdb/testsuite/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver:prepare_access_memory: pick another thread
@ 2015-11-30 21:53 sergiodj+buildbot
  2015-12-01  7:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 21:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a67a9faef0e32886c83611cc7a0ba61e91123063 ***

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

gdbserver:prepare_access_memory: pick another thread

Say GDB wants to access the inferior process's memory.  The current
remote general thread is 3, but GDB's switched to thread 2.  Because
both threads are of the same process, GDB skips making the remote
thread be thread 2 as well (sending an Hg packet) before accessing
memory (remote.c:set_general_process).  However, if thread 3 has
exited meanwhile, thread 3 no longer exists on the server and
gdbserver points current_thread to NULL.  The result is the memory
access fails, even through the process still exists.

Fix this by making prepare_to_access memory select the thread to
access memory through.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* mem-break.c (check_gdb_bp_preconditions): Remove current_thread
	check.
	(set_gdb_breakpoint): If prepare_to_access_memory fails, set *ERR
	to -1.
	* target.c (struct thread_search): New structure.
	(thread_search_callback): New function.
	(prev_general_thread): New global.
	(prepare_to_access_memory, done_accessing_memory): New functions.
	* target.h (prepare_to_access_memory, done_accessing_memory):
	Replace macros with function declarations.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/linux: Always wake up event loop after resume
@ 2015-11-30 22:00 sergiodj+buildbot
  2015-12-01  8:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1bebeeca940f4f6339e66eb7fb486c81cd951522 ***

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

gdbserver/linux: Always wake up event loop after resume

Running killed-outside.exp in with "maint set target-non-stop on"
hangs currently.  This test has the inferior process die with a
SIGKILL while stopped.  gdbserver gets a SIGCHLD and reacts by
retrieveing the SIGKILL events out of waitpid.  But because the
process is not resumed from GDB's perspective, the event is left
pending.  When GDB resumes the process afterwards, the process is not
really resumed because it already has the event pending.  But nothing
wakes up the event loop to consume the event.

Handle this in the same way nat/linux-nat.c:linux_nat_resume handles
this.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* linux-low.c (linux_resume): Wake up the event loop before
	returning.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: don't exit until GDB disconnects
@ 2015-11-30 22:08 sergiodj+buildbot
  2015-12-01  9:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fddedbe665db9cb9824150e454c89abdc750957a ***

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

gdbserver: don't exit until GDB disconnects

When testing with "target remote" with "maint set target-non-stop on",
we regressions like this:

  Running /home/pedro/gdb/mygit/build/../src/gdb/testsuite/gdb.threads/continue-pending-after-query.exp ...
  FAIL: gdb.threads/continue-pending-after-query.exp: iter 4: continue until exit
  FAIL: gdb.threads/continue-pending-after-query.exp: iter 6: continue until exit
  FAIL: gdb.threads/continue-pending-after-query.exp: iter 10: continue until exit

		  === gdb Summary ===

  # of expected passes            28
  # of unexpected failures        3

where gdb.log shows:

  continue
  Continuing.
  Remote communication error.  Target disconnected.: Connection reset by peer.
  (gdb) FAIL: gdb.threads/continue-pending-after-query.exp: iter 4: continue until exit

Enabling gdb + gdbserver debug logs we see:

  gdbserver:  <<<< exiting linux_wait_1
  gdbserver: handling possible serial event
  gdbserver: Writing resume reply for LWP 11089.11089:0
  gdbserver: handling possible serial event
  gdbserver: GDBserver exiting

	GDB: Packet received: OK
	GDB: infrun: prepare_to_wait
	GDB: Sending packet: $vStopped#55...Packet received: W0;process:2b51
	GDB: Sending packet: $vStopped#55...Packet received: OK
	GDB: infrun: target_wait (-1.0.0, status) =
	GDB: infrun:   -1.0.0 [Thread 0],
	GDB: infrun:   status->kind = no-resumed
	GDB: Sending packet: $Hgp2b51.2b51#41...Remote connection closed
    (gdb) FAIL: gdb.threads/continue-pending-after-query.exp: iter 1: continue until exit

Notice the "Packet received: W0;process:2b51" followed by
vStopped->OK.

That means the process exit notification was successfully sent to GDB
and GDB fetched it.  That makes gdbserver exit, in
server.c:process_serial_event:

  if (!extended_protocol && have_ran && !target_running ())
    {
      /* In non-stop, defer exiting until GDB had a chance to query
	 the whole vStopped list (until it gets an OK).  */
      if (QUEUE_is_empty (notif_event_p, notif_stop.queue))
	{
	  /* Be transparent when GDB is connected through stdio -- no
	     need to spam GDB's console.  */
	  if (!remote_connection_is_stdio ())
	    fprintf (stderr, "GDBserver exiting\n");
	  remote_close ();
	  exit (0);
	}
    }

However, GDB is still busy processing an earlier "no-resumed" event,
and sends a "Hg" packet, which errors out with "Remote connection
closed".  IOW, it's not enough to wait for GDB to query the whole
vStopped list, gdbserver needs to wait until the exit event is really
processed.

The fix is to make gdbserver not disconnect until gdb does.

Tested on x86_64 Fedora, native gdbserver, remote + extended-remote +
with and without "maint set target-non-stop on".

gdb/gdbserver/ChangeLog:
2015-10-14  Pedro Alves  <palves@redhat.com>

	* remote-utils.c (readchar): Don't print "Got EOF" unless
	debugging gdbserver.
	* server.c (captured_main): Exit gdbserver if gdb disconnects when
	in "target remote" mode and there are no processes left to debug.
	(process_serial_event): Remove 'have_ran' static local and remove
	logic that exits gdbserver in "target remote" mode.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix breakpoint size when stepping over a permanent breakpoint in GDBServer.
@ 2015-11-30 22:15 sergiodj+buildbot
  2015-12-01  9:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 769ef81fec526f3c7513c88e82f98045f8971d14 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 769ef81fec526f3c7513c88e82f98045f8971d14

Fix breakpoint size when stepping over a permanent breakpoint in GDBServer.

When manually stepping over a permanent breakpoint on ARM we need to fetch the
right breakpoint size based on the current instruction set used.

Since this is not encoded in the stop_pc, the instruction mode needs to be
fetched from the CPSR register.

This is done by introducing a new target operation called :
breakpoint_kind_from_current_state.

For other targets that do not need this, breakpoint_kind_from_pc is used.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* linux-arm-low.c (arm_is_thumb_mode): New function.
	(arm_breakpoint_at): Use arm_is_thumb_mode.
	(arm_breakpoint_kind_from_current_state): New function.
	(struct linux_target_ops) <breakpoint_kind_from_current_state>:
	Initialize.
	* linux-low.c (linux_wait_1): Call breakpoint_kind_from_current_state.
	(linux_breakpoint_kind_from_current_state): New function.
	(struct target_ops <breakpoint_kind_from_current_state>: Initialize.
	* linux-low.h (struct linux_target_ops)
	<breakpoint_kind_from_current_state>: New field.
	* target.h (struct target_ops): Likewise.
	(target_breakpoint_kind_from_current_state): New macro.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Refactor queries for hardware and software single stepping support in GDBServer.
@ 2015-11-30 22:31 sergiodj+buildbot
  2015-12-01 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d00775ece9e2364da5cfd65ebbfce515859667f ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 7d00775ece9e2364da5cfd65ebbfce515859667f

Refactor queries for hardware and software single stepping support in GDBServer.

Before this patch there was only one call: can_hardware_single_step. Its
implementation was a check on breakpoint_reinsert_addr if NULL it assumed
that the target could hardware single step.

This patch prepares for the case where this is not true anymore.

In order to improve software single stepping in GDBServer the
breakpoint_reinsert_addr operation of targets that had a very simple
software implementation used only for stepping over thread creation events
will be removed.

This will create a case where a target does not support hardware single
step and has the operation breakpoint_reinsert_addr set to NULL, thus
can_hardware_single_step needs to be implemented another way.

A new target operation supports_hardware_single_step is introduced and is
to return true if the target does support such a feature, support for the
feature is manually hardcoded.

Note that the hardware single step support was enabled as per the current
behavior, I did not check if tile for example really has ptrace singlestep
support but since the current implementation assumed it had, I kept it
that way.

No regressions on Ubuntu 14.04 on ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

Compilation tested on: aarch64,arm,bfind,crisv32,m32r,ppc,s390,tic6x,tile,
xtensa.
Not tested : sh.

gdb/gdbserver/ChangeLog:

	* linux-aarch64-low.c (aarch64_supports_hardware_single_step):
	New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-arm-low.c (arm_supports_hardware_single_step): New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-bfin-low.c (bfin_supports_hardware_single_step): New function.
	(struct linux_target_ops) <bfin_supports_hardware_single_step>:
	Initialize.
	* linux-crisv32-low.c (cris_supports_hardware_single_step):
	New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-low.c (can_hardware_single_step): Use
	supports_hardware_single_step.
	(can_software_single_step): New function.
	(start_step_over): Call can_software_single_step.
	(linux_supports_hardware_single_step): New function.
	(struct target_ops) <supports_software_single_step>: Initialize.
	* linux-low.h (struct linux_target_ops)
	<supports_hardware_single_step>: Initialize.
	* linux-m32r-low.c (m32r_supports_hardware_single_step): New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-ppc-low.c (ppc_supports_hardware_single_step): New function.
	(struct linux_target_ops) <supports_hardware_single_step> Initialize.
	* linux-s390-low.c (s390_supports_hardware_single_step): New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-sh-low.c (sh_supports_hardware_single_step): New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-tic6x-low.c (tic6x_supports_hardware_single_step): New function.
	(struct linux_target_ops) <tic6x_supports_hardware_single_step>:
	Initialize.
	* linux-tile-low.c (tile_supports_hardware_single_step): New function.
	(struct linux_target_ops) <tile_supports_hardware_single_step>:
	Initialize.
	* linux-x86-low.c (x86_supports_hardware_single_step) New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* linux-xtensa-low.c (xtensa_supports_hardware_single_step):
	New function.
	(struct linux_target_ops) <supports_hardware_single_step>: Initialize.
	* target.h (struct target_ops): <supports_software_single_step>:
	New field.
	(target_supports_software_single_step): New macro.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver crash if gdb attaches too fast
@ 2015-11-30 22:32 sergiodj+buildbot
  2015-12-01  1:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 500c1d8576ad5a5bdc791fc7f7c3518a4d3f4b39 ***

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

gdbserver crash if gdb attaches too fast

With "maint set target-non-stop on", the attach tests occasionally
crash gdbserver.

Basically, gdb attaches with vAttach;PID, and then shortly after reads
the xml target description for that process, to figure out the
process' architecture.  On the gdbserver side, the target description
is only filled in when the first process/thread in the thread group
reports its initial PTRACE_ATTACH SIGSTOP.  So if GDB is fast enough,
it can read the target description _before_ that initial stop, and
then gdbserver dies dereferencing a NULL tdesc pointer.

gdb/gdbserver/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* linux-low.c (linux_attach): In non-stop mode, wait for one stop
	before returning.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer.
@ 2015-11-30 22:39 sergiodj+buildbot
  2015-12-01 10:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b4c5f878ff39e04127a1ad95f6b3832afe6d278 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 9b4c5f878ff39e04127a1ad95f6b3832afe6d278

Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer.

This patch removes support for thread events if PTRACE_EVENT_CLONE is not
supported in GDBServer.

Before, on systems that did not support PTRACE_EVENT_CLONE, both GDB and
GDBServer coordinated with libthread_db.so to insert breakpoints at magic
locations in libpthread.so, in order to break at thread creation and thread
death.

Simple software single stepping support was implemented to step over these
breakpoints in case there was no hardware single stepping support. However,
these simple software single stepping implementations were not fit for any other
use as discussed in :
https://sourceware.org/ml/gdb-patches/2015-04/msg01110.html

These too simple implementations conflict with ongoing work to make proper
implementations of software single stepping in GDBServer.

The problem is that if some implementations are correct and others are not and
only there for the thread magic breakpoint, we can't enable features based
solely software single step support since some would be broken.

To keep the incorrect implementations and allow the new proper ones at the same
time we would need to implement fallback code and it quickly becomes ugly and
confusing with multiple checks for legacy software single step or proper
software single step.

However, PTRACE_EVENT_CLONE was first introduced in Linux 2.5.46,
released in November 2002.

So I think it's reasonable to just remove support for kernels that don't support
PTRACE_EVENT_CLONE, and sidestep the libthread_db breakpoints issues entirely.

This thread on the mailling list discusses the issue :
https://sourceware.org/ml/gdb/2015-10/msg00078.html

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* linux-low.c (linux_look_up_symbols): Don't call
	linux_supports_traceclone.
	* linux-low.h (thread_db_init): Remove use_events argument.
	* thread-db.c (thread_db_use_event): Remove global variable.
	(struct thread_db) <td_thr_event_enable_p>: Remove field.
	(struct thread_db) <td_create_bp>: Remove field.
	(thread_db_create_event): Remove function.
	(thread_db_enable_reporting): Likewise.
	(find_one_thread): Don't check for thread_db_use_events.
	(attach_thread): Likewise.
	(thread_db_load_search): Remove td_thr_event_enable_p initialization.
	(try_thread_db_load_1): Don't check for thread_db_use_events.
	(thread_db_init): Remove use_events argument and thread events
	handling.
	(remove_thread_event_breakpoints): Remove function.
	(thread_db_detach): Remove call to remove_thred_event_breakpoints.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove too simple breakpoint_reinsert_addr implementations.
@ 2015-11-30 22:47 sergiodj+buildbot
  2015-12-01 11:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-11-30 22:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fbec8956077503e04f7adeae7f40037fc834edaa ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: fbec8956077503e04f7adeae7f40037fc834edaa

Remove too simple breakpoint_reinsert_addr implementations.

This patch removes too simple implementations of the breakpoint_reinsert_addr
operation.

The only reason to keep them around was to support thread events when
PTRACE_EVENT_CLONE was not present but this support has been removed in a
previous patch.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

Also compilation was tested on aarch64, bfin, cris, crisv32,
m32r, mips, nios2, ppc, s390, sparc, tic6x, tile,  xtensa.

gdb/gdbserver/ChangeLog:

	* linux-arm-low.c (arm_reinsert_addr): Remove function.
	(struct linux_target_ops <breakpoint_reinsert_addr>: Set to NULL.
	* linux-cris-low.c (cris_reinsert_addr> Remove function.
	(struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
	* linux-crisv32-low.c (cris_reinsert_addr): Remove function.
	(struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
	* linux-mips-low.c (mips_reinsert_addr): Remove function.
	(struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
	* linux-nios2-low.c (nios2_reinsert_addr): Remove function.
	(struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.
	* linux-sparc-low.c (sparc_reinsert_addr): Remove function.
	(struct linux_target_ops) <breakpoint_reinsert_addr>: Set to NULL.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] testsuite: Range stepping and non-stop mode
@ 2015-12-01  0:43 sergiodj+buildbot
  2015-12-01  4:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  0:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 04bf20c5687b102b9a2c2a915d4c400788296a3b ***

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

testsuite: Range stepping and non-stop mode

The range-stepping tests fail with "maint set target-non-stop on" mode
because exec_cmd_expect_vCont_count doesn't know that in non-stop
mode, vCont's reply is simply "OK".

gdb/testsuite/ChangeLog:
2015-11-30  Pedro Alves  <palves@redhat.com>

	* lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
	Handle non-stop mode vCont replies.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Re: ARC port broken reloc processing
@ 2015-12-01  3:20 sergiodj+buildbot
  2015-12-01 12:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  3:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f26dd30880bad7f75b5ed1b1683628c7c986bb34 ***

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

Re: ARC port broken reloc processing

	* elf32-arc.c (ARC_ELF_HOWTO): Delete.
	(arc_elf_howto): New function.
	(bfd_elf32_bfd_reloc_type_lookup): Use it in place of existing
	init code.
	(bfd_elf32_bfd_reloc_name_lookup): Use arc_elf_howto.
	(arc_info_to_howto_rel, elf_arc_relocate_section): Likwise.
	(elf_arc_check_relocs): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] SRC-POTFILES.in update
@ 2015-12-01  3:33 sergiodj+buildbot
  2015-12-01 12:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44c2e680824714fcbdb1d8151f1b0e842b91d42a ***

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

SRC-POTFILES.in update

	* po/SRC-POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't use BFD_TRADITIONAL_FORMAT flag in COFF support
@ 2015-12-01  3:35 sergiodj+buildbot
  2015-12-01 13:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  3:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b560e2acdd41fe6b6228b11c2d82ad2a96188153 ***

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

Don't use BFD_TRADITIONAL_FORMAT flag in COFF support

info->traditional_format is available, or can be easily made
available.  This relegates BFD_TRADITIONAL_FORMAT to AOUT use only.

	* coff-rs6000.c (_bfd_xcoff_put_symbol_name): Replace abfd param
	with info param.  Test info->traditional_format rather than
	BFD_TRADITIONAL_FORMAT flag.
	* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Likewise.
	* libxcoff.h (struct xcoff_backend_data_rec): Update
	_xcoff_put_symbol_name prototype.
	(bfd_xcoff_put_symbol_name): Add info param.
	* xcofflink.c (xcoff_find_tc0): Update bfd_xcoff_put_symbol_name call.
	(xcoff_write_global_symbol): Likewise.
	(xcoff_link_input_bfd): Test info->traditional_format rather than
	BFD_TRADITIONAL_FORMAT flag.
	* cofflink.c (_bfd_coff_final_link): Likewise.
	(_bfd_coff_link_input_bfd, _bfd_coff_write_global_sym): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Invoke aout N_* macros with pointer to struct internal_exec
@ 2015-12-01  3:43 sergiodj+buildbot
  2015-12-01 13:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  3:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbb1afc89b5cfa2f09b6a7c25fbfef745fbdd724 ***

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

Invoke aout N_* macros with pointer to struct internal_exec

No functional changes here.

BTW, some of these headers don't seem to be used anywhere:
include/aout/dynix3.h, include/aout/encap.h, include/aout/hp.h,
gas/config/aout_gnu.h

bfd/
	* aout-adobe.c: Invoke aout N_* macros with pointer to
	struct internal_exec.
	* aout-arm.c: Likewise.
	* aout-cris.c: Likewise.
	* aout-target.h: Likewise.
	* aout-tic30.c: Likewise.
	* aoutf1.h: Likewise.
	* aoutx.h: Likewise.
	* bout.c: Likewise.
	* freebsd.h: Likewise.
	* gen-aout.c: Likewise.
	* hp300hpux.c: Likewise.
	* i386aout.c: Likewise.
	* i386linux.c: Likewise.
	* i386lynx.c: Likewise.
	* i386mach3.c: Likewise.
	* i386os9k.c: Likewise.
	* libaout.h: Likewise.
	* m68klinux.c: Likewise.
	* m88kmach3.c: Likewise.
	* mipsbsd.c: Likewise.
	* netbsd.h: Likewise.
	* pc532-mach.c: Likewise.
	* pdp11.c: Likewise.
	* riscix.c: Likewise.
	* sparclinux.c: Likewise.
	* sparclynx.c: Likewise.
gas/
	* config/aout_gnu.h: Invoke aout N_* macros with pointer to
	struct internal_exec.
include/
	* bout.h: Invoke aout N_* macros with pointer to
	struct internal_exec.
	* os9k.h: Likewise.
include/aout/
	* adobe.h: Invoke aout N_* macros with pointer to
	struct internal_exec.
	* aout64.h: Likewise.
	* dynix3.h: Likewise.
	* encap.h: Likewise.
	* hp.h: Likewise.
	* hp300hpux.h: Likewise.
	* sun4.h: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix instruction skipping when using software single step in GDBServer
@ 2015-12-01  4:06 sergiodj+buildbot
  2015-12-01 10:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  4:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d97cd356e0f0320ecb71cf6a10616ba4618f318 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 2d97cd356e0f0320ecb71cf6a10616ba4618f318

Fix instruction skipping when using software single step in GDBServer

Without this patch, when doing a software single step, with for example
a conditional breakpoint, gdbserver would wrongly avance the pc of
breakpoint_len and skips an instruction.

This is due to gdbserver assuming that it's hardware single stepping.
When it resumes from the breakpoint address it expects the trap to be
caused by ptrace and if it's rather caused by a software breakpoint
it assumes this is a permanent breakpoint and that it needs to skip
over it.

However when software single stepping, this breakpoint is legitimate as
it's the reinsert breakpoint gdbserver has put in place to break at
the next instruction. Thus gdbserver wrongly advances the pc and skips
an instruction.

This patch fixes this behavior so that gdbserver checks if it is a
reinsert breakpoint from software single stepping. If it is it won't
advance the pc. And if there's no reinsert breakpoint there we assume
then that it's a permanent breakpoint and advance the pc.

Here's a commented log of what would happen before and after the fix on
gdbserver :

/* Here there is a conditional breakpoint at 0x10428 that needs to be
stepped over. */

Need step over [LWP 11204]? yes, found breakpoint at 0x10428
...
/* e7f001f0 is a breakpoint instruction on arm
   Here gdbserver writes the software breakpoint we would like to hit
*/
Writing e7f001f0 to 0x0001042c in process 11204
...
Resuming lwp 11220 (continue, signal 0, stop not expected)
  pending reinsert at 0x10428
stop pc is 00010428
  continue from pc 0x10428
...

/* Here gdbserver hit the software breakpoint that was in place
   for the step over */

stop pc is 0001042c
pc is 0x1042c
step-over for LWP 11220.11220 executed software breakpoint
Finished step over.
Could not find fast tracepoint jump at 0x10428 in list (reinserting).

/* Here gdbserver writes back the original instruction */
Writing e50b3008 to 0x0001042c in process 11220
Step-over finished.
Need step over [LWP 11220]? No

/* Here because gdbserver assumes this is a permenant breakpoint it advances
the pc of breakpoint_len, in this case 4 bytes, so we have just skipped
the instruction that was written back here :
Writing e50b3008 to 0x0001042c in process 11220
*/

stop pc is 00010430
pc is 0x10430
Need step over [LWP 11220]? No, no breakpoint found at 0x10430
Proceeding, no step-over needed
proceed_one_lwp: lwp 11220
stop pc is 00010430

This patch fixes this situation and we get the right behavior :

Writing e50b3008 to 0x0001042c in process 11245
Hit a gdbserver breakpoint.
Hit a gdbserver breakpoint.
Step-over finished.
proceeding all threads.
Need step over [LWP 11245]? No
stop pc is 0001042c
pc is 0x1042c
Need step over [LWP 11245]? No, no breakpoint found at 0x1042c
Proceeding, no step-over needed
proceed_one_lwp: lwp 11245
stop pc is 0001042c
pc is 0x1042c
Resuming lwp 11245 (continue, signal 0, stop not expected)
stop pc is 0001042c
  continue from pc 0x1042c

It also works if the value at 0x0001042c is a permanent breakpoint.
If so gdbserver will finish the step over, remove the reinserted breakpoint,
resume at that location and on the next SIGTRAP gdbserver will trigger
the advance PC condition as reinsert_breakpoint_inserted_here will be false.

I also tested this against bp-permanent.exp on arm (with a work in progress
software single step patchset) without any regressions.

It's also tested against x86 bp-permanent.exp without any regression.

So both software and hardware single step are tested.

No regressions on Ubuntu 14.04 on ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* linux-low.c (linux_wait_1): Fix pc advance condition.
	* mem-break.c (reinsert_breakpoint_inserted_here): New function.
	* mem-break.h (reinsert_breakpoint_inserted_here): New declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ARC port broken reloc processing
@ 2015-12-01  5:47 sergiodj+buildbot
  2015-12-01 11:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  5:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a5ff21b13783cef3b26680d1673b1ae37697aeb ***

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

ARC port broken reloc processing

This initialises howto.dst_mask so that relocations in debug sections
are applied by the generic reloc processing used by objdump to display
debug sections.

	* elf32-arc.c (arc_elf_howto_init): Init dst_mask.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Trim unused params from aout adjust_sizes_and_vmas
@ 2015-12-01  7:49 sergiodj+buildbot
  2015-12-01 13:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9 ***

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

Trim unused params from aout adjust_sizes_and_vmas

	* aoutx.h (adjust_sizes_and_vmas): Remove unused text_size and
	text_end parameters.  Update callers.
	* aout-tic30.c: Update adjust_sizes_and_vmas callers.
	* hp300hpux.c: Likewise.
	* i386lynx.c: Likewise.
	* libaout.h: Likewise.
	* netbsd.h: Likewise.
	* pdp11.c: Likewise.
	* riscix.c: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Run gdb.base/disp-step-syscall.exp for aarch64-linux
@ 2015-12-01 12:47 sergiodj+buildbot
  2015-12-01 14:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01 12:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419 ***

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

Run gdb.base/disp-step-syscall.exp for aarch64-linux

This patch handles target aarch64*-*-linux* for syscall instruction.

gdb/testsuite:

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

	* gdb.base/disp-step-syscall.exp: Define syscall instruction
	for aarch64*-*-linux* target.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix uninitialized variable warnings in remote.c
@ 2015-12-01 17:17 sergiodj+buildbot
  2015-12-01 17:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01 17:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e3b657e3a811087533cec33307eb8bbf454cd1c ***

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

Fix uninitialized variable warnings in remote.c

Fix a couple of places where a struct thread_item was added to a
vector while the item.name field was uninitialized.

gdb/
	* remote.c (remote_newthread_step): Initialize item.name.
	(remote_get_threads_with_qthreadinfo): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid "operation may be undefined" warning in remote.c
@ 2015-12-01 17:41 sergiodj+buildbot
  2015-12-01 18:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01 17:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 974eac9d7694ca14dcdf6d1a74777a265fffdb95 ***

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

Avoid "operation may be undefined" warning in remote.c

GCC 4.1 gives the following warning:
gdb/remote.c: In function 'remote_parse_stop_reply':
gdb/remote.c:6549: warning: operation on 'p' may be undefined
on this line of code:

	event->ptid = read_ptid (++p, &p);

Since p actually isn't used afterwards anyway, simply use NULL.

gdb/
	* remote.c (remote_parse_stop_reply): Avoid GCC 4.1 "operation
	may be undefined" warning.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Properly check symbol defined by assignment in linker script
@ 2015-12-01 23:08 sergiodj+buildbot
  2015-12-01 23:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-01 23:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ead3d5427a2df5e33316d4ad045510c1d2078c2a ***

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

Properly check symbol defined by assignment in linker script

Symbol defined by a linker assignment may have type bfd_link_hash_new
or bfd_link_hash_undefined.  And h->def_regular is always set.
elf_i386_convert_load and elf_x86_64_convert_load should check
h->def_regular as well as bfd_link_hash_undefined and bfd_link_hash_new
to see if a symbol is defined by a linker script.

bfd/

	PR ld/19319
	* elf32-i386.c (elf_i386_convert_load): Check h->def_regular
	instead of bfd_link_hash_new.
	* elf64-x86-64.c (elf_x86_64_convert_load): Likewise.  Skip
	relocation overflow for bfd_link_hash_undefined and
	bfd_link_hash_new if h->def_regular is set.

ld/testsuite/

	PR ld/19319
	* ld-i386/i386.exp: Run pr19319 test.
	* ld-x86-64/x86-64.exp: Likewise.
	* ld-i386/pr19319.dd: New file.
	* ld-i386/pr19319a.S: Likewise.
	* ld-i386/pr19319b.S: Likewise.
	* ld-x86-64/pr19319.dd: Likewise.
	* ld-x86-64/pr19319a.S: Likewise.
	* ld-x86-64/pr19319b.S: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix ldah being disassembled as ldaexh
@ 2015-12-02  1:41 sergiodj+buildbot
  2015-12-02  2:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-02  1:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3395762edd7232d976179b232c93cd901b739367 ***

Author: Andre Vieira <Andre dot SimoesDiasVieira at arm dot com>
Branch: master
Commit: 3395762edd7232d976179b232c93cd901b739367

Fix ldah being disassembled as ldaexh

2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>

opcodes/
    * arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
    <ldah>: ... to this.

gas/testsuite/
    * gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
    <ldah>: ... to this.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix powerpc64 segfault caused by zero r_symndx relocs.
@ 2015-12-02  9:02 sergiodj+buildbot
  2015-12-02  9:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-02  9:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c27b8c2aeb369972f4f9f98f390607694c56a127 ***

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

Fix powerpc64 segfault caused by zero r_symndx relocs.

Fixes a segfault in ppc64_elf_tls_optimize found when testing
R_PPC64_ENTRY, and potential for trouble in other places found by
code inspection.

	* elf64-ppc.c (ppc64_elf_tls_optimize): Don't segfault on NULL
	symbol section or output section.
	(ppc64_elf_edit_toc): Similarly for ld -R objects.
	(ppc64_elf_size_stubs): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] addr2line vs. inlined C functions called from C++
@ 2015-12-02 13:42 sergiodj+buildbot
  2015-12-02 14:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-02 13:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 923b198a8426f02866f33362b26ed8bbf7a5c5cd ***

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

addr2line vs. inlined C functions called from C++

In this case the inlined function doesn't have DW_AT_linkage_name in
.debug_info, but the language is C++ so find_nearest_line goes looking
in the symbol table.  Since the function is inlined the enclosing
non-inline function symbol is returned from _bfd_elf_find_function,
which is wrong.  This patch only uses a symbol if its address matches.

	PR binutils/19315
	* dwarf2.c (_bfd_elf_find_function): Return symbol matched.
	(_bfd_dwarf2_find_nearest_line): Check symbol returned above
	against dwarf range.
	* elf-bfd.h (_bfd_elf_find_function): Update prototype.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Darwin: add new mach-o header flags.
@ 2015-12-03 11:59 sergiodj+buildbot
  2015-12-03 12:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-03 11:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: b4687fcc2bfb7e72bd34aed19490d0afe0fd9c2c

Darwin: add new mach-o header flags.

binutils/
	* od-macho.c (bfd_mach_o_header_flags_name): Add name
	for flags until BFD_MACH_O_MH_APP_EXTENSION_SAFE.

include/mach-o/
	* loader.h (bfd_mach_o_header_flags): Add
	BFD_MACH_O_MH_APP_EXTENSION_SAFE.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Run gdb.base/sizeof.exp with board having gdb, noinferiorio
@ 2015-12-03 17:23 sergiodj+buildbot
  2015-12-03 17:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-03 17:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41d0efca578f03db2787246a4e0c7bf9b085007c ***

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

Run gdb.base/sizeof.exp with board having gdb,noinferiorio

In my remote cross testing (x86_64 host and aarch64 target), the test
gdb.base/sizeof.exp is skipped because gdb,noinferiorio is defined in
my gdbserver board file.  Tests are skipped because the test checks
the expected value from the program's output, but I don't see why must
do it this way.  With my patch applied, we can save the result in variable
in the program, and check the variable then.  Then, the test doesn't rely
on inferiorio.

gdb/testsuite:

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

	* gdb.base/sizeof.c: Don't include stdio.h and
	../lib/unbuffer_output.c.
	(main): New variable 'size' and 'value'.  Remove printf and
	gdb_unbuffer_output.  Assign return value to size and value.
	* gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
	at the beginning.
	(check_sizeof): Check the result by printing variable 'size'.
	(check_valueof): Check the result by printing variable 'value'.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove duplicate arch/arm.h include in linux-arm-low.c.
@ 2015-12-03 19:14 sergiodj+buildbot
  2015-12-03 19:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-03 19:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e58c48b4c81f25ec08174f324990d021aad0e96e ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: e58c48b4c81f25ec08174f324990d021aad0e96e

Remove duplicate arch/arm.h include in linux-arm-low.c.

A duplicate include arm/arm.h was introduced, remove it.
Pushed as obvious.

gdb/gdbserver/ChangeLog:

	* linux-arm-low.c: Remove duplicate arch/arm.h include.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix failures in the GAS testsuite for the ARC architecture.
@ 2015-12-04 11:08 sergiodj+buildbot
  2015-12-04 11:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-04 11:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 24b368f8532b4775f9fd5bcc7958a84d4218aa46 ***

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

Fix failures in the GAS testsuite for the ARC architecture.

gas	* config/tc-arc.c (arc_option): Sets all internal gas options when
	parsing .cpu directive.
	(declare_register_set): Declare all 64 registers.
	(md_section_align): Refactor.
	(md_pcrel_from_section): Remove assert.
	(pseudo_operand_match): Fix pseudo operand match.
	(find_reloc): Use flags filed, extend matching.
	* config/tc-arc.h (TC_VALIDATE_FIX): Don't fixup any PLT
	relocation.

testsuite	* gas/arc/bic.d: Update test.
	* gas/arc/add_s-err.s: New file.
	* gas/arc/cpu-warn1.s: Likewise.
	* gas/arc/pcl-relocs.d: Likewise.
	* gas/arc/pcl-relocs.s: Likewise.
	* gas/arc/pcrel-relocs.d: Likewise.
	* gas/arc/pcrel-relocs.s: Likewise.
	* gas/arc/pic-relocs.d: Likewise.
	* gas/arc/pic-relocs.s: Likewise.
	* gas/arc/plt-relocs.d: Likewise.
	* gas/arc/plt-relocs.s: Likewise.
	* gas/arc/pseudos.d: Likewise.
	* gas/arc/pseudos.s: Likewise.
	* gas/arc/sda-relocs.d: Likewise.
	* gas/arc/sda-relocs.s: Likewise.
	* gas/arc/sda-relocs2.d: Likewise.
	* gas/arc/sda-relocs2.s: Likewise.
	* gas/arc/tls-relocs.d: Likewise.
	* gas/arc/tls-relocs.s: Likewise.

opcode	* arc.h (arc_reloc_equiv_tab): Replace flagcode with flags[32].

opcodes	* arc-dis.c (special_flag_p): Match full mnemonic.
	* arc-opc.c (print_insn_arc): Check section size to read
	appropriate number of bytes. Fix printing.
	* arc-tbl.h: Fix instruction table. Allow clri/seti instruction without
	arguments.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove useless loop in elf.c
@ 2015-12-04 12:02 sergiodj+buildbot
  2015-12-04 12:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-04 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 461c4b2edee2f0a4ee7dec0001a6fabf46454a24 ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 461c4b2edee2f0a4ee7dec0001a6fabf46454a24

Remove useless loop in elf.c


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Optimize R_386_GOT32/R_386_GOT32X only if addend is 0
@ 2015-12-04 17:20 sergiodj+buildbot
  2015-12-04 17:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-04 17:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 02e2aef89bb58e8e0cc4390db41c5f775e1b7c3e ***

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

Optimize R_386_GOT32/R_386_GOT32X only if addend is 0

Linker can't optimize R_386_GOT32 and R_386_GOT32X relocations if addend
isn't 0.  It isn't valid to convert

movl	foo@GOT+1(%ecx), %eax

to

leal	foo@GOTOFF+1(%ecx), %eax

nor to convert

movq	foo@GOTPCREL+1(%rip), %rax

to

leaq	foo(%rip), %rax

for x86-64.  We should check if addend is 0 before optimizing R_386_GOT32
and R_386_GOT32X relocations.  Testcases are added for i386 and x86-64.

bfd/

	* elf32-i386.c (elf_i386_convert_load): Skip if addend isn't 0.
	(elf_i386_relocate_section): Skip R_386_GOT32X optimization if
	addend isn't 0.

ld/testsuite/

	* ld-i386/i386.exp: Run mov2a, mov2b and mov3.
	* ld-i386/mov2.s: New file.
	* ld-i386/mov2a.d: Likewise.
	* ld-i386/mov2b.d: Likewise.
	* ld-i386/mov3.d: Likewise.
	* ld-i386/mov3.s: Likewise.
	* ld-x86-64/mov2.s: Likewise.
	* ld-x86-64/mov2a.d: Likewise.
	* ld-x86-64/mov2b.d: Likewise.
	* ld-x86-64/mov2c.d: Likewise.
	* ld-x86-64/mov2d.d: Likewise.
	* ld-x86-64/x86-64.exp: Run mov2a, mov2b, mov2c and mov2d.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: set ptrace flags after creating inferiors
@ 2015-12-05  2:39 sergiodj+buildbot
  2015-12-05  3:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-05  2:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ece66d651004eac0210217c4d48babf4e80d1f2e ***

Author: Josh Stone <jistone@redhat.com>
Branch: master
Commit: ece66d651004eac0210217c4d48babf4e80d1f2e

gdbserver: set ptrace flags after creating inferiors

Rename target_ops.arch_setup to .post_create_inferior.  In the Linux
hook, continue calling the low arch setup, then also set ptrace flags.
This corrects the possibility of running without flags, demonstrated by
a new test that would fail to catch a fork before.

gdb/gdbserver/ChangeLog:

2015-12-04  Josh Stone  <jistone@redhat.com>

	* target.h (struct target_ops) <arch_setup>: Rename to ...
	(struct target_ops) <post_create_inferior>: ... this.
	(target_arch_setup): Rename to ...
	(target_post_create_inferior): ... this, calling post_create_inferior.
	* server.c (start_inferior): Update target_arch_setup calls to
	target_post_create_inferior.
	* linux-low.c (linux_low_ptrace_options): Forward declare.
	(linux_arch_setup): Update its comment for general use.
	(linux_post_create_inferior): New, run arch_setup and setup ptrace.
	(struct linux_target_ops): Use linux_post_create_inferior.
	* lynx-low.c (struct lynx_target_ops): Update arch_setup stub comment
	to post_create_inferior.
	* nto-low.c (struct nto_target_ops): Likewise.
	* spu-low.c (struct spu_target_ops): Likewise.
	* win32-low.c (struct win32_target_ops): Likewise.

gdb/testsuite/ChangeLog:

2015-12-04  Josh Stone  <jistone@redhat.com>

	* gdb.base/catch-fork-static.exp: New.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Replace remaining references to i386-nat with x86-nat instead.
@ 2015-12-06 17:56 sergiodj+buildbot
  2015-12-06 18:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-06 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 030f17b5eb56b6e48588f6da015e05f568144692 ***

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

Replace remaining references to i386-nat with x86-nat instead.

i386-nat.[hc] got renamed to x86-nat.[hc] a while back, but somehow
3 references to the old file name remained past the renaming. This
fixes all of them.

gdb/ChangeLog (with Mike Stump <mikestump@comcast.net>):

        * Makefile.in (TAGS): Replace i386-nat.h by x86-nat.h.
        * x86-nat.c: Replace remaining references to i386-nat
        by reference to x86-nat instead.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] bfd: Mark sh5*-*-* and sh64*-*-* targets as obsolete.
@ 2015-12-07  1:11 sergiodj+buildbot
  2015-12-07  1:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07  1:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b213129c51f4a6c4525120319d9aceb04483ab4 ***

Author: Kaz Kojima <kkojima@rr.iij4u.or.jp>
Branch: master
Commit: 2b213129c51f4a6c4525120319d9aceb04483ab4

bfd: Mark sh5*-*-* and sh64*-*-* targets as obsolete.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Reorder some power9 insns
@ 2015-12-07  3:17 sergiodj+buildbot
  2015-12-07  3:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07  3:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dd2887fc3de48f6261d34208a0132122f05d7ef4 ***

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

Reorder some power9 insns

The idea being to put instructions that have the same encoding adjacent
to each other.

	* opcodes/ppc-opc.c (powerpc_opcodes): Sort power9 insns by
	major opcode/xop.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PR19323 memory allocation greater than 4G
@ 2015-12-07  3:33 sergiodj+buildbot
  2015-12-07  5:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c20f6f63eda61348326a861a155716b8d9073307 ***

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

PR19323 memory allocation greater than 4G

On 32-bit targets, memory requested for program/section headers on a
fuzzed binary can wrap to 0.  A bfd_alloc of zero bytes actually
returns a one byte allocation rather than a NULL pointer.  This then
leads to buffer overflows.

Making this check unconditional triggers an extremely annoying gcc-5
warning.

	PR19323
	* elfcode.h (elf_object_p): Check for ridiculous e_shnum and
	e_phnum values.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] R_PPC64_ENTRY
@ 2015-12-07  3:41 sergiodj+buildbot
  2015-12-07  4:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07  3:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 006589cfa144fc1efeea1d114943c0bd1624e930 ***

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

R_PPC64_ENTRY

Add a new relocation that marks large-model entry code, for edit back
to medium-model.

include/elf/
	* ppc64.h (R_PPC64_ENTRY): Define.
bfd/
	* reloc.c (BFD_RELOC_PPC64_ENTRY): New.
	* elf64-ppc.c (reloc_howto_type ppc64_elf_howto_raw): Add
	entry for R_PPC64_ENTRY.
	(LD_R2_0R12, ADD_R2_R2_R12, LIS_R2, ADDIS_R2_R12): Define.
	(ppc64_elf_reloc_type_lookup): Handle R_PPC64_ENTRY.
	(ppc64_elf_relocate_section): Edit code at R_PPC64_ENTTY.  Use
	new insn defines.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PowerPC ifunc with local symbols
@ 2015-12-07  4:29 sergiodj+buildbot
  2015-12-07  6:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07  4:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cbf959729423640e28a0d571338d3c8045cbb1e1 ***

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

PowerPC ifunc with local symbols

This fixes some cases where the linker would incorrectly error on plt
relocs to local ifunc symbols.  I've also tidied plt and ifunc
handling for ppc64, where check_relocs was allowing for the
possibility of plt calls via addr14/addr24 relocs but relocate_section
was not.

	* elf32-ppc.c (ppc_elf_check_relocs): Don't error on local ifunc
	plt call.  Wrap long lines.
	(ppc_elf_relocate_section): Wrap long lines.
	* elf64-ppc.c (ppc64_elf_check_relocs): Don't error on local ifunc
	plt calls.  Move __tls_get_addr checks later.  Don't create plt
	for addr14/addr24 relocs.
	(ppc64_elf_gc_sweep_hook): Adjust to suit check_relocs changes.
	(ppc64_elf_relocate_section): Correct local ifunc handling for
	PLT64, PLT32 and PLT16 relocs.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for MSP430 F5 hardware multiply.
@ 2015-12-07 10:29 sergiodj+buildbot
  2015-12-07 10:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07 10:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7584f0560f36189ef9434d157e83ffcd988c098 ***

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

Add support for MSP430 F5 hardware multiply.

	* msp430-sim.c (sim_open): Check for needed memory at address
	0x500 not 0x200.
	(get_op): Add support for F5 hardware multiply addresses.
	(put_op): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add myself as a write-after-approval GDB maintainer
@ 2015-12-07 12:11 sergiodj+buildbot
  2015-12-07 12:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b36b65787bcb905fb6a2c7b790b07dcaacbe1cb ***

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

Add myself as a write-after-approval GDB maintainer

gdb/ChangeLog:

	* MAINTAINERS (Write After Approval): Add Andreas Arnez.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enhance the menu to select function overloads with signatures
@ 2015-12-07 12:41 sergiodj+buildbot
  2015-12-07 13:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d72413e64a3444868e72e315ba2ceaf5a9d2bf6f ***

Author: Pierre-Marie de Rodat <derodat@adacore.com>
Branch: master
Commit: d72413e64a3444868e72e315ba2ceaf5a9d2bf6f

Enhance the menu to select function overloads with signatures

So far, trying to evaluate an expression involving a function call for
which GDB could find multiple function candidates outputs a menu so that
the user can select the one to run.  For instance, with the two
following functions:

    type New_Integer is new Integer;

    function F (I : Integer) return Boolean;
    function F (I : New_Integer) return Boolean;

Then we get the following GDB session:

    (gdb) print f(1)
    Multiple matches for f
    [0] cancel
    [1] foo.f at foo.adb:23
    [2] foo.f at foo.adb.28
    >

While the source location information is sufficient in order to
determine which one to select, one has to look for them in source files,
which is not convenient.

This commit tunes this menu in order to also include the list of formal
and return types (if any) in each entry.  The above then becomes:

    (gdb) print f(1)
    Multiple matches for f
    [0] cancel
    [1] foo.f (integer) return boolean at foo.adb:23
    [2] foo.f (foo.new_integer) return boolean at foo.adb.28
    >

Since this output is more verbose than previously, this change also
introduces an option (set/show ada print-signatures) to get the original
output.

gdb/ChangeLog:

	* ada-lang.c (print_signatures): New.
	(ada_print_symbol_signature): New.
	(user_select_syms): Add signatures to the output of candidate
	symbols using ada_print_symbol_signature.
	(_initialize_ada_language): Add a "set/show ada
	print-signatures" boolean option.

gdb/testsuite/ChangeLog:

	* gdb.ada/fun_overload_menu.exp: New testcase.
	* gdb.ada/fun_overload_menu/foo.adb: New testcase.

Tested on x86_64-linux, no regression.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix relaxation in RX linker when --no-keep-memory is specified.
@ 2015-12-07 14:59 sergiodj+buildbot
  2015-12-07 15:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ee4a06adea76e607f47eceff65c6bd4a98c49ff ***

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

Fix relaxation in RX linker when --no-keep-memory is specified.

	* elf32-rx.c (elf32_rx_relax_delete_bytes): Add extra parameter -
	the start of the relocs for the section.  Delete code to load in
	the relocs.
	(elf32_rx_relax_section): Do not free the loaded relocs.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Support Z0 packet in AArch64 multi-arch debugging
@ 2015-12-07 16:13 sergiodj+buildbot
  2015-12-07 16:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-07 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17b1509aac6ff4205749c2626fddbb1c4d7255f4 ***

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

Support Z0 packet in AArch64 multi-arch debugging

In commit 6085d6f6, Z0 packet is disabled in aarch64 GDBserver if
the inferior is 32-bit or there may be multiple inferiors, because
Z0 packet isn't supported for arm then.  Recently, Z0 packet
is supported in arm target, so we don't have such limitation in
aarch64 GDBserver, that is to say, aarch64 GDBserver can use Z0
packet in multi-arch/multi-inferior debugging when the inferior's
arch is arm.

Part of this patch is to revert 6085d6f6, and the rest of the patch
is to move some breakpoint related arm_* functions into
linux-aarch32-low.c in order to share them between arm and aarch64.

This patch is regression tested on aarch64-linux for debugging both
aarch64 programs and arm programs respectively.

gdb/gdbserver:

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

	* configure.srv: Append arm.o to srv_tgtobj for
	aarch64*-*-linux* target.
	* linux-aarch32-low.c (arm_abi_breakpoint): New macro.  Moved
	from linux-arm-low.c.
	(arm_eabi_breakpoint, arm_breakpoint): Likewise.
	(arm_breakpoint_len, thumb_breakpoint): Likewise.
	(thumb_breakpoint_len, thumb2_breakpoint): Likewise.
	(thumb2_breakpoint_len): Likewise.
	(arm_is_thumb_mode, arm_breakpoint_at): Likewise.
	(arm_breakpoint_kinds): Likewise.
	(arm_breakpoint_kind_from_pc): Likewise.
	(arm_sw_breakpoint_from_kind): Likewise.
	(arm_breakpoint_kind_from_current_state): Likewise.
	* linux-aarch32-low.h (arm_breakpoint_kind_from_pc): Declare.
	(arm_sw_breakpoint_from_kind): Declare.
	(arm_breakpoint_kind_from_current_state): Declare.
	(arm_breakpoint_at): Declare.
	* linux-aarch64-low.c (aarch64_sw_breakpoint_from_kind): Call
	arm_sw_breakpoint_from_kind if process is 32-bit.
	(aarch64_breakpoint_kind_from_pc): New function.
	(aarch64_breakpoint_kind_from_current_state): New function.
	(the_low_target): Initialize fields breakpoint_kind_from_pc
	and breakpoint_kind_from_current_state.
	* linux-arm-low.c (arm_breakpoint_kinds): Move to
	linux-aarch32-low.c.
	(arm_abi_breakpoint, arm_eabi_breakpoint): Likewise.
	(arm_breakpoint, arm_breakpoint_len): Likewise.
	(thumb_breakpoint, thumb_breakpoint_len): Likewise.
	(thumb2_breakpoint, thumb2_breakpoint_len): Likewise.
	(arm_is_thumb_mode): Likewise.
	(arm_breakpoint_at): Likewise.
	(arm_breakpoint_kind_from_pc): Likewise.
	(arm_sw_breakpoint_from_kind): Likewise.
	(arm_breakpoint_kind_from_current_state): Likewise.

	Revert:
	2015-08-04  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch64-low.c (aarch64_supports_z_point_type): Return
	0 for Z_PACKET_SW_BP if it may be used in multi-arch debugging.
	* server.c (extended_protocol): Remove "static".
	* server.h (extended_protocol): Declare it.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] rl78: Enable MULU for all ISAs.
@ 2015-12-08  5:32 sergiodj+buildbot
  2015-12-08  6:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-08  5:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1eac08cc37b3d8a42a1b81de888b29d079b0608e ***

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

rl78: Enable MULU for all ISAs.

Unlike other mul/div opcodes, MULU is available on all variants
of the RL78.

* rl78-decode.opc: Enable MULU for all ISAs.
* rl78-decode.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] rx: Fix p_vaddr reconstruction logic.
@ 2015-12-08  6:32 sergiodj+buildbot
  2015-12-08  7:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-08  6:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7859afc4fa05f6876c4e6b95cfb8fc252efd96bc ***

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

rx: Fix p_vaddr reconstruction logic.

* elf32-rx.c (rx_elf_object_p): Ignore empty and nobits sections.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] rl78: relaxation fixes
@ 2015-12-08  7:01 sergiodj+buildbot
  2015-12-08  8:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] DOCO: Enhance the menu to select function overloads with signatures
@ 2015-12-08  9:14 sergiodj+buildbot
  2015-12-08  9:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-08  9:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3685b09fb85dc279762e19df310dc2f30e64b044 ***

Author: Pierre-Marie de Rodat <derodat@adacore.com>
Branch: master
Commit: 3685b09fb85dc279762e19df310dc2f30e64b044

DOCO: Enhance the menu to select function overloads with signatures

gdb/ChangeLog:

	* NEWS: Announce this enhancement and the corresponding new
	option.

gdb/doc/ChangeLog:

	* gdb.texinfo (Ada Mode Into): Move overloading support
	description to its own node.
	(Overloading support for Ada): New node.


^ permalink raw reply	[flat|nested] 2163+ 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-09 12:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] varobj zero-padded hexadecimal format
@ 2015-12-09 13:15 sergiodj+buildbot
  2015-12-09 13:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-09 13:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c35a88f1d8399902c08a8334d3e3303df833538 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 1c35a88f1d8399902c08a8334d3e3303df833538

varobj zero-padded hexadecimal format

This set of patches add support for the zero-padded hexadecimal format for
varobj's, defined as "zero-hexadecimal".  We currently only support regular
non-zero-padded hexadecimal.

Talking with IDE developers, they would like to have this option that is
already available to GDB's print/x commands, in the CLI, as 'z'.

gdb/ChangeLog:

2015-12-09  Luis Machado  <lgustavo@codesourcery.com>

	* gdb/mi/mi-cmd-var.c (mi_parse_format): Handle new "zero-hexadecimal"
	format.
	* gdb/varobj.c (varobj_format_string): Add "zero-hexadecimal" entry.
	(format_code): Add 'z' entry.
	(varobj_set_display_format): Handle FORMAT_ZHEXADECIMAL.
	* gdb/varobj.h (varobj_display_formats) <FORMAT_ZHEXADECIMAL>: New enum
	field.
	* NEWS: Add new note to MI changes citing the new zero-hexadecimal
	format for -var-set-format.

gdb/doc/ChangeLog:

2015-12-09  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.texinfo (GDB/MI Variable Objects): Update text to mention
	-var-set-format's new zero-hexadecimal format.

gdb/testsuite/ChangeLog:

2015-12-09  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
	  format and change test names to make them unique.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <8eab413676a0222a863f45ff606f3db69bb7afc4@gdb-build>]
* [binutils-gdb] gdb.base/async.exp: Handle "asynchronous execution not supported"
@ 2015-12-09 16:51 sergiodj+buildbot
  2015-12-09 17:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-09 17:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix GOT address computations in initial PLT entries for nios2.
@ 2015-12-10  0:31 sergiodj+buildbot
  2015-12-10  0:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Handle multiple base address in debug_ranges data.
@ 2015-12-10 10:15 sergiodj+buildbot
  2015-12-10 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64] Fix ARMv8.1 and ARMv8.2 feature settings.
@ 2015-12-10 14:24 sergiodj+buildbot
  2015-12-10 14:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 14:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af117b3cf1877da805d081b93f606f3dd8153502 ***

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

[AArch64] Fix ARMv8.1 and ARMv8.2 feature settings.

ARMv8.1 includes CRC as a required extension but this isn't reflected in
the features enabled by -march=armv8.1-a. The FP16 feature modifier also
clashes with AARCH64_FEATURE_V8_1 and the list of features for ARMv8.2
is missing ARMv8.1 features.

This patch enables +crc for -march values of armv8.1-a and later. It
also fixes the values for AARCH64_FEATURE_F16 and makes
AARCH64_ARCH_V8_2 and superset of AARCH64_ARCH_V8_2.

gas/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc.

include/opcode
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (AARCH64_FEATURE_F16): Fix clash with
	AARCH64_FEATURE_V8_1.
	(AARCH64_ARCH_V8_1): Add AARCH64_FEATURE_CRC.
	(AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_CRC and
	AARCH64_FEATURE_V8_1.

Change-Id: I8af5369f6df2430b28f6cec92870d2a4d14a7431


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 1/2] Add support for RAS instruction ESB.
@ 2015-12-10 14:57 sergiodj+buildbot
  2015-12-10 15:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 14:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8a6db6fa0b06b978e5b63593a6b0cb3300ad259 ***

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

[AArch64][PATCH 1/2] Add support for RAS instruction ESB.

The ARMv8.2 RAS extension adds a new barrier instruction ESB as an alias
and the preferred form of HINT 16.

This patch adds an architectural feature flag for the RAS extension and
includes it in the features selected enabled by -march=armv8.2-a. It
also adds the ESB instruction, making it available whenever the RAS
feature is enabled.

Because ESB is the preferred form and because the target architecture
isn't available to the disassembler, HINT 16 will be disassembled as ESB
even when the target has no support for the RAS extension.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/system-2.d: New.
	* gas/aarch64/system-2.s: New.
	* gas/aarch64/system.d: Adjust expected output for HINT 16.

include/opcode/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (AARCH64_FEATURE_RAS): New.
	(AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_RAS.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-tbl.h (aarch64_feature_ras): New.
	(RAS): New.
	(aarch64_opcode_table): Add "esb".

Change-Id: Id4713917da15cca3b977284f43febd1c9b3d9faf


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 2/2] Add RAS system registers.
@ 2015-12-10 15:18 sergiodj+buildbot
  2015-12-10 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove support for thread events without PTRACE_EVENT_CLONE in GDB
@ 2015-12-10 16:00 sergiodj+buildbot
  2015-12-10 16:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 16:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2c2a31fdb228d41ce3db62b268efea04bd39c18 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: c2c2a31fdb228d41ce3db62b268efea04bd39c18

Remove support for thread events without PTRACE_EVENT_CLONE in GDB

Before, on systems that did not support PTRACE_EVENT_CLONE, both GDB and
GDBServer coordinated with libthread_db.so to insert breakpoints at magic
locations in libpthread.so, in order to break at thread creation and
thread death.

Support for thread events was removed from GDBServer as patch:
https://sourceware.org/ml/gdb-patches/2015-11/msg00466.html

This patch removes support for thread events in GDB.

No regressions found on Ubuntu 14.04 x86_64.

gdb/ChangeLog:

	* breakpoint.c (remove_thread_event_breakpoints): Remove.
	* breakpoint.h (remove_thread_event_breakpoints): Remove
	declaration.
	* linux-nat.c (in_pid_list_p): Remove.
	(lin_lwp_attach_lwp): Remove.
	* linux-nat.h (lin_lwp_attach_lwp): Remove declaration.
	* linux-thread-db.c (thread_db_use_events): Remove.
	(struct thread_db_info) <td_create_bp_addr>: Remove.
	<td_death_bp_addr>: Likewise.
	<td_ta_event_addr_p>: Likewise.
	<td_ta_set_event_p>: Likewise.
	<td_ta_clear_event_p>: Likewise.
	<td_ta_event_getmsg_p>: Likewise.
	<td_thr_event_enable_p>: Likewise.
	(attach_thread): Likewise.
	(detach_thread): Likewise.
	(have_threads_callback): Likewise.
	(have_threads): Likewise.
	(enable_thread_event): Likewise.
	(enable_thread_event_reporting): Likewise.
	(try_thread_db_load_1): Remove td_ta_event_addr, td_ta_set_event,
	td_ta_clear_event, td_ta_event_getmsg, td_thr_event_enable
	initializations.
	(try_thread_db_load_1): Remove enable_thread_event_reporting call.
	(disable_thread_event_reporting): Remove.
	(record_thread): Adapt to thread_db_use_event removal.
	(detach_thread): Remove.
	(thread_db_detach): Adapt to thread_db_use_event removal.
	(check_event): Remove.
	(thread_db_wait): Adapt to thread events support removal.
	(thread_db_mourn_inferior): Likewise.
	(find_new_threads_callback): Likewise.
	(find_new_threads_once): Likewise.
	(thread_db_update_thread_list): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][binutils] Add support for ARMv8.2 PSTATE.UAO.
@ 2015-12-10 16:24 sergiodj+buildbot
  2015-12-10 16:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-10 16:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6479e48ef9e7345e1111ed9fe578babd74faa1ef ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 6479e48ef9e7345e1111ed9fe578babd74faa1ef

[AArch64][binutils] Add support for ARMv8.2 PSTATE.UAO.

ARMv8.2 adds a new control bit PSTATE.UAO. This patch adds support for
this bit to binutils, following the same basic pattern as for
PSTATE.PAN. The new control bit is only available when -march=armv8.2-a
is specified.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/uao-directive.d: New.
	* gas/aarch64/uao.d: New.
	* gas/aarch64/uao.s: New.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_regs): Add "uao".
	(aarch64_sys_reg_supported_p): Add comment.  Add checks for "uao".
	(aarch64_pstatefields): Add "uao".
	(aarch64_pstatefield_supported_p): Add checks for "uao".

Change-Id: Id571628ac5227b78aaf1876e85d15d7b6c0a2896


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Stop using nowarnings in gdb/testsuite/gdb.multi/
@ 2015-12-17  0:22 sergiodj+buildbot
  2015-12-17  0:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 1/2] Add support for ARMv8.2 DC CVAP instruction.
@ 2015-12-17  0:30 sergiodj+buildbot
  2015-12-17  1:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  0:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea2deeec92695c33045d71ffa73add6305b17b9a ***

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

[AArch64][PATCH 1/2] Add support for ARMv8.2 DC CVAP instruction.

ARMv8.2 adds the new system instruction DC CVAP. This patch series adds
support for this instruction to binutils, enabled when -march=armv8.2-a
is selected.

The AArch64 binutils record of some system registers uses a boolean
value to hold the single flag currently supported for them. To allow
these registers to be limited to specific architectures, the first patch
in this series replaces the boolean flag with a bitset and feature test.

include/opcode/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64.h (aarch64_sys_ins_reg): Replace has_xt with flags.
	(aarch64_sys_ins_reg_has_xt): Declare.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-dis.c (aarch64_ext_regrt_sysins): Replace use of has_xt
	with aarch64_sys_ins_reg_has_xt.
	(aarch64_ext_sysins_op): Likewise.
	* aarch64-opc.c (operand_general_constraint_met_p): Likewise.
	(F_HASXT): New.
	(aarch64_sys_regs_ic): Update for changes to aarch64_sys_ins_reg.
	(aarch64_sys_regs_dc): Likewise.
	(aarch64_sys_regs_at): Likewise.
	(aarch64_sys_regs_tlbi): Likewise.
	(aarch64_sys_ins_reg_has_xt): New.

Change-Id: I363637a6c3f54d7ffff953b3a0734e8139cae819


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove "spaces" references from gdb.multi/base.exp
@ 2015-12-17  1:05 sergiodj+buildbot
  2015-12-17  2:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  1:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [Aarch64] Support ARMv8.2 AT instructions
@ 2015-12-17  1:31 sergiodj+buildbot
  2015-12-17  3:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  1:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22a5455c6ccaf6157095863f9e6da33a81541acf ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 22a5455c6ccaf6157095863f9e6da33a81541acf

[Aarch64] Support ARMv8.2 AT instructions

ARMv8.2 adds new instructions AT S1E1RP and AT S1E1WP to Aarch64. This
patch adds support for the instructions, making them available when
-march=armv8.2-a is selected.

gas/testsuite/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/sysreg-2.d: Update for new tests for AT S1E1RP and
	AT S1E1WP.
	* gas/aarch64/sysreg-2.s: Add tests for AT S1E1RP and AT S1E1WP.

opcodes/
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_regs_at): Add "s1e1rp" and "s1e1wp".
	(aarch64_sys_ins_reg_supported_p): Add ARMv8.2 system register
	feature test for "s1e1rp" and "s1e1wp".

Change-Id: I09e1044b629ab0a34b03c423e8d4e71ff92daad4


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix regression revealed by corethreads.exp
@ 2015-12-17  1:39 sergiodj+buildbot
  2015-12-17  3:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  4:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  5:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  7:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][Patch 4/5] Support HINT aliases taking operands.
@ 2015-12-17  2:22 sergiodj+buildbot
  2015-12-17  8:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][Patch 5/5] Add instruction PSB CSYNC
@ 2015-12-17  2:31 sergiodj+buildbot
  2015-12-17  8:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use arm_eabi_breakpoint on aarch32
@ 2015-12-17  2:39 sergiodj+buildbot
  2015-12-17  9:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b37a6290beb90f4f65f1513626205f7bac695624 ***

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

Use arm_eabi_breakpoint on aarch32

Nowdays, GDBserver chooses arm breakpoint instructions by checking
macro __ARM_EABI__.  When aarch64 GDBserver debugs arm program,
arm_eabi_breakpoint is still needed, but __ARM_EABI__ isn't defined
in aarch64 compiler.  This causes GDBserver chooses the wrong
breakpoint instruction for arm program.  This patch fixes it.

gdb/gdbserver:

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

	* linux-aarch32-low.c [__aarch64__]: Use arm_abi_breakpoint
	arm breakpoint.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Understand arm breakpoints in aarch64_breakpoint_at
@ 2015-12-17  2:47 sergiodj+buildbot
  2015-12-17  9:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  2:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db91f50261d30e66350281d18759aa7490672a34 ***

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

Understand arm breakpoints in aarch64_breakpoint_at

AArch64 GDBserver can debug ARM program, and it should recognize
various arm breakpoint instructions.  This patch should be included
in 17b1509a.

gdb/gdbserver:

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

	* linux-aarch64-low.c (aarch64_breakpoint_at): Call
	arm_breakpoint_at if the process is 32-bit.


^ permalink raw reply	[flat|nested] 2163+ 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  3:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Make lines_to_list variable static.
@ 2015-12-17  3:07 sergiodj+buildbot
  2015-12-17 10:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  3:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f43f85715ac097b6ff4bfaed00879eb541428c1a ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: f43f85715ac097b6ff4bfaed00879eb541428c1a

gdb: Make lines_to_list variable static.

Small clean up, make variable static.

gdb/ChangeLog:

	* source.c (lines_to_list): Make static.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: Use NULL instead of 0 for pointer comparison.
@ 2015-12-17  3:12 sergiodj+buildbot
  2015-12-17 11:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Small code restructure for list_command.
@ 2015-12-17  3:20 sergiodj+buildbot
  2015-12-17 11:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: 'list' command, tweak handling of +/- arguments.
@ 2015-12-17  3:37 sergiodj+buildbot
  2015-12-17 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Add an error when 'list -' reaches the start of a file.
@ 2015-12-17  3:46 sergiodj+buildbot
  2015-12-17 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  3:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b2464a8d39b8b787664438253b8fdf7625cac32 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 3b2464a8d39b8b787664438253b8fdf7625cac32

gdb: Add an error when 'list -' reaches the start of a file.

When a a user uses 'list +' to list forward through a source file they
eventually reach the end of the source file.  Subsequent uses of 'list
+' result in an error message like this, that let the user know they are
at the end of the source file:

  Line number XXX out of range; FILENAME has YYY lines.

Compare this to the current behaviour of 'list -' which lists backwards
through a source file.  When the user reaches the beginning of the
source file, subsequent uses of 'list -' result in the command silently
returning.  This can be confusing if the previous uses of 'list -' have
scrolled off the users display, the user receives no reminder that the
have already seen the start of the file.

After this commit a use of 'list -' when the user has already seen the
start of a file will receive the following error:

   Already at the start of FILENAME.

gdb/ChangeLog:

	* cli/cli-cmds.c (list_command): Add an error when trying to use
	'-' to scan read off the start of the source file.

gdb/testsuite/ChangeLog:

	* gdb.base/list.exp (test_list_forward): Add end of file error
	test.
	(test_repeat_list_command): Add end of file error test.
	(test_list_backwards): Add beginning of file error test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enable 2 operand form of powerpc mfcr with -many
@ 2015-12-17  4:03 sergiodj+buildbot
  2015-12-17 13:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b817670b52b7414d592cbfd96fd77cf725a33413 ***

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

Enable 2 operand form of powerpc mfcr with -many

This is a workaround for a gcc bug.

	PR 19359
	* ppc-opc.c (insert_fxm): Remove "ignored" from error message.
	(powerpc_opcodes): Remove single-operand mfcr.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: Use TYPE_LENGTH macro
@ 2015-12-17  4:11 sergiodj+buildbot
  2015-12-17 14:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 132874d7e3c94d8cc6f865b57f286cf62e5ad0b8 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 132874d7e3c94d8cc6f865b57f286cf62e5ad0b8

gdb: Use TYPE_LENGTH macro

Fixes a couple of places where we access the length field of the type
structure directly, rather than using the TYPE_LENGTH macro.

gdb/ChangeLog:

	* i386-tdep.c (i386_mpx_info_bounds): Use TYPE_LENGTH.
	(i386_mpx_set_bounds): Likewise.
	* solib-darwin.c (darwin_load_image_infos): Likewise.
	(darwin_solib_read_all_image_info_addr): Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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-17 14:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-17 15:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 3/14] Support ARMv8.2 FP16 Scalar Three Same instructions.
@ 2015-12-17  4:43 sergiodj+buildbot
  2015-12-17 16:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b4680fbd08221530ad3d541cd51a866eefef6fc ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 6b4680fbd08221530ad3d541cd51a866eefef6fc

[AArch64][PATCH 3/14] Support ARMv8.2 FP16 Scalar Three Same 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 Three Register Same, making them
available when +simd+fp16 is enabled.

The instructions added are: FABD, FMULX, FCMEQ, FCMGE, FCMGT, FACGE,
FACGT, FRECPS and FRSQRTS.

The general form for these instructions is
  <OP> <Hd>, <Hs>, <Hm>

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 three register same
	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
	fmulx, fcmeq, frecps, frsqrts, fcmge, facge, fabd, fcmgt and
	facgt to the scalar three same group.

Change-Id: I155eb8d7c1e9a7c89d691d7e4aae83be51ff1238


^ permalink raw reply	[flat|nested] 2163+ 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-17 16:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 5/14] Support FP16 Scalar Two Register Misc. instructions.
@ 2015-12-17  4:58 sergiodj+buildbot
  2015-12-17 16:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  4:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 80776b29d60ebdcd3631604858f144a72b8bcb8e ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 80776b29d60ebdcd3631604858f144a72b8bcb8e

[AArch64][PATCH 5/14] Support FP16 Scalar 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 Scalar Two Register Misc, making them
available when +simd+fp16 is enabled.

The instructions added are: FCMGT, FCMGE, FCMEQ, FCMLE, FCMLT, FCVTNS,
FCVTNU, FCVTPS, FCVTPU, FCVTMS, FCVTMU, FCVTZS, FCVTZU, FCVTAS, FCVTAU,
SCVTF, UCVTF, FRECPE, FRSQRTE and FRECPX.

The general form for these instructions is
  <OP> <Hd>, <Hs>
or
  <OP> <Hd>, <Hs>, #0.0

Tested the series for aarch64-none-linux-gnu with cross-compiled
check-binutils and check-gas.

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 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_SISD_FCMP_H_0): new.
	(QL_S_2SAMEH): New.
	(aarch64_opcode_table): Add fp16 versions of fcvtns, fcvtms,
	fcvtas, scvtf, fcmgt, fcmeq, fcmlt, fcvtps, fcvtzs, frecpe,
	frecpx, fcvtnu, fcvtmu, fcvtau, ucvtf, fcmge, fcmle, fcvtpu,
	fcvtzu and frsqrte to the scalar two register misc. group.

Change-Id: I19b25baae33027ce1bade68cc8dc47a4321d045c


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 6/14] Support FP16 Vector Indexed Element instructions.
@ 2015-12-17  5:06 sergiodj+buildbot
  2015-12-17 17:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 7/14] Support FP16 Scalar Indexed Element instructions.
@ 2015-12-17  5:14 sergiodj+buildbot
  2015-12-17 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 8/14] Support FP16 Adv.SIMD Across Lanes instructions.
@ 2015-12-17  5:21 sergiodj+buildbot
  2015-12-17 18:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb515fea4ac30f761c17dec701c95c0b54fabf30 ***

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

[AArch64][PATCH 8/14] Support FP16 Adv.SIMD Across Lanes 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 Adv.SIMD Across Lanes, making them available
when +simd+fp16 is enabled.

The instructions added are: FMAXNMV, FMAXV, FMINNMV and FMINV.

The general form for these instructions is
   <OP> <Hd>, <V>.<T>
   where T is 4h or 8h.

The new instructions valid make uses of the 8H and 4H that were
previously illegal. The patch adjusts a test for illegal uses of vector
types to take this into account.

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 test 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_XLANES_FP_H): New.
	(aarch64_opcode_table): Add fp16 versions of fmaxnmv, fmaxv,
	fminnmv, fminv to the Adv.SIMD across lanes group.

Change-Id: Ib9a47e867f55e0272c2446eb7e16837503d2f94c


^ permalink raw reply	[flat|nested] 2163+ 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-17 18:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 12/14] Support FP16 Adv.SIMD Scalar Pairwise instructions.
@ 2015-12-17  5:45 sergiodj+buildbot
  2015-12-17 19:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  5:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b195470dd29e8a5c8810209fb2d22c30004fe6ab ***

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

[AArch64][PATCH 12/14] Support FP16 Adv.SIMD Scalar Pairwise 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 Adv.SIMD Scalar Pairwise, making them
available when +simd+fp16 is enabled.

The instructions added are: FMAXNMP, FADDP, FMAXP, FMINNMP and FMINP

The general form for these instructions is
   <OP> <Hd>, <V>.<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 Adv.SIMD Scalar
	Pairwise 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_SISD_PAIR_H): New.
	(aarch64_opcode_table): Add fp16 versions of fmaxnmp, faddp,
	fmaxp, fminnmp, fminp to the Adv.SIMD scalar pairwise group.

Change-Id: I19937ede3441b66dd0f940269ece895b17d3c345


^ permalink raw reply	[flat|nested] 2163+ 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-17 20:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-17 20:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Target remote mode fork and exec event support
@ 2015-12-17  6:17 sergiodj+buildbot
  2015-12-17 21:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove gdb.base/coremaker2.c
@ 2015-12-17  6:35 sergiodj+buildbot
  2015-12-17 10:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  6:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f1637ebed142eabd96cbc009edda8ec903c71fd6 ***

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

Remove gdb.base/coremaker2.c

I happen to find that coremaker2.c isn't used in the testsuite (if I
don't miss anything).  I don't believe it until I see this ChangeLog
entry,

1999-11-18  Fred Fish  <fnf@cygnus.com>

        * gdb.base/coremaker2.c: Add sample program for generating
        cores that is more self contained than coremaker.c.  Eventually
        I'll add more code to this and tie it into the testsuite.

looks Fred didn't "tie it into testsuite" later.

gdb/testsuite:

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

	* gdb.base/coremaker2.c: Remove.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Target remote mode fork and exec event documentation
@ 2015-12-17  7:00 sergiodj+buildbot
  2015-12-17 22:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 19d9d4efd18bcc633e99cb6a3e39bd9b22ca70ce ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 19d9d4efd18bcc633e99cb6a3e39bd9b22ca70ce

Target remote mode fork and exec event documentation

This patch implements documentation updates for target remote mode fork and
exec events.  A summary of the rationale for the changes made here:

* Connecting to a remote target -- explain that the two protocols exist.

* Connecting in target remote mode -- explain invoking gdbserver for target
  remote mode, and move remote-specific text from original "Connecting to a
  remote target" section.

* Connecting in target extended-remote mode -- promote this section from
  "Using the gdbserver Program | Running gdbserver | Multi-Process Mode for
  gdbserver".  Put it next to the target remote mode section.

* Host and target files -- collect paragraphs dealing with how to locate
  symbol files from original sections "Connecting to a remote target" and
  "Using the gdbserver program | Connecting to gdbserver".

* Steps for connecting to a remote target -- used to be "Using the
  gdbserver program | Connecting to gdbserver"

* Remote connection commands -- used to be the bulk of "Connecting to a
  remote target".  Added "target extended-remote" commands and information.

gdb/ChangeLog:

	* NEWS: Announce fork and exec event support for target remote.

gdb/doc/ChangeLog:

	* gdb.texinfo (Forks): Correct Linux kernel version where
	fork and exec events are supported, add notes about support
	of these events in target remote mode.
	(Connecting): Reorganize and clarify distinctions between
	target remote, extended-remote, and multiprocess.
	Reorganize related text from separate sections into new
	sections.
	(Server): Note effects of target extended-remote mode.
	Delete section on Multi-Process Mode for gdbserver.
	Move some text to "Connecting" node.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip tests that send ctrl-c to GDB if nointerrupts target property is set.
@ 2015-12-17  7:08 sergiodj+buildbot
  2015-12-17 22:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87a3a92c46c770e6aa2ca1209f46af16eae2c4e9 ***

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

Skip tests that send ctrl-c to GDB if nointerrupts target property is set.

2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.base/completion.exp: Skip tests that interrupt GDB with
	ctrl-C if nointerrupts target property is set.
	* gdb.base/double-prompt-target-event-error.exp: Likewise.
	* gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
	* gdb.base/paginate-bg-execution.exp: Likewise.
	* gdb.base/paginate-execution-startup.exp: Likewise.
	* gdb.base/random-signal.exp: Likewise.
	* gdb.base/range-stepping.exp: Likewise.
	* gdb.cp/annota2.exp: Likewise.
	* gdb.cp/annota3.exp: Likewise.
	* gdb.gdb/selftest.exp: Likewise.
	* gdb.threads/continue-pending-status.exp: Likewise.
	* gdb.threads/leader-exit.exp: Likewise.
	* gdb.threads/manythreads.exp: Likewise.
	* gdb.threads/pthreads.exp: Likewise.
	* gdb.threads/schedlock.exp: Likewise.
	* gdb.threads/sigthread.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip gdb.base/gdbhistsize-history.exp on remote hosts.
@ 2015-12-17  7:16 sergiodj+buildbot
  2015-12-17 22:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  7:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c ***

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

Skip gdb.base/gdbhistsize-history.exp on remote hosts.

2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check for readline support in gdb.base/history-duplicates.exp.
@ 2015-12-17  7:33 sergiodj+buildbot
  2015-12-17 23:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for RX V2 Instruction Set
@ 2015-12-17  7:40 sergiodj+buildbot
  2015-12-18  0:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for the MRS instruction to the AArch64 simulator.
@ 2015-12-17  7:48 sergiodj+buildbot
  2015-12-18  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Make test names unique in list.exp.
@ 2015-12-17  8:42 sergiodj+buildbot
  2015-12-17 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  8:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c000dff26b7c5159ca1a6d562e7ab50656f4b73 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 5c000dff26b7c5159ca1a6d562e7ab50656f4b73

gdb: Make test names unique in list.exp.

gdb/testsuite/ChangeLog:

	* gdb.base/list.exp (test_list): Make test names unique.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix invalid left shift of negative value
@ 2015-12-17  8:58 sergiodj+buildbot
  2015-12-18  1:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-18  2:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Tweak gdb.trace/ftrace.exp for aarch64
@ 2015-12-17  9:14 sergiodj+buildbot
  2015-12-18  3:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Extend help text for 'list' command.
@ 2015-12-17  9:52 sergiodj+buildbot
  2015-12-17 13:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17  9:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4fdd372d502d241eb42032844836ae031830237a ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 4fdd372d502d241eb42032844836ae031830237a

gdb: Extend help text for 'list' command.

Reference the 'listsize' setting in the help text for the 'list' command
to help users find this setting.

gdb/ChangeLog:

	* cli/cli-cmds.c (_initialize_cli_cmds): Extend help text for
	'list' command.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] Add support for thumb1 pcrop relocations.
@ 2015-12-17 10:05 sergiodj+buildbot
  2015-12-18  4:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 10:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72d98d16ed09584660d0cbb759d90f8dfeef2343 ***

Author: Mickael Guene <mickael.guene@st.com>
Branch: master
Commit: 72d98d16ed09584660d0cbb759d90f8dfeef2343

[ARM] Add support for thumb1 pcrop relocations.

To support thumb1 execute-only code we need to support four new
relocations (R_ARM_THM_ALU_ABS_G0_NC, R_ARM_THM_ALU_ABS_G1_NC,
R_ARM_THM_ALU_ABS_G2_NC and  R_ARM_THM_ALU_ABS_G3_NC).
These relocations allow the static linker to finalize construction
of symbol address.
Typical sequence of code to get address of the symbol foo is then
the following :
	movs	r3, #:upper8_15:#foo
	lsls	r3, #8
	adds	r3, #:upper0_7:#foo
	lsls	r3, #8
	adds	r3, #:lower8_15:#foo
	lsls	r3, #8
	adds	r3, #:lower0_7:#foo
This will give following sequence of text and relocations after
assembly :
   4:	2300      	movs	r3, #0
			4: R_ARM_THM_ALU_ABS_G3_NC	foo
   6:	021b      	lsls	r3, r3, #8
   8:	3300      	adds	r3, #0
			8: R_ARM_THM_ALU_ABS_G2_NC	foo
   a:	021b      	lsls	r3, r3, #8
   c:	3300      	adds	r3, #0
			c: R_ARM_THM_ALU_ABS_G1_NC	foo
   e:	021b      	lsls	r3, r3, #8
  10:	3300      	adds	r3, #0
			10: R_ARM_THM_ALU_ABS_G0_NC	foo


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix -Wno-unknown-warning support detection
@ 2015-12-17 10:22 sergiodj+buildbot
  2015-12-18  6:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64][PATCH 1/14] Support ARMv8.2 FP16 Adv.SIMD instructions.
@ 2015-12-17 11:31 sergiodj+buildbot
  2015-12-17 15:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 11:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40d16a76c781bc9951d22ee359e07c6c240b81ba ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 40d16a76c781bc9951d22ee359e07c6c240b81ba

[AArch64][PATCH 1/14] Support ARMv8.2 FP16 Adv.SIMD instructions.

ARMv8.2 adds 16-bit floating point operations as an optional extension
to floating point and Adv.SIMD support. This patch set adds the 16-bit
Adv.SIMD vector and scalar instructions to binutils, making them
available when both +simd and +fp16 architecture extensions are enabled.
The series also adds support for a new vector type, 2H, used by the FP16
scalar pairwise instructions.

The patches in this series:
- Add a FP16 Adv.SIMD feature macro for use by the encoding/decoding
  routines.
- Add FP16 instructions in the group Vector Three Register Same.
- Add FP16 instructions in the group Scalar Three Register Same.
- Add FP16 instructions in the group Vector Two Register Misc.
- Add FP16 instructions in the group Scalar Two Register Misc.
- Add FP16 instructions in the group Vector Indexed Element.
- Add FP16 instructions in the group Scalar Indexed Element.
- Add FP16 instructions in the group Adv.SIMD Across Lanes.
- Add FP16 instructions in the group Adv.SIMD Modified Immediate.
- Rework some code for handling vector types to weaken its assumptions
  about available vector-types.
- Add support for the 2H vector type.
- Add FP16 instructions in the group Adv.SIMD Scalar Pairwise.
- Add FP16 instructions in the group Adv.SIMD Shift By Immediate.
- Add a FP16 instructions in the group Adv.SIMD Scalar Shift By
  Immediate.

This patch adds the feature macro SIMD_F16 to the AArch64
encoding/decoding routines. It is used to decide when the new
instructions are available to the assembler and is true when both +simd
and +fp16 are selected.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-tbl.h (aarch64_feature_simd_f16): New.
	(SIMD_F16): New.

Change-Id: Iee5a37928418f15e51dfaa927b24cafef7295e8f


^ permalink raw reply	[flat|nested] 2163+ 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-18  7:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix one heap buffer overflow in aarch64_push_dummy_call
@ 2015-12-17 13:20 sergiodj+buildbot
  2015-12-18  8:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 13:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c3c874459bf57a70ccbf71a39a3a7dc3c472a201 ***

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

Fix one heap buffer overflow in aarch64_push_dummy_call

Hi,
AddressSanitizer reports an error like this,

(gdb) PASS: gdb.base/call-ar-st.exp: continue to tbreak9
print print_long_arg_list(a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, *flags, *flags_combo, *three_char, *five_char, *int_char_combo, *d1, *d2, *d3, *f1, *f2, *f3)
=================================================================
==6236==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200008eb50 at pc 0x89e432 bp 0x7fffa3df9080 sp 0x7fffa3df9078
READ of size 5 at 0x60200008eb50 thread T0
    #0 0x89e431 in memory_xfer_partial gdb/target.c:1264
    #1 0x89e6c7 in target_xfer_partial gdb/target.c:1320
    #2 0x89f267 in target_write_partial gdb/target.c:1595^M
    #3 0x8a014b in target_write_with_progress gdb/target.c:1889^M
    #4 0x8a0262 in target_write gdb/target.c:1914^M
    #5 0x89ee59 in target_write_memory gdb/target.c:1492^M
    #6 0x9a1c74 in write_memory gdb/corefile.c:393^M
    #7 0x467ea5 in aarch64_push_dummy_call gdb/aarch64-tdep.c:1388

The problem is that an instance of stack_item_t is created to adjust
stack for alignment, the item.len is correct, but item.data is buf,
which is wrong, because item.len can be greater than the length of
buf.  This patch sets item.data to NULL, and only update sp (no
inferior memory writes on stack for this item).

gdb:

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

	* aarch64-tdep.c (struct stack_item_t): Update comments.
	(pass_on_stack): Set item.data to NULL.
	(aarch64_push_dummy_call): Call write_memory if si->data
	isn't NULL.


^ permalink raw reply	[flat|nested] 2163+ 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-17 19:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove support for LinuxThreads and vendor 2.4 kernels w/ backported NPTL
@ 2015-12-17 15:14 sergiodj+buildbot
  2015-12-18  8:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 15:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a6ed09b0f70c79b11bc1e0973a7333d9316a287 ***

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

Remove support for LinuxThreads and vendor 2.4 kernels w/ backported NPTL

Since we now rely on PTRACE_EVENT_CLONE being available (added in
Linux 2.5.46), we're relying on NPTL.

This commit removes the support for older LinuxThreads, as well as the
workarounds for vendor 2.4 kernels with NPTL backported.

 - Rely on tkill being available.

 - Assume gdb doesn't get cancel signals.

 - Remove code that checks the LinuxThreads restart and cancel signals
   in the inferior.

 - Assume that __WALL is available.

 - Assume that non-leader threads report WIFEXITED.

 - Thus, no longer need to send signal 0 to check whether threads are
   still alive.

 - Update comments throughout.

Tested on x86_64 Fedora 20, native and gdbserver.

gdb/ChangeLog:

	* configure.ac: Remove tkill checks.
	* configure, config.in: Regenerate.
	* linux-nat.c: Remove HAVE_TKILL_SYSCALL check.  Update top level
	comments.
	(linux_nat_post_attach_wait): Remove 'cloned' parameter.  Use
	__WALL.
	(attach_proc_task_lwp_callback): Don't set the cloned flag.
	(linux_nat_attach): Adjust.
	(kill_lwp): Remove HAVE_TKILL_SYSCALL check.  No longer fall back
	to 'kill'.
	(linux_handle_extended_wait): Use __WALL.  Don't set the cloned
	flag.
	(wait_lwp): Use __WALL.  Update comments.
	(running_callback, stop_and_resume_callback): Delete.
	(linux_nat_filter_event): Don't stop and resume all lwps. Don't
	check if the event LWP has previously exited.
	(check_zombie_leaders): Update comments.
	(linux_nat_wait_1): Use __WALL.
	(kill_wait_callback): Don't handle clone processes separately.
	Use __WALL instead.
	(linux_thread_alive): Delete.
	(linux_nat_thread_alive): Return true as long as the LWP is in the
	LWP list.
	(linux_nat_update_thread_list): Assume the kernel supports
	PTRACE_EVENT_CLONE.
	(get_signo): Delete.
	(lin_thread_get_thread_signals): Remove LinuxThreads references.
	No longer check __pthread_sig_restart / __pthread_sig_cancel in
	the inferior.
	* linux-nat.h (struct lwp_info) <cloned>: Delete field.
	* linux-thread-db.c: Update comments.
	(_initialize_thread_db): Remove LinuxThreads references.
	* nat/linux-waitpid.c (my_waitpid): No longer emulate __WALL.
	Pass down flags unmodified.
	* linux-waitpid.h (my_waitpid): Update documentation.

gdb/gdbserver/ChangeLog:

	* linux-low.c (linux_kill_one_lwp): Remove references to
	LinuxThreads.
	(kill_lwp): Remove HAVE_TKILL_SYSCALL check.  No longer fall back
	to 'kill'.
	(linux_init_signals): Delete.
	(initialize_low): Adjust.
	* thread-db.c (thread_db_init): Remove LinuxThreads reference.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR threads/19354: "info threads" error with multiple inferiors
@ 2015-12-17 15:38 sergiodj+buildbot
  2015-12-18  9:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Target remote mode fork and exec test updates
@ 2015-12-17 16:37 sergiodj+buildbot
  2015-12-17 21:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8f077dc25b1732fb272a7ff10f72b5ca6f67b70 ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: a8f077dc25b1732fb272a7ff10f72b5ca6f67b70

Target remote mode fork and exec test updates

This patch updates tests for fork and exec events in target remote mode.
In the majority of cases this was a simple matter of removing some code
that disabled the test for target remote.  In a few cases the test needed
to be disabled; in those cases the gdb_protocol was checked instead of
using the [is_remote target] etc.

In a couple of cases we needed to use clean_restart, since target remote
doesn't support the run command, and in one case we had to modify an expect
expression to allow for a "multiprocess-style" ptid.

Tested with the patch that implemented target remote mode fork and exec
event support.

gdb/testsuite/ChangeLog:

	* gdb.base/execl-update-breakpoints.exp (main): Enable for target
	remote.
	* gdb.base/foll-exec-mode.exp (main): Disable for target remote.
	* gdb.base/foll-exec.exp (main): Enable for target remote.
	* gdb.base/foll-fork.exp (main): Likewise.
	* gdb.base/foll-vfork.exp (main): Likewise.
	* gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
	(proc continue_to_exit_bp_loc): Use clean_restart.
	* gdb.base/pie-execl.exp (main): Disable for target remote.
	* gdb.base/watch-vfork.exp (main): Enable for target remote.
	* gdb.mi/mi-nsthrexec.exp (main): Likewise.
	* gdb.threads/execl.exp (main): Likewise.
	* gdb.threads/fork-child-threads.exp (main): Likewise.
	* gdb.threads/fork-plus-threads.exp (main): Disable for target
	remote.
	* gdb.threads/fork-thread-pending.exp (main): Enable for target
	remote.
	* gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
	pid.tid style ptids, instead of just tid.
	* gdb.threads/thread-execl.exp (main): Enable for target remote.
	* gdb.threads/watchpoint-fork.exp (main): Likewise.
	* gdb.trace/report.exp (use_collected_data): Allow pid.tid style
	ptids, instead of just tid.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip gdb.base/gdbinit-history.exp on remote hosts.
@ 2015-12-17 18:36 sergiodj+buildbot
  2015-12-17 23:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 18:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d978e177217d8e9da8648498f0592b5cd885e69 ***

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

Skip gdb.base/gdbinit-history.exp on remote hosts.

2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.base/gdbinit-history.exp: Skip for remote-host testing.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update the copyright notices in the affected files.
@ 2015-12-17 20:12 sergiodj+buildbot
  2015-12-18  1:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-17 20:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 08832196accd270fa053e8125c21e7a54ab19fe0 ***

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

Update the copyright notices in the affected files.

	PR 19339
	* elf-vxworks.h: Update copyright notice.
	* elf-vxworks.c: Update copyright notice.
	* elf-nacl.h: Update copyright notice.
	* elf-nacl.c: Update copyright notice.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] Enable CRC by default for ARMv8.1 and later.
@ 2015-12-17 21:47 sergiodj+buildbot
  2015-12-18  3:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <a4e22a5df64a46bc99f737a982c0b9d1e8a45e2b@gdb-build>]
* [binutils-gdb] Fix formatting of coff-i386.c
@ 2015-12-18  8:59 sergiodj+buildbot
  2015-12-18  9:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18  8:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec70be9f6162aca5fb14876e232e68c64b1faa7f ***

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

Fix formatting of coff-i386.c

	* coff-i386.c (coff_i386_reloc): Fix formatting.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix formatting in coff-x86_64.c
@ 2015-12-18 16:26 sergiodj+buildbot
  2015-12-18 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 16:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c9f203207d418f72217f4bc0997acd809a0479ce ***

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

Fix formatting in coff-x86_64.c

	* coff-x86_64.c (coff_amd64_reloc): Fix formatting.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Replace breakpoint_reinsert_addr by get_next_pcs operation in GDBServer
@ 2015-12-18 16:58 sergiodj+buildbot
  2015-12-18 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 16:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa5308bdcc4967861d1277b45205c2623b154a64 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: fa5308bdcc4967861d1277b45205c2623b154a64

Replace breakpoint_reinsert_addr by get_next_pcs operation in GDBServer

This patch in preparation for software single step support on ARM. It refactors
breakpoint_reinsert_addr into get_next_pcs so that multiple location can be
returned.

When software single stepping there can be multiple possible next addresses
because we're stepping over a conditional branch instruction, for example.

The operation get_next_pcs handles that by returning a vector of all the
possible next addresses.

Software breakpoints are installed at each location returned.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* linux-aarch64-low.c (the_low_targets): Rename
	breakpoint_reinsert_addr to get_next_pcs.
	* linux-arm-low.c (the_low_targets): Likewise.
	* linux-bfin-low.c (the_low_targets): Likewise.
	* linux-cris-low.c (the_low_targets): Likewise.
	* linux-crisv32-low.c (the_low_targets): Likewise.
	* linux-low.c (can_software_single_step): Likewise.
	(install_software_single_step_breakpoints): New function.
	(start_step_over): Use install_software_single_step_breakpoints.
	* linux-low.h: New CORE_ADDR vector.
	(struct linux_target_ops) Rename breakpoint_reinsert_addr to
	get_next_pcs.
	* linux-mips-low.c (the_low_targets): Likewise.
	* linux-nios2-low.c (the_low_targets): Likewise.
	* linux-sparc-low.c (the_low_targets): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Share some ARM target dependent code from GDB with GDBServer
@ 2015-12-18 17:01 sergiodj+buildbot
  2015-12-18 17:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Refactor arm_software_single_step to use regcache
@ 2015-12-18 17:27 sergiodj+buildbot
  2015-12-18 18:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Share regcache function regcache_raw_read_unsigned
@ 2015-12-18 17:35 sergiodj+buildbot
  2015-12-18 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Support software single step on ARM in GDBServer
@ 2015-12-18 17:43 sergiodj+buildbot
  2015-12-18 19:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9311bfaf572cf14af577a66e79c51c491553552 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: d9311bfaf572cf14af577a66e79c51c491553552

Support software single step on ARM in GDBServer

This patch teaches GDBServer how to software single step on ARM
linux by sharing code with GDB.

The arm_get_next_pcs function in GDB is now shared with GDBServer.  So
that GDBServer can use the function to return the possible addresses of
the next PC.

A proper shared context was also needed so that we could share the code,
this context is described in the arm_get_next_pcs structure.

Testing :

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Append arm-get-next-pcs.o,
	arm-linux.o.
	(ALLDEPFILES): Append arm-get-next-pcs.c, arm-linux.c
	(arm-linux.o): New rule.
	(arm-get-next-pcs.o): New rule.
	* arch/arm-get-next-pcs.c: New file.
	* arch/arm-get-next-pcs.h: New file.
	* arch/arm-linux.h: New file.
	* arch/arm-linux.c: New file.
	* arm.c: Include common-regcache.c.
	(thumb_advance_itstate): Moved from arm-tdep.c.
	(arm_instruction_changes_pc): Likewise.
	(thumb_instruction_changes_pc): Likewise.
	(thumb2_instruction_changes_pc): Likewise.
	(shifted_reg_val): Likewise.
	* arm.h (submask): Move macro from arm-tdep.h
	(bit): Likewise.
	(bits): Likewise.
	(sbits): Likewise.
	(BranchDest): Likewise.
	(thumb_advance_itstate): Moved declaration from arm-tdep.h
	(arm_instruction_changes_pc): Likewise.
	(thumb_instruction_changes_pc): Likewise.
	(thumb2_instruction_changes_pc): Likewise.
	(shifted_reg_val): Likewise.
	* arm-linux-tdep.c: Include arch/arm.h, arch/arm-get-next-pcs.h
	arch/arm-linux.h.
	(arm_linux_get_next_pcs_ops): New struct.
	(ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT,
	ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT,
	ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): Move stack
	layout defines to arch/arm-linux.h.
	(arm_linux_sigreturn_next_pc_offset): Move to arch/arm-linux.c.
	(arm_linux_software_single_step): Adjust for arm_get_next_pcs
	implementation.
	* arm-tdep.c: Include arch/arm-get-next-pcs.h.
	(arm_get_next_pcs_ops): New struct.
	(submask): Move macro to arm.h.
	(bit): Likewise.
	(bits): Likewise.
	(sbits): Likewise.
	(BranchDest): Likewise.
	(thumb_instruction_changes_pc): Move to arm.c
	(thumb2_instruction_changes_pc): Likewise.
	(arm_instruction_changes_pc): Likewise.
	(shifted_reg_val): Likewise.
	(thumb_advance_itstate): Likewise.
	(thumb_get_next_pc_raw): Move to arm-get-next-pcs.c.
	(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_get_next_pcs_read_memory_unsigned_integer): New function.
	(arm_get_next_pcs_addr_bits_remove): Likewise.
	(arm_get_next_pcs_syscall_next_pc): Likewise.
	(arm_get_next_pcs_is_thumb): Likewise.
	(arm_software_single_step): Adjust for arm_get_next_pcs
	implementation.
	* arm-tdep.h: (arm_get_next_pc): Remove declaration.
	(arm_get_next_pcs_read_memory_unsigned_integer):
	New declaration.
	(arm_get_next_pcs_addr_bits_remove): Likewise.
	(arm_get_next_pcs_syscall_next_pc): Likewise.
	(arm_get_next_pcs_is_thumb): Likewise.
	(arm_deal_with_atomic_sequence: Remove declaration.
	* common/gdb_vecs.h: Add CORE_ADDR vector definition.
	* configure.tgt (aarch64*-*-linux): Add arm-get-next-pcs.o,
	arm-linux.o.
	(arm*-wince-pe): Add arm-get-next-pcs.o.
	(arm*-*-linux*): Add arm-get-next-pcs.o, arm-linux.o,
	arm-get-next-pcs.o
	(arm*-*-netbsd*,arm*-*-knetbsd*-gnu): Add arm-get-next-pcs.o.
	(arm*-*-openbsd*): Likewise.
	(arm*-*-symbianelf*): Likewise.
	(arm*-*-*): Likewise.
	* symtab.h: Move CORE_ADDR vector definition to gdb_vecs.h.

gdb/gdbserver/ChangeLog:

	* Makefile.in (SFILES): Append arch/arm-linux.c,
	arch/arm-get-next-pcs.c.
	(arm-linux.o): New rule.
	(arm-get-next-pcs.o): New rule.
	* configure.srv (arm*-*-linux*): Add arm-get-next-pcs.o,
	arm-linux.o.
	* linux-aarch32-low.c (arm_abi_breakpoint): Remove macro.  Moved
	to linux-aarch32-low.c.
	(arm_eabi_breakpoint, arm_breakpoint): Likewise.
	(arm_breakpoint_len, thumb_breakpoint): Likewise.
	(thumb_breakpoint_len, thumb2_breakpoint): Likewise.
	(thumb2_breakpoint_len): Likewise.
	(arm_is_thumb_mode): Make non-static.
	* linux-aarch32-low.h (arm_abi_breakpoint): New macro.  Moved
	from linux-aarch32-low.c.
	(arm_eabi_breakpoint, arm_breakpoint): Likewise.
	(arm_breakpoint_len, thumb_breakpoint): Likewise.
	(thumb_breakpoint_len, thumb2_breakpoint): Likewise.
	(thumb2_breakpoint_len): Likewise.
	(arm_is_thumb_mode): New declaration.
	* linux-arm-low.c: Include arch/arm-linux.h
	aarch/arm-get-next-pcs.h, sys/syscall.h.
	(get_next_pcs_ops): New struct.
	(get_next_pcs_addr_bits_remove): New function.
	(get_next_pcs_is_thumb): New function.
	(get_next_pcs_read_memory_unsigned_integer): Likewise.
	(arm_sigreturn_next_pc): Likewise.
	(get_next_pcs_syscall_next_pc): Likewise.
	(arm_gdbserver_get_next_pcs): Likewise.
	(struct linux_target_ops) <arm_gdbserver_get_next_pcs>:
	Initialize.
	* linux-low.h: Move CORE_ADDR vector definition to gdb_vecs.h.
	* server.h: Include gdb_vecs.h.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enable software single stepping for while-stepping actions in GDBServer
@ 2015-12-18 17:51 sergiodj+buildbot
  2015-12-18 19:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Enable conditional breakpoints for targets that support software single step in GDBServer
@ 2015-12-18 17:59 sergiodj+buildbot
  2015-12-18 20:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd2b290956e9a1931cf593b0f2cc934867da1d45 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: bd2b290956e9a1931cf593b0f2cc934867da1d45

Enable conditional breakpoints for targets that support software single step in GDBServer

This patch enables support for conditional breakpoints if the target supports
software single step.

This was disabled before as the implementations of software single step were too
simple as discussed in
https://sourceware.org/ml/gdb-patches/2015-04/msg01110.html.

Since these issues are now fixed support can be added back.

New tests passing :
PASS: gdb.base/cond-eval-mode.exp: set breakpoint condition-evaluation
target and related...

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/gdbserver/ChangeLog:

	* server.c (handle_query): Call target_supports_software_single_step.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add documentation to gdb_compile
@ 2015-12-18 18:50 sergiodj+buildbot
  2015-12-18 20:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-18 18:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aff9c0f8ab32e4f2f7ff9700afe84a61d23a08c6 ***

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

Add documentation to gdb_compile

This patch adds some documentation to gdb_compile.  It describes the
various options that can influence compilation.  Most of them are
handled by DejaGnu, but are not really documented anywhere, so I think
it's good to have a quick reference.  Not all possible options are
described, that would add way to much noise.  I chose those that I think
are relevant in the context of writing a test case.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (gdb_compile): Add function doc.


^ permalink raw reply	[flat|nested] 2163+ 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-18 21:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Make prompt_for_continue call throw_quit directly.
@ 2015-12-19  2:04 sergiodj+buildbot
  2015-12-19  2:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Reset pagination counts even when stdin is not a tty.
@ 2015-12-19  2:13 sergiodj+buildbot
  2015-12-19  2:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-19  2:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc008695f5f9c72d2eac80d5dc125659ca106fad ***

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

Reset pagination counts even when stdin is not a tty.

2015-12-18  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/
	* event-top.c (command_handler): Don't require stdin to be a tty
	for call to reinitialize_more_filter.
	* top.c (command_loop): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix ARI warning in gdb/arch/arm-get-next-pcs.c
@ 2015-12-19  3:44 sergiodj+buildbot
  2015-12-19  4:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove HP-UX reference in testsuite/configure.ac
@ 2015-12-20 15:11 sergiodj+buildbot
  2015-12-20 15:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  3:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use arm_eabi_breakpoint on aarch32
@ 2015-12-21 14:08 sergiodj+buildbot
  2015-12-21 14:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove references to HP CC/aCC compiler from testsuite
@ 2015-12-21 16:34 sergiodj+buildbot
  2015-12-21 17:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-21 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b6304613bf0bb1c188bed30eb3df6e3e154b4196 ***

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

Remove references to HP CC/aCC compiler from testsuite

The HP CC/aCC compiler is exclusive to HP-UX, for which support has been
explicitly removed.  Therefore, It does not make sense to keep tests
for these compilers' quirks.

gdb/testsuite/ChangeLog:

	* gdb.base/break.exp: Remove references to HP CC/aCC compilers.
	* gdb.base/call-ar-st.exp: Likewise.
	* gdb.base/callfuncs.exp: Likewise.
	* gdb.base/condbreak.exp: Likewise.
	* gdb.base/constvars.exp: Likewise.
	* gdb.base/hbreak2.exp: Likewise.
	* gdb.base/langs.exp: Likewise.
	* gdb.base/list.exp: Likewise.
	* gdb.base/long_long.exp: Likewise.
	* gdb.base/ptype.exp: Likewise.
	* gdb.base/scope.exp: Likewise.
	* gdb.base/signals.exp: Likewise.
	* gdb.base/so-impl-ld.exp: Likewise.
	* gdb.base/varargs.exp: Likewise.
	* gdb.base/volatile.exp: Likewise.
	* gdb.base/whatis.exp: Likewise.
	* gdb.cp/cplusfuncs.exp: Likewise.
	* gdb.cp/inherit.exp: Likewise.
	* gdb.cp/local.exp: Likewise.
	* gdb.cp/member-ptr.exp: Likewise.
	* gdb.cp/method.exp: Likewise.
	* gdb.cp/overload.exp: Likewise.
	* gdb.cp/templates.exp: Likewise.
	* gdb.stabs/weird.exp: Likewise.
	* lib/compiler.c: Likewise.
	* lib/compiler.cc: Likewise.
	* lib/cp-support.exp: Likewise.
	* lib/gdb.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove HP-UX references fom testsuite
@ 2015-12-21 18:02 sergiodj+buildbot
  2015-12-21 18:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove dead code in testsuite
@ 2015-12-21 19:50 sergiodj+buildbot
  2015-12-21 20:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-21 19:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10125099f09197b325c7e0e7f2af6d3c04f929a6 ***

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

Remove dead code in testsuite

This patch removes cases from the testsuite that are not posssibly used.  The
messages "Catch of * not yet implemented" were removed here:

https://www.sourceware.org/ml/gdb-patches/2004-01/msg00679.html

I changed the regexp at the same time to match the string more closely.

gdb/testsuite/ChangeLog:

	* gdb.base/break.exp: Remove dead code.
	* gdb.base/sepdebug.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for ARM's NOREAD section flag.
@ 2015-12-22 14:23 sergiodj+buildbot
  2015-12-22 14:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 14:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac4c9b0459fe89f2b84bf8b18a3bf86bf569b7d1 ***

Author: Mickael Guene <mickael.guene@st.com>
Branch: master
Commit: ac4c9b0459fe89f2b84bf8b18a3bf86bf569b7d1

Add support for ARM's NOREAD section flag.

include/elf
     * arm.h: Add arm SHF_ARM_NOREAD section flag.

bfd  * bfd-in2.h: Regenerate.
     * section.c: Add SEC_ELF_NOREAD.
     * elf32-arm.c (elf32_arm_post_process_headers): Only set
     PF_X attribute if a segment only contains section with
     SHF_ARM_NOREAD flag.
     (elf32_arm_fake_sections): Add SEC_ELF_NOREAD conversion.
     (elf32_arm_section_flags): New function to convert SHF_ARM_NOREAD
     to bfd flag.
     (elf32_arm_lookup_section_flags): New function to allow
     INPUT_SECTION_FLAGS directive with SHF_ARM_NOREAD flag.
     (elf32_arm_special_sections): Add special sections array
     to catch section prefix by '.text.noread' pattern.

ld/testsuite
     * ld-arm/arm-elf.exp: New tests.
     * ld-arm/thumb1-input-section-flag-match.d: New
     * ld-arm/thumb1-input-section-flag-match.s: New
     * ld-arm/thumb1-noread-not-present-mixing-two-section.d: New
     * ld-arm/thumb1-noread-not-present-mixing-two-section.s: New
     * ld-arm/thumb1-noread-present-one-section.d: New
     * ld-arm/thumb1-noread-present-one-section.s: New
     * ld-arm/thumb1-noread-present-two-section.d: New
     * ld-arm/thumb1-noread-present-two-section.s: New

binutils
	* readelf.c (get_elf_section_flags): Add support for ARM specific
	section flags.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] RXv2 support update
@ 2015-12-22 14:38 sergiodj+buildbot
  2015-12-22 15:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 15:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 16:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [lynxos] gdbserver hangs when killing inferior from GDB
@ 2015-12-22 15:50 sergiodj+buildbot
  2015-12-22 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4abd5ed2221c826bcb843794286777452de5c50b ***

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

[lynxos] gdbserver hangs when killing inferior from GDB

With any program under GDBserver control on LynxOS, killing
the program from the debugger (using the "kill" command) causes
GDBserver to properly kill the inferior but GDBserver then hangs.

This change of behavior occured after the following change was
applied:

    commit f0ea042932e6922c90df3fd0001497d287b97677
    Date:   Mon Nov 30 16:05:27 2015 +0000
    Subject: gdbserver: don't exit until GDB disconnects

One of the changes introduced by the commit above is that
process_serial_event no longer calls exit after handling
the vKill packet. Instead, what happens is that we wait
until captured_main finds that we no longer have any inferior
to debug, at which point it throws_quit. This (normal) exception
is then expected to propagate all the way to the exception handle
in function "main", which calls exit.

However, before the exception gets propagated, the cleanups
are first executed, and one of the cleanups in question is
detach_or_kill_for_exit_cleanup, which was put in place by
captured_main. detach_or_kill_for_exit_cleanup is basically
a wrapper around detach_or_kill_for_exit, which iterates
over all inferiors, and kills them all.

In our case, we have only one inferior, which we have already
killed during the handling for the "vKill" packet. Unfortunately,
we did not properly clean our internal data for that inferior up,
and so detach_or_kill_for_exit thinks that we still have one inferior,
and therefore tries to kill it. This results in lynx_kill being
called, doing the following:

    lynx_ptrace (PTRACE_KILL, ptid, 0, 0, 0);
    lynx_wait (ptid, &status, 0);
    the_target->mourn (process);

The hang is caused by the call to lynx_wait, which waits for
an event from a process which does not exist...

This patch fixes the issue by enhancing lynx_mourn to clean
the threads and process list up.

gdb/gdbserver/ChangeLog:

        * lynx-low.c (lynx_delete_thread_callback): New function.
        (lynx_mourn): Properly delete our process and all of its
        threads.  Remove call to clear_inferiors.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ARM: Fix exidx coverage for relocatable builds.
@ 2015-12-22 16:03 sergiodj+buildbot
  2015-12-22 17:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-22 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 491d01d3da18fb61fa6c7c61c091b4cb8c5773f7 ***

Author: Yury Usishchev <y.usishchev@samsung.com>
Branch: master
Commit: 491d01d3da18fb61fa6c7c61c091b4cb8c5773f7

ARM: Fix exidx coverage for relocatable builds.

bfd  * elf-bfd.h: Add callback to count additional relocations.
     * elf32-arm.c (_arm_elf_section_data): Add new counter.
     (insert_cantunwind_after): Increment relocations counter.
     (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
     terminating CANTUNWIND entry only in final builds.
     (elf32_arm_add_relocation): New function.
     (elf32_arm_write_section): Add relocations in relocatable builds.
     (elf32_arm_count_additional_relocs): New function.
     (elf_backend_count_additional_relocs): New define.
     * bfd/elflink.c (bfd_elf_final_link): Use callback and adjust size of
     .rel section.
     * bfd/elfxx-target.h (elf_backend_count_additional_relocs): New define.

ld   * emultempl/armelf.em (gld${EMULATION_NAME}_after_allocation): Call
     elf32_arm_fix_exidx_coverage for relocatable builds.

ld/testsuite
     * ld-arm/arm-elf.exp: New test.
     * ld-arm/unwind-rel.d: New file.
     * ld-arm/unwind-rel1.s: New file.
     * ld-arm/unwind-rel2.s: New file.
     * ld-arm/unwind-rel3.s: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove HP-UX reference in foll-vfork.exp
@ 2015-12-22 16:10 sergiodj+buildbot
  2015-12-22 17:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Consolidate Thumb-1/Thumb-2 ISA detection
@ 2015-12-24  9:44 sergiodj+buildbot
  2015-12-24 10:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add assembler support for ARMv8-M Mainline
@ 2015-12-24  9:52 sergiodj+buildbot
  2015-12-24 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-24  9:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ed7ed8db2289a9cd61312c14344cb210dc229b7 ***

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

Add assembler support for ARMv8-M Mainline

2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
    (tag_cpu_arch_combine): Adjust v4t_plus_v6_m and comb array to account
    for new TAG_CPU_ARCH_V4T_PLUS_V6_M value.  Deal with NULL values in
    comb array.

binutils/
    * readelf.c (arm_attr_tag_CPU_arch): Add ARMv8-M Mainline Tag_CPU_arch
    value.
    (arm_attr_tag_THUMB_ISA_use): Add ARMv8-M Mainline Tag_THUMB_ISA_use
    value.

gas/
    * config/tc-arm.c (arm_ext_m): Include ARMv8-M.
    (arm_ext_v8m): New feature for ARMv8-M.
    (arm_ext_atomics): New feature for ARMv8 atomics.
    (do_tt): New encoding function for TT* instructions.
    (insns): Add new entries for ARMv8-M specific instructions and
    reorganize the ones shared by ARMv8-M Mainline and ARMv8-A.
    (arm_archs): Define armv8-m.main architecture.
    (cpu_arch_ver): Define ARM_ARCH_V8M_MAIN architecture version and
    clarify the ordering rule.
    (aeabi_set_public_attributes): Use TAG_CPU_ARCH_* macro to refer to
    Tag_CPU_arch values for ARMv7e-M detection.  Add logic to keep setting
    Tag_CPU_arch to ARMv8-A for -march=all.  Also set Tag_CPU_arch_profile
    to 'A' if extension bit for atomic instructions is set, unless it is
    ARMv8-M.  Set Tag_THUMB_ISA_use to 3 for ARMv8-M.  Set Tag_DIV_use to 0
    for ARMv8-M Mainline.

gas/testsuite/
    * gas/arm/archv8m.s: New file.
    * gas/arm/archv8m-main.d: Likewise.
    * gas/arm/attr-march-armv8m.main.d: Likewise.
    * gas/arm/any-armv8m.s: Likewise.
    * gas/arm/any-armv8m.d: Likewise.

include/elf/
    * arm.h (TAG_CPU_ARCH_V8M_MAIN): Declare.
    (MAX_TAG_CPU_ARCH): Define to TAG_CPU_ARCH_V8M_MAIN.
    (TAG_CPU_ARCH_V4T_PLUS_V6_M): Define to unused value 15.

include/opcode/
    * arm.h (ARM_EXT2_ATOMICS): New extension bit.
    (ARM_EXT2_V8M): Likewise.
    (ARM_EXT_V8): Adjust comment with regards to atomics and remove
    mention of legacy use for that bit.
    (ARM_AEXT2_V8_1A): New architecture extension bitfield.
    (ARM_AEXT2_V8_2A): Likewise.
    (ARM_AEXT_V8M_MAIN): Likewise.
    (ARM_AEXT2_V8M): Likewise.
    (ARM_ARCH_V8A): Use ARM_EXT2_ATOMICS for features in second bitfield.
    (ARM_ARCH_V8_1A): Likewise with ARM_AEXT2_V8_1A.
    (ARM_ARCH_V8_2A): Likewise with ARM_AEXT2_V8_2A.
    (ARM_ARCH_V8M_MAIN): New architecture feature bitfield.
    (ARM_ARCH_V8A_FP): Use ARM_EXT2_ATOMICS for features in second bitfield
    and reindent.
    (ARM_ARCH_V8A_SIMD): Likewise.
    (ARM_ARCH_V8A_CRYPTOV1): Likewise.
    (ARM_ARCH_V8_1A_FP): Use ARM_AEXT2_V8_1A to set second bitfield of
    feature bits.
    (ARM_ARCH_V8_1A_SIMD): Likewise.
    (ARM_ARCH_V8_1A_CRYPTOV1): Likewise.

opcodes/
    * arm-dis.c (arm_opcodes): Guard lda, ldab, ldaex, ldaexb, ldaexh, stl,
    stlb, stlh, stlex, stlexb and stlexh by ARM_EXT2_ATOMICS instead of
    ARM_EXT_V8.
    (thumb32_opcodes): Add entries for wide ARMv8-M instructions.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for linking ARMv8-M object files
@ 2015-12-24 10:08 sergiodj+buildbot
  2015-12-24 11:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-24 10:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2fd158eb7bd4059478086143dd58edcc5ea44864 ***

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

Add support for linking ARMv8-M object files

2015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
    * elf32-arm.c (using_thumb_only): Check that profile is 'M' and update
    logic around Tag_CPU_arch values to return TRUE for ARMv8-M
    architectures.
    (tag_cpu_arch_combine): Define v8m_baseline and v8m_mainline and update
    v4t_plus_v6_m and comb to deal with ARMv8-M Tag_CPU_arch merging logic.
    (elf32_arm_merge_eabi_attributes): Add Tag_CPU_name values for
    ARMv8-M.

bfd/testsuite/
    * ld-arm/arm-elf.exp (armeabitests_common): Run new tests
    "Thumb-Thumb farcall v8-M", "EABI attribute merging 8",
    "EABI attribute merging 9" and "EABI attribute merging 10".
    (Thumb-Thumb farcall v8-M): Renamed to ...
    (Thumb-Thumb farcall v8-M Mainline): This.
    (Thumb-Thumb farcall v8-M Baseline): New test.
    * ld-arm/attr-merge-8a.s: New file.
    * ld-arm/attr-merge-8b.s: Likewise.
    * ld-arm/attr-merge-8.attr: Likewise.
    * ld-arm/attr-merge-9a.s: Likewise.
    * ld-arm/attr-merge-9b.s: Likewise.
    * ld-arm/attr-merge-9.out: Likewise.
    * ld-arm/attr-merge-10a.s: Likewise.
    * ld-arm/attr-merge-10b.s: Likewise.
    * ld-arm/attr-merge-10.attr: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add assembler support for ARMv8-M Baseline
@ 2015-12-24 10:35 sergiodj+buildbot
  2015-12-24 10:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: delete SIM_HAVE_SIMCACHE
@ 2015-12-25  0:34 sergiodj+buildbot
  2015-12-25  0:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: delete SIM_HAVE_MEM_SIZE
@ 2015-12-25  1:00 sergiodj+buildbot
  2015-12-25  1:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: delete SIM_HAVE_FLATMEM support
@ 2015-12-25  1:25 sergiodj+buildbot
  2015-12-25  1:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3cabaf66d6ec7343bd3badc5c44c2ddd06221913 ***

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

sim: delete SIM_HAVE_FLATMEM support

No target has used this, and it's a cheap hack in place in using the
common memory module.  We want everyone using that though, so drop
support for flatmem entirely.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: enable watchpoint module everywhere
@ 2015-12-25  1:42 sergiodj+buildbot
  2015-12-25  2:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  2:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: delete old breakpoint code
@ 2015-12-25  2:16 sergiodj+buildbot
  2015-12-25  3:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: cris: move option install to sim_open
@ 2015-12-25  2:24 sergiodj+buildbot
  2015-12-25  3:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: make LMA loading the default for all targets
@ 2015-12-25  3:20 sergiodj+buildbot
  2015-12-25  3:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-25  3:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 269362117d399d9d86b7e565e7cb827500fac31c ***

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

sim: make LMA loading the default for all targets

Most targets already default to loading code via their LMA, but for
a few, this means the default changes from loading VMA to LMA.  It's
better to have the different targets be consistent, and allows some
code clean up.


^ permalink raw reply	[flat|nested] 2163+ 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  4:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: mips: delete TARGET_TX3904 define
@ 2015-12-25  3:50 sergiodj+buildbot
  2015-12-25  5:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: dv-pal: always use CPU_INDEX
@ 2015-12-25  5:23 sergiodj+buildbot
  2015-12-25  7:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: always enable callback memory
@ 2015-12-25  5:41 sergiodj+buildbot
  2015-12-25  7:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: device_error: punt
@ 2015-12-25  7:29 sergiodj+buildbot
  2015-12-25  8:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: move WITH_SCACHE_PBB to sim-main.h
@ 2015-12-25  7:53 sergiodj+buildbot
  2015-12-25  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: arm: delete unused code
@ 2015-12-25  8:19 sergiodj+buildbot
  2015-12-25  9:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: move MACH/MODEL types into SIM_xxx namespace
@ 2015-12-25  9:35 sergiodj+buildbot
  2015-12-25 10:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: sim-model: build for everyone
@ 2015-12-25  9:58 sergiodj+buildbot
  2015-12-25 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: drop WITH_ENGINE define
@ 2015-12-25 10:01 sergiodj+buildbot
  2015-12-25 10:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: hw-properties: delete trace calls
@ 2015-12-25 10:59 sergiodj+buildbot
  2015-12-25 11:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 10:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49aef5a5b8873b80f43ca79edd5755d28cab53b3 ***

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

sim: hw-properties: delete trace calls

These trace calls don't seem to add anything useful and break the cris
hw tests, so punt them.  They were disabled before commit 6d519a4606b9
but were re-enabled as part of TRACE macro cleanups.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: cris: set up sane default path to rvdummy
@ 2015-12-25 11:20 sergiodj+buildbot
  2015-12-25 12:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: cris: clean up rvdummy a bit
@ 2015-12-25 11:46 sergiodj+buildbot
  2015-12-25 12:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: cris: migrate from WITH_DEVICES to WITH_HW
@ 2015-12-25 12:14 sergiodj+buildbot
  2015-12-25 13:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: m32r: migrate from WITH_DEVICES to WITH_HW
@ 2015-12-25 18:20 sergiodj+buildbot
  2015-12-25 18:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-25 18:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c0c156bb7ddca2d3fce7bea96631715f8c67390 ***

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

sim: m32r: migrate from WITH_DEVICES to WITH_HW

The m32r port was using the device framework to handle two devices: the
cache and uart registers.  Both can be implemented in the newer hardware
framework instead which allows us to drop the device logic entirely, as
well as delete the tconfig.h file.

While creating the new uart device model, I also added support for using
stdin to read/write data rather than only supporting sockets.

This has been lightly tested as there doesn't appear to be test coverage
for the code already.  If anyone still cares about this port, then they
should (hopefully) file bug reports.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: frv: punt WITH_DEVICE support
@ 2015-12-25 18:35 sergiodj+buildbot
  2015-12-25 19:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Document that the PATTERN argument to gdb_test is optional.
@ 2015-12-25 19:47 sergiodj+buildbot
  2015-12-25 20:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: standardize sim_create_inferior handling of argv a bit more
@ 2015-12-26 12:29 sergiodj+buildbot
  2015-12-26 12:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-26 12:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e9672991e9346d5c2cb9cd33e30fb3e573f88b8 ***

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

sim: standardize sim_create_inferior handling of argv a bit more

For targets that process argv in sim_create_inferior, improve the code:
- provide more details in the comment
- make the check for when to re-init more robust
- clean out legacy sim_copy_argv code

This will be cleaned up more in the future when we have a common inferior
creation function, but at least help new ports get it right until then.


^ permalink raw reply	[flat|nested] 2163+ 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 14:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 17:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: sim-core: pass down cpu to hw accesses when available
@ 2015-12-26 19:56 sergiodj+buildbot
  2015-12-26 20:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-26 19:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dea10706e9159ba6e94eab4c25010f3006d033a0 ***

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

sim: sim-core: pass down cpu to hw accesses when available

The bfin port has been using the device callback largely so it could be
passed the cpu when available.  Add this logic to the common core code
so all ports get access to the active cpu.

The semantics of these buffer functions are changed slightly in that
errors halt the engine synchronously rather than returning the length
to the caller.  We'll probably adjust this in a follow up commit.

The bfin code isn't updated just yet as it has a bit more logic in the
device layer that needs to be unwound at which point we can delete it
entirely.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: bfin: avoid stack error under asan
@ 2015-12-26 23:35 sergiodj+buildbot
  2015-12-26 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: bfin: push down mmr address/size checks
@ 2015-12-27  0:20 sergiodj+buildbot
  2015-12-27  0:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: punt WITH_DEVICES & tconfig.h support
@ 2015-12-27  1:50 sergiodj+buildbot
  2015-12-27  2:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-27  1:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b393626cef48974502e7077b191555b56680ee6 ***

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

sim: punt WITH_DEVICES & tconfig.h support

No arch is using this anymore, and we want all new ports using the
hardware framework instead.  Punt WITH_DEVICES and the two callbacks
device_io_{read,write}_buffer.

We can also punt the tconfig.h file as no port is using it anymore.
This fixes in-tree builds that get confused by picking up the wrong
one (common/ vs <port>/) caused by commit ae7d0cac8ce971f7108d270c.

Any port that needs to set up a global define can use their own
sim-main.h file that they must provide regardless.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: unify sim-hload
@ 2015-12-27  6:09 sergiodj+buildbot
  2015-12-27  7:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: aarch64/msp430: fix disassembler usage
@ 2015-12-27  6:56 sergiodj+buildbot
  2015-12-27  8:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-27  6:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d01527536684c75235f2ed288b11d253572b570 ***

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

sim: aarch64/msp430: fix disassembler usage

The disasm framework reserves the private_data field for the disassemblers
themselves, not for people who use the disassembler.  Instead, there is an
application_data field for callers such as the sim.  Switch to it to avoid
random corruption/crashes when the disassemblers use private_data.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Correct nios2 _gp address computation.
@ 2015-12-27 20:41 sergiodj+buildbot
  2015-12-27 21:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use libiberty's crc32 implementation in gdbserver
@ 2015-12-28 16:31 sergiodj+buildbot
  2015-12-28 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: ppc: track closed state of file descriptors 0, 1, and 2.
@ 2015-12-30  0:30 sergiodj+buildbot
  2015-12-30  1:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-30  0:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90d99f327063af7d87c61234896d4a1dbe073a43 ***

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

sim: ppc: track closed state of file descriptors 0, 1, and 2.

This change tracks the "closed" state of file descriptors 0, 1, and 2,
introducing the function fdbad() to emul_netbsd.c and emul_unix.c.
Note that a function of the same name and purpose exists in
sim/common/callback.c.

This patch eliminates all of the "unresolved testcases" when testing
GDB against the powerpc simulator.

This occurs because the powerpc simulator closes, on behalf of the
testcase, the file descriptors associated with stdin, stdout, and
stderr.  GDB still needs these descriptors to communicate with the
user or, in this case, with the testing framework.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: h8300: drop unused inst.h
@ 2015-12-30  8:41 sergiodj+buildbot
  2015-12-30  9:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: arm/d10v/h8300/m68hc11/microblaze/mips/mn10300/moxie/sh/v850: convert to common sim_{fetch, store}_register
@ 2015-12-30  8:57 sergiodj+buildbot
  2015-12-30 10:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-30  8:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e1211e55062594679697d2175b7ea77dad173823 ***

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

sim: arm/d10v/h8300/m68hc11/microblaze/mips/mn10300/moxie/sh/v850: convert to common sim_{fetch,store}_register


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: h8300: move unused/buggy lregs array
@ 2015-12-30  9:04 sergiodj+buildbot
  2015-12-30  9:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: simplify STATE_MY_NAME setup
@ 2015-12-30  9:52 sergiodj+buildbot
  2015-12-30 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: h8300: move default endian/alignment to configure
@ 2015-12-30 10:32 sergiodj+buildbot
  2015-12-30 10:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: h8300: switch to common sim-resume
@ 2015-12-30 10:40 sergiodj+buildbot
  2015-12-30 11:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: h8300: simplify h8300_reg_{fetch,store} funcs
@ 2015-12-30 11:14 sergiodj+buildbot
  2015-12-30 11:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2015-12-30 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2a2757ac7e849aa35fc519ddfcc8688a46b60448 ***

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

sim: h8300: simplify h8300_reg_{fetch,store} funcs

We can leverage the cpu->regs array rather than going through the
function helpers to get nice compact code.

Further, fix up the return values: return -1 when we can't find a
register (and let the caller write out warnings), return 2/4 when
we actually write out that amount, and handle the zero reg.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: h8300: inline sim_state_initialize
@ 2015-12-30 11:24 sergiodj+buildbot
  2015-12-30 12:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: cris/m68hc11: move default endian/alignment to configure
@ 2015-12-31  2:11 sergiodj+buildbot
  2015-12-31  2:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: m68hc11: fix default endian
@ 2015-12-31  4:59 sergiodj+buildbot
  2015-12-31  5:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] opcodes/arc: Support dmb instruction with no operands
@ 2015-12-31 22:08 sergiodj+buildbot
  2015-12-31 22:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Rotate the GDB ChangeLog
@ 2016-01-01  4:32 sergiodj+buildbot
  2016-01-01  5:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-01  4:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f7b3ef4dc9e4abf0bd85bb759f620c6302dfacf ***

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

Rotate the GDB ChangeLog

Per GDB the "Start of New Year Procedure", this patch
  - renames the current ChangeLog into ChangeLog-2015;
  - starts a new ChangeLog file.

gdb/ChangeLog:

        * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2015.


^ permalink raw reply	[flat|nested] 2163+ 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] GDB copyright headers update after running GDB's copyright.py script.
@ 2016-01-01  4:56 sergiodj+buildbot
  2016-01-01  7:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-01  4:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 618f726fcb851883a0094aa7fa17003889b7189f ***

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

GDB copyright headers update after running GDB's copyright.py script.

gdb/ChangeLog:

        Update year range in copyright notice of all files.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Copyright update for binutils
@ 2016-01-01 12:44 sergiodj+buildbot
  2016-01-01 13:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-01 12:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1 ***

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

Copyright update for binutils


^ permalink raw reply	[flat|nested] 2163+ 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:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: ppc: drop unnecessary sim file check
@ 2016-01-02  8:58 sergiodj+buildbot
  2016-01-02  9:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-02  8:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 32273fe68f3d1288b2eef6b96beda3732d0ac25e ***

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

gdb: ppc: drop unnecessary sim file check

We don't do this for other ppc targets in this file (we assume the sim
subdir exists), and it has existed for over a decade at this point.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: delete dead current_state globals
@ 2016-01-02 15:38 sergiodj+buildbot
  2016-01-02 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: iq2000/m32r/lm32/sh64: delete dead option code
@ 2016-01-02 16:02 sergiodj+buildbot
  2016-01-02 16:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-02 16:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 027e73b217ec5ed334015b5484ff8d281258b6bb ***

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

sim: iq2000/m32r/lm32/sh64: delete dead option code

The iq2000/m32r/sh64 option parsing logic appears to have always been
dead.  At least iq2000/sh64 are simply copy & paste rot from m32r.

The lm32 option parsing hack here hasn't been needed for a while -- this
was fixed back in commit 11409fac6b95d71a92848a4499b02d60a4f4c5bb in the
common code.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: cris: use standard output helpers
@ 2016-01-02 19:11 sergiodj+buildbot
  2016-01-02 19:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: convert to bfd_endian
@ 2016-01-03  5:29 sergiodj+buildbot
  2016-01-03  6:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: drop host endian configure option
@ 2016-01-03  6:05 sergiodj+buildbot
  2016-01-03  7:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: nrun: use lbasename
@ 2016-01-03  9:17 sergiodj+buildbot
  2016-01-03  9:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: use libiberty countargv in more places
@ 2016-01-03  9:29 sergiodj+buildbot
  2016-01-03 10:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: clean up some more device detritus
@ 2016-01-03  9:56 sergiodj+buildbot
  2016-01-03 10:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-03  9:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 61971b86bb897dc333fccffb7518056c83b99f45 ***

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

sim: clean up some more device detritus

Clean up some more remains of WITH_DEVICES that escaped notice.

We also clean up GETTWI/SETTWI defines in a few ports where they
were copied & pasted and are unused as they happen to be near the
device code.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: TODO: move to wiki
@ 2016-01-04  1:04 sergiodj+buildbot
  2016-01-04  1:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: parse_args: display getopt error ourselves
@ 2016-01-04  3:17 sergiodj+buildbot
  2016-01-04  3:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] btrace: do not return out of TRY/CATCH
@ 2016-01-04  8:52 sergiodj+buildbot
  2016-01-04  9:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: d10v: gut endian logic
@ 2016-01-04 10:17 sergiodj+buildbot
  2016-01-04 10:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: punt x86-specific bswap logic
@ 2016-01-04 10:45 sergiodj+buildbot
  2016-01-04 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-04 10:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bbf6f91c6e85ca916ec2c266009167f20f5ecfd ***

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

sim: punt x86-specific bswap logic

The compiler/C library should produce reasonable code for htonl/ntohl,
and at least glibc tries pretty hard to always produce good code for
them.  This logic only had support for 32-bit x86 systems anymore, and
it's unlikely people were even opting into this, so drop it all.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: parse_args: polish getopt error message
@ 2016-01-04 11:04 sergiodj+buildbot
  2016-01-04 11:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: msp430: switch to common disassembler tracing
@ 2016-01-05 20:31 sergiodj+buildbot
  2016-01-05 20:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 20:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70d394483206f5afe911fa21c8456b852c12da74 ***

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

sim: msp430: switch to common disassembler tracing

The output format is a bit different, but the new form matches all the
other trace lines.  Otherwise, it should be functionally equivalent.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: bfin: add support disasm tracing
@ 2016-01-05 20:39 sergiodj+buildbot
  2016-01-05 21:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 20:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 824c862804128f6d31ae5f80fb741d12419da943 ***

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

sim: bfin: add support disasm tracing


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: aarch64: switch to common disassembler tracing
@ 2016-01-05 21:02 sergiodj+buildbot
  2016-01-05 21:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 21:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a846c62626357f9e966ef50917dca3a357c9644 ***

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

sim: aarch64: switch to common disassembler tracing

The output should largely be the same.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: msp430: drop duplicate sim_load_file call
@ 2016-01-05 21:27 sergiodj+buildbot
  2016-01-05 22:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: score: drop sim file check
@ 2016-01-05 22:13 sergiodj+buildbot
  2016-01-05 22:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] libiberty: fix warnings about left shifting a negative value.
@ 2016-01-05 22:21 sergiodj+buildbot
  2016-01-05 23:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] libiberty: Tweak the documentation of libiberty's xcrc32 function
@ 2016-01-05 22:29 sergiodj+buildbot
  2016-01-05 23:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 22:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bec0ef03e91506caf60d8842786b29c2d2ff049 ***

Author: Patrick Palka <patrick@parcs.ath.cx>
Branch: master
Commit: 4bec0ef03e91506caf60d8842786b29c2d2ff049

libiberty: Tweak the documentation of libiberty's xcrc32 function

In some places the xcrc32 documentation refers to GDB's own crc32
implementation, but GDB no longer has its own crc32 implementation.
It now uses libiberty's xcrc32 throughout.  So this patch removes
these references to GDB's now-nonexistent crc32 implementation.

Also, there appears to be a bug in the table-generation program embedded
within the documentation.  When the variable "int i" is >= 128, the
computation "i << 24" shifts a one bit into the sign bit (assuming a
32-bit int), which is UB.  To avoid this UB, I think it is sufficient to
make the induction variables i and j have type unsigned int.  This bug
seems latent, however.  I ran the program before and after this change
and the table output is the same.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] libiberty: {count, dup, write}argv: constify argv input slightly
@ 2016-01-05 23:03 sergiodj+buildbot
  2016-01-06  0:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 23:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b36c1ccb1feb678f7279b4a8d66c0125d4295078 ***

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

libiberty: {count,dup,write}argv: constify argv input slightly

Would be more useful if we could use "const char * const *", but there's
a long standing bug where gcc warns about incompatible pointers when you
try to pass in "char **".  We can at least constify the array itself as
gcc will not warn in that case.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] libiberty: dupargv: rewrite to use xstrdup
@ 2016-01-05 23:23 sergiodj+buildbot
  2016-01-06  0:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-05 23:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 203217665139943a4f0d1797b9a5f913b3acf184 ***

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

libiberty: dupargv: rewrite to use xstrdup

This func is basically open coding the xstrdup function, so gut it
and use it directly.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: change version stamp to git
@ 2016-01-06  4:40 sergiodj+buildbot
  2016-01-06  5:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  6:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdb.python/py-infthread.exp test message typo
@ 2016-01-06 11:46 sergiodj+buildbot
  2016-01-06 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-06 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 79bc59cb349fdbb8d3fa81804eb121af3c340c22 ***

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

Fix gdb.python/py-infthread.exp test message typo

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

	* gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] bfd/arc: Add R_ prefix to all relocation names
@ 2016-01-06 14:28 sergiodj+buildbot
  2016-01-06 14:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-06 14:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b05a65d0adb340e4129f62c1d380a09935ee433d ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: b05a65d0adb340e4129f62c1d380a09935ee433d

bfd/arc: Add R_ prefix to all relocation names

The convention within for relocation names is that they start with the
string "R_", however, this is not so for ARC for the display names of
relocations, however, internally, the names for the relocations types do
have the 'R_' prefix.  I suspect that the missing 'R_' on the output
strings was an oversight, as I can't see any comment to the contrary.

To bring ARC into line with other targets, this commit adds the 'R_'
prefix to the output strings used for relocation names, and updates all
of the assembler tests where this was exposed.

bfd/ChangeLog:

	* elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
	place 'R_' before the reloc name returned.
	(elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
	the relocation string.

gas/ChangeLog:

	* testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
	* testsuite/gas/arc/add.d: Likewise.
	* testsuite/gas/arc/and.d: Likewise.
	* testsuite/gas/arc/asl.d: Likewise.
	* testsuite/gas/arc/asr.d: Likewise.
	* testsuite/gas/arc/bic.d: Likewise.
	* testsuite/gas/arc/extb.d: Likewise.
	* testsuite/gas/arc/extw.d: Likewise.
	* testsuite/gas/arc/j.d: Likewise.
	* testsuite/gas/arc/jl.d: Likewise.
	* testsuite/gas/arc/ld2.d: Likewise.
	* testsuite/gas/arc/lsr.d: Likewise.
	* testsuite/gas/arc/mov.d: Likewise.
	* testsuite/gas/arc/or.d: Likewise.
	* testsuite/gas/arc/pcl-relocs.d: Likewise.
	* testsuite/gas/arc/pcrel-relocs.d: Likewise.
	* testsuite/gas/arc/pic-relocs.d: Likewise.
	* testsuite/gas/arc/plt-relocs.d: Likewise.
	* testsuite/gas/arc/rlc.d: Likewise.
	* testsuite/gas/arc/ror.d: Likewise.
	* testsuite/gas/arc/rrc.d: Likewise.
	* testsuite/gas/arc/sbc.d: Likewise.
	* testsuite/gas/arc/sda-relocs.d: Likewise.
	* testsuite/gas/arc/sda-relocs2.d: Likewise.
	* testsuite/gas/arc/sexb.d: Likewise.
	* testsuite/gas/arc/sexw.d: Likewise.
	* testsuite/gas/arc/st.d: Likewise.
	* testsuite/gas/arc/sub.d: Likewise.
	* testsuite/gas/arc/tls-relocs.d: Likewise.
	* testsuite/gas/arc/xor.d: Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Make {arm,thumb}_get_next_pcs_raw static
@ 2016-01-06 15:34 sergiodj+buildbot
  2016-01-06 15:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: config: drop use of __DATE__/__TIME__
@ 2016-01-07  3:07 sergiodj+buildbot
  2016-01-07  3:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] MIPS: Complete `status' to `err' renaming in `mips_breakpoint_from_pc'
@ 2016-01-07 19:37 sergiodj+buildbot
  2016-01-07 20:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-07 19:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5dd0563088b3ca9f5fd66daa0ffe823b60e4b92e ***

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

MIPS: Complete `status' to `err' renaming in `mips_breakpoint_from_pc'

Complement commit d09f2c3f [target_read_memory&co: no longer return
target_xfer_status] and apply the same change made to the big-endian leg
of the function to the little-endian leg as well.

	gdb/
	* mips-tdep.c (mips_breakpoint_from_pc): Rename local `status'
	to `err' in the little-endian leg.


^ permalink raw reply	[flat|nested] 2163+ 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:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] m68k: fix constraints of move.[bw] for ISA_B/C
@ 2016-01-08 10:52 sergiodj+buildbot
  2016-01-08 11:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-08 10:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 83c3256ef5afe10625fd55dda2df5fc56b9b7393 ***

Author: Andreas Schwab <schwab@linux-m68k.org>
Branch: master
Commit: 83c3256ef5afe10625fd55dda2df5fc56b9b7393

m68k: fix constraints of move.[bw] for ISA_B/C

For ISA_B/C only the combination #,d(An) is allowed in addition to the
ISA_A combinations for move.b and move.w (and pc-relative is never
allowed as destination).

opcodes/
	PR gas/13050
	* m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
	addition to ISA_A.

gas/
	PR gas/13050
	* testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
	* testsuite/gas/m68k/p13050-1.s: New file.
	* testsuite/gas/m68k/p13050-2.d: New file.
	* testsuite/gas/m68k/p13050-2.s: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check input interrupt first when reading packet
@ 2016-01-08 11:16 sergiodj+buildbot
  2016-01-08 11:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-08 11:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a0dd67a459338efb77f8d82bb3650d801ff0dd5 ***

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

Check input interrupt first when reading packet

Hi,
I see timeout in one of several runs of random-signal.exp like this,

 $ (set -e; while true; do make check RUNTESTFLAGS="--target_board=native-gdbserver random-signal.exp"; done)

In about every five runs, we can see a fail,

PASS: gdb.base/random-signal.exp: continue
^CFAIL: gdb.base/random-signal.exp: stop with control-c (timeout)

after some investigation, I find '\003' may be discarded by GDBserver when
it is expecting '$'.  In GDB side, both normal packets and '\003' are sent
via function send, but GDBserver may receive them at any time, that is to
say, in the receive buffer in GDBserver, '\003' may appear before or after
normal packet.  However, current GDBserver doesn't handle this case.

With this patch applied, I don't see this fail in multiple runs.
Although there is still timeout fail, that is a different problem, the
next patch will fix it.

gdb/gdbserver:

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

	* remote-utils.c (getpkt): If c is '\003', call target hook
	request_interrupt.


^ permalink raw reply	[flat|nested] 2163+ 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 12:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] perf testsuite: python 3 fixes
@ 2016-01-08 15:34 sergiodj+buildbot
  2016-01-08 15:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdb.multi/base.exp testsuite regression
@ 2016-01-08 19:16 sergiodj+buildbot
  2016-01-08 19:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-08 19:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6cfc1fcb515d1ecd8445905b4749b81b3ca69552 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 6cfc1fcb515d1ecd8445905b4749b81b3ca69552

Fix gdb.multi/base.exp testsuite regression

Regressed by:

commit 762f774785f4ef878ac4c831e1f4733dc957234d
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Dec 10 16:21:06 2015 +0000
    Stop using nowarnings in gdb/testsuite/gdb.multi/

+gdb compile failed, gdb/testsuite/gdb.multi/hello.c: In function 'commonfun':
+gdb/testsuite/gdb.multi/hello.c:24:19: warning: implicit declaration of function 'bar' [-Wimplicit-function-declaration]
+ int commonfun() { bar(); } /* from hello */
+                   ^
+gdb/testsuite/gdb.multi/hello.c: At top level:
+gdb/testsuite/gdb.multi/hello.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int]
+ bar()
+ ^
+gdb/testsuite/gdb.multi/hello.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int]
+ hello(int x)
+ ^
+gdb/testsuite/gdb.multi/hello.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int]
+ main()
+ ^
+UNTESTED: gdb.multi/base.exp: base.exp

gdb/testsuite/ChangeLog
2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.multi/goodbye.c: Fix compilation warnings by adding return types
	and reordering the functions.
	* gdb.multi/hangout.c: Likewise.
	* gdb.multi/hello.c: Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: stop configuring common subdir
@ 2016-01-09  9:24 sergiodj+buildbot
  2016-01-09  9:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-09  9:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5295724cdc94a09713b021728b02163dad128e9e ***

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

sim: stop configuring common subdir

Now that cconfig.h doesn't exist, there's no need to build in the common
subdir anymore.  We leave the configure/Makefile files in there as there
is a helper for developers to generate the nltvals.def file.  Once that
gets cleaned up in the future though, we can drop the build logic too.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: drop --enable-sim-cflags option
@ 2016-01-10  8:17 sergiodj+buildbot
  2016-01-10  8:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-10  8:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab ***

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

sim: drop --enable-sim-cflags option

No other sub directory provides such a configuration option, so
drop it from the sim dir as well.  This cleans up a good bit of
code in the process.

If people want to use custom flags for just the sim, they can
still run configure+make by hand in the sim subdir and use the
normal CFLAGS settings.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: drop --enable-sim-{regparm,stdcall} options
@ 2016-01-10  8:33 sergiodj+buildbot
  2016-01-10  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-10  8:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4 ***

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

sim: drop --enable-sim-{regparm,stdcall} options

These options were never exposed for most sims (just the ppc one),
and they are really only useful on 32-bit x86 systems.  Considering
modern systems tend to be 64-bit x86_64 and how well modern compilers
are at optimizing code, these have outlived their usefulness.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: allow the inline configure option everywhere
@ 2016-01-10  8:51 sergiodj+buildbot
  2016-01-10  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: mips: drop SIM_AC_OPTION_SMP call
@ 2016-01-10  8:59 sergiodj+buildbot
  2016-01-10 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: drop targ-vals.def->nltvals.def indirection
@ 2016-01-10  9:12 sergiodj+buildbot
  2016-01-10 10:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: allow the assert configure option everywhere
@ 2016-01-10 22:20 sergiodj+buildbot
  2016-01-10 22:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-10 22:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35656e95217a20309c0a0f16bf0c89a49a549177 ***

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

sim: allow the assert configure option everywhere

Currently ports have to call SIM_AC_OPTION_ASSERT explicitly in order
to make the configure flag available, which none of them do.  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.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sim: allow the environment configure option everywhere
@ 2016-01-10 22:28 sergiodj+buildbot
  2016-01-10 23:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: drop unused SIM_AC_OPTION_PACKAGES
@ 2016-01-10 23:15 sergiodj+buildbot
  2016-01-10 23:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  0:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: config: do not try to align settings
@ 2016-01-11  6:11 sergiodj+buildbot
  2016-01-11  7:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-11  6:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34ac507d94ea4af59f931b26e66e7721c967f55c ***

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

sim: config: do not try to align settings

We try to align the output for a few settings, but not most of them.
Drop the aligning entirely to be lazy.


^ permalink raw reply	[flat|nested] 2163+ 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 11:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: split out warnings helpers
@ 2016-01-11 19:13 sergiodj+buildbot
  2016-01-11 19:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 19:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b835bb5265d614fd8a4759f284b987b365292c36 ***

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

gdb: split out warnings helpers

This will allow the sim tree to use the same set of warnings.
The new code in warning.m4 is exactly the same (other than the
AC_DEFUN wrapping).


^ permalink raw reply	[flat|nested] 2163+ 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:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Regression for foll-vfork.exp
@ 2016-01-11 21:25 sergiodj+buildbot
  2016-01-11 22:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: i386 regression for funcargs.exp
@ 2016-01-11 21:31 sergiodj+buildbot
  2016-01-11 22:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-11 21:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01d8c27e4f77375c0e157d115266129b76ff6734 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 01d8c27e4f77375c0e157d115266129b76ff6734

testsuite: i386 regression for funcargs.exp

3ca22649a6dfeb71058c33be4d0542b98f1f0ff5 is the first bad commit
commit 3ca22649a6dfeb71058c33be4d0542b98f1f0ff5
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Mon Dec 21 12:51:54 2015 -0500
    Remove HP-UX references fom testsuite
@@ -1013,13 +1013,6 @@ proc localvars_in_indirect_call { } {
     #

     gdb_test_multiple "finish" "finish from indirectly called function" {
-       -re "\\(\\*pointer_to_call0a\\) \\(c, s, i, l\\);.*First.*$gdb_prompt $" {
-           #On hppa2.0w-hp-hpux11.00, gdb finishes at one line earlier than
-           #hppa1.1-hp-hpux11.00. Therefore, an extra "step" is necessary
-           #to continue the test.
-           send_gdb "step\n"
-           exp_continue
-	}
        -re ".*\\(\\*pointer_to_call0a\\) \\(c, s, i, l\\);.*Second.*$gdb_prompt $" {
            pass "finish from indirectly called function"
       	}

->

 finish^M
 Run till exit from #0  call0a (c=97 'a', s=1, i=2, l=3) at ./gdb.base/funcargs.c:82^M
 0x0804a189 in main () at ./gdb.base/funcargs.c:583^M
 583	  (*pointer_to_call0a) (c, s, i, l);    /* First step into call0a.  */^M
-(gdb) step^M
-584	  (*pointer_to_call0a) (c, s, i, l);    /* Second step into call0a.  */^M
-(gdb) PASS: gdb.base/funcargs.exp: finish from indirectly called function
+(gdb) FAIL: gdb.base/funcargs.exp: finish from indirectly called function
 step^M
-call0a (c=97 'a', s=1, i=2, l=3) at ./gdb.base/funcargs.c:82^M
-82	  c = 'a';^M
-(gdb) PASS: gdb.base/funcargs.exp: stepping into indirectly called function
+584	  (*pointer_to_call0a) (c, s, i, l);    /* Second step into call0a.  */^M
+(gdb) FAIL: gdb.base/funcargs.exp: stepping into indirectly called function

At least on x86_64 with testsuite in -m32 (expecting native i386 would be the
same).

Pedro Alves:

The difference is that with newer GCC there's an extra instruction
after the call which is still assigned to line 583:

$ diff -up /tmp/4.8.3 /tmp/6.0.0 -U 1000
--- /tmp/4.8.3  2016-01-11 12:37:39.611089156 +0000
+++ /tmp/6.0.0  2016-01-11 13:21:00.021127976 +0000
@@ -1,27 +1,30 @@
 583       (*pointer_to_call0a) (c, s, i, l);    /* First step into call0a.  */
    mov    0x804d060,%ebx
    mov    0x804d050,%ecx
    movzwl 0x804d040,%eax
    movswl %ax,%edx
    movzbl 0x804d030,%eax
    movsbl %al,%eax
-   mov    %ebx,0xc(%esp)
-   mov    %ecx,0x8(%esp)
-   mov    %edx,0x4(%esp)
-   mov    %eax,(%esp)
-   mov    0x7c(%esp),%eax
+   push   %ebx
+   push   %ecx
+   push   %edx
+   push   %eax
+   mov    -0x1c(%ebp),%eax
    call   *%eax
+   add    $0x10,%esp

 584	   (*pointer_to_call0a) (c, s, i, l);    /* Second step into call0a.  */
    mov    0x804d060,%ebx
    mov    0x804d050,%ecx
    movzwl 0x804d040,%eax
    movswl %ax,%edx
    movzbl 0x804d030,%eax
    movsbl %al,%eax
-   mov    %ebx,0xc(%esp)
-   mov    %ecx,0x8(%esp)
-   mov    %edx,0x4(%esp)
-   mov    %eax,(%esp)
-   mov    0x7c(%esp),%eax
+   push   %ebx
+   push   %ecx
+   push   %edx
+   push   %eax
+   mov    -0x1c(%ebp),%eax
    call   *%eax
+   add    $0x10,%esp
+

I don't know why -m32 changed to push/add instead of mov while 64-bit hasn't.

This is most likely needed on non-x86 ports as well.

gdb/testsuite/ChangeLog
2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
	    Pedro Alves  <palves@redhat.com>

	* gdb.base/funcargs.exp (finish from indirectly called function):
	Reintroduce the case for 'First'.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Reapply: List inferiors/threads/pspaces in ascending order
@ 2016-01-12  1:37 sergiodj+buildbot
  2016-01-12  2:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: mips: workaround 32-bit addr sign extensions
@ 2016-01-12  6:46 sergiodj+buildbot
  2016-01-12  7:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12  6:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b36d953bced0a4fecdde1823abac70ed7038ee95 ***

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

sim: mips: workaround 32-bit addr sign extensions

The mips bfd will sign extend 32-bit addresses into 64-bit values,
so if the entry happens to be 0x80000000 or higher, it is turned to
0xffffffff80000000 which points to memory that doesn't exist.

This wasn't an issue until commit 26f8bf63bf36f9062a5cc1afacf71462a
as all addresses were automatically truncated there in the translate
function to 32-bits.  When we cleaned up that code, the full 64-bits
were checked leading to many test failures for mips-sde-elf targets
and such.


^ permalink raw reply	[flat|nested] 2163+ 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:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Test gdb.base/random-signal.exp with "attach"
@ 2016-01-12 13:13 sergiodj+buildbot
  2016-01-12 13:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 13:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e46eeeddfb308cacd863f11a433c10ff1d403827 ***

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

Test gdb.base/random-signal.exp with "attach"

This exposes the issued fixed by 2f99e8fc9cb8:

  https://sourceware.org/ml/gdb-patches/2015-12/msg00423.html

to native debugging as well.

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

	* gdb.base/random-signal.exp (do_test): New procedure, with body
	of testcase moved in.
	(top level) Call it twice, once with "run" and once with "attach".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove trademark acknowledgements throughout
@ 2016-01-12 15:09 sergiodj+buildbot
  2016-01-12 15:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Change function signature passed to clone
@ 2016-01-12 15:22 sergiodj+buildbot
  2016-01-12 16:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 15:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ba4dd7c4a1d99c62a1c2edd68f511a82f8fe041e ***

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

Change function signature passed to clone

I see the following compile error with an old bfin-uclinux gcc to
build GDBserver,

 cc1: warnings being treated as errors
 gdb/gdbserver/../nat/linux-ptrace.c: In function 'linux_fork_to_function':
 gdb/gdbserver/../nat/linux-ptrace.c:283: error: passing argument 1 of 'clone' from incompatible pointer type

in glibc, clone's prototype is like this, and in uClibc, it is the same,

       int clone(int (*fn)(void *), void *child_stack,
                 int flags, void *arg, ...
                 /* pid_t *ptid, struct user_desc *tls, pid_t *ctid */ );

so this patch changes function signature from 'void (*function) (gdb_byte *)'
to 'int (*function) (void *)'.

Note that I find Pedro advised to change argument type from 'void *'
to 'gdb_byte *' during the patch review
https://sourceware.org/ml/gdb-patches/2013-08/msg00611.html  however,
I think fix compile error can justify the change back to 'void *'.

gdb:

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

	* nat/linux-ptrace.c (linux_fork_to_function): Change type
	of argument 'function'.
	(linux_grandchild_function): Change return type to 'int'.
	Change child_stack's type to 'void *'.
	(linux_child_function): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: fix various warnings
@ 2016-01-12 15:44 sergiodj+buildbot
  2016-01-12 16:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdbserver: use the new gdb warning helpers
@ 2016-01-12 15:45 sergiodj+buildbot
  2016-01-12 17:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix invalid conversion from void * to gdb_byte *
@ 2016-01-12 16:34 sergiodj+buildbot
  2016-01-12 17:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d18547d8b08615a58db18ad3e43f721dc92ae298 ***

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

Fix invalid conversion from void * to gdb_byte *

This patch fixes the following GDB build error in C++ mode.

gdb/nat/linux-ptrace.c: In function 'int linux_child_function(void*)':
gdb/nat/linux-ptrace.c:323:65: error: invalid conversion from 'void*' to 'gdb_byte* {aka unsigned char*}' [-fpermissive]
   linux_fork_to_function (child_stack, linux_grandchild_function);
                                                                 ^

gdb:

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

	* nat/linux-ptrace.c (linux_child_function): Cast child_stack
	to gdb_byte * and pass to linux_fork_to_function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Sync top-level Makefile.def with GCC
@ 2016-01-12 16:37 sergiodj+buildbot
  2016-01-12 18:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add cantunwind when unwind info does not match start of section.
@ 2016-01-12 16:41 sergiodj+buildbot
  2016-01-12 18:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac06903dcff237777c8d507a03aafd79c84129ae ***

Author: Yury Usishchev <y.usishchev@samsung.com>
Branch: master
Commit: ac06903dcff237777c8d507a03aafd79c84129ae

Add cantunwind when unwind info does not match start of section.

bfd     * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind when
        address in first unwind entry does not match start of section.

tests   * ld-arm/arm-elf.exp: New test.
        * ld-arm/unwind-mix.d: New file.
        * ld-arm/unwind-mix1.s: New file.
        * ld-arm/unwind-mix2.s: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] Support ARMv8.2 RAS extension.
@ 2016-01-12 16:46 sergiodj+buildbot
  2016-01-12 18:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Sync top-level btool.m4 with GCC
@ 2016-01-12 16:49 sergiodj+buildbot
  2016-01-12 19:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-12 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1985dc2d048a4134f20dc9cda61255eb33289476 ***

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

Sync top-level btool.m4 with GCC

	Sync with GCC
	2015-11-26  David Edelsohn  <dje.gcc@gmail.com>

	* m4/libtool.m4 (export_symbols_cmds) [AIX]: Add global TLS "L"
	symbols.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Implement 'catch syscall' for gdbserver
@ 2016-01-12 20:34 sergiodj+buildbot
  2016-01-12 21:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add a new $_inferior convenience variable
@ 2016-01-13 11:35 sergiodj+buildbot
  2016-01-13 12:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add Python InferiorThread.inferior attribute
@ 2016-01-13 11:36 sergiodj+buildbot
  2016-01-13 12:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Centralize thread ID printing
@ 2016-01-13 11:38 sergiodj+buildbot
  2016-01-13 12:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Per-inferior/Inferior-qualified thread IDs
@ 2016-01-13 11:39 sergiodj+buildbot
  2016-01-13 13:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869 ***

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

Per-inferior/Inferior-qualified thread IDs

This commit changes GDB to track thread numbers per-inferior.  Then,
if you're debugging multiple inferiors, GDB displays
"inferior-num.thread-num" instead of just "thread-num" whenever it
needs to display a thread:

 (gdb) info inferiors
   Num  Description       Executable
   1    process 6022     /home/pedro/gdb/tests/threads
 * 2    process 6037     /home/pedro/gdb/tests/threads
 (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)
 (gdb)
...
 (gdb) thread 1.1
 [Switching to thread 1.1 (Thread 0x7ffff7fc2740 (LWP 8155))]
 (gdb)
...

etc.

You can still use "thread NUM", in which case GDB infers you're
referring to thread NUM of the current inferior.

The $_thread convenience var and Python's InferiorThread.num attribute
are remapped to the new per-inferior thread number.  It's a backward
compatibility break, but since it only matters when debugging multiple
inferiors, I think it's worth doing.

Because MI thread IDs need to be a single integer, we keep giving
threads a global identifier, _in addition_ to the per-inferior number,
and make MI always refer to the global thread IDs.  IOW, nothing
changes from a MI frontend's perspective.

Similarly, since Python's Breakpoint.thread and Guile's
breakpoint-thread/set-breakpoint-thread breakpoint methods need to
work with integers, those are adjusted to work with global thread IDs
too.  Follow up patches will provide convenient means to access
threads' global IDs.

To avoid potencially confusing users (which also avoids updating much
of the testsuite), if there's only one inferior and its ID is "1",
IOW, the user hasn't done anything multi-process/inferior related,
then the "INF." part of thread IDs is not shown.  E.g,.:

 (gdb) info inferiors
   Num  Description       Executable
 * 1    process 15275     /home/pedro/gdb/tests/threads
 (gdb) info threads
   Id   Target Id         Frame
 * 1    Thread 0x7ffff7fc1740 (LWP 15275) "threads" main () at threads.c:40
 (gdb) add-inferior
 Added inferior 2
 (gdb) info threads
   Id   Target Id         Frame
 * 1.1  Thread 0x7ffff7fc1740 (LWP 15275) "threads" main () at threads.c:40
 (gdb)

No regressions on x86_64 Fedora 20.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that thread IDs are now per inferior and global
	thread IDs.
	* Makefile.in (SFILES): Add tid-parse.c.
	(COMMON_OBS): Add tid-parse.o.
	(HFILES_NO_SRCDIR): Add tid-parse.h.
	* ada-tasks.c: Adjust to use ptid_to_global_thread_id.
	* breakpoint.c (insert_breakpoint_locations)
	(remove_threaded_breakpoints, bpstat_check_breakpoint_conditions)
	(print_one_breakpoint_location, set_longjmp_breakpoint)
	(check_longjmp_breakpoint_for_call_dummy)
	(set_momentary_breakpoint): Adjust to use global IDs.
	(find_condition_and_thread, watch_command_1): Use parse_thread_id.
	(until_break_command, longjmp_bkpt_dtor)
	(breakpoint_re_set_thread, insert_single_step_breakpoint): Adjust
	to use global IDs.
	* dummy-frame.c (pop_dummy_frame_bpt): Adjust to use
	ptid_to_global_thread_id.
	* elfread.c (elf_gnu_ifunc_resolver_stop): Likewise.
	* gdbthread.h (struct thread_info): Rename field 'num' to
	'global_num.  Add new fields 'per_inf_num' and 'inf'.
	(thread_id_to_pid): Rename thread_id_to_pid to
	global_thread_id_to_ptid.
	(pid_to_thread_id): Rename to ...
	(ptid_to_global_thread_id): ... this.
	(valid_thread_id): Rename to ...
	(valid_global_thread_id): ... this.
	(find_thread_id): Rename to ...
	(find_thread_global_id): ... this.
	(ALL_THREADS, ALL_THREADS_BY_INFERIOR): Declare.
	(print_thread_info): Add comment.
	* tid-parse.h: New file.
	* tid-parse.c: New file.
	* infcmd.c (step_command_fsm_prepare)
	(step_command_fsm_should_stop): Adjust to use the global thread
	ID.
	(until_next_command, until_next_command)
	(finish_command_fsm_should_stop): Adjust to use the global thread
	ID.
	(attach_post_wait): Adjust to check the inferior number too.
	* inferior.h (struct inferior) <highest_thread_num>: New field.
	* infrun.c (handle_signal_stop)
	(insert_exception_resume_breakpoint)
	(insert_exception_resume_from_probe): Adjust to use the global
	thread ID.
	* record-btrace.c (record_btrace_open): Use global thread IDs.
	* remote.c (process_initial_stop_replies): Also consider the
	inferior number.
	* target.c (target_pre_inferior): Clear the inferior's highest
	thread num.
	* thread.c (clear_thread_inferior_resources): Adjust to use the
	global thread ID.
	(new_thread): New inferior parameter.  Adjust to use it.  Set both
	the thread's global ID and the thread's per-inferior ID.
	(add_thread_silent): Adjust.
	(find_thread_global_id): New.
	(find_thread_id): Make static.  Adjust to rename.
	(valid_thread_id): Rename to ...
	(valid_global_thread_id): ... this.
	(pid_to_thread_id): Rename to ...
	(ptid_to_global_thread_id): ... this.
	(thread_id_to_pid): Rename to ...
	(global_thread_id_to_ptid): ... this.  Adjust.
	(first_thread_of_process): Adjust.
	(do_captured_list_thread_ids): Adjust to use global thread IDs.
	(should_print_thread): New function.
	(print_thread_info): Rename to ...
	(print_thread_info_1): ... this, and add new show_global_ids
	parameter.  Handle it.  Iterate over inferiors.
	(print_thread_info): Reimplement as wrapper around
	print_thread_info_1.
	(show_inferior_qualified_tids): New function.
	(print_thread_id): Use it.
	(tp_array_compar): Compare inferior numbers too.
	(thread_apply_command): Use tid_range_parser.
	(do_captured_thread_select): Use parse_thread_id.
	(thread_id_make_value): Adjust.
	(_initialize_thread): Adjust "info threads" help string.
	* varobj.c (struct varobj_root): Update comment.
	(varobj_create): Adjust to use global thread IDs.
	(value_of_root_1): Adjust to use global_thread_id_to_ptid.
	* windows-tdep.c (display_tib): No longer accept an argument.
	* cli/cli-utils.c (get_number_trailer): Make extern.
	* cli/cli-utils.h (get_number_trailer): Declare.
	(get_number_const): Adjust documentation.
	* mi/mi-cmd-var.c (mi_cmd_var_update_iter): Adjust to use global
	thread IDs.
	* mi/mi-interp.c (mi_new_thread, mi_thread_exit)
	(mi_on_normal_stop, mi_output_running_pid, mi_on_resume):
	* mi/mi-main.c (mi_execute_command, mi_cmd_execute): Likewise.
	* guile/scm-breakpoint.c (gdbscm_set_breakpoint_thread_x):
	Likewise.
	* python/py-breakpoint.c (bppy_set_thread): Likewise.
	* python/py-finishbreakpoint.c (bpfinishpy_init): Likewise.
	* python/py-infthread.c (thpy_get_num): Add comment and return the
	per-inferior thread ID.
	(thread_object_getset): Update comment of "num".

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

	* gdb.base/break.exp: Adjust to output changes.
	* gdb.base/hbreak2.exp: Likewise.
	* gdb.base/sepdebug.exp: Likewise.
	* gdb.base/watch_thread_num.exp: Likewise.
	* gdb.linespec/keywords.exp: Likewise.
	* gdb.multi/info-threads.exp: Likewise.
	* gdb.threads/thread-find.exp: Likewise.
	* gdb.multi/tids.c: New file.
	* gdb.multi/tids.exp: New file.

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

	* gdb.texinfo (Threads): Document per-inferior thread IDs,
	qualified thread IDs, global thread IDs and thread ID lists.
	(Set Watchpoints, Thread-Specific Breakpoints): Adjust to refer to
	thread IDs.
	(Convenience Vars): Document the $_thread convenience variable.
	(Ada Tasks): Adjust to refer to thread IDs.
	(GDB/MI Async Records, GDB/MI Thread Commands, GDB/MI Ada Tasking
	Commands, GDB/MI Variable Objects): Update to mention global
	thread IDs.
	* guile.texi (Breakpoints In Guile)
	<breakpoint-thread/set-breakpoint-thread breakpoint>: Mention
	global thread IDs instead of thread IDs.
	* python.texi (Threads In Python): Adjust documentation of
	InferiorThread.num.
	(Breakpoint.thread): Mention global thread IDs instead of thread
	IDs.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add Python InferiorThread.global_num attribute
@ 2016-01-13 11:40 sergiodj+buildbot
  2016-01-13 13:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Implement "info threads -gid"
@ 2016-01-13 11:41 sergiodj+buildbot
  2016-01-13 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add $_gthread convenience variable
@ 2016-01-13 11:42 sergiodj+buildbot
  2016-01-13 14:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 11:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 663f6d42f47265d2deaa86c8a976e658fb13f820 ***

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

Add $_gthread convenience variable

This commit adds a new $_gthread convenience variable, that is like
$_thread, but holds the current thread's global thread id.

gdb/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention $_gthread.
	* gdbthread.h (struct thread_info) <global_num>: Mention
	$_gthread.
	* thread.c (thread_num_make_value_helper): New function.
	(thread_id_make_value): Delete.
	(thread_id_per_inf_num_make_value, global_thread_id_make_value):
	New.
	(thread_funcs): Adjust.
	(gthread_funcs): New.
	(_initialize_thread): Register $_gthread variable.

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

	* gdb.base/default.exp: Expect $_gthread as well.
	* gdb.multi/tids.exp: Test $_gthread.
	* gdb.threads/thread-specific.exp: Test $_gthread.

gdb/doc/ChangeLog:
2016-01-13  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads): Document the $_gthread convenience
	variable.
	(Convenience Vars): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Read instruction with byte_order_for_code
@ 2016-01-13 16:19 sergiodj+buildbot
  2016-01-13 16:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e7b8beaa3b7b9ac8577b10afa9d58bb9d453b08 ***

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

Read instruction with byte_order_for_code

When reading instruction, we should use byte_order_for_code instead
of byte_order.

gdb:

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

	* arch/arm-get-next-pcs.c (arm_get_next_pcs_raw): Use
	byte_order_for_code to read instruction.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MAINTAINERS: Add Andreas Arnez as s390 target maintainer.
@ 2016-01-13 18:04 sergiodj+buildbot
  2016-01-13 18:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-13 18:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc06e0b148dfc4f2e52003a17d48463150f72e7b ***

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

MAINTAINERS: Add Andreas Arnez as s390 target maintainer.

gdb/ChangeLog:

	* MAINTAINERS: Add Andreas Arnez as s390 target maintainer.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] Make thumb2_breakpoint static again
@ 2016-01-14  9:39 sergiodj+buildbot
  2016-01-14 10:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix C++ build error by casting void *
@ 2016-01-14 12:30 sergiodj+buildbot
  2016-01-14 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-14 12:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0518081f09298c67d1e74e0cc592fde8e0c6571 ***

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

Fix C++ build error by casting void *

Two recent patches breaks GDB C++ mode build,

  https://sourceware.org/ml/gdb-patches/2016-01/msg00150.html
  https://sourceware.org/ml/gdb-patches/2016-01/msg00086.html

gdb/remote.c: In function 'int remote_set_syscall_catchpoint(target_ops*, int, int, int, int, int*)':
gdb/remote.c:2036:39: error: invalid conversion from 'void*' to 'char*' [-fpermissive]
       catch_packet = xmalloc (maxpktsz);
                                       ^

gdb/thread.c: In function 'int do_captured_thread_select(ui_out*, void*)':
gdb/git/gdb/thread.c:1999:24: error: invalid conversion from 'void*' to 'const char*' [-fpermissive]
   const char *tidstr = tidstr_v;
                        ^

this patch fixes them by casting void * to the right type.

gdb:

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

	* remote.c (remote_set_syscall_catchpoint): Cast to char *.
	* thread.c (do_captured_thread_select): Cast to const char *.


^ permalink raw reply	[flat|nested] 2163+ 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:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix "thread apply $conv_var" and misc other related problems
@ 2016-01-15 21:59 sergiodj+buildbot
  2016-01-15 22:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-15 21:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f5b7598805c8253c43c989a540a2408c8b685ad ***

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

Fix "thread apply $conv_var" and misc other related problems

This fixes a few bugs in "thread apply".

While this works:

 (gdb) thread apply 1 p 1234

 Thread 1 (Thread 0x7ffff7fc1740 (LWP 14048)):
 $1 = 1234

This doesn't:

 (gdb) thread apply $thr p 1234

 Thread 1 (Thread 0x7ffff7fc1740 (LWP 12039)):
 Invalid thread ID: p 1234
 (gdb)

~~~~

Also, while this works:
 (gdb) thread apply 1
 Please specify a command following the thread ID list

This doesn't:
 (gdb) thread apply $thr
 Thread 1 (Thread 0x7ffff7fc1740 (LWP 12039)):
 [Current thread is 1 (Thread 0x7ffff7fc1740 (LWP 12039))]
 (gdb)

~~~~

And, while this works:
 (gdb) thread apply
 Please specify a thread ID list

This obviously bogus invocation is just silent:
 (gdb) thread apply bt
 (gdb)

gdb/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* thread.c (thread_apply_command): Use the tid range parser to
	advance past the thread ID list.
	* tid-parse.c (get_positive_number_trailer): New function.
	(parse_thread_id): Use it.
	(get_tid_or_range): Use it.  Return 0 instead of throwing invalid
	thread ID error.
	(get_tid_or_range): Detect negative values.  Return 0 instead of
	throwing invalid thread ID error.

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

	* gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
	command from "thread apply" invocation.
	(thr_apply_info_thr_invalid): Default the expected output to the
	input tid list.
	(top level): Add tests that use convenience variables.  Add tests
	for "thread apply" with a valid TID list, but missing the command.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Star wildcard ranges (e.g., "info thread 2.*")
@ 2016-01-15 22:25 sergiodj+buildbot
  2016-01-15 22:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-15 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 71ef29a86b252a4780517fc9b2bf9f7d3dd2d991 ***

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

Star wildcard ranges (e.g., "info thread 2.*")

Add support for specifying "all threads of inferior N", by writing "*"
as thread number/range in thread ID lists.

E.g., "info threads 2.*" or "thread apply 2.* bt".

gdb/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention star wildcard ranges.
	* cli/cli-utils.c (get_number_or_range): Check state->in_range first.
	(number_range_setup_range): New function.
	* cli/cli-utils.h (number_range_setup_range): New declaration.
	* thread.c (thread_apply_command): Support star TID ranges.
	* tid-parse.c (tid_range_parser_finished)
	(tid_range_parser_string, tid_range_parser_skip)
	(get_tid_or_range, get_tid_or_range): Handle
	TID_RANGE_STATE_STAR_RANGE.
	(tid_range_parser_star_range): New function.
	* tid-parse.h (enum tid_range_state) <TID_RANGE_STATE_STAR_RANGE>:
	New value.
	(tid_range_parser_star_range): New declaration.

gdb/doc/ChangeLog:
2016-01-15  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (Threads) <thread ID lists>: Document star ranges.

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

	* gdb.multi/tids.exp: Test star wildcard ranges.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix phony_iconv wide character support.
@ 2016-01-15 22:55 sergiodj+buildbot
  2016-01-15 23:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Regen configure
@ 2016-01-17  3:05 sergiodj+buildbot
  2016-01-17  3:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-17  3:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c14705fb3dfb359235314f22392e7a5ce6d4085 ***

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

Regen configure

Picks up 2016-01-12 libtool.m4 change.

bfd/
	* configure: Regenerate.
binutils/
	* configure: Regenerate.
gas/
	* configure: Regenerate.
gprof/
	* configure: Regenerate.
ld/
	* configure: Regenerate.
opcodes/
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] minor reformatting in sim/common/sim-fpu.c.
@ 2016-01-17  5:43 sergiodj+buildbot
  2016-01-17  6:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-17  5:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3c8e93b7fab5b9d8ddb786772ab00d65ec127159 ***

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

minor reformatting in sim/common/sim-fpu.c.

This patch just makes a copy of formatting changes to better conform
with the GNU Coding Style.

sim/common/ChangeLog:

        * sim-fpu.c (print_bits): Minor reformatting (no code change).
        (sim_fpu_map): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Minor comment fixes in sim/common/sim-fpu.c.
@ 2016-01-17  6:14 sergiodj+buildbot
  2016-01-17  7:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-17  6:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f749ed6079486300a65d7407e9fa3a7a296827f6 ***

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

Minor comment fixes in sim/common/sim-fpu.c.

This patch makes a fair number of fixes in the various comments of
sim-fpu.c, mostly to either better conform to the GNU Coding Standards
(sentences start with a capital letter, end with a period), or to
fix spelling mistakes.

sim/common/ChangeLog:

        * sim-fpu.c: Minor comment fixes throughout.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] fix gdb version parsing in src-release.sh
@ 2016-01-17  6:17 sergiodj+buildbot
  2016-01-17  8:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] GDB SIGSEGV opening a Fortran program compiled with ifort
@ 2016-01-17  7:04 sergiodj+buildbot
  2016-01-17  8:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdbserver build failure on targets without fork
@ 2016-01-18 11:57 sergiodj+buildbot
  2016-01-18 12:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Provide AC_PROG_LEX that copes with LEX=missing from top-level
@ 2016-01-18 12:05 sergiodj+buildbot
  2016-01-18 12:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 12:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d961d0d3a797b4d463024a11131e96c213dee27 ***

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

Provide AC_PROG_LEX that copes with LEX=missing from top-level

config/
	PR binutils/19481
	* override.m4 (AC_PROG_LEX): Define.
binutils/
	* configure: Regenerate.
gas/
	* configure: Regenerate.
ld/
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [testsuite] @progbits -> %progbits
@ 2016-01-18 14:40 sergiodj+buildbot
  2016-01-18 15:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 14:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b27896961a641e92a642b352627208233dfeb7f1 ***

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

[testsuite] @progbits -> %progbits

The ARM assembler has "@" as a comment character, so there are compile
errors in {py,scm}-section-script.c,

 gdb compile failed, /tmp/ccHEzYqy.s: Assembler messages:
 /tmp/ccHEzYqy.s:19: Error: junk at end of line, first unrecognized character is `,'
 /tmp/ccHEzYqy.s:24: Error: junk at end of line, first unrecognized character is `,'
 /tmp/ccHEzYqy.s:29: Error: junk at end of line, first unrecognized character is `,'
 /tmp/ccHEzYqy.s:41: Error: junk at end of line, first unrecognized character is `,'

This patch replaces @progbits with %progbits.

gdb/testsuite:

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

	* gdb.guile/scm-section-script.c: Replace @progbits with
	%progbits.
	* gdb.python/py-section-script.c: Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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 15:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Replace some $ARCH_{get, set}_pc with linux_{get, set}_pc_64bit
@ 2016-01-18 15:19 sergiodj+buildbot
  2016-01-18 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f69e520676f5f434cf43c250865036b3d516429 ***

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

Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_64bit

This patch is the follow-up of
https://sourceware.org/ml/gdb-patches/2016-01/msg00164.html to provide
linux_{get,set}_pc_64bit functions.

Rebuild GDBserver with tilegx-linux-gcc.  Not tested.

I think about pc in Tile-GX a little bit.  Looks current Tile-GX
supports debugging 32-bit program (multi-arch), but PC is always
64-bit.  See this thread
https://sourceware.org/ml/gdb-patches/2013-02/msg00113.html
and GDBserver reads PC as 64-bit through ptrace.  However, if
the inferior is 32-bit, the PC in the target description and
regcache is 32-bit, so only 32-bit contents are sent back GDB.
Anyway, Tile-GX GDBserver may have some problems here, but this
patch doesn't change anything.

gdb/gdbserver:

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

	* linux-low.c (linux_set_pc_64bit): New function.
	(linux_get_pc_64bit): New function.
	* linux-low.h (linux_set_pc_64bit, linux_get_pc_64bit):
	Declare.
	* linux-sparc-low.c (debug_threads): Remove declaration.
	(sparc_get_pc): Remove.
	(the_low_target): Use linux_get_pc_64bit instead of
	sparc_get_pc.
	* linux-tile-low.c (tile_get_pc, tile_set_pc): Remove.
	(the_low_target): Use linux_get_pc_64bit and
	linux_set_pc_64bit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR threads/19422 - show which thread caused stop
@ 2016-01-18 16:03 sergiodj+buildbot
  2016-01-18 16:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use a 32-bit value to hold the section number in the internal COFF symbol structure.
@ 2016-01-18 16:11 sergiodj+buildbot
  2016-01-18 17:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 16:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ae678af999b8a692c4e6efbe493f39f0085d149 ***

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

Use a 32-bit value to hold the section number in the internal COFF symbol structure.

	PR ld/19440
inc	* coff/internal.h (internal_syment): Use int to hold section
	number.
	(N_UNDEF): Cast to int not short.
	(N_ABS): Likewise.
	(N_DEBUG): Likewise.
	(N_TV): Likewise.
	(P_TV): Likewise.

bfd	PR ld/19440
	* coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
	section number into internal section number.
	* coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
	* coffswap.h (coff_swap_sym_in): Likewise.
	* peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
	* coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
	section number field is big enough to hold the external value.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] testsuite: Remove unused global references in gdb_test
@ 2016-01-18 17:08 sergiodj+buildbot
  2016-01-18 17:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] MIPS: Fix microMIPS instruction size determination
@ 2016-01-18 21:22 sergiodj+buildbot
  2016-01-18 21:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 21:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f7f365076a112313870e2a321452bfda6d40914 ***

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

MIPS: Fix microMIPS instruction size determination

Fix a bug in `micromips_insn_at_pc_has_delay_slot' in instruction size
determination via `mips_insn_size'.  In the microMIPS case the latter
function expects a lone 16-bit instruction word containing the major
opcode regardless of whether the opcode requires another 16-bit word to
follow, to form a complete 32-bit instruction.  Code however passes the
16-bit word previously retrieved shifted left by 16 bits.  Consequently
`mips_insn_size', which examines the low 16-bit only, always sees 0.

By pure coincidence a major opcode of 0 denotes a 32-bit instruction in
the microMIPS instruction set, so the size of 4 is always returned here,
and the following 16-bit word is then merged in the low 16 bits of the
instruction previously shifted by 16 bits.  The resulting 32-bit value
is then passed to `micromips_instruction_has_delay_slot' for delay slot
presence determination.  This function in turn first examines the high
16 bits of the instruction word received and ignores the low 16 bits for
16-bit instructions.

Consequently the only effect of this bug is an extraneous memory read
issued to retrieve a subsequent 16-bit word where a 16-bit instruction
is being examined.  Which in turn may fail if the instruction is located
right at the end of a readable memory area, in which case the lack of a
delay slot will be reported to the caller, which may be incorrect.

This code is used in breakpoint maintenance, for delay slot avoidance,
so the bug would only trigger for the unlikely case of someone placing
a breakpoint in a delay slot of an instruction which is at the end of
readable memory.  Which explains why the bug remained unnoticed so long.

	gdb/
	* mips-tdep.c (micromips_insn_at_pc_has_delay_slot): Pass
	unshifted 16-bit microMIPS instruction word to `mips_insn_size'.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS: Only build microMIPS specific simulator functions if microMIPS support is required.
@ 2016-01-18 22:01 sergiodj+buildbot
  2016-01-18 22:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-18 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b ***

Author: Andrew Bennett <andrew.bennett@imgtec.com>
Branch: master
Commit: 3d304f48cafbff4b7a1c0a9d338fb20aa4e4934b

MIPS: Only build microMIPS specific simulator functions if microMIPS support is required.

This fixes PR sim/19441.  In the MIPS simulator the microMIPS
functions in micromips.igen were not predicated on the microMIPS
models.  This was causing build issues for some target triples.
This patch sets all the microMIPS specific functions to only be built if
the micromips32, micromips64 or micromipsdsp models are used.

	PR sim/19441
	* micromips.igen (delayslot_micromips): Enable for `micromips32',
	`micromips64' and `micromipsdsp' only.
	(process_isa_mode): Enable for `micromips32' and `micromips64' only.
	(do_micromips_jalr, do_micromips_jal): Likewise.
	(compute_movep_src_reg): Likewise.
	(compute_andi16_imm): Likewise.
	(convert_fmt_micromips): Likewise.
	(convert_fmt_micromips_cvt_d): Likewise.
	(convert_fmt_micromips_cvt_s): Likewise.
	(FMT_MICROMIPS): Likewise.
	(FMT_MICROMIPS_CVT_D): Likewise.
	(FMT_MICROMIPS_CVT_S): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS: Remove remnants of 48-bit microMIPS instruction support
@ 2016-01-18 22:31 sergiodj+buildbot
  2016-01-18 22:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Limit breakpoint re-set to the current program space
@ 2016-01-19 12:38 sergiodj+buildbot
  2016-01-19 13:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <bd0a71fa16f668341a9361c695bc3ca44d27b322@gdb-build>]
* [binutils-gdb] Add PIC and TLS support to the ARC target.
@ 2016-01-19 15:37 sergiodj+buildbot
  2016-01-19 16:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 15:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34e967a5f3ac5fd0353731a259e358d462823290 ***

Author: Miranda Cupertino <Cupertino.Miranda@synopsys.com>
Branch: master
Commit: 34e967a5f3ac5fd0353731a259e358d462823290

Add PIC and TLS support to the ARC target.

bfd/ChangeLog:
	* arc-plt.def: New file.
	* arc-plt.h: Likewise.
	* elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
		       elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
		       elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
		       elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
	(name_for_global_symbol): Added.
	(ADD_RELA): Helper to create dynamic relocs.
	(new_got_entry_to_list): Create a new got entry in linked list.
	(symbol_has_entry_of_type): Search for specific type of entry in
	list.
	(is_reloc_for_GOT): return FALSE for any TLS related relocs.
	(is_reloc_for_TLS, arc_elf_set_private_flags)
	(arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
	(arc_elf_merge_private_bfd_data): New functions.
	(debug_arc_reloc): Cleaned debug info printing.
	(PDATA reloc): Changed not to perform address alignment.
	(reverse_me): Added. Fix for ARC_32 relocs.
	(arc_do_relocation): Return bfd_reloc_of when no relocation should
	occur.
	(arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
	Changed function to access an array of list of GOT entries instead
	of just an array of offsets.
	(elf_arc_relocate_section): Added support for PIC and TLS related relocations.
	(elf_arc_check_relocs): Likewise.
	(elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
	(elf_arc_finish_dynamic_sections): Likewise
	(arc_create_dynamic_sections): Modified conditions to create
	dynamic sections.
	(ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
	(plt_do_relocs_for_symbol, relocate_plt_for_symbol)
	(relocate_plt_for_entry): Changed to support new way to define PLT
	related code.
	(add_symbol_to_plt): Likewise.
	(arc_elf_link_hash_table_create): New function.

include/ChangeLog:
	* elf/arc-reloc.def (ARC_32, ARC_GOTPC, ARC_TLS_GD_GOT)
	(ARC_TLS_IE_GOT, ARC_TLS_DTPOFF, ARC_TLS_DTPOFF_S9, ARC_TLS_LE_S9)
	(ARC_TLS_LE_32): Fixed formula.
	(ARC_TLS_GD_LD): Use new special function.
	* opcode/arc-func.h: Changed all the replacement
	functions to clear the patching bits before doing an or it with the value
	argument.


^ permalink raw reply	[flat|nested] 2163+ 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 16:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support to readelf for reading FreeBSD ELF core notes.
@ 2016-01-19 17:09 sergiodj+buildbot
  2016-01-19 18:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add a pseudosection for the NT_FREEBSD_THRMISC note.
@ 2016-01-19 17:18 sergiodj+buildbot
  2016-01-19 19:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for extracting thread names from cores.
@ 2016-01-19 17:26 sergiodj+buildbot
  2016-01-19 19:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4dfc5dbc4e1b267d440dd515a42fe6fd96a8d860 ***

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

Add support for extracting thread names from cores.

Add a new gdbarch method to extract a thread name from a core for a
given thread.  Use this new method in core_thread_name to implement the
to_thread_name target op.

gdb/ChangeLog:

	* corelow.c (core_thread_name): New function.
	(init_core_ops): Use "core_thread_name" for the "to_thread_name"
	target op.
	* gdbarch.sh (core_thread_name): New gdbarch callback.
	* gdbarch.h: Re-generate.
	* gdbarch.c: Re-generate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Display per-thread information for threads in FreeBSD cores.
@ 2016-01-19 17:34 sergiodj+buildbot
  2016-01-19 20:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use LWP IDs with ptrace register requests on FreeBSD.
@ 2016-01-19 17:43 sergiodj+buildbot
  2016-01-19 21:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for LWP-based threads on FreeBSD.
@ 2016-01-19 17:51 sergiodj+buildbot
  2016-01-19 22:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 17:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e9567fe2ab39d1de89ecc5105c17443b66c9b48 ***

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

Add support for LWP-based threads on FreeBSD.

Older versions of FreeBSD supported userland threading via a pure
user-space threading library (N threads scheduled on 1 process) and
a N:M model (N threads scheduled on M LWPs).  However, modern FreeBSD
versions only support a M:M threading model where each user thread is
backed by a dedicated LWP.  This thread target only supports this
threading model.  It also uses ptrace to query and alter LWP state
directly rather than using libthread_db to simplify the implementation.

FreeBSD recently gained support for reporting LWP events (birth and death
of LWPs).  GDB will use LWP events when present.  For older systems it
fetches the list of LWPs in the to_update_thread_list target op to update
the list of threads on each stop.

This target supports scheduler locking by using ptrace to suspend
individual LWPs as necessary before resuming a process.

gdb/ChangeLog:

	* configure.ac: Check for support for LWP names on FreeBSD.
	* fbsd-nat.c [PT_LWPINFO] New variable debug_fbsd_lwp.
	[TDP_RFPPWAIT || HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]
	(fbsd_fetch_kinfo_proc): Move function earlier.
	[PT_LWPINFO] (fbsd_thread_alive): New function.
	[PT_LWPINFO] (fbsd_pid_to_str): New function.
	[HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME] (fbsd_thread_name): New function.
	[PT_LWP_EVENTS] (fbsd_enable_lwp_events): New function.
	[PT_LWPINFO] (fbsd_add_threads): New function.
	[PT_LWPINFO] (fbsd_update_thread_list): New function.
	[PT_LWPINFO] New variable super_resume.
	[PT_LWPINFO] (resume_one_thread_cb): New function.
	[PT_LWPINFO] (resume_all_threads_cb): New function.
	[PT_LWPINFO] (fbsd_resume): New function.
	(fbsd_remember_child): Save full ptid instead of plain pid.
	(fbsd_is_child_pending): Return ptid of saved child process.
	(fbsd_wait): Include lwp in returned ptid and switch to LWP ptid on
	first stop.
	[PT_LWP_EVENTS] Handle LWP events.
	[TDP_RFPPWAIT] Include LWP in child ptid.
	(fbsd_post_startup_inferior) [PT_LWP_EVENTS]: Enable LWP events.
	(fbsd_post_attach) [PT_LWP_EVENTS]: Enable LWP events.
	Add threads for existing processes.
	(fbsd_nat_add_target) [PT_LWPINFO]: Set "to_thread_alive" to
	"fbsd_thread_alive".
	Set "to_pid_to_str" to "fbsd_pid_to_str".
	[HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME]: Set "to_thread_name" to
	"fbsd_thread_name".
	[PT_LWPINFO]: Set "to_update_thread_list" to "fbsd_update_thread_list".
	Set "to_has_thread_control" to "tc_schedlock".
	Set "to_resume" to "fbsd_resume".
	(_initialize_fbsd_nat): New function.
	* configure: Regenerate.
	* config.in: Regenerate.

gdb/doc/ChangeLog:

	* gdb.texinfo (Debugging Output): Document "set/show debug fbsd-lwp".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Dump register notes for each thread when generating a FreeBSD core.
@ 2016-01-19 18:00 sergiodj+buildbot
  2016-01-19 23:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-19 18:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20a0aab3ed0f4bb5c304e560751b09b7b82a3e65 ***

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

Dump register notes for each thread when generating a FreeBSD core.

gdb/ChangeLog:

	* fbsd-tdep.c (find_stop_signal): Remove.
	(struct fbsd_collect_regset_section_cb) <lwp>: New field.
	<stop_signal>: New field.
	<abort_iteration>: New field.
	(fbsd_collect_regset_section_cb): Use new fields.
	(fbsd_collect_thread_registers): New function.
	(struct fbsd_corefile_thread_data): New structure.
	(fbsd_corefile_thread): New function.
	(fbsd_make_corefile_notes): Use new function to dump notes for each
	non-exited thread in a process.


^ permalink raw reply	[flat|nested] 2163+ 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  0:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] minor reformatting in printcmd.c::print_scalar_formatted
@ 2016-01-20  4:14 sergiodj+buildbot
  2016-01-20  5:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64] Reject invalid immediate operands to MSR UAO
@ 2016-01-20 14:43 sergiodj+buildbot
  2016-01-20 15:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix sorting of enum values in FlagEnumerationPrinter
@ 2016-01-20 19:03 sergiodj+buildbot
  2016-01-20 19:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Detect the arm/thumb mode of code SIGRETURN or RT_SIGRETURN returns to
@ 2016-01-21  8:17 sergiodj+buildbot
  2016-01-21  8:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21  8:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7a6a40dbc279f0a54bdf947077cbad8ad52564c ***

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

Detect the arm/thumb mode of code SIGRETURN or RT_SIGRETURN returns to

This patch fixes the following regression introduced by commit d0e59a68

step^M
39      } /* handler */^M
1: x/i $pc^M
=> 0x8740 <handler+80>: sub     sp, r11, #0^M
(gdb) step^M
^M
Program received signal SIGSEGV, Segmentation fault.^M
setitimer () at ../sysdeps/unix/syscall-template.S:81^M
81      ../sysdeps/unix/syscall-template.S: No such file or directory.^M
1: x/i $pc^M
=> 0xb6eff9c0 <setitimer>:      push    {r7}^M
(gdb) FAIL: gdb.base/sigstep.exp: continue to handler, si+advance in handler, step from handler: leave handler

in my test setting, program is compiled in arm mode, but the glibc
is built in thumb mode, so when we do 'step' to step over syscall
instruction svc for SIGRETURN, GDB should set breakpoint for arm mode
in the program, even though the current program in glibc is in thumb
mode.  Current GDB doesn't consider the case that the mode of program
SIGRETURN goes to can be different from current program mode.

In fact, GDB has taken care of this arm/thumb mode changes already,
see

/* Copy the value of next pc of sigreturn and rt_sigrturn into PC,
   return 1.  In addition, set IS_THUMB depending on whether we
   will return to ARM or Thumb code.  Return 0 if it is not a
   rt_sigreturn/sigreturn syscall.  */
static int
arm_linux_sigreturn_return_addr (struct frame_info *frame,
				 unsigned long svc_number,
				 CORE_ADDR *pc, int *is_thumb)

but in the commit d0e59a68

> -  arm_linux_sigreturn_return_addr (frame, svc_number, &return_addr, &is_thumb);
> +  if (svc_number == ARM_SIGRETURN || svc_number == ARM_RT_SIGRETURN)
> +    next_pc = arm_linux_sigreturn_next_pc (regcache, svc_number);

the IS_THUMB setting is lost, so it is a regression.

gdb:

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

	* arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
	is_thumb and set it according to CPSR saved on the stack.
	(arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
	arm_linux_sigreturn_next_pc.

gdb/gdbserver:

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

	* linux-arm-low.c (arm_sigreturn_next_pc): Add parameter
	is_thumb and set it according to CPSR saved on the stack.
	(get_next_pcs_syscall_next_pc): Pass is_thumb to
	arm_sigreturn_next_pc.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] bfd/configure reorganisation
@ 2016-01-21  9:40 sergiodj+buildbot
  2016-01-21 10:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21  9:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c603b11becccfc593ca590c3129d00c2289359b8 ***

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

bfd/configure reorganisation

Corefile code should be moved after running config.bfd, because it
uses want64.

	* configure.ac: Move corefile selection later in file.  Move
	tdefaults code immediately after other target vector code.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Convert macros in elf-linux-core.h to inline functions
@ 2016-01-21  9:57 sergiodj+buildbot
  2016-01-21 11:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21  9:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aeb7056972f1b383578204b9151b0ae6d8c1df81 ***

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

Convert macros in elf-linux-core.h to inline functions

Besides changing some macros into inline functions, this removes
redundant memsets and uses bfd_put_* rather than H_PUT_*.

	* elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
	(swap_linux_prpsinfo64_out): New function.
	(LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
	(LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
	* elf.c (elfcore_write_linux_prpsinfo32): Adjust.  Don't memset.
	(elfcore_write_linux_prpsinfo64): Likewise.
	* elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
	(PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
	(elfcore_write_ppc_linux_prpsinfo32): Adjust.  Don't memset.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Rename elf-linux-psinfo.h to elf-linux-core.h
@ 2016-01-21 10:09 sergiodj+buildbot
  2016-01-21 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 10:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de64ce13a78669f094d6909fce51d210e2f9d2c0 ***

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

Rename elf-linux-psinfo.h to elf-linux-core.h

Since it will sometime have more than just prpsinfo.  Also,
elf32-ppc.c needlessly includes this header.

	* elf-linux-core.h: Rename from elf-linux-psinfo.h.
	* elf.c: Adjust #include.
	* elf32-ppc.c: Don't #include elf-linux-psinfo.h
	* Makefile.am (SOURCE_HFILES): Update.
	* Makefile.in: Regenerate.
	* po/SRC-PORFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Relax long branch veneer insertion for non STT_FUNC symbol
@ 2016-01-21 10:14 sergiodj+buildbot
  2016-01-21 11:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 10:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f340668a9a7c00f8813b097b157b07fba8cfa82 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 2f340668a9a7c00f8813b097b157b07fba8cfa82

[AArch64] Relax long branch veneer insertion for non STT_FUNC symbol

  As defined at AArch64 ELF Specification (4.6.7 Call and Jump
  relocations), symbol with type of non STT_FUNC but in different input
  section with relocation place should insert long branch veneer also.

  Meanwhile the current long branch veneer infrastructure havn't considered
  the situation where the branch destination is "sym_value + rela->addend".

  This was OK because we only insert veneer for long call destination is
  STT_FUNC symbol for which the addend is always zero. But as we relax the
  support to other situations by this patch, we need to handle addend be
  non-zero value. For example, for static function, relocation against
  "local symbol" are turned into relocation against "section symbol + offset"
  where there is a valid addend.

  bfd/
	* elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
	veneer for sym_sec != input_sec.
	(elfNN_aarch64_size_stub): Support STT_SECTION symbol.
	(elfNN_aarch64_final_link_relocate): Take rela addend into account when
	calculation destination.

  ld/
	* testsuite/ld-aarch64/farcall-section.d: Delete.
	* testsuite/ld-aarch64/farcall-section.s: Delete.
	* testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
	* testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
	* testsuite/ld-aarch64/farcall-b-section.s: New testcase.
	* testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
	* testsuite/ld-aarch64/aarch64-elf.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix regression introduced in "break *<EXPR>" by explicit location patches.
@ 2016-01-21 10:33 sergiodj+buildbot
  2016-01-21 12:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 10:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 305e13e67faaf940ce6eb708847a655a0735a651 ***

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

Fix regression introduced in "break *<EXPR>" by explicit location patches.

A relatively recent patch support for explicit locations, and part
of that patch cleaned up the way we parse breakpoint locations.
Unfortunatly, a small regression crept in for "*<EXPR>" breakpoint
locations. In particular, on PIE programs, one can see the issue by
doing the following, with any program:

    (gdb) b *main
    Breakpoint 1 at 0x51a: file hello.c, line 3.
    (gdb) run
    Starting program: /[...]/hello
    Error in re-setting breakpoint 1: Warning:
    Cannot insert breakpoint 1.
    Cannot access memory at address 0x51a

    Warning:
    Cannot insert breakpoint 1.
    Cannot access memory at address 0x51a

Just for the record, this regression was introduced by:

    commit a06efdd6effd149a1d392df8d62824e44872003a
    Date:   Tue Aug 11 17:09:35 2015 -0700
    Subject: Explicit locations: introduce address locations

What happens is that the patch makes the implicit assumption that
the address computed the first time is static, as if it was designed
to only support litteral expressions (Eg. "*0x1234"). This allows
the shortcut of not re-computing the breakpoint location's address
when re-setting breakpoints.

However, this does not work in general, as demonstrated in the example
above.

This patch plugs that hole simply by saving the original expression
used to compute the address as part of the address location, so as
to then re-evaluate that expression during breakpoint re-set.

gdb/ChangeLog:

        * location.h (new_address_location): Add new parameters
        "addr_string" and "addr_string_len".
        (get_address_string_location): Add declaration.
        * location.c (new_address_location): Add new parameters
        "addr_string" and "addr_string_len".  If not NULL, store
        a copy of the addr_string in the new location as well.
        (get_address_string_location): New function.
        (string_to_event_location): Update call to new_address_location.
        * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>:
        Save the event location in the parser's state before
        passing it to convert_address_location_to_sals.
        * breakpoint.c (create_thread_event_breakpoint): Update call
        to new_address_location.
        (init_breakpoint_sal): Get the event location's string, if any,
        and use it to update call to new_address_location.
        * python/py-finishbreakpoint.c (bpfinishpy_init):
        Update call to new_address_location.
        * spu-tdep.c (spu_catch_start): Likewise.

        * config/djgpp/fnchange.lst: Add entries for
        gdb/testsuite/gdb.base/break-fun-addr1.c and
        gdb/testsuite/gdb.base/break-fun-addr2.c.

gdb/testsuite/ChangeLog:

        * gdb.base/break-fun-addr.exp: New file.
        * gdb.base/break-fun-addr1.c: New file.
        * gdb.base/break-fun-addr2.c: New file.


^ permalink raw reply	[flat|nested] 2163+ 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 12:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Respect CXXFLAGS when building with C++ compiler
@ 2016-01-21 11:45 sergiodj+buildbot
  2016-01-21 13:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-21 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a994041db36c9a6058fe591c7ccd018ed7affc76 ***

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

gdb: Respect CXXFLAGS when building with C++ compiler

Currently, even when built with --enable-build-with-cxx, gdb uses
CFLAGS instead of CXXFLAGS.  This commit fixes it.

CXXFLAGS set in the environment when configure was run is now honored
in the generated gdb/Makefile, and you can also override CXXFLAGS in
the command like at make time, with the usual 'make CXXFLAGS="..."'

Objects built with a C compiler (e.g., gnulib) still honor CFLAGS
instead.

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

	* Makefile.in (COMPILER_CFLAGS): New.
	(CXXFLAGS): Get it from configure.
	(INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS
	instead of CFLAGS.
	* build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST
	COMPILER_CFLAGS.
	* configure: Regenerate.

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

	* Makefile.in (COMPILER_CFLAGS, CXXFLAGS): New.
	(INTERNAL_CFLAGS_BASE): Use COMPILER_CFLAGS instead of CFLAGS.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ 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 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix compile time errors building ARC target on a 32-bit host.
@ 2016-01-21 14:04 sergiodj+buildbot
  2016-01-21 14:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <f906b857015513af81f94db8e11b1e334c767def@gdb-build>]
* [binutils-gdb] * lib/ada.exp (gdb_compile_ada): Fix typo.
@ 2016-01-22  0:30 sergiodj+buildbot
  2016-01-22  0:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] * breakpoint.c (init_breakpoint_sal): Add comment.
@ 2016-01-22  1:15 sergiodj+buildbot
  2016-01-22  1:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [ARM] perror_with_name when failed to fetch/store registers
@ 2016-01-22  9:13 sergiodj+buildbot
  2016-01-22  9:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-22  9:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d86feca31bd9b814fd5317a0ebdbe86fb812a1bd ***

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

[ARM] perror_with_name when failed to fetch/store registers

I see the following test fail on native arm-linux gdb testing...

(gdb) PASS: gdb.base/killed-outside.exp: registers: get pid of inferior
Executing on target: kill -9 2346    (timeout = 300)
spawn kill -9 2346^M
flushregs^M
Register cache flushed.^M
warning: Unable to fetch general registers.^M
PC not available^M
(gdb) PASS: gdb.base/killed-outside.exp: registers: flushregs
info threads^M
  Id   Target Id         Frame ^M
* 1    process 2346 "killed-outside" (gdb) FAIL: gdb.base/killed-outside.exp: registers: info threads (timeout)

since the inferior disappeared, ptrace will fail.  In that case, the
exception should be thrown, so that the caller can handle that.

gdb:

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

	* arm-linux-nat.c (fetch_fpregs): Call perror_with_name
	instead of warning.
	(store_fpregs, fetch_regs, store_regs): Likewise.
	(fetch_wmmx_regs, store_wmmx_regs): Likewise.
	(fetch_vfp_regs, store_vfp_regs): Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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 10:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <99e8eb11cfcdde8cba6755ed4613c3cb079dfaa4@gdb-build>]
* [binutils-gdb] Reword the string description of native FreeBSD ptids.
@ 2016-01-22 17:04 sergiodj+buildbot
  2016-01-22 17:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Fix PR threads/19422 regression + Guile regression
@ 2016-01-22 20:50 sergiodj+buildbot
  2016-01-22 21:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: gdb.gdb/selftest.exp: Drop expected Thread number
@ 2016-01-22 21:00 sergiodj+buildbot
  2016-01-22 21:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-22 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 092127d743462e370fd1156cb746f814a7b46593 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 092127d743462e370fd1156cb746f814a7b46593

testsuite: gdb.gdb/selftest.exp: Drop expected Thread number

Pedro Alves:
Looks like you forgot to amend before pushing though -- the version
checked in still had "Thread 1".

gdb/testsuite/ChangeLog
2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
	    Pedro Alves  <palves@redhat.com>

	Fix testsuite compatibility with Guile.
	* gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
	number.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <cc5fd9abe4980e48e2cc27b0225f3c6ba7c0756b@gdb-build>]
[parent not found: <dc29a1ce6a25233e608f90511e67af3c18e19a98@gdb-build>]
* [binutils-gdb] MIPS/BFD: Correct register index calculation in BZ16_REG
@ 2016-01-24  1:16 sergiodj+buildbot
  2016-01-24  1:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  2:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 10:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <45f3854667c659ab053f51f96e1923f36e6e20ba@gdb-build>]
* [binutils-gdb] Move foreach_with_prefix to lib/gdb.exp
@ 2016-01-25 13:32 sergiodj+buildbot
  2016-01-25 13:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix PR 19494: hang when killing unfollowed fork children
@ 2016-01-25 13:40 sergiodj+buildbot
  2016-01-25 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-25 13:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d2736d43ba16c585e643faec4b6a5084d782289 ***

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

Fix PR 19494: hang when killing unfollowed fork children

linux_nat_kill relies on get_last_target_status to determine whether
the current inferior is stopped at a unfollowed fork/vfork event.
This is bad because many things can happen ever since we caught the
fork/vfork event...  This commit rewrites that code to instead walk
the thread list looking for unfollowed fork events, similarly to what
was done for remote.c.

New test included.  The main idea of the test is make sure that when
the program stops for a fork catchpoint, and the user kills the
parent, gdb also kills the unfollowed fork child.  Since the child
hasn't been added as an inferior at that point, we need some other
portable way to detect that the child is gone.  The test uses a pipe
for that.  The program forks twice, so you have grandparent, child and
grandchild.  The grandchild inherits the write side of the pipe.  The
grandparent hangs reading from the pipe, since nothing ever writes to
it.  If, when GDB kills the child, it also kills the grandchild, then
the grandparent's pipe read returns 0/EOF and the test passes.
Otherwise, if GDB doesn't kill the grandchild, then the pipe read
never returns and the test times out, like:

 FAIL: gdb.base/catch-fork-kill.exp: fork-kind=fork: exit-kind=kill: fork: kill parent (timeout)
 FAIL: gdb.base/catch-fork-kill.exp: fork-kind=vfork: exit-kind=kill: vfork: kill parent (timeout)

No regressions on x86_64 Fedora 20.  New test passes with gdbserver as
well.

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

	PR gdb/19494
	* linux-nat.c (kill_one_lwp): New, factored out from ...
	(kill_callback): ... this.
	(kill_wait_callback): New, factored out from ...
	(kill_wait_one_lwp): ... this.
	(kill_unfollowed_fork_children): New function.
	(linux_nat_kill): Use it.

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

	PR gdb/19494
	* gdb.base/catch-fork-kill.c: New file.
	* gdb.base/catch-fork-kill.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ 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 14:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 15:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 16:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove new_thread_notify and dead_thread_notify
@ 2016-01-25 16:27 sergiodj+buildbot
  2016-01-25 17:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <a579cd9aa8c57c8a54833f26452a1afef38e5d20@gdb-build>]
* [binutils-gdb] [GDBserver] Check input interrupt after reading in a packet
@ 2016-01-26 14:03 sergiodj+buildbot
  2016-01-26 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-26 14:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 18879fef1741464e522624bcc529048400453e0d ***

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

[GDBserver] Check input interrupt after reading in a packet

GDBserver may read some packet together with '\003' in one go.  We've
already checked '\003' first when reading packet by my patch,

  Check input interrupt first when reading packet
  https://sourceware.org/ml/gdb-patches/2016-01/msg00057.html

but if we don't check '\003' *after* each packet, the interrupt will
be processed next time GDBserver reads from the buffer, so that the
interrupt isn't processed in time.  For example, GDB sends vCont;c and
interrupt (see gdb.base/interrupt-noterm.exp), we'll resume the
inferior and wait once packet vCont;c is seen.  If we don't check the
interrupt character after vCont;c packet, interrupt character will stay
in the buffer unattended until GDBserver returns from the wait, which
may take a while.  Note that since we've read '\003' from file
descriptor, SIGIO signal handler input_interrupt doesn't help either.

This issue can be exposed by hacking the end of getpkt like
@@ -1041,6 +1050,9 @@ getpkt (char *buf)
        }
     }

+  if (readchar_bufcnt > 0)
+    gdb_assert (*readchar_bufp != '\003');
+
   return bp - buf;
 }

and this can trigger internal error,
(gdb) PASS: gdb.base/interrupt-noterm.exp: interrupt
Remote connection closed^M
(gdb) FAIL: gdb.base/interrupt-noterm.exp: inferior received SIGINT
Remote debugging from host 10.2.206.40^M
/home/yao/SourceCode/gnu/gdb/git/gdb/gdbserver/remote-utils.c:1054: A problem internal to GDBserver has been detected.^M
getpkt: Assertion `*readchar_bufp != '\003'' failed.^M

This patch is to peek the buffer, if it is '\003', consume it and call
*the_target->request_interrupt.

gdb/gdbserver:

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

	* remote-utils.c (getpkt): If the buffer isn't empty, and the
	first character is '\003', call *the_target->request_interrupt.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [GDBserver] Block and unblock SIGIO
@ 2016-01-26 14:13 sergiodj+buildbot
  2016-01-26 14:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 15:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove argument pc in get_next_pcs
@ 2016-01-26 14:48 sergiodj+buildbot
  2016-01-26 16:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-26 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d18591be953e2faeaaa280484d375fe05857770 ***

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

Remove argument pc in get_next_pcs

Nowadays, get_next_pcs in linux_target_ops has two parameters PC
and REGCACHE.  Parameter PC looks redundant because it can be go
from REGCACHE.  The patch is to remove PC from the arguments for
various functions.

gdb:

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

	* arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
	Remove argument pc.  Get pc by regcache_read_pc.  Callers updated.
	(arm_deal_with_atomic_sequence_raw): Likewise.
	(thumb_get_next_pcs_raw): Likewise.
	(arm_get_next_pcs_raw): Likewise.
	(arm_get_next_pcs): Remove argument pc.  Callers updated.
	* arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.

gdb/gdbserver:

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

	* linux-arm-low.c (arm_gdbserver_get_next_pcs): Remove argument pc.
	* linux-low.c (install_software_single_step_breakpoints): Don't
	call regcache_read_pc.
	* linux-low.h (struct linux_target_ops) <get_next_pcs>: Remove
	argument pc.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix function comments
@ 2016-01-26 21:41 sergiodj+buildbot
  2016-01-26 22:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add Keith Seitz as Linespec Maintainer
@ 2016-01-27 11:38 sergiodj+buildbot
  2016-01-27 11:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-27 11:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c07af0ab296efebf868a153e6c98cb65c5c23d04 ***

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

Add Keith Seitz as Linespec Maintainer

gdb/ChangeLog:

        * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as
        Linespec Maintainers.


^ permalink raw reply	[flat|nested] 2163+ 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:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix GDB crash in dprintf.exp
@ 2016-01-28 14:27 sergiodj+buildbot
  2016-01-28 14:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [testsuite] Fix tiemout fail in gdb.fortran/vla-value.exp
@ 2016-01-28 14:39 sergiodj+buildbot
  2016-01-28 15:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 14:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fe8399de97e50f631ce28ceb42515862a927556 ***

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

[testsuite] Fix tiemout fail in gdb.fortran/vla-value.exp

In vla.f90, this single line of source is compiled to many instructions,

  vla2(:, :, :) = 1311                ! vla2-allocated

it is quite slow (about several minutes in my testing) to step over this
source line without range stepping.  This patch is to increase the timeout
value by 15 times, which is a magic number to make sure timeout disappears
in my testing with a slow arm-linux board.

gdb/testsuite:

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

	* gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Import strchrnul from gnulib and use it
@ 2016-01-28 15:47 sergiodj+buildbot
  2016-01-28 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add rawmemchr to imported gnulib modules
@ 2016-01-28 19:00 sergiodj+buildbot
  2016-01-28 19:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 19:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56e374a6bcc87f7ac8aeb09887628a3286908545 ***

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

Add rawmemchr to imported gnulib modules

rawmemchr is a dependency of strchrnul, so it should be explicitly
listed.

gdb/ChangeLog:

	* gnulib/import/Makefile.am: Regenerate.
	* gnulib/import/Makefile.in: Regenerate.
	* gnulib/import/m4/gnulib-cache.m4: Regenerate.
	* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Sync libiberty with GCC.
@ 2016-01-28 21:00 sergiodj+buildbot
  2016-01-28 21:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Align dlang demangle tests with libiberty.
@ 2016-01-28 21:08 sergiodj+buildbot
  2016-01-28 22:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-01-28 21:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4324c94dd727bad65616817dacc5a75ede606967 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 4324c94dd727bad65616817dacc5a75ede606967

Align dlang demangle tests with libiberty.

gdb/testsuite/ChangeLog:
	* gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set BFD_DECOMPRESS to decompress debug sections
@ 2016-01-28 21:41 sergiodj+buildbot
  2016-01-28 22:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix two misleading indentation warnings
@ 2016-01-29 20:45 sergiodj+buildbot
  2016-01-29 21:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] elf64-s390.c: Fix -Werror=misleading-indentation
@ 2016-02-01  3:01 sergiodj+buildbot
  2016-02-01  3:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix some comments in varobj.{c,h}
@ 2016-02-01  3:36 sergiodj+buildbot
  2016-02-01  3:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01  3:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fa1307022c1278575846faba5f3391b70d64b16 ***

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

Fix some comments in varobj.{c,h}

A few typos.  The comment about varobj_create has been misplaced since
the dawn of time.

gdb/ChangeLog:

	* varobj.h (struct varobj): Fix typos in comments.
	(struct lang_varobj_ops): Likewise.
	* varobj.c (VAROBJ_TABLE_SIZE): Likewise.
	(varobj_create): Move misplaced comment.


^ permalink raw reply	[flat|nested] 2163+ 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:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix undefined compilation behaviour shifting a value into the sign bit of a signed integer.
@ 2016-02-01 11:15 sergiodj+buildbot
  2016-02-01 11:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 11:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d8c823c8b62b4f0fc4747eb9e4e29739add34c17 ***

Author: Michael McConville <mmcco@mykolab.com>
Branch: master
Commit: d8c823c8b62b4f0fc4747eb9e4e29739add34c17

Fix undefined compilation behaviour shifting a value into the sign bit of a signed integer.

	* cgen-dis.c (count_decodable_bits): Use unsigned value for mask
	test bit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] x86 synthetic plt symbols
@ 2016-02-01 11:43 sergiodj+buildbot
  2016-02-01 12:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for importing data from ILF images.
@ 2016-02-01 13:53 sergiodj+buildbot
  2016-02-01 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 13:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 655ed9ea1703173cb796070ed9843ea90bb74e58 ***

Author: Nathaniel Smith <njs@pobox.com>
Branch: master
Commit: 655ed9ea1703173cb796070ed9843ea90bb74e58

Add support for importing data from ILF images.

	* peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both
	CODE and DATA.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: New set/show max-value-size command.
@ 2016-02-01 18:23 sergiodj+buildbot
  2016-02-01 18:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Guard against undefined behaviour in mi-vla-fortran.exp
@ 2016-02-01 18:40 sergiodj+buildbot
  2016-02-01 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 18:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37a8db1a336ce78a46bf7f303e47e17b2a1bf694 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 37a8db1a336ce78a46bf7f303e47e17b2a1bf694

gdb: Guard against undefined behaviour in mi-vla-fortran.exp

The test gdb.mi/mi-vla-fortran.exp reveals an issue with the DWARF
generated by gfortran.

In the test a pointer variable 'pvla2' is created:
    real, pointer :: pvla2 (:, :)

Initially this variable will be unassociated, so something like this:
    l = associated(pvla2)

should return false.

In the test gdb stops at a point _before_ pvla2 is associated with
anything, and we then try to print pvla2, the expectation is that gdb
should reply <not associated>.

The problem is that the data the DWARF directs gdb to read (to identify
if the variable is associated or not) is not initialised until the first
time pvla2 is accessed.

As a result gdb ends up reading uninitialised memory, sometimes this
uninitialised memory indicates the variable is associated (when it's
not).  This first mistake can lead to a cascade of errors, reading
uninitialised memory, with the result that gdb builds an invalid type to
associate with the variable pvla2.

In some cases, this invalid type can be very large, which when we try to
print pvla2 causes gdb to allocate a large amount of memory.

A recent commit added a new gdb variable 'max-value-size', which
prevents gdb from allocating values of extreme size.  As a result
directly trying to print pvla2 will now now error rather than allocate a
large amount of memory.

However, some of the later tests create a varobj for pvla2, and then
ask for the children of that varobj to be displayed.  In the case where
an invalid type has been computed for pvla2 then the number of children
can be wrong, and very big, in which case trying to display all of these
children can cause gdb to consume an excessive amount of memory.

This commit first detects if printing pvla2 triggers the max-value-size
error, if it does then we avoid all the follow on tests relating to the
unassociated pvla2, which avoids the second error printing the varobj
children.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
	pointer.  Don't perform further tests on the unassociated pointer
	if the first test fails.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Test gdb.threads/forking-threads-plus-breakpoint.exp with displaced stepping off
@ 2016-02-01 19:35 sergiodj+buildbot
  2016-02-01 20:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 19:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b2e4f10aeb64868720de06d3b2da3cc2d908f10 ***

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

Test gdb.threads/forking-threads-plus-breakpoint.exp with displaced stepping off

This exposes the internal error Don mentioned in PR19496:

  (1) internal error --  gdb/target.c:2713: internal-error: Can't determine the current address space of thread

More analysis here:

  https://sourceware.org/ml/gdb-patches/2016-01/msg00685.html

The (now kfailed) internal error looks like:

 continue &
 Continuing.
 (gdb) PASS: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=1: detach_on_fork=on: displaced=off: continue &
 [New Thread 2846.2847]
 (...)
 [New Thread 2867.2867]
 /home/pedro/gdb/mygit/src/gdb/target.c:2723: internal-error: Can't determine the current address space of thread Thread 2846.2846

 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n) KFAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=1: detach_on_fork=on: displaced=off: inferior 1 exited (GDB internal error) (PRMS: remote/19496)
 Resyncing due to internal error.

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

	PR remote/19496
	* gdb.threads/forking-threads-plus-breakpoint.exp
	(displaced_stepping_supported): New global.
	(probe_displaced_stepping_support): New procedure.
	(do_test): Add 'displaced' parameter, and use it.
	(top level): Check for displaced stepping support.  Add displaced
	stepping on/off testing axis.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb.base/skip.exp: Clean up multiple references to same test name.
@ 2016-02-01 23:33 sergiodj+buildbot
  2016-02-01 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 23:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9482b9fbb6414468228c618c165e397116a4a8f8 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 9482b9fbb6414468228c618c165e397116a4a8f8

gdb.base/skip.exp: Clean up multiple references to same test name.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't add DT_NEEDED for unmatched symbol
@ 2016-02-01 23:59 sergiodj+buildbot
  2016-02-02  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-01 23:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aef28989904e92e391fee905e51abc6bb2fd4de0 ***

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

Don't add DT_NEEDED for unmatched symbol

Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED
doesn't match the symbol referenced by regular object.

bfd/

	PR ld/19553
	* elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
	if a symbol from a library loaded via DT_NEEDED doesn't match
	the symbol referenced by regular object.

ld/testsuite/

	PR ld/19553
	* testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
	* testsuite/ld-elf/pr19553.map: New file.
	* testsuite/ld-elf/pr19553.map: Likewise.
	* testsuite/ld-elf/pr19553a.c: Likewise.
	* testsuite/ld-elf/pr19553b.c: Likewise.
	* testsuite/ld-elf/pr19553b.out: Likewise.
	* testsuite/ld-elf/pr19553c.c: Likewise.
	* testsuite/ld-elf/pr19553c.out: Likewise.
	* testsuite/ld-elf/pr19553d.c: Likewise.
	* testsuite/ld-elf/pr19553d.out: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Merge gdb and gdbserver implementations for siginfo
@ 2016-02-02 10:56 sergiodj+buildbot
  2016-02-02 11:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Preparation for new siginfo on Linux
@ 2016-02-02 11:05 sergiodj+buildbot
  2016-02-02 11:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 11:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 43564574f1de367f537a37bf6ec83bb4c29627c6 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 43564574f1de367f537a37bf6ec83bb4c29627c6

Preparation for new siginfo on Linux

First add new structure and function to allow architecture customization
for the siginfo structure.

2016-01-15  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* linux-tdep.h (linux_siginfo_extra_field_values): New enum values.
	(linux_siginfo_extra_fields): New enum type.
	* linux-tdep.c (linux_get_siginfo_type_with_fields): New function.
	(linux_get_siginfo_type): Use new function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use linux_get_siginfo_type_with_fields for x86
@ 2016-02-02 11:13 sergiodj+buildbot
  2016-02-02 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add bound related fields to the siginfo structure
@ 2016-02-02 11:21 sergiodj+buildbot
  2016-02-02 13:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 11:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96b5c49fb18ba7ad070b0c3ad36388d56c5897fb ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 96b5c49fb18ba7ad070b0c3ad36388d56c5897fb

Add bound related fields to the siginfo structure

Both Linux and glibc have introduced bound related fields in the
segmentation fault fields of the siginfo_t type. Add the new fields
to our x86's siginfo_t type too.

Kernel patch:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=ee1b58d36aa1b5a79eaba11f5c3633c88231da83

Glibc patch:
http://repo.or.cz/w/glibc.git/commit/d4358b51c26a634eb885955aea06cad26af6f696

2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
	structure to the siginfo if extra_fields contains
	LINUX_SIGINFO_FIELD_ADDR_BND.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] epiphany/disassembler: Improve alignment of output.
@ 2016-02-02 11:38 sergiodj+buildbot
  2016-02-02 14:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 11:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b89807c67baf4f31125d151f2dc3532b3420964d ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: b89807c67baf4f31125d151f2dc3532b3420964d

epiphany/disassembler: Improve alignment of output.

Always set the bytes_per_line field (of struct disassemble_info) to the
same constant value, this is inline with the advice contained within
include/dis-asm.h.

Setting this field to a constant value will cause the disassembler
output to be better aligned.

cpu/ChangeLog:

	* epiphany.opc (epiphany_print_insn): Set info->bytes_per_line to
	a constant to better align disassembler output.

opcodes/ChangeLog:

	* epiphany-dis.c: Regenerated from latest cpu files.

gas/ChangeLog:

	* testsuite/gas/epiphany/sample.d: Update expected output.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes/cgen: Rework calculation of shift when inserting fields
@ 2016-02-02 12:04 sergiodj+buildbot
  2016-02-02 14:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 12:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a143b0045ca8a7024a8515b5dda3ceab5f832e83 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: a143b0045ca8a7024a8515b5dda3ceab5f832e83

opcodes/cgen: Rework calculation of shift when inserting fields

The calculation of the shift amount, used to insert fields into the
instruction buffer, is not correct when the following conditions are all
true:
  - CGEN_INT_INSN_P is defined, and true.
  - CGEN_INSN_LSB0_P is true
  - Total instruction length is greater than the length of a single
    instruction word (the instruction is made of multiple words)
  - The word offset is non-zero (the field is outside the first word)

When the above conditions are all true, the calculated shift fails to
take account of the total instruction length.

After this commit the calculation of the shift amount is split into two
parts, first we calculate the shift required to get to BIT0 of the word
in which the field lives, then we calculate the shift required to place
the field within the instruction word.

The change in this commit only effects the CGEN_INT_INSN_P defined true
case, but changes the code for both CGEN_INSN_LSB0_P true, and false.

In the case of CGEN_INSN_LSB0_P being false, the code used to say:

	shift = total_length - (word_offset + start + length);

Now it says:

	shift_to_word = total_length - (word_offset + word_length);
	shift_within_word = word_length - start - length;
	shift = shift_to_word + shift_within_word;

>From which we can see that in all cases the computed shift value should
be unchanged.

In the case of CGEN_INSN_LSB0_P being true, the code used to say:

	shift = (word_offset + start + 1) - length;

Now it says:

	shift_to_word = total_length - (word_offset + word_length);
	shift_within_word = start + 1 - length;
	shift = shift_to_word + shift_within_word;

In the case where 'total_length == word_length' AND 'word_offset ==
0' (which indicates an instruction of a single word), we see that the
computed shift value will be unchanged.  However, when the total_length
and word_length are different, and the word_offset is non-zero then the
computed shift value will be different (and correct).

opcodes/ChangeLog:

	* cgen-ibld.in (insert_normal): Rework calculation of shift.
	* epiphany-ibld.c: Regenerate.
	* fr30-ibld.c: Regenerate.
	* frv-ibld.c: Regenerate.
	* ip2k-ibld.c: Regenerate.
	* iq2000-ibld.c: Regenerate.
	* lm32-ibld.c: Regenerate.
	* m32c-ibld.c: Regenerate.
	* m32r-ibld.c: Regenerate.
	* mep-ibld.c: Regenerate.
	* mt-ibld.c: Regenerate.
	* or1k-ibld.c: Regenerate.
	* xc16x-ibld.c: Regenerate.
	* xstormy16-ibld.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Adaptation of siginfo fixup for the new bnd fields
@ 2016-02-02 12:26 sergiodj+buildbot
  2016-02-02 13:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Clear HAS_RELOC if there are no relocations
@ 2016-02-02 12:31 sergiodj+buildbot
  2016-02-02 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 12:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14f2c699ddca1e2f706342dffc59a6c7e23e844c ***

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

Clear HAS_RELOC if there are no relocations

The HAS_RELOC bit should be cleared when relocations are removed from
relocatable files.

bfd/

	PR binutils/19547
	* elf.c (assign_section_numbers): Clear HAS_RELOC if there are
	no relocations in relocatable files.

binutils/

	PR binutils/19547
	* testsuite/binutils-all/objcopy.exp
	(objcopy_test_without_global_symbol): New proc.
	Run objcopy_test_without_global_symbol.
	* testsuite/binutils-all/pr19547.c: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PowerPC64 ELFv2 entry code
@ 2016-02-02 13:44 sergiodj+buildbot
  2016-02-02 16:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 13:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 85fabe715c441e1c90fe913e2a6d65f0e487e5e8 ***

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

PowerPC64 ELFv2 entry code

This tightens the condition under which ld optimizes PIC entry code
to non-PIC.

bfd/
	* elf64-ppc.c (ppc64_elf_relocate_section): Further restrict
	ELFv2 entry optimization.
gold/
	* powerpc.cc (relocate): Further restrict ELFv2 entry optimization.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Store estimated istrances in compressed_size
@ 2016-02-02 16:34 sergiodj+buildbot
  2016-02-02 17:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a539596f5d54d3116c5fdebd8be56998757288b ***

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

Store estimated istrances in compressed_size

elf_x86_64_convert_load is very time consuming since it is called on
each input section and has a loop over input text sections to estimate
the branch distrance.  We can store the estimated distrances in the
compressed_size field of the output section, which is only used to
decompress the compressed input section.

Before the patch, linking clang 3.9 takes 52 seconds.  After the patch,
it only takes 2.5 seconds.

	PR ld/19542
	* elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
	distrances in the compressed_size field of the output section.


^ permalink raw reply	[flat|nested] 2163+ 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-02 21:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] ui-out.c: Remove unused enum
@ 2016-02-02 21:51 sergiodj+buildbot
  2016-02-03  3:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-02 21:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6456a18b717e7b1ae96d77a2549fbf4da60d6617 ***

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

ui-out.c: Remove unused enum

This is unused since 54eb231c4bca046e8b8cd73461f695e02c5620d5, where
static arrays of ui_out_levels were replaced with vectors.

gdb/ChangeLog:

	* ui-out.c (MAX_UI_OUT_LEVELS): Remove.


^ permalink raw reply	[flat|nested] 2163+ 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:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] waiting_for_stop_reply around remote_fileio_request
@ 2016-02-04 15:22 sergiodj+buildbot
  2016-02-04 15:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-04 15:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e42e5352d1d1e8a262178f606a5df3d0d988f78a ***

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

waiting_for_stop_reply around remote_fileio_request

Hi,
I see this error when GDB connects with qemu,

(gdb) n
....
Sending packet: $vCont;c#a8...Ack
Packet received: Ffstat,00000001,f6fff038
Cannot execute this command while the target is running.
Use the "interrupt" command to stop the target
and then try again.

looks we don't set rs->waiting_for_stop_reply to zero
before handle fileio request,

 #10 0x00000000005edb64 in target_write (len=64, offset=4143968312, buf=0x7fffffffd570 "\375\377\377\377", annex=0x0, object=TARGET_OBJECT_MEMORY,
    ops=<optimised out>) at /home/yao/SourceCode/gnu/gdb/git/gdb/target.c:1922
 #11 target_write_memory (memaddr=memaddr@entry=4143968312, myaddr=myaddr@entry=0x7fffffffd6a0 "", len=len@entry=64)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/target.c:1500
 #12 0x00000000004b2b41 in remote_fileio_func_fstat (buf=0x127b258 "") at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:1037
 #13 0x00000000004b1878 in do_remote_fileio_request (uiout=<optimised out>, buf_arg=buf_arg@entry=0x127b240)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:1204
 #14 0x00000000005b8c7c in catch_exceptions_with_msg (func_uiout=<optimised out>, func=func@entry=0x4b1800 <do_remote_fileio_request>,
    func_args=func_args@entry=0x127b240, gdberrmsg=gdberrmsg@entry=0x0, mask=mask@entry=RETURN_MASK_ALL)
    at /home/yao/SourceCode/gnu/gdb/git/gdb/exceptions.c:187
 #15 0x00000000005b8dea in catch_exceptions (uiout=<optimised out>, func=func@entry=0x4b1800 <do_remote_fileio_request>, func_args=func_args@entry=0x127b240,
    mask=mask@entry=RETURN_MASK_ALL) at /home/yao/SourceCode/gnu/gdb/git/gdb/exceptions.c:167
 #16 0x00000000004b2fff in remote_fileio_request (buf=0x127b240 "Xf6fff038,0:", ctrlc_pending_p=0) at /home/yao/SourceCode/gnu/gdb/git/gdb/remote-fileio.c:1255
 #17 0x0000000000496f12 in remote_wait_as (ptid=..., status=0x7fffffffdb20, options=1) at /home/yao/SourceCode/gnu/gdb/git/gdb/remote.c:6997

however, we did set rs->waiting_for_stop_reply to zero before Luis's
patch https://sourceware.org/ml/gdb-patches/2015-10/msg00336.html

In fact, Luis's patch v1
https://sourceware.org/ml/gdb-patches/2015-08/msg00809.html is about
setting rs->waiting_for_stop_reply back to one after
remote_fileio_request, which is correct.  However during the review, the
patch is changed and ends up with "not setting rs->waiting_for_stop_reply
to zero".

I manually test GDB, but I don't have a way to run regression tests.

gdb:

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

	* remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to
	0 before handling 'F' and set it back afterwards.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [testsuite] Remove BASEDIR
@ 2016-02-04 15:57 sergiodj+buildbot
  2016-02-04 16:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Prevent possible undefined behaviour computing the size of the scache by usingunsigned integers instead of signed integers.
@ 2016-02-04 16:40 sergiodj+buildbot
  2016-02-04 16:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-04 16:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13754e4c3d1b78945ecba225216f29d71334b77d ***

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

Prevent possible undefined behaviour computing the size of the scache by usingunsigned integers instead of signed integers.

	* cgen-scache.c (scache_option_handler): Prevent possible
	undefined behaviour computing the size of the scache by using
	unsigned integers instead of signed integers.


^ permalink raw reply	[flat|nested] 2163+ 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:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix formatting of pe-mips.c file.
@ 2016-02-05 10:26 sergiodj+buildbot
  2016-02-05 11:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] sim: mips: fix prog_bfd usage
@ 2016-02-06  1:39 sergiodj+buildbot
  2016-02-06  2:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] varobj: Cleanup dead code
@ 2016-02-07 14:56 sergiodj+buildbot
  2016-02-07 15:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] remote.c: Cleanup unused variables
@ 2016-02-08 18:12 sergiodj+buildbot
  2016-02-08 18:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-08 18:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5488790363bf8f338e7aec4731f8bed472a2fcf9 ***

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

remote.c: Cleanup unused variables

I built remote.c with -Wunused, to check a function I was working on,
turns out there is a bunch of unused variables.

gdb/ChangeLog:

	* remote.c (remote_register_number_and_offset): Remove unused
	variable(s).
	(remote_thread_always_alive): Likewise.
	(remote_update_thread_list): Likewise.
	(process_initial_stop_replies): Likewise.
	(remote_start_remote): Likewise.
	(remote_check_symbols): Likewise.
	(discard_pending_stop_replies): Likewise.
	(process_stop_reply): Likewise.
	(putpkt_binary): Likewise.
	(getpkt): Likewise.
	(remote_add_target_side_condition): Likewise.
	(remote_insert_breakpoint): Likewise.
	(remote_supports_stopped_by_sw_breakpoint): Likewise.
	(remote_supports_stopped_by_hw_breakpoint): Likewise.
	(remote_xfer_partial): Likewise.
	(remote_read_btrace): Likewise.
	(remote_async_serial_handler): Likewise.
	(remote_thread_events): Likewise.
	(_initialize_remote): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix in-tree, parallel running of Ada tests
@ 2016-02-08 19:12 sergiodj+buildbot
  2016-02-08 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Always organize test artifacts in a directory hierarchy
@ 2016-02-08 19:40 sergiodj+buildbot
  2016-02-08 20:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix macro redefinition error on Solaris
@ 2016-02-09  5:24 sergiodj+buildbot
  2016-02-09  6:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09  5:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 24f5f69a8a1d09c317a5f28d324fca73a8a0b930 ***

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

Fix macro redefinition error on Solaris

	PR 16583
	* elf/common.h (AT_SUN_HWCAP): Undef before defining.


^ permalink raw reply	[flat|nested] 2163+ 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:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix build breakage
@ 2016-02-09 10:38 sergiodj+buildbot
  2016-02-09 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 10:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 222cab58b7ed37df6e01dacb0932f400a2588137 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 222cab58b7ed37df6e01dacb0932f400a2588137

Fix build breakage

Add a cast to reinterpret a void* as a gdb_byte*.

2016-02-09  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/gdbserver/ChangeLog:

        * linux-x86-low.c (x86_siginfo_fixup): Add cast to gdb_byte*.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Revert "Add a more helpful warning message to explain why some AArch64 relocations can overflow."
@ 2016-02-09 10:48 sergiodj+buildbot
  2016-02-09 12:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0635c8759326e9431604b3359185cbf96740521d ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 0635c8759326e9431604b3359185cbf96740521d

Revert "Add a more helpful warning message to explain why some AArch64 relocations can overflow."

This reverts commit 2ea53e003163338a403d5afbb2046cafb8f3abe9.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Revert "Fix build breakage"
@ 2016-02-09 10:57 sergiodj+buildbot
  2016-02-09 12:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 13:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix PR19548: Breakpoint re-set inserts breakpoints when it shouldn't
@ 2016-02-09 12:41 sergiodj+buildbot
  2016-02-09 14:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2a7f3dffced7a20c992e1488d9f05fed8b8001fd ***

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

Fix PR19548: Breakpoint re-set inserts breakpoints when it shouldn't

PR19548 shows that we still have problems related to 13fd3ff34329:

 [PR17431: following execs with "breakpoint always-inserted on"]
 https://sourceware.org/ml/gdb-patches/2014-09/msg00733.html

The problem this time is that we currently update the global location
list and try to insert breakpoint locations after re-setting _each_
breakpoint in turn.

Say:

 - We have _more_ than one breakpoint set.  Let's assume 2.

 - There's a breakpoint with a pre-exec address that ends up being an
   unmapped address after the exec.

 - That breakpoint is NOT the first in the breakpoint list.

Then when handling an exec, and we re-set the first breakpoint in the
breakpoint list, we mistakently try to install the old pre-exec /
un-re-set locations of the other breakpoint, which fails:

 (gdb) continue
 Continuing.
 process 28295 is executing new program: (...)/execl-update-breakpoints2
 Error in re-setting breakpoint 1: Warning:
 Cannot insert breakpoint 2.
 Cannot access memory at address 0x1000764

 Breakpoint 1, main (argc=1, argv=0x7fffffffd368) at /home/pedro/gdb/mygit/src/gdb/testsuite/gdb.base/execl-update-breakpoints.c:34
 34        len = strlen (argv[0]);
 (gdb)

Fix this by deferring the global location list update till after all
breakpoints are re-set.

Tested on x86_64 Fedora 20, native and gdbserver.

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

	PR breakpoints/19548
	* breakpoint.c (create_overlay_event_breakpoint): Don't update
	global location list here.
	(create_longjmp_master_breakpoint)
	(create_std_terminate_master_breakpoint)
	(create_exception_master_breakpoint, create_jit_event_breakpoint)
	(update_breakpoint_locations):
	(breakpoint_re_set): Update global location list after all
	breakpoints are re-set.

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

	PR breakpoints/19548
	* gdb.base/execl-update-breakpoints.c (some_function): New
	function.
	(main): Call it.
	* gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
	Tighten expected GDB output.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <8adce0342f5f50aba0154fc56ca59df45b219738@gdb-build>]
* [binutils-gdb] Modernize configure.ac's
@ 2016-02-09 14:16 sergiodj+buildbot
  2016-02-09 15:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 14:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e94266c4db633f7defaf4bb68c74fd09a9cf9e2 ***

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

Modernize configure.ac's

Using AC_OUTPUT with arguments has been deprecated for some time in
autoconf, even in version 2.64, which we are using.  This change should
not affect functionality.

I also removed the "exit 0"'s, they shouldn't be necessary.

gdb/ChangeLog:

	* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
	to AC_OUTPUT.  Remove "exit 0" at the end.
	* configure: Regenerate.

gdb/testsuite/ChangeLog:

	* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
	to AC_OUTPUT.
	* configure: Regenerate.

gdb/gdbserver/ChangeLog:

	* configure.ac: Use AC_CONFIG_FILES instead of passing arguments
	to AC_OUTPUT.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ 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 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Refactor string_to_event_location for legacy linespec support.
@ 2016-02-09 22:48 sergiodj+buildbot
  2016-02-09 23:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 22:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eeb1af437c6f1ca111bc31b63eefc5344b553681 ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: eeb1af437c6f1ca111bc31b63eefc5344b553681

Refactor string_to_event_location for legacy linespec support.

This patch refactors string_to_event_location, breaking it into two
separate functions:

1) string_to_event_location_basic
A "basic" string parser that implements support for "legacy" linespecs
(linespec, address, and probe locations).  This function is intended to
be used by any UI wishing/needing to support this legacy behavior.

2) string_to_event_location
This is now intended as a CLI-only function which adds explicit location
parsing in a CLI-appropriate manner (in the form of traditional option/value
pairs).

Together these patches serve to simplify string-to-event location parsing
for all existing non-CLI interfaces (MI, guile, and python).

gdb/ChangeLog

	* location.c (string_to_explicit_location): Note that "-p" is
	reserved for probe locations and return NULL for any input
	that starts with that.
	(string_to_event_location): Move "legacy" linespec code to ...
	(string_to_event_location_basic): ... here.
	* location.h (string_to_event_location): Update comment.
	(string_to_event_location_basic): New function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] python/19506 -- gdb.Breakpoint address location regression
@ 2016-02-09 22:56 sergiodj+buildbot
  2016-02-10  0:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use string_to_event_location_basic in guile.
@ 2016-02-09 23:05 sergiodj+buildbot
  2016-02-10  0:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 23:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a96e36da2f5278949099b0b985b2fa6ce474b135 ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: a96e36da2f5278949099b0b985b2fa6ce474b135

Use string_to_event_location_basic in guile.

This patch, analogous to the previous python patch, implements proper
legacy linespec support in guile code using the newly introduced
string_to_event_location_basic.

gdb/ChangeLog

	* guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip
	leading whitespace and use string_to_event_location_basic instead
	of new_linespec_location.

gdb/testsuite/ChangeLog

	* gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
	(toplevel): Call test_bkpt_address.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enable/update legacy linespecs in MI.
@ 2016-02-09 23:32 sergiodj+buildbot
  2016-02-10  1:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-09 23:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39a67dc4f7d032c78f031e2d101b9552f1a6b57f ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 39a67dc4f7d032c78f031e2d101b9552f1a6b57f

Enable/update legacy linespecs in MI.

MI is currently using string_to_event_location to enable the use of legacy
linespecs, but using this function (until this patchset) had the (as yet
unnoticed) side effect of allowing both MI and CLI representation for
explicit locations.

This patch simply changes MI to use the same legacy linespec functions
that the python and guile interpreters use.  This eliminates the CLI syntax
for explicit locations (in MI).

gdb/ChangeLog

	* mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use
	string_to_event_location_basic instead of string_to_event_location.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] breakpoints/19546: Fix crash after updating breakpoints
@ 2016-02-10  0:25 sergiodj+buildbot
  2016-02-10  2:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-10  0:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a

breakpoints/19546: Fix crash after updating breakpoints

One of the last checks update_breakpoints_after_exec does while looping
over the list of breakpoints is check that the breakpoint has a valid
location spec. It uses event_location_empty_p to check if the location spec
is "empty", and if it is, the breakpoint is deleted.

momentary_breakpoint types rely on setting the breakpoint structure's
location spec to NULL, thereby causing an update to delete the breakpoint.
However, event_location_empty_p assumed that locations were never NULL.
As a result, GDB would crash dereferencing a NULL pointer whenever
update_breakpoints_after_exec would encounter a momentary_breakpoint.

This patch creates a new wrapper/helper function which tests that the given
breakpoint's location spec is non-NULL and if it is not "empty"
or "unspecified."

gdb/ChangeLog

	PR breakpoints/19546
	* breakpoint.c (breakpoint_event_location_empty_p): New function.
	(update_breakpoints_after_exec, bkpt_re_set): Use this new function
	instead of event_location_empty_p.

gdb/testsuite/ChangeLog

	PR breakpoints/19546
	* gdb.base/infcall-exec.c: New file.
	* gdb.base/infcall-exec2.c: New file.
	* gdb.base/infcall-exec.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Bump version to 7.11.50.DATE-git.
@ 2016-02-10  3:58 sergiodj+buildbot
  2016-02-10  6:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-10  3:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1dc0942695f0d18a923d6bbc1f5f31b39d17b33 ***

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

Bump version to 7.11.50.DATE-git.

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

gdb/ChangeLog:

	GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a):
	* version.in: Bump version to 7.11.50.DATE-git.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update NEWS post GDB 7.11 branch creation.
@ 2016-02-10  4:06 sergiodj+buildbot
  2016-02-10  7:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Sync top level files with gcc.
@ 2016-02-10 11:05 sergiodj+buildbot
  2016-02-10 11:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-10 11:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52cf9762c53f5de7070a3951a3a6156082839d35 ***

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

Sync top level files with gcc.

	Import these patches from the GCC mainline:

	2016-01-12  Andris Pavenis  <andris.pavenis@iki.fi>

	* configure.ac: Enable LTO for DJGPP
	* configure: Regenerate

	2016-01-24  Mikhail Maltsev  <maltsevm@gmail.com>

	PR bootstrap/69329
	* Makefile.tpl (BASE_FLAGS_TO_PASS): Add LSAN_OPTIONS.
	* Makefile.in: Regenerate.

	2016-01-25  Aditya Kumar  <aditya.k7@samsung.com>
	            Sebastian Pop  <s.pop@samsung.com>

	* Makefile.in: Regenerate.
	* Makefile.tpl: Export ISLVER.
	* configure: Regenerate.
	* config/isl.m4: Detect isl-0.15.

	2016-01-29  Sebastian Pop  <s.pop@samsung.com>

	* config/isl.m4: Add comments about isl-0.16.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ 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 11:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add support for ARC instruction relaxation in the assembler.
@ 2016-02-10 12:21 sergiodj+buildbot
  2016-02-10 12:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <473b99e5721ad623cc5826e03a73e2cf6cef4eb5@gdb-build>]
[parent not found: <e909d859f5635d66e79fef467da70d6090bfae1b@gdb-build>]
* [binutils-gdb] arm-tdep.c: Fix typo
@ 2016-02-10 15:50 sergiodj+buildbot
  2016-02-10 16:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-10 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 550dc4e26630c9b9a2bb95cd51250762fc89fe16 ***

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

arm-tdep.c: Fix typo

unpriveleged -> unprivileged

gdb/ChangeLog:

	* arm-tdep.c (arm_copy_extra_ld_st): Fix "unpriveleged" typo.
	(arm_decode_dp_misc): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <62e5fd57bcdfb58eadd08ec430c4dfd742027d8e@gdb-build>]
* [binutils-gdb] Clear *VAL in regcache_raw_read_unsigned
@ 2016-02-10 17:06 sergiodj+buildbot
  2016-02-10 17:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-10 17:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f6a71b4bfdad8fa2fe33e86f799fa0d362973dc ***

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

Clear *VAL in regcache_raw_read_unsigned

We have function regcache_raw_read_unsigned defined in both GDB and
GDBserver, so that it is used in common like this,

  ULONGEST value;
  status = regcache_raw_read_unsigned (regcache, regnum, &value);

'value' is correctly set in GDB side, but may not be correctly set
in GDBserver, because &value is passed in regcache_raw_read_unsigned
but collect_register may only set part of the whole variable.  In my
test, I see the top half of 'value' is garbage.  This patch fixes this
problem by clearing *VAL before calling collect_register.

gdb/gdbserver:

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

	* regcache.c (regcache_raw_read_unsigned): Clear *VAL.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <5ac87a997fca849c654fffdf1c3e1991ea3f81d1@gdb-build>]
* [binutils-gdb] Mask off the least significant bit in GOT offset
@ 2016-02-11  3:48 sergiodj+buildbot
  2016-02-11  3:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-11  3:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 32875eb1f3b928dfe63c5752e8152a9dc09928f3 ***

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

Mask off the least significant bit in GOT offset

The least significant bit in GOT offset is to record whether we have
initialized the GOT entry in R_386_GOT32 processing.  We need to mask
it off for R_386_GOT32X.

	PR ld/19601
	* elf32-i386.c (elf_i386_relocate_section): Mask off the least
	significant bit in GOT offset for R_386_GOT32X.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use the target architecture when encoding tracepoint actions
@ 2016-02-11 13:31 sergiodj+buildbot
  2016-02-11 13:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 13:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82e9becd8afe1d7c9971096592bf312637d9437f ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 82e9becd8afe1d7c9971096592bf312637d9437f

Use the target architecture when encoding tracepoint actions

This patch uses the target architecture rather then the objfile
architecture when encoding tracepoint actions.

The target architecture may contain additional registers. E.g. ARM VFP
registers. This information is needed to allow their collection. Since we
can never know whether the registers numbers in the target match the
binary's we have to use tdesc here.

One note about combined debuggers / multi-inferior from Pedro Alves:

In the combined debugger case taking Cell as the practical example that
gdb supports currently:

In that case, the main target_gdbarch() will be powerpc, but you may have set a
tracepoint on _spu_ code, which has a different gdbarch.  so for that case,
target_gdbarch would be wrong.  I think that in that case, we'd need to
find __the_ target/tdesc gdbarch that is (bfd) compatible with the
objfile's gdbarch.

I think cell/spu gdbserver doesn't support tracepoints, so we can ignore
this for now.

The multi-inferior/process case is somewhat related, but its simpler.
each inferior has its own gdbarch.

That is, target_gdbarch depends on the current inferior selected.
In fact, that just returns inferior->gdbarch nowaways.

No regressions, tested on ubuntu 14.04 ARMv7 and x86.
With gdbserver-{native,extended} / { -marm -mthumb }

gdb/ChangeLog:

	* tracepoint.c (encode_actions_1): Use target_gdbarch () rather
	than loc->gdbarch.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <9f5fed7852cae412443957862d759660cfcb3fd5@gdb-build>]
* [binutils-gdb] arm-tdep.c: Change type of insn parameters
@ 2016-02-11 18:30 sergiodj+buildbot
  2016-02-11 18:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 18:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 615234c107e5dcdefff78596971266e9346b3f76 ***

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

arm-tdep.c: Change type of insn parameters

Almost obvious... change the type of some insn parameters, so that it
matches the rest of the code.

gdb/ChangeLog:

	* arm-tdep.c (thumb_copy_unmodified_16bit): Change type of insn.
	(thumb_copy_b): Likewise.
	(arm_decode_b_bl_ldmstm): Likewise.
	(thumb_copy_16bit_ldr_literal): Likewise.
	(thumb_copy_pop_pc_16bit): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arm-tdep.c: Remove unused arm_displaced_step_copy_insn
@ 2016-02-11 19:25 sergiodj+buildbot
  2016-02-11 19:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ba163c8d19971010e22176cf688b3de80bd8f08 ***

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

arm-tdep.c: Remove unused arm_displaced_step_copy_insn

This function is never used, since it is superseded by
arm_linux_displaced_step_copy_insn.

gdb/ChangeLog:

	* arm-tdep.c (arm_displaced_step_copy_insn): Remove.
	(ARM displaced stepping support): Remove reference to
	arm_displaced_step_copy_insn in comment.
	* arm-tdep.h (arm_displaced_step_copy_insn): Remove.
	* arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Remove
	reference to arm_displaced_step_copy_insn in comment.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arm-tdep.c: Remove unused variables
@ 2016-02-11 19:37 sergiodj+buildbot
  2016-02-11 19:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Support 'make check-parallel' in gdb's build dir
@ 2016-02-11 20:04 sergiodj+buildbot
  2016-02-11 20:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-11 20:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e352bf0a3c8430aeab9d6f3781c7b31b09c8b8b9 ***

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

Support 'make check-parallel' in gdb's build dir

Currently, you can cd to the gdb/testsuite/ dir and use
make check-parallel, instead of using FORCE_PARALLEL:

 $ make -j8 check-parallel RUNTESTFLAGS="--target_board=native-gdbserver"
 $ make -j8 check RUNTESTFLAGS="--target_board=native-gdbserver" FORCE_PARALLEL=1

But you can't do that in the build/gdb/ dir:

 $ make check-parallel RUNTESTFLAGS="--target_board=native-gdbserver"
 make: *** No rule to make target `check-parallel'.  Stop.

I find check-parallel a bit more convenient, and more typo-proof, so
this patch makes it work from the gdb build dir too.

While documenting this in testsuite/README, I found that the parallel
testing mode would better be pulled out to its own section and
extended.

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

	* Makefile.in (check-parallel): New rule.

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

	* README (Parallel testing): New section.
	(GDB_PARALLEL): Rewrite.
	(FORCE_PARALLEL): Document.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add missing quotes to gdb/testsuite/README
@ 2016-02-11 20:15 sergiodj+buildbot
  2016-02-11 20:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <7cae9051edc2e3b11b5c79c08edfb91ee7f4e2e4@gdb-build>]
* [binutils-gdb] frame: add skip_tailcall_frames
@ 2016-02-12  9:01 sergiodj+buildbot
  2016-02-12  9:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-12  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f3ef606b91298855e9ea13ae0e0316c23f06c9b ***

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

frame: add skip_tailcall_frames

Add a new function skip_tailcall_frames to skip TAILCALL_FRAME frames.

gdb/
	* frame.h (skip_tailcall_frames): New.
	* frame.c (skip_tailcall_frames): New.
	(frame_pop): Call skip_tailcall_frames.
	* infcmd.c (finish_command): Call skip_tailcall_frames.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] stack: check frame_unwind_caller_id
@ 2016-02-12  9:10 sergiodj+buildbot
  2016-02-12  9:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] btrace, frame: fix crash in get_frame_type
@ 2016-02-12  9:19 sergiodj+buildbot
  2016-02-12  9:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <d21b5f15d92bc1902b9e57198f67550326c887d7@gdb-build>]
[parent not found: <020ecd38e74681cb14987baf1a4d3c3ee3be0006@gdb-build>]
* [binutils-gdb] [ARM] Fixup PC in software single step
@ 2016-02-12 16:11 sergiodj+buildbot
  2016-02-12 16:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [ARM] Software single step cross kernel helpers
@ 2016-02-12 16:22 sergiodj+buildbot
  2016-02-12 17:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [gdbserver, aarch64] Use linux_{set, get}_pc_{64, 32}bit
@ 2016-02-12 16:32 sergiodj+buildbot
  2016-02-12 17:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-12 16:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5652c21a829088da97a525fbcd9c9912b64c9dc ***

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

[gdbserver, aarch64] Use linux_{set,get}_pc_{64,32}bit

We can use shared functions linux_{set,get}_pc_{64,32}bit in
linux-aarch64-low.c to write and read pc.

gdb/gdbserver:

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

	* linux-aarch64-low.c (aarch64_get_pc): Call linux_get_pc_64bit
	or linux_get_pc_32bit.
	(aarch64_set_pc): Call linux_set_pc_64bit or linux_set_pc_32bit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] i386-biarch-core.exp: Use standard_output_file
@ 2016-02-12 19:08 sergiodj+buildbot
  2016-02-12 19:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <e44e00ffffe358d91df0ec4a11563eef0c14beb4@gdb-build>]
* [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:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Fix false Fortran regressions with recent gcc
@ 2016-02-14  8:44 sergiodj+buildbot
  2016-02-14  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-14  8:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ba881f505ba211ffee59e68617cd1a02a7b4737b ***

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

testsuite: Fix false Fortran regressions with recent gcc

gcc-4.9.2-6.fc21.x86_64 -> gcc-5.3.1-2.fc23.x86_64

-PASS: gdb.fortran/vla-ptype.exp: ptype pvla not initialized
+FAIL: gdb.fortran/vla-ptype.exp: ptype pvla not initialized
-PASS: gdb.fortran/vla-history.exp: print vla1 allocated
+FAIL: gdb.fortran/vla-history.exp: print vla1 allocated
-PASS: gdb.fortran/vla-history.exp: print $2
+FAIL: gdb.fortran/vla-history.exp: print $2
-PASS: gdb.fortran/vla-value.exp: print undefined pvla
+FAIL: gdb.fortran/vla-value.exp: print undefined pvla
-PASS: gdb.fortran/vla-value.exp: print non-associated &pvla
+FAIL: gdb.fortran/vla-value.exp: print non-associated &pvla
-PASS: gdb.fortran/vla-value.exp: print undefined pvla(1,3,8)
+FAIL: gdb.fortran/vla-value.exp: print undefined pvla(1,3,8)

These issues get fixed (or removed if no longer applicable) by attached patch.

It is based on Googled:
	http://www.cs.rpi.edu/~szymansk/OOF90/bugs.html#5
	When a pointer is declared its status is undefined, and cannot be
	safely queried with the associated intrinsic.
	-> nullify(VARNAME)
+
	https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/268786
	ALLOCATE is not supposed to initialize the array.
	-> Remove checks like an initial print is: \\( *0, *0, *0...\\)

These regressions remain:
	-PASS: gdb.fortran/library-module.exp: print var_i in lib
	+FAIL: gdb.fortran/library-module.exp: print var_i in lib
	-PASS: gdb.fortran/library-module.exp: print var_i in main
	+FAIL: gdb.fortran/library-module.exp: print var_i in main
I believe it is more a GDB bug (in a code contributed by me), filed:
	gdb.fortran/library-module.exp false regression on GCC upgrade
	https://sourceware.org/bugzilla/show_bug.cgi?id=19635

gdb/testsuite/ChangeLog
2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Fix compatibility with recent gfortran-5.3.1.
	* gdb.fortran/vla-history.exp (print vla1 allocated)
	(print vla2 allocated, print $2, print $3): Remove
	(print $4): Rename to ...
	(print $2): ... here.
	(print $9): Rename to ...
	(print $5): ... here.
	(print $10): Rename to ...
	(print $6): ... here.
	* gdb.fortran/vla.f90: Add pvla initialization.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't print 0x for core_addr_to_string_nz
@ 2016-02-15 10:19 sergiodj+buildbot
  2016-02-15 10:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-15 10:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0da55626b632a8b8beb6c7878b866861e5daee ***

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

Don't print 0x for core_addr_to_string_nz

core_addr_to_string_nz returns string which has "0x" prefix, so don't
need to print "0x" again.  This patch is to remove the "0x".

gdb:

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

	* aarch64-tdep.c (aarch64_analyze_prologue): Remove "0x".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only)
@ 2016-02-15 11:25 sergiodj+buildbot
  2016-02-15 11:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-15 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9fb71ee49fc37163697e4f34e16097928eb83d66 ***

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

Enhance GAS's .section directive so that it can take numeric values for the flags and type fields.  (ELF only)

gas	* doc/as.texinfo (.section): Document that numeric values can now
	be used for the flags and type fields of the ELF target's .section
	directive.  Add notes about the restrictions on setting flags and
	types.
	* config/obj-elf.c (obj_elf_change_section): Allow known sections
	to be given processor specific section types.  Allow processor and
	application specific flags of a section to be set after
	definition.
	(obj_elf_parse_section_letters): Handle parsing numeric values.
	(obj_elf_section_type): Handle parsing numeric values.
	(obj_elf_section): Allow numeric type values.
	* config/obj-elf.h (obj_elf_change_section): Update prototype.
	* testsuite/gas/elf/section10.d: New test.
	* testsuite/gas/elf/section10.s: Source file for new test.
	* testsuite/gas/elf/elf.exp: Run the new test.
	* testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
	the description of the flags produced by readelf.
	* testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
	* NEWS: Mention the new feature.

bfd	* elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
	for length and type fields.  Use a signed value for the
	suffix_length field.

binutils* readelf.c (get_section_type_name): Add hex prefix to offsets
	printed for LOPROC and LOOS values.  Ensure that a result is
	always returned for the V850 target, even when an unrecognised
	processor specific value is encountered.
	(process_section_headers): Display key values in the order in
	which they appear to the user.  Add the "C (compressed)" value to
	the list.

ld	* testsuite/ld-i386/pr12718.d: Remove dependency upon the
	description of the flags produced by readelf.
	* testsuite/ld-i386/pr12921.d: Likewise.
	* testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsbin.rd: Likewise.
	* testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsbindesc.rd: Likewise.
	* testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsdesc.rd: Likewise.
	* testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsgdesc.rd: Likewise.
	* testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsnopic.rd: Likewise.
	* testsuite/ld-i386/tlspic-nacl.rd: Likewise.
	* testsuite/ld-i386/tlspic.rd: Likewise.
	* testsuite/ld-s390/tlsbin.rd: Likewise.
	* testsuite/ld-s390/tlsbin_64.rd: Likewise.
	* testsuite/ld-s390/tlspic.rd: Likewise.
	* testsuite/ld-s390/tlspic_64.rd: Likewise.
	* testsuite/ld-sh/tlsbin-2.d: Likewise.
	* testsuite/ld-sh/tlspic-2.d: Likewise.
	* testsuite/ld-tic6x/common.d: Likewise.
	* testsuite/ld-tic6x/shlib-1.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
	* testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4.d: Likewise.
	* testsuite/ld-x86-64/pr12718.d: Likewise.
	* testsuite/ld-x86-64/pr12921.d: Likewise.
	* testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
	* testsuite/ld-x86-64/split-by-file.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin.rd: Likewise.
	* testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlspic.rd: Likewise.
	* testsuite/ld-xtensa/tlsbin.rd: Likewise.
	* testsuite/ld-xtensa/tlspic.rd: Likewise.


^ permalink raw reply	[flat|nested] 2163+ 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 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix more testcases with standard_output_file.
@ 2016-02-15 18:15 sergiodj+buildbot
  2016-02-15 19:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-15 18:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c99dbb4246fedd500dbdd50514589fc7f95d80c0 ***

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

Fix more testcases with standard_output_file.

Since
	commit 2151ccc56c74b55a8f0debf0724a495368f92591
	Author: Simon Marchi <simon.marchi@ericsson.com>
	Date:   Mon Feb 8 14:02:36 2016 -0500
	    Always organize test artifacts in a directory hierarchy
these testfiles could not build.

gdb/testsuite/ChangeLog
2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
	* gdb.arch/i386-prologue.exp: Likewise.
	* gdb.arch/i386-size.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add missing gdb.arch/i386-prologue.c prototypes
@ 2016-02-15 19:08 sergiodj+buildbot
  2016-02-15 20:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-15 19:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7a0a6a95bc111776129374c46edec3c3c2785cc ***

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

Add missing gdb.arch/i386-prologue.c prototypes

The testfile has not ran because:
gdb.arch/i386-prologue.c:34:3: warning: implicit declaration of function 'standard' [-Wimplicit-function-declaration]
   standard ();
   ^
gdb.arch/i386-prologue.c:35:3: warning: implicit declaration of function 'stack_align_ecx' [-Wimplicit-function-declaration]
   stack_align_ecx ();
   ^
gdb.arch/i386-prologue.c:36:3: warning: implicit declaration of function 'stack_align_edx' [-Wimplicit-function-declaration]
   stack_align_edx ();
   ^
gdb.arch/i386-prologue.c:37:3: warning: implicit declaration of function 'stack_align_eax' [-Wimplicit-function-declaration]
   stack_align_eax ();
   ^

gdb/testsuite/ChangeLog
2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/i386-prologue.c: Add missing prototypes.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add parentheses to prevent truncated addresses
@ 2016-02-16  0:16 sergiodj+buildbot
  2016-02-16  0:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16  0:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4fd7268abff6f99dbbb78505f095bf1f54064db7 ***

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

Add parentheses to prevent truncated addresses

	* i386-dis.c (print_insn): Parenthesize expression to prevent
	truncated addresses.
	(OP_J): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix BFD format matching for x86_64-w64-mingw32 -m32 LTO.
@ 2016-02-16  0:37 sergiodj+buildbot
  2016-02-16  1:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16  0:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64bfc2584c013e7c60caceeffbad8250558e3cd2 ***

Author: Joseph Myers <joseph@codesourcery.com>
Branch: master
Commit: 64bfc2584c013e7c60caceeffbad8250558e3cd2

Fix BFD format matching for x86_64-w64-mingw32 -m32 LTO.

In <https://sourceware.org/ml/binutils/2015-12/msg00190.html> (commit
4a07dc81356ed8728e204e9aabeb256703c59aef), Kwok fixed a problem with
the template used for a dummy BFD for an IR file for LTO on MinGW,
where the input and output formats are not the same.

A problem, however, remains in the case of linking for
x86_64-w64-mingw32 -m32, where LTO linking reports an ambiguity
between the pe-i386 and pei-i386 formats.  An object (pe-i386) with
plugin data is being tested by the linker to see what formats match.
The default format initially set by the linker when
bfd_check_format_matches is called is pei-i386 (as that's the output
format from the linker script), which does not match, so the function
goes on to the loop over possible BFD vectors.  The pe-i386 vector
matches, as it should.  One other vector matches: the plugin vector.

bfd_check_format_matches tests a vector for matching by temporarily
modifying the BFD object to use that vector then using
_bfd_check_format on it.  So the BFD object is temporarily using
plugin_vec.  _bfd_check_format ends up using bfd_plugin_object_p which
uses plugin_object_p from ld which uses plugin_get_ir_dummy_bfd which
succeeds, having created a BFD based on link_info.output_bfd (because
srctemplate is the BFD temporarily using plugin_vec, even after Kwok's
patch link_info.output_bfd is all that's available to base the dummy
BFD on).  So we end up with a match from the plugin vector which uses
the pei-i386 vector even though the pei-i386 vector itself does not
match the input object.  (In the i686-mingw32 case, as opposed to this
multilib case, pe-i386 is the default BFD target, which would
short-circuit that logic.)

There are two cases of the linker handling inputs with a plugin: they
may be inputs that are also accepted by some non-plugin BFD format, as
here, or they may be a format that would not be recognized at all, as
with some tests in the ld testsuite.  In the former case, there is no
need for BFD to accept the objects using the plugin vector, as the
linker has its own logic to allow plugins to claim objects accepted by
some other BFD vector.  Thus, this patch arranges for the plugin
vector to have the lowest match priority, and for the priority from
that vector to be used in the relevant case (the attempted match to
the plugin vector results in TEMP pointing to the pei-i386 vector).

Tested for GCC and Binutils testsuites for x86_64-pc-linux-gnu, as
well as verifying that it fixes the observed LTO issue for
x86_64-w64-mingw32.

	* plugin.c (plugin_vec): Set match priority to 255.
	* format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When
	matching against the plugin vector, take priority from there not
	from TEMP.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove PC from syscall_next_pc
@ 2016-02-16 13:59 sergiodj+buildbot
  2016-02-16 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix cleanup in arm_linux_software_single_step
@ 2016-02-16 14:26 sergiodj+buildbot
  2016-02-16 15:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b442c911ee0e7444ee63edcc7da26089f6023cb6 ***

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

Fix cleanup in arm_linux_software_single_step

I see the following error in testing aarch64 GDB debugging arm
program.

(gdb) PASS: gdb.reverse/readv-reverse.exp: set breakpoint at marker2
continue
Continuing.
=================================================================
==32273==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x000000ce4c00 in thread T0
    #0 0x2ba5615645c7 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x545c7)^M
    #1 0x4be8b5 in VEC_CORE_ADDR_cleanup /home/yao/SourceCode/gnu/gdb/git/gdb/common/gdb_vecs.h:34^M
    #2 0x5e6d95 in do_my_cleanups /home/yao/SourceCode/gnu/gdb/git/gdb/common/cleanups.c:154^M
    #3 0x64c99a in fetch_inferior_event /home/yao/SourceCode/gnu/gdb/git/gdb/infrun.c:3975^M
    #4 0x678437 in inferior_event_handler /home/yao/SourceCode/gnu/gdb/git/gdb/inf-loop.c:44^M
    #5 0x5078f6 in remote_async_serial_handler /home/yao/SourceCode/gnu/gdb/git/gdb/remote.c:13223^M
    #6 0x4cecfd in run_async_handler_and_reschedule /home/yao/SourceCode/gnu/gdb/git/gdb/ser-base.c:137^M
    #7 0x676864 in gdb_wait_for_event /home/yao/SourceCode/gnu/gdb/git/gdb/event-loop.c:834^M
    #8 0x676a27 in gdb_do_one_event /home/yao/SourceCode/gnu/gdb/git/gdb/event-loop.c:323^M
    #9 0x676aed in start_event_loop /home/yao/SourceCode/gnu/gdb/git/gdb/event-loop.c:347^M
    #10 0x6706d2 in captured_command_loop /home/yao/SourceCode/gnu/gdb/git/gdb/main.c:318^M
    #11 0x66db8c in catch_errors /home/yao/SourceCode/gnu/gdb/git/gdb/exceptions.c:240^M
    #12 0x6716dd in captured_main /home/yao/SourceCode/gnu/gdb/git/gdb/main.c:1157^M
    #13 0x66db8c in catch_errors /home/yao/SourceCode/gnu/gdb/git/gdb/exceptions.c:240^M
    #14 0x671b7a in gdb_main /home/yao/SourceCode/gnu/gdb/git/gdb/main.c:1165^M
    #15 0x467684 in main /home/yao/SourceCode/gnu/gdb/git/gdb/gdb.c:32^M
    #16 0x2ba563ed7ec4 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)^M
    #17 0x4676b2 (/scratch/yao/gdb/build-git/aarch64-linux-gnu/gdb/gdb+0x4676b2)

looks we should discard cleanup if function
arm_linux_software_single_step returns early, or create cleanup when
it is needed.

gdb:

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

	* arm-linux-tdep.c (arm_linux_software_single_step): Assign
	'old_chain' later.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] testsuite: Fix save-trace.exp writing outside standard output directory
@ 2016-02-16 15:12 sergiodj+buildbot
  2016-02-16 16:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 15:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 266b65b33e23c916e5e698d24c37f65d90645a19 ***

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

testsuite: Fix save-trace.exp writing outside standard output directory

In save-trace.exp, we want to test loading of a tracepoint definition
file with a relative path (I am not sure why in fact).  We currently use
"savetrace-relative.tr", which ends up directly in testsuite/.  If we
use [standard_output_file] on that path, it becomes absolute.  I decided
to just replace [pwd] with . (a dot) in the path given by
standard_output_file to make it relative.  However, this trick only
works because [pwd] is a prefix of the standard output directory.  So I
added a check to verify that precondition.

gdb/testsuite/ChangeLog:

	* gdb.trace/save-trace.exp: Change relative path to be in the
	standard output directory.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] testsuite: Make standard_temp_file use invocation-specific directories
@ 2016-02-16 15:36 sergiodj+buildbot
  2016-02-16 16:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] PR remote/19496, internal err forking-threads-plus-bkpt
@ 2016-02-16 17:09 sergiodj+buildbot
  2016-02-16 17:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4041ed778095ed74f7cb9cdaac4115597f35147c ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 4041ed778095ed74f7cb9cdaac4115597f35147c

PR remote/19496, internal err forking-threads-plus-bkpt

This patch fixes an internal error that occurs in
gdb.threads/forking-threads-plus-breakpoint.exp:

/blah/binutils-gdb/gdb/target.c:2723: internal-error: Can't determine the
current address space of thread Thread 3170.3170

In default_thread_address_space, find_inferior_ptid couldn't find 3170.3170
because it had been overwritten in inferior_appeared, called as follows:

inferior_appeared
  remote_add_inferior
    remote_notice_new_inferior
      remote_update_thread_list

The cause of the problem was the following sequence of events:

* GDB knows only about the main thread

* the first fork event is reported to GDB, saved as pending_event

* qXfer:threads:read gets the threads from the remote.
  remove_new_fork_children id's the fork child from the pending event
  and removes it from the list reported to GDB.  All the rest of the
  threads, including the fork parent, are added to the GDB thread list.

* GDB stops all the threads.  All the stop events are pushed onto the
  stop reply queue behind the pending fork event.  The fork waitstatus
  is saved in the fork parent thread's pending status field
  thread_info.suspend.

* remote_wait_ns calls queued_stop_reply and process_stop_reply to
  remove the fork event from the front of the stop reply queue and save
  event information in the thread_info structure for the fork parent
  thread.  Unfortunately, none of the information saved in this way is
  the fork-specific information.

* A subsequent qXfer:threads:read packet gets the thread list including
  the fork parent and fork child.  remove_new_fork_children checks the
  thread list to see if there is a fork parent, doesn't find one, checks
  the stop reply queue for a pending fork event, doesn't find one, and
  allows the fork child thread to be reported to GDB before the fork
  event has been handled.  remote_update_thread_list calls
  remote_notice_new_thread and overwrites the current (main) thread in
  inferior_appeared.

So the fork event has been reported out of target_wait but it was left
pending on the infrun side (infrun.c:save_waitstatus).  IOW, the fork
event hasn't been processed by handle_inferior_event yet, so it hasn't
made it to tp->pending_follow yet.

The fix is to check thread_info.suspend along with the
thread_info.pending_follow in remote.c:remove_new_fork_children, to
prevent premature reporting of the fork child thread creation.

gdb/ChangeLog:

	PR remote/19496
	* remote.c (remove_new_fork_children): Check for pending
	fork status in thread_info.suspend.

gdb/testsuite/ChangeLog:

	PR remote/19496
	* gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
	Remove kfail for PR remote/19496.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Whitespace cleanup for skip testcase.
@ 2016-02-16 20:52 sergiodj+buildbot
  2016-02-16 21:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-16 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21b1f8d2fc29b7e0585dbdca72c0b8a8bf070a2e ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 21b1f8d2fc29b7e0585dbdca72c0b8a8bf070a2e

Whitespace cleanup for skip testcase.

gdb/testsuite/ChangeLog:

	* gdb.base/skip.c: Add copyright.  Whitespace cleanup.
	* gdb.base/skip1.c: Ditto.
	* gdb.base/skip.exp: Whitespace cleanup.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <b00b61e1fd95b778ec85bf314baddd1be9040d25@gdb-build>]
* [binutils-gdb] Add missing cleanup in exec_file_locate_attach
@ 2016-02-17 17:04 sergiodj+buildbot
  2016-02-17 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-17 17:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88178e828a0d1af133c19d6165e4d5ee59304adf ***

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

Add missing cleanup in exec_file_locate_attach

exec_file_locate_attach allocates memory for full_exec_path (using
either exec_file_find, source_full_path_of or xstrdup) but this
memory is never freed.  This commit adds the necessary cleanup.

gdb/ChangeLog:

	* exec.c (exec_file_locate_attach): Add missing cleanup.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [x86-64] Omit dynamic sections symbols
@ 2016-02-17 19:31 sergiodj+buildbot
  2016-02-17 19:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Always create dynamic sections for -E/--dynamic-list
@ 2016-02-18 11:25 sergiodj+buildbot
  2016-02-18 11:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf89386a862ace008f0152bca8bddf996d3993c8 ***

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

Always create dynamic sections for -E/--dynamic-list

In embedded environments, including boot loaders, the non-PIC executable
needs to export its symbols to modules loaded in the future.  We should
always create dynamic sections for -E/--dynamic-list.

bfd/

	PR ld/19617
	* elflink.c (elf_link_add_object_symbols): Always create dynamic
	sections for -E/--dynamic-list.

ld/

	PR ld/19617
	* testsuite/ld-elf/pr19617.s: New file.
	* testsuite/ld-elf/pr19617a.d: Likewise.
	* testsuite/ld-elf/pr19617b.d: Likewise.
	* testsuite/ld-elf/pr19617c.d: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set breakpoint condition-evaluation in forking-threads-plus-breakpoint.exp
@ 2016-02-18 12:18 sergiodj+buildbot
  2016-02-18 12:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 12:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40fb20d037581bc9d4b17b6ab64ee98825cfacab ***

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

Set breakpoint condition-evaluation in forking-threads-plus-breakpoint.exp

Proc do_test in forking-threads-plus-breakpoint.exp has an argument
cond_bp_target, but the test doesn't use it to set
"breakpoint condition-evaluation", which is an oversight in the test.

This patch fixes it by setting "breakpoint condition-evaluation" per
$cond_bp_target.

gdb/testsuite:

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

	* gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
	Set "set breakpoint condition-evaluation" per $cond_bp_target.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove setup_kfail server/13796 in disp-step-syscall.exp
@ 2016-02-18 13:17 sergiodj+buildbot
  2016-02-18 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 13:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d5189bd3a6e2014b9b42a4bcb0df410eff1c2e1 ***

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

Remove setup_kfail server/13796 in disp-step-syscall.exp

This patch series add fork support in target remote,

  [PATCH v2 0/3] Target remote mode fork and exec support
  https://sourceware.org/ml/gdb-patches/2015-12/msg00144.html

so GDB can be informed about the child, and adjust child correctly in
displaced stepping.  The PR server/13796 was fixed by this patch
series actually.  Test results on buildbot show this KFAIL->KPASS
change https://sourceware.org/ml/gdb-testers/2015-q4/msg10128.html

gdb/testsuite:

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

	* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
	Don't call setup_kfail.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Intel MPX bound violation handling
@ 2016-02-18 16:46 sergiodj+buildbot
  2016-02-18 17:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <5f034a78b986d30a90030b2409c61a8660b9b48c@gdb-build>]
[parent not found: <f79a3bae8725dfe0e11b04ddfc6e6bc8f23e4e4e@gdb-build>]
* [binutils-gdb] Determine the iteration count based on wallclock instead of user+system time.
@ 2016-02-18 19:38 sergiodj+buildbot
  2016-02-18 19:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add D support to gdb_default_target_compile.
@ 2016-02-18 21:14 sergiodj+buildbot
  2016-02-18 21:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-18 21:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 24f75eadabc519563ed119932c77874a016a799a ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 24f75eadabc519563ed119932c77874a016a799a

Add D support to gdb_default_target_compile.

gdb/testsuite/ChangeLog:

	* lib/future.exp: Add D support.
	(gdb_find_gdc): New proc.
	(gdb_default_target_compile): Add D support.


^ permalink raw reply	[flat|nested] 2163+ 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:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 15:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Prevent a seg-fault in the linker when accessing a specially crafted, corrupt, aout binary.
@ 2016-02-19 16:10 sergiodj+buildbot
  2016-02-19 16:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-19 16:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e517df3dbf7556ddb389228d713a804594ee3c1f ***

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

Prevent a seg-fault in the linker when accessing a specially crafted, corrupt, aout binary.

	PR ld/19629
	* aoutx.h (aout_link_add_symbols): Check for out of range string
	table offsets.


^ permalink raw reply	[flat|nested] 2163+ 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 AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix arm process record code format
@ 2016-02-22 12:26 sergiodj+buildbot
  2016-02-22 12:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [AArch64] Remove redundant calculation of plt stub destination for veneer
@ 2016-02-22 12:34 sergiodj+buildbot
  2016-02-22 13:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-22 12:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9a2284679086e32c0c2a46e08b23edde6fc8be85 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 9a2284679086e32c0c2a46e08b23edde6fc8be85

[AArch64] Remove redundant calculation of plt stub destination for veneer

elfNN_aarch64_size_stubs, the caller of aarch64_type_stub has redirected
the final destination of long branch veneer to plt stub if the call
should go through it.

It's redundant to do the same check and redirect again from scratch
inside aarch64_type_stub.

bfd/
  * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation
  for destination.  Remove useless function parameters.
  (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove BSF_COMMON from comments
@ 2016-02-22 13:15 sergiodj+buildbot
  2016-02-22 13:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print'
@ 2016-02-22 16:37 sergiodj+buildbot
  2016-02-22 17:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-22 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac46107c5c781894e013b10cd9fb5c98a8393d26 ***

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

gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print'

After building GDB
	--with-python=/usr/bin/python3
and for example stripping ./gdb and running:
	./gdb -data-directory data-directory/ -iex "add-auto-load-safe-path $PWD/gdb-gdb.gdb" -iex "add-auto-load-safe-path $PWD/gdb-gdb.
py" ./gdb
I get:
	Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
	  File "/home/jkratoch/redhat/gdb-test-python3/gdb/gdb-gdb.py", line 91
	    print "Warning: Cannot find enum type_flag_value type."
								  ^
	SyntaxError: Missing parentheses in call to 'print'
	(top-gdb) q

gdb/ChangeLog
2016-02-22  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb-gdb.py (class TypeFlagsPrinter): Use parentheses for print.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <4000e47e2f3860a85a9023f3fe5950c8cc6fa507@gdb-build>]
* [binutils-gdb] Always create dynsym section with dynamic sections
@ 2016-02-23  0:43 sergiodj+buildbot
  2016-02-23  1:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix test-case ld-elf/pr19617b
@ 2016-02-23  1:19 sergiodj+buildbot
  2016-02-23  1:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-23  1:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d8dcb8135e454c47bc8609e3f9d89b29ef0b8d2 ***

Author: Hans-Peter Nilsson <hp@bitrange.com>
Branch: master
Commit: 2d8dcb8135e454c47bc8609e3f9d89b29ef0b8d2

Fix test-case ld-elf/pr19617b

	* elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
	discard unused non-function symbols when --dynamic-list-data.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Process record for aarch64-linux syscall
@ 2016-02-23  9:37 sergiodj+buildbot
  2016-02-23  9:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix the genetation of GOT entries for the Microblaze target.
@ 2016-02-23 10:48 sergiodj+buildbot
  2016-02-23 11:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-23 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 47993b4af18c6ef1cad300f6393bf896d3cb5e5c ***

Author: Rich Felker <bugdal@aerifal.cx>
Branch: master
Commit: 47993b4af18c6ef1cad300f6393bf896d3cb5e5c

Fix the genetation of GOT entries for the Microblaze target.

	PR target/19516
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol):
	Always produce a RELATIVE reloc for a local symbol.


^ permalink raw reply	[flat|nested] 2163+ 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:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Make linker assigned symbol dynamic only for shared object
@ 2016-02-23 13:32 sergiodj+buildbot
  2016-02-23 14:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] arm-tdep.c: Remove unused "to" parameters
@ 2016-02-23 18:34 sergiodj+buildbot
  2016-02-23 18:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Extend "skip" command to support -file, -gfile, -function, -rfunction.
@ 2016-02-23 21:37 sergiodj+buildbot
  2016-02-23 21:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Build unavailable-stack frames for tracepoint.
@ 2016-02-24  3:22 sergiodj+buildbot
  2016-02-24  3:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix logic in exec_file_locate_attach
@ 2016-02-24 12:00 sergiodj+buildbot
  2016-02-24 12:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 12:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf74e428bca61022bd5cdf6bf28789a184748b4d ***

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

Fix logic in exec_file_locate_attach

This commit fixes an error in exec_file_locate_attach where
the main executable could be loaded from outside the sysroot
if a nonempty, non-"target:" sysroot was set but the discovered
executable filename did not exist in that sysroot and did exist
on the main filesystem.

gdb/ChangeLog:

	* exec.c (exec_file_locate_attach): Do not attempt to
	locate main executable locally if not found in sysroot.

gdb/testsuite/ChangeLog:

	* gdb.base/attach-pie-noexec.exp: Do not expect an error
	message on attach.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set plt_got.offset to (bfd_vma) -1
@ 2016-02-24 13:54 sergiodj+buildbot
  2016-02-24 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 13:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13f422778ff5307dad1f66d25a1d211bb8f76a8b ***

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

Set plt_got.offset to (bfd_vma) -1

Since plt_got.offset may be updated in x86 allocate_dynrelocs, set
plt_got.offset to (bfd_vma) -1 when setting needs_plt to 0.

	* elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
	to (bfd_vma) -1 when setting needs_plt to 0.
	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ABS32
@ 2016-02-24 14:07 sergiodj+buildbot
  2016-02-24 14:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [OPCODE][ARM]Correct disassembler for cdp/cdp2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2
@ 2016-02-24 14:09 sergiodj+buildbot
  2016-02-24 15:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 14:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8afc7bea4018bf535902503c9a25dd4a96dfa3ca ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 8afc7bea4018bf535902503c9a25dd4a96dfa3ca

[OPCODE][ARM]Correct disassembler for cdp/cdp2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2

opcodes/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* arm-dis.c (print_insn_coprocessor): Check co-processor number for
	cpd/cpd2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2.

gas/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
	* testsuite/gas/arm/copro.d: Update.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [OPCODES][ARM]Fix mask for a few coprocessor opcodes.
@ 2016-02-24 14:12 sergiodj+buildbot
  2016-02-24 15:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e309328e8d91e37f2f3cea15f8a686d3bdfa700 ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 3e309328e8d91e37f2f3cea15f8a686d3bdfa700

[OPCODES][ARM]Fix mask for a few coprocessor opcodes.

opcodes/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* arm-dis.c (coprocessor_opcodes): Fix mask for vsel, vmaxnm, vminnm,
	vrint(mpna).

gas/

2016-02-24  Renlin Li  <renlin.li@arm.com>

	* testsuite/gas/arm/mask_1.d: New.
	* testsuite/gas/arm/mask_1.s: New.


^ permalink raw reply	[flat|nested] 2163+ 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 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Revert "ABS32"
@ 2016-02-24 15:09 sergiodj+buildbot
  2016-02-24 16:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] powerpc: Support z-point type in gdbserver.
@ 2016-02-24 17:45 sergiodj+buildbot
  2016-02-24 18:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 17:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 657f9cde9d531c9929bef9e02a8064101d568f50 ***

Author: Wei-cheng Wang <cole945@gmail.com>
Branch: master
Commit: 657f9cde9d531c9929bef9e02a8064101d568f50

powerpc: Support z-point type in gdbserver.

Support z-point, so tracepoints and breakpoints can be inserted at the same
location.

gdb/gdbserver/ChangeLog:

2016-02-24  Wei-cheng Wang  <cole945@gmail.com>

	* linux-ppc-low.c (ppc_supports_z_point_type): New function:
	(ppc_insert_point, ppc_remove_point): Insert/remove z-packet breakpoints.
	(ppc64_emit_ops_vector): Add target ops - ppc_supports_z_point_type,
	ppc_insert_point, ppc_remove_point.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Move new skip features to proper section (post 7.11).
@ 2016-02-24 18:24 sergiodj+buildbot
  2016-02-24 19:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Move tfile-avx.exp to tracefile-pseudo-reg.exp
@ 2016-02-24 19:30 sergiodj+buildbot
  2016-02-24 19:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 861ca91fc65b9a53b807f6d5c5253fc33f92e7d8 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 861ca91fc65b9a53b807f6d5c5253fc33f92e7d8

Move tfile-avx.exp to tracefile-pseudo-reg.exp

As it is planned to add more architectures to this test, rename to a more
generic name.

gdb/testsuite/ChangeLog:

	* gdb.trace/tfile-avx.c: Move to...
	* gdb.trace/tracefile-pseudo-reg.c: Here.
	* gdb.trace/tfile-avx.exp: Move to...
	* gdb.trace/tracefile-pseudo-reg.exp: Here.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
[parent not found: <338435ef105ff51e967571ad073830ec1eb5a4ab@gdb-build>]
* [binutils-gdb] Handle MIPS Linux SIGTRAP siginfo.si_code values
@ 2016-02-24 23:11 sergiodj+buildbot
  2016-02-24 23:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-24 23:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e7ad2f145c05bc60b1cd2796c8f3b72f02e3e730 ***

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

Handle MIPS Linux SIGTRAP siginfo.si_code values

This unbreaks pending/delayed breakpoints handling, as well as
hardware watchpoints, on MIPS.

Ref: https://sourceware.org/ml/gdb-patches/2016-02/msg00681.html

The MIPS kernel reports SI_KERNEL for all kernel generated traps,
instead of TRAP_BRKPT / TRAP_HWBKPT, but GDB isn't aware of this.

Basically, this commit:

- Folds watchpoints logic into check_stopped_by_breakpoint, and
  renames it to save_stop_reason.

- Adds GDB_ARCH_IS_TRAP_HWBKPT.

- Makes MIPS set both GDB_ARCH_IS_TRAP_BRPT and
  GDB_ARCH_IS_TRAP_HWBKPT to SI_KERNEL.  In save_stop_reason, we
  handle the case of the same si_code returning true for both
  TRAP_BRPT and TRAP_HWBKPT by looking at what the debug registers
  say.

Tested on x86-64 Fedora 20, native and gdbserver.

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

	* linux-nat.c (save_sigtrap) Delete.
	(stop_wait_callback): Call save_stop_reason instead of
	save_sigtrap.
	(check_stopped_by_breakpoint): Rename to ...
	(save_stop_reason): ... this.  Bits of save_sigtrap folded here.
	Use GDB_ARCH_IS_TRAP_HWBKPT and handle ambiguous
	GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT.  Factor out
	common code between the USE_SIGTRAP_SIGINFO and
	!USE_SIGTRAP_SIGINFO blocks.
	(linux_nat_filter_event): Call save_stop_reason instead of
	save_sigtrap.
	* nat/linux-ptrace.h: Check for both SI_KERNEL and TRAP_BRKPT
	si_code for MIPS.
	* nat/linux-ptrace.h: Fix "TRAP_HWBPT" typo in x86 table.  Add
	comments on MIPS behavior.
	(GDB_ARCH_IS_TRAP_HWBKPT): Define for all archs.

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

	* linux-low.c (check_stopped_by_breakpoint): Rename to ...
	(save_stop_reason): ... this.  Use GDB_ARCH_IS_TRAP_HWBKPT and
	handle ambiguous GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT.
	Factor out common code between the USE_SIGTRAP_SIGINFO and
	!USE_SIGTRAP_SIGINFO blocks.
	(linux_low_filter_event): Call save_stop_reason instead of
	check_stopped_by_breakpoint and check_stopped_by_watchpoint.
	Update comments.
	(linux_wait_1): Update comments.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update symbol version for symbol from linker script
@ 2016-02-24 23:37 sergiodj+buildbot
  2016-02-25  0:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add elf_x86_64_need_pic
@ 2016-02-25 12:24 sergiodj+buildbot
  2016-02-25 12:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Remove gdb.base/branches.c
@ 2016-02-25 17:22 sergiodj+buildbot
  2016-02-25 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <ae91f6253926e4dadebcae90772f4f5a5bd06056@gdb-build>]
* [binutils-gdb] avoid compiler warnings in remote-m32r-sdi.c
@ 2016-02-25 17:42 sergiodj+buildbot
  2016-02-25 18:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <ab50308758bfde9ab7b50e6def65e20f0b560702@gdb-build>]
* [binutils-gdb] Fix powerpc64 -r --save-restore-funcs
@ 2016-02-26 13:00 sergiodj+buildbot
  2016-02-26 13:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 13:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b32547cd11bec3baf53e0dedf3c733cd3e0839f6 ***

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

Fix powerpc64 -r --save-restore-funcs

	* elf64-ppc.c (create_linkage_sections): Create sfpr when
	save_restore_funcs, rest of sections when not relocatable.
	(ppc64_elf_init_stub_bfd): Always call create_linkage_sections.
	(sfpr_define): Define all symbols on emitted code.
	(ppc64_elf_func_desc_adjust): Adjust for sfpr now being created
	when relocatable.  Move sfpr_define loop earlier.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [x86] Resolve non-PIC undefweak symbols in executable
@ 2016-02-26 13:10 sergiodj+buildbot
  2016-02-26 14:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 13:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aec6b87e0b66d707ead62ca40d220ee78b4cf5a5 ***

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

[x86] Resolve non-PIC undefweak symbols in executable

For i386 and x86-64, non-PIC references to undefined weak symbols are
resolved without dynamic relocation when creating executable.  Resolved
undefined weak symbols are removed from the dynamic symbol table in
executable.  One exception is on i386, we need resolved undefined weak
symbols in the dynamic symbol table in PIE if input relocatable files
contain branchs without PLT so that we can branch to 0 with dynamic
relocation in text section.

This makes behaviors of dynamic executable and position independent
executable predictable with mixed PIC and non-PIC references to undefined
weak symbols.  If all references to undefined weak symbols are PIC,
dynamic relocations against undefined weak symbols will be generated
in executable unless -z nodynamic-undefined-weak is passed to linker.

bfd/

	PR ld/19636
	PR ld/19704
	PR ld/19719
	* elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
	(elf_i386_link_hash_entry): Add has_got_reloc and
	has_non_got_reloc.
	(elf_i386_link_hash_table): Add interp.
	(elf_i386_link_hash_newfunc): Initialize has_got_reloc and
	has_non_got_reloc.
	(elf_i386_copy_indirect_symbol): Copy has_got_reloc and
	has_non_got_reloc.
	(elf_i386_check_relocs): Set has_got_reloc and has_non_got_reloc.
	(elf_i386_fixup_symbol): New function.
	(elf_i386_pie_finish_undefweak_symbol): Likewise.
	(elf_i386_allocate_dynrelocs): Don't allocate space for dynamic
	relocations and discard relocations against resolved undefined
	weak symbols in executable.  Don't make resolved undefined weak
	symbols in executable dynamic.  Keep dynamic non-GOT/non-PLT
	relocation against undefined weak symbols in PIE.
	(elf_i386_size_dynamic_sections): Set interp to .interp section.
	(elf_i386_relocate_section): Don't generate dynamic relocations
	against resolved undefined weak symbols in PIE, except for
	R_386_PC32.
	(elf_i386_finish_dynamic_symbol): Keep PLT/GOT entries without
	dynamic PLT/GOT relocations for resolved undefined weak symbols.
	Don't generate dynamic relocation against resolved undefined weak
	symbol in executable.
	(elf_i386_finish_dynamic_sections): Call
	elf_i386_pie_finish_undefweak_symbol on all symbols in PIE.
	(elf_backend_fixup_symbol): New.
	* elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
	(elf_x86_64_link_hash_entry): Add has_got_reloc and
	has_non_got_reloc.
	(elf_x86_64_link_hash_table): Add interp.
	(elf_x86_64_link_hash_newfunc): Initialize has_got_reloc and
	has_non_got_reloc.
	(elf_x86_64_copy_indirect_symbol): Copy has_got_reloc and
	has_non_got_reloc.
	(elf_x86_64_check_relocs): Set has_got_reloc and
	has_non_got_reloc.
	(elf_x86_64_fixup_symbol): New function.
	(elf_x86_64_pie_finish_undefweak_symbol): Likewise.
	(elf_x86_64_allocate_dynrelocs): Don't allocate space for dynamic
	relocations and discard relocations against resolved undefined
	weak symbols in executable.  Don't make resolved undefined weak
	symbols in executable dynamic.
	(elf_x86_64_size_dynamic_sections): Set interp to .interp section.
	(elf_x86_64_relocate_section): Check relocation overflow for
	dynamic relocations against unresolved weak undefined symbols.
	Don't generate dynamic relocations against resolved weak
	undefined symbols in PIE.
	(elf_x86_64_finish_dynamic_symbol): Keep PLT/GOT entries without
	dynamic PLT/GOT relocations for resolved undefined weak symbols.
	Don't generate dynamic relocation against resolved undefined weak
	symbol in executable.
	(elf_x86_64_finish_dynamic_sections): Call
	elf_x86_64_pie_finish_undefweak_symbol on all symbols in PIE.
	(elf_backend_fixup_symbol): New.

include/

	PR ld/19636
	PR ld/19704
	PR ld/19719
	* bfdlink.h (bfd_link_info): Add dynamic_undefined_weak.

ld/

	PR ld/19636
	PR ld/19704
	PR ld/19719
	* Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
	* Makefile.in: Regenerated.
	* NEWS: Mention -z nodynamic-undefined-weak.
	* ld.texinfo: Document -z nodynamic-undefined-weak.
	* ldmain.c (main): Initialize dynamic_undefined_weak to -1.
	* emulparams/dynamic_undefined_weak.sh: New file.
	* emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
	* emulparams/elf_i386.sh: Likewise.
	* emulparams/elf_i386_be.sh: Likewise.
	* emulparams/elf_i386_chaos.sh: Likewise.
	* emulparams/elf_i386_ldso.sh: Likewise.
	* emulparams/elf_i386_vxworks.sh: Likewise.
	* emulparams/elf_iamcu.sh: Likewise.
	* emulparams/elf_k1om.sh: Likewise.
	* emulparams/elf_l1om.sh: Likewise.
	* emulparams/elf_x86_64.sh: Likewise.
	* emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
	Append.
	(PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
	* testsuite/ld-elf/pr19719a.c: New file.
	* testsuite/ld-elf/pr19719b.c: Likewise.
	* testsuite/ld-elf/pr19719c.c: Likewise.
	* testsuite/ld-elf/pr19719d.c: Likewise.
	* testsuite/ld-i386/pr19636-1.s: Likewise.
	* testsuite/ld-i386/pr19636-1a.d: Likewise.
	* testsuite/ld-i386/pr19636-1b.d: Likewise.
	* testsuite/ld-i386/pr19636-1c.d: Likewise.
	* testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
	* testsuite/ld-i386/pr19636-1d.d: Likewise.
	* testsuite/ld-i386/pr19636-1e.d: Likewise.
	* testsuite/ld-i386/pr19636-1f.d: Likewise.
	* testsuite/ld-i386/pr19636-1g.d: Likewise.
	* testsuite/ld-i386/pr19636-1h.d: Likewise.
	* testsuite/ld-i386/pr19636-1i.d: Likewise.
	* testsuite/ld-i386/pr19636-2.s: Likewise.
	* testsuite/ld-i386/pr19636-2a.d: Likewise.
	* testsuite/ld-i386/pr19636-2b.d: Likewise.
	* testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
	* testsuite/ld-i386/pr19636-2c.d: Likewise.
	* testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
	* testsuite/ld-i386/pr19636-2d.d: Likewise.
	* testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
	* testsuite/ld-i386/pr19636-2e.d: Likewise.
	* testsuite/ld-i386/pr19636-3.s: Likewise.
	* testsuite/ld-i386/pr19636-3a.d: Likewise.
	* testsuite/ld-i386/pr19636-3b.d: Likewise.
	* testsuite/ld-i386/pr19636-3c.d: Likewise.
	* testsuite/ld-i386/pr19636-3d.d: Likewise.
	* testsuite/ld-i386/pr19636-3e.d: Likewise.
	* testsuite/ld-i386/pr19636-3f.d: Likewise.
	* testsuite/ld-i386/pr19636-3g.d: Likewise.
	* testsuite/ld-i386/pr19636-4.s: Likewise.
	* testsuite/ld-i386/pr19636-4a.d: Likewise.
	* testsuite/ld-i386/pr19636-4b.d: Likewise.
	* testsuite/ld-i386/pr19636-4c.d: Likewise.
	* testsuite/ld-i386/pr19636-4d.d: Likewise.
	* testsuite/ld-i386/pr19704.out: Likewise.
	* testsuite/ld-i386/pr19704a.c: Likewise.
	* testsuite/ld-i386/pr19704b.c: Likewise.
	* testsuite/ld-x86-64/pr19636-1.s: Likewise.
	* testsuite/ld-x86-64/pr19636-1a.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1b.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1c.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1d.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1e.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1f.d: Likewise.
	* testsuite/ld-x86-64/pr19636-1g.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2.s: Likewise.
	* testsuite/ld-x86-64/pr19636-2a.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2b.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2c.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2e.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2f.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2g.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2h.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2i.d: Likewise.
	* testsuite/ld-x86-64/pr19636-3.s: Likewise.
	* testsuite/ld-x86-64/pr19636-3a.d: Likewise.
	* testsuite/ld-x86-64/pr19636-3b.d: Likewise.
	* testsuite/ld-x86-64/pr19636-3c.d: Likewise.
	* testsuite/ld-x86-64/pr19636-3d.d: Likewise.
	* testsuite/ld-x86-64/pr19704.out: Likewise.
	* testsuite/ld-x86-64/pr19704a.c: Likewise.
	* testsuite/ld-x86-64/pr19704b.c: Likewise.
	* testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
	Run mix_pic_and_non_pic.
	* testsuite/ld-i386/i386.exp (undefined_weak): New.
	Run undefined_weak and PR ld/19636 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-x86-64/pr13082-3b.d: Updated.
	* testsuite/ld-x86-64/pr13082-4b.d: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Properly implement STT_COMMON
@ 2016-02-26 14:51 sergiodj+buildbot
  2016-02-26 15:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Generalize gdb.reverse/aarch64.exp
@ 2016-02-26 15:15 sergiodj+buildbot
  2016-02-26 15:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Record right reg num of thumb special data instructions
@ 2016-02-26 15:51 sergiodj+buildbot
  2016-02-26 16:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 17:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Rename gdb.reverse/aarch64.{exp, c} to gdb.reverse/insn-reverse.{exp, c}
@ 2016-02-26 16:01 sergiodj+buildbot
  2016-02-26 16:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 16:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce90fefec908ee50ae5a3b22b03447df638a54c1 ***

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

Rename gdb.reverse/aarch64.{exp,c} to gdb.reverse/insn-reverse.{exp,c}

gdb/testsuite:

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

	* gdb.reverse/aarch64.c: Rename to ...
	* gdb.reverse/insn-reverse.c: ... it.
	* gdb.reverse/aarch64.exp: Rename to ...
	* gdb.reverse/insn-reverse.exp: ... it.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Optimize x86 GOT32X/GOTPCRELX relocations
@ 2016-02-26 17:52 sergiodj+buildbot
  2016-02-26 18:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-26 18:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add x86_64-*-rtems* target
@ 2016-02-26 20:20 sergiodj+buildbot
  2016-02-26 20:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-26 20:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f73dbb0e48ef50d2743fed89b68530b731329f05 ***

Author: Joel Sherrill <joel.sherrill@oarcorp.com>
Branch: master
Commit: f73dbb0e48ef50d2743fed89b68530b731329f05

Add x86_64-*-rtems* target

	ld/configure.tgt: Also add stanza for x86_64-*-elf.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add aarch64-*-rtems* target
@ 2016-02-26 20:30 sergiodj+buildbot
  2016-02-26 21:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
[parent not found: <1ed0c2a4bbe8ad5f5404014a6351b2b74db75577@gdb-build>]
* [binutils-gdb] Don't recursively look for a symbol in all imports of imported modules.
@ 2016-02-28 15:25 sergiodj+buildbot
  2016-02-28 15:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-28 15:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 38899f16e1560ce3020bab8a6a0b3a0c017d7925 ***

Author: Iain Buclaw <ibuclaw@gdcproject.org>
Branch: master
Commit: 38899f16e1560ce3020bab8a6a0b3a0c017d7925

Don't recursively look for a symbol in all imports of imported modules.

Given two or more modules that import each other's scope, the current symbol
lookup routines would go round in circles looking through each import from
each module, possibly checking the same module twice or more until all possible
paths are marked as "searched".

Given enough modules, this causes an exponential slowdown in time taken to find
symbols that do exist, and infinite recursion when they don't.

gdb/ChangeLog:
	* d-namespace.c (d_lookup_symbol_imports): Avoid recursive lookups from
	cyclic imports.

gdb/testsuite/ChangeLog:
	* gdb.dlang/circular.c: New file.
	* gdb.dlang/circular.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] General fixes.
@ 2016-02-29 15:24 sergiodj+buildbot
  2016-02-29 15:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-29 15:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7e4588997ebdddefc48d8be2d51a715822817c0e ***

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

[ARC] General fixes.

bfd/
2016-02-29  Cupertino Miranda <Cupertino.Miranda@synopsys.com>

	* elf32-arc.c (arc_elf_final_write_processing): Add condition to
	the flag change.
        (elf_arc_relocate_section): Fixes and conditions to support PIE.
	Assert for code sections dynamic relocs.

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

	* config/tc-arc.c: Enable code density instructions for ARC EM.

ld/
2016-02-29  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>

	* scripttempl/arclinux.sc: Force .tdata and .tbss to always be
	generated.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Local symbols relocation cleanup
@ 2016-02-29 16:04 sergiodj+buildbot
  2016-02-29 16:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Support more syscalls in linux-record: pipe2 epoll_create1 eventfd2 fallocate dup3 and inotify_init1
@ 2016-02-29 16:58 sergiodj+buildbot
  2016-02-29 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-02-29 16:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 253b4d3a09e9edbb72d21127fbc85934ab1b7c07 ***

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

Support more syscalls in linux-record: pipe2 epoll_create1 eventfd2 fallocate dup3 and inotify_init1

This patch adds more syscalls in linux-record.

gdb:

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

	* linux-record.h (enum gdb_syscall) <gdb_sys_fallocate>: New.
	<gdb_sys_eventfd2, gdb_sys_epoll_create1, gdb_sys_dup3>: New.
	<gdb_sys_pipe2, gdb_sys_inotify_init1>: New.
	* linux-record.c (record_linux_system_call): Handle them.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] aarch64-linux process record: more syscalls
@ 2016-02-29 17:29 sergiodj+buildbot
  2016-02-29 18:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix typo in print_insn_rl78_common function.
@ 2016-03-01 11:06 sergiodj+buildbot
  2016-03-01 11:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] S390: Fix internal error with stackless inferior
@ 2016-03-01 11:55 sergiodj+buildbot
  2016-03-01 12:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f24894771e384b1bc60dc0f2c104d7e7fad3c865 ***

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

S390: Fix internal error with stackless inferior

This fixes a GDB internal error that may occur when the inferior has no
valid stack pointer in r15.

gdb/testsuite/ChangeLog:

	* gdb.arch/s390-stackless.S: New.
	* gdb.arch/s390-stackless.exp: New.

gdb/ChangeLog:

	* s390-linux-tdep.c (s390_backchain_frame_unwind_cache): Avoid
	exception when attempting to access the inferior's backchain.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] S390: Fix output path for s390-tdbregs test case
@ 2016-03-01 12:05 sergiodj+buildbot
  2016-03-01 12:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 12:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a9321595003d86dd4794d0edab071f91989808e ***

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

S390: Fix output path for s390-tdbregs test case

Since test artifacts are always organized in a directory hierarchy, the
s390-tdbregs test case is not executed correctly any more.  This is
because it uses an obsolete way of constructing the executable's path.

This change invokes prepare_for_testing instead.

gdb/testsuite/ChangeLog:

	* gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
	manually constructing the output path.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Compile gdb.arch/arm-neon.c with "quiet"
@ 2016-03-01 15:31 sergiodj+buildbot
  2016-03-01 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix output path for arm-disp-step.exp
@ 2016-03-01 15:41 sergiodj+buildbot
  2016-03-01 16:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdb.base/catch-fork-kill.c compilation
@ 2016-03-01 17:26 sergiodj+buildbot
  2016-03-01 17:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-01 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ccb54e2a82ca934f6d430b87ab015b7bfecc413 ***

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

Fix gdb.base/catch-fork-kill.c compilation

Fixes:

 Running .../src/gdb/testsuite/gdb.base/catch-fork-kill.exp ...
 gdb compile failed, .../src/gdb/testsuite/gdb.base/catch-fork-kill.c: In function 'main':
 .../src/gdb/testsuite/gdb.base/catch-fork-kill.c:81:4: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration]
     wait (NULL);
     ^

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

	* gdb.base/catch-fork-kill.c: Include <sys/wait.h>.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb.threads/watchpoint-fork*.c compilation
@ 2016-03-01 17:53 sergiodj+buildbot
  2016-03-01 18:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdb.trace/ftrace-lock.c compilation
@ 2016-03-01 18:47 sergiodj+buildbot
  2016-03-01 19:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix shift left warning at source
@ 2016-03-02  3:28 sergiodj+buildbot
  2016-03-02  3:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-02  3:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 62de1c630f16c21418464727692bcd29e23ef1b0 ***

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

Fix shift left warning at source

cpu/
	* fr30.cpu (f-m4): Replace -1 << 4 with -16.
opcodes/
	* fr30-ibld.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Regenerate rl78 opcodes file
@ 2016-03-02  3:46 sergiodj+buildbot
  2016-03-02  5:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Regenerate bfd files.
@ 2016-03-02  4:03 sergiodj+buildbot
  2016-03-02  4:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Regenerate or1k opcodes file
@ 2016-03-02 14:03 sergiodj+buildbot
  2016-03-02 14:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix detection of gfortran compilers.
@ 2016-03-02 14:37 sergiodj+buildbot
  2016-03-02 15:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add new maintainer to Write After Approval.
@ 2016-03-02 15:30 sergiodj+buildbot
  2016-03-02 15:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Nullify pointers before first usage.
@ 2016-03-02 15:43 sergiodj+buildbot
  2016-03-02 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-02 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 178073690aec73fdb5f4452b49f108407edde700 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 178073690aec73fdb5f4452b49f108407edde700

testsuite: Nullify pointers before first usage.

Nullify pointers to avoid an undefined association status.

2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:

     * gdb.mi/vla.f90: Nullify pointer after declaration.


^ permalink raw reply	[flat|nested] 2163+ 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 16:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Remove unnecessary code in fortran vla-history test.
@ 2016-03-02 16:16 sergiodj+buildbot
  2016-03-02 17:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 18:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] testsuite: Fix timeout issues during print of vla-arrays.
@ 2016-03-02 17:06 sergiodj+buildbot
  2016-03-02 17:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Call enqueue_pending_signal in linux_resume_one_lwp_throw
@ 2016-03-02 17:42 sergiodj+buildbot
  2016-03-02 18:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [GDBserver] Leave child suspended when step over parent
@ 2016-03-03  9:31 sergiodj+buildbot
  2016-03-03 10:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 10:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Step over fork/vfork syscall insn in gdbserver
@ 2016-03-03 10:00 sergiodj+buildbot
  2016-03-03 11:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 12:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Reformat gdb.base/step-over-syscall.exp
@ 2016-03-03 10:20 sergiodj+buildbot
  2016-03-03 13:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] New test about step over clone syscall
@ 2016-03-03 10:27 sergiodj+buildbot
  2016-03-03 13:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 10:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4719d415b9908d3c7981163b47be5096d03656f9 ***

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

New test about step over clone syscall

This patch adds a new test for stepping over clone syscall.

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

	* gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
	Invoke step_over_syscall "clone" and break_cond_on_syscall
	"clone".
	* gdb.base/step-over-clone.c: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update comments to start_step_over
@ 2016-03-03 10:36 sergiodj+buildbot
  2016-03-03 14:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 10:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c40c8d4b6793b71eed7cf9fa7467edda2271dc86 ***

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

Update comments to start_step_over

I happen to see that comments to start_step_over isn't in sync with
code, so this patch is to update the comments.

gdb/gdbserver:

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

	* linux-low.c: Update comments to start_step_over.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix bugs in the simulation of the AArch64's ADDP, FADDP, LD1, CCMP and CCMP instructions.
@ 2016-03-03 15:34 sergiodj+buildbot
  2016-03-03 16:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-03 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 57aa17424380be1c3e362a5601071f1f3a6f74f6 ***

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

Fix bugs in the simulation of the AArch64's ADDP, FADDP, LD1, CCMP and CCMP instructions.

	* simulator.c (set_flags_for_sub32): Correct type of signbit.
	(CondCompare): Swap interpretation of bit 30.
	(DO_ADDP): Delete macro.
	(do_vec_ADDP): Copy source registers before starting to update
	destination register.
	(do_vec_FADDP): Likewise.
	(do_vec_load_store): Fix computation of sizeof_operation.
	(rbit64): Fix type of constant.
	(aarch64_step): When displaying insn value, display all 32 bits.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb.base/skip.exp: Use with_test_prefix.
@ 2016-03-03 19:03 sergiodj+buildbot
  2016-03-03 19:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-03 21:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-03 21:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [ARM] Add feature check for ARMv8.1 AdvSIMD instructions.
@ 2016-03-04 11:45 sergiodj+buildbot
  2016-03-04 12:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 643afb90da9066e9d3c6dc721920b14ed343bec9 ***

Author: Matthew Wahab <matthew.wahab@arm.com>
Branch: master
Commit: 643afb90da9066e9d3c6dc721920b14ed343bec9

[ARM] Add feature check for ARMv8.1 AdvSIMD instructions.

gas/
2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>

	* config/gas/tc-arm.c (fpu_neon_ext_v8_1): Restrict to the ARMv8.1 RDMA
	feature.
	(record_feature_use): New.
	(mark_feature_used): Use record_feature_use.
	(do_neon_qrdmlah): New.
	(insns): Use do_neon_qrdmlah for vqrdmlah and vqrdmlsh and
	variants.
	(arm_extensions): Put into alphabetical order.  Re-indent "simd"
	and "rdma" entries.  Fix the incorrect merge value for "+rdma".
	* testsuite/gas/arm/armv8-a+rdma-warning.d: New.
	* testsuite/gas/arm/armv8-a+rdma.d: Add assembler command line options.
	Make source file explicit.
	* testsuite/gas/arm/armv8-a+rdma.l: New.
	* testsuite/gas/arm/armv8-a+rdma.s: Remove .arch and .arch_extension
	directives.  Fix white-space.
	* testsuite/gas/arm/armv8_1-a+simd.d: New.

include/opcode
2016-03-04  Matthew Wahab  <matthew.wahab@arm.com>

	* arm.h (ARM_ARCH_V8_1A): Add FPU_NEON_EXT_RDMA.
	(ARM_CPU_HAS_FEATURE): Add comment.

Change-Id: Ie19250e8fa50aed44e44ab40ff30b04b38bc1a3d


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Treat common symbol in executable as definition
@ 2016-03-04 14:50 sergiodj+buildbot
  2016-03-04 15:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] feature_to_c.sh: Print help when passing no arguments
@ 2016-03-04 15:16 sergiodj+buildbot
  2016-03-04 15:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 15:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73519cce7cbe31609a2aa9c27955555237a0c51f ***

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

feature_to_c.sh: Print help when passing no arguments

I found that odd that passing no arguments to feature_to_c.sh produces
this:

$ ./feature_to_c.sh
./feature_to_c.sh: 23: shift: can't shift that many

but passing one argument shows the help:

$ ./feature_to_c.sh hello
Usage: ./feature_to_c.sh OUTPUTFILE INPUTFILE...

This patch changes the script to show the help in both cases.

gdb/ChangeLog:

	* features/feature_to_c.sh: Print the help when passing no
	argument.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Tweak ARM process record
@ 2016-03-04 16:10 sergiodj+buildbot
  2016-03-04 16:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 16:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca92db2d5885c03d3e0ed23c96b5c6ab336d908d ***

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

Tweak ARM process record

This patch removes the printing "Process record does not support",
and do the print by calling arm_record_unsupported_insn in the
caller.  Also, call arm_record_extension_space only when condition
is 0xf.

gdb:

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

	* arm-tdep.c (arm_record_extension_space): Remove code
	printing "Process record does not support".
	(arm_record_data_proc_misc_ld_str): Likewise.
	(decode_insn): Call arm_record_extension_space if condition
	is 0xf.  Call arm_record_unsupported_insn if ret isn't
	ARM_RECORD_SUCCESS.  Use 'ret' instead of 'insn_id' to hold
	the value of thumb2_record_decode_insn_handler.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add missing ChangeLog entries for commit 82838
@ 2016-03-04 16:41 sergiodj+buildbot
  2016-03-04 17:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-04 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f1f41f55f2fa5d390e57074477b6407302c8c46 ***

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

Add missing ChangeLog entries for commit 82838

Fix gold/testsuite/plugin_layout_with_alignment.sh permission.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ARM process record: VMOV
@ 2016-03-04 17:01 sergiodj+buildbot
  2016-03-04 17:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix argument passing for call
@ 2016-03-05 12:31 sergiodj+buildbot
  2016-03-05 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Improve analysis of racy testcases
@ 2016-03-06  1:57 sergiodj+buildbot
  2016-03-06  2:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Set executable bit on analyze-racy-logs.py
@ 2016-03-06 22:42 sergiodj+buildbot
  2016-03-06 23:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-06 22:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5eb264df40e1e3ffeb2627456889a1dc5df00f16 ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 5eb264df40e1e3ffeb2627456889a1dc5df00f16

Set executable bit on analyze-racy-logs.py

I forgot to do it in my previous commit.  This is necessary because we
execute the script directly on gdb/testsuite/Makefile.in.

gdb/testsuite/ChangeLog:
2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* analyze-racy-logs.py: Set executable bit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add const qualifiers at various places.
@ 2016-03-07 15:39 sergiodj+buildbot
  2016-03-07 15:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-07 15:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f86f586366275bbb5ae77520eb990769f05a3030 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: f86f586366275bbb5ae77520eb990769f05a3030

Add const qualifiers at various places.

opcodes	* mcore-opc.h: Add const qualifiers.
	* microblaze-opc.h (struct op_code_struct): Likewise.
	* sh-opc.h: Likewise.
	* tic4x-dis.c (tic4x_print_indirect): Likewise.
	(tic4x_print_op): Likewise.

include	* opcode/dlx.h (struct dlx_opcode): Add const qualifiers.
	* opcode/h8300.h (struct h8_opcode): Likewise.
	* opcode/hppa.h (struct pa_opcode): Likewise.
	* opcode/msp430.h: Likewise.
	* opcode/spu.h (struct spu_opcode): Likewise.
	* opcode/tic30.h (struct _register): Likewise.
	* opcode/tic4x.h (struct tic4x_register): Likewise.
	(struct tic4x_cond): Likewise.
	(struct tic4x_indirect): Likewise.
	(struct tic4x_inst): Likewise.
	* opcode/visium.h (struct reg_entry): Likewise.

gas	* config/tc-arc.c: Add const qualifiers.
	* config/tc-h8300.c (md_begin): Likewise.
	* config/tc-ia64.c (print_prmask): Likewise.
	* config/tc-msp430.c (msp430_operands): Likewise.
	* config/tc-nds32.c (struct suffix_name): Likewise.
	(struct nds32_parse_option_table): Likewise.
	(struct nds32_set_option_table): Likewise.
	(do_pseudo_pushpopm): Likewise.
	(do_pseudo_pushpop_stack): Likewise.
	(nds32_relax_relocs): Likewise.
	(nds32_flag): Likewise.
	(struct nds32_hint_map): Likewise.
	(nds32_find_reloc_table): Likewise.
	(nds32_match_hint_insn): Likewise.
	* config/tc-s390.c: Likewise.
	* config/tc-sh.c (get_specific): Likewise.
	* config/tc-tic30.c: Likewise.
	* config/tc-tic4x.c (tic4x_inst_add): Likewise.
	(tic4x_indirect_parse): Likewise.
	* config/tc-vax.c (vax_cons): Likewise.
	* config/tc-z80.c (struct reg_entry): Likewise.
	* config/tc-epiphany.c (md_assemble): Adjust.
	(epiphany_assemble): New function.
	(epiphany_elf_section_rtn): Call do_align directly.
	(epiphany_elf_section_text): Likewise.
	* config/tc-ip2k.c (ip2k_elf_section_rtn): Likewise.
	(ip2k_elf_section_text): Likewise.
	* read.c (do_align): Make it not static.
	* read.h (do_align): New prototype.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced
@ 2016-03-07 15:51 sergiodj+buildbot
  2016-03-07 16:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-07 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 18f822a08fd5cb8fed8b0b318e7945545c255081 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 18f822a08fd5cb8fed8b0b318e7945545c255081

[AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced

2016-03-07  Jiong Wang  <jiong.wang@arm.com>

bfd/
  * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got section
  if the symbol "_GLOBAL_OFFSET_TABLE_" referenced.

ld/
  * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
  * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected result.
  * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix "set architecture mips:10000" crash
@ 2016-03-07 16:52 sergiodj+buildbot
  2016-03-07 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-07 16:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6c2f47b45315ba13f25fb57e51389d0c5ed0701 ***

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

Fix "set architecture mips:10000" crash

Fix this GDB crash:

  $ gdb -ex "set architecture mips:10000"
  Segmentation fault (core dumped)

Backtrace:

  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000495b1b in mips_gdbarch_init (info=..., arches=0x0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/mips-tdep.c:8436
  8436              if (bfd_get_flavour (info.abfd) == bfd_target_elf_flavour
  (top-gdb) bt
  #0  0x0000000000495b1b in mips_gdbarch_init (info=..., arches=0x0) at .../src/gdb/mips-tdep.c:8436
  #1  0x00000000007348a6 in gdbarch_find_by_info (info=...) at .../src/gdb/gdbarch.c:5155
  #2  0x000000000073563c in gdbarch_update_p (info=...) at .../src/gdb/arch-utils.c:522
  #3  0x0000000000735585 in set_architecture (ignore_args=0x0, from_tty=1, c=0x26bc870) at .../src/gdb/arch-utils.c:496
  #4  0x00000000005f29fd in do_sfunc (c=0x26bc870, args=0x0, from_tty=1) at .../src/gdb/cli/cli-decode.c:121
  #5  0x00000000005fd3f3 in do_set_command (arg=0x7fffffffdcdd "mips:10000", from_tty=1, c=0x26bc870) at .../src/gdb/cli/cli-setshow.c:455
  #6  0x0000000000836157 in execute_command (p=0x7fffffffdcdd "mips:10000", from_tty=1) at .../src/gdb/top.c:460
  #7  0x000000000071abfb in catch_command_errors (command=0x835f6b <execute_command>, arg=0x7fffffffdccc "set architecture mips:10000", from_tty=1)
      at .../src/gdb/main.c:368
  #8  0x000000000071bf4f in captured_main (data=0x7fffffffd750) at .../src/gdb/main.c:1132
  #9  0x0000000000716737 in catch_errors (func=0x71af44 <captured_main>, func_args=0x7fffffffd750, errstring=0x106b9a1 "", mask=RETURN_MASK_ALL)
      at .../src/gdb/exceptions.c:240
  #10 0x000000000071bfe6 in gdb_main (args=0x7fffffffd750) at .../src/gdb/main.c:1164
  #11 0x000000000040a6ad in main (argc=4, argv=0x7fffffffd858) at .../src/gdb/gdb.c:32
  (top-gdb)

We already check whether info.abfd is NULL before all other
bfd_get_flavour calls in the same function.  Just this one case was
missing.

(This was exposed by a WIP test that tries all "set architecture ARCH"
values.)

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

	* mips-tdep.c (mips_gdbarch_init): Check whether info.abfd is NULL
	before calling bfd_get_flavour.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Allow zero length archive elements.
@ 2016-03-07 17:40 sergiodj+buildbot
  2016-03-07 18:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-07 17:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4fc874242f8f1bf17cf6e65b159dd804e793e6cd ***

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

Allow zero length archive elements.

bfd	PR binutils/19775
	* archive.c (bfd_generic_openr_next_archived_file): Allow zero
	length elements in the archive.

binutils PR binutils/19775
	* testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
	Run the new proc.
	* testsuite/binutils-all/empty: New, empty, file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Allow non-instruction relocations within .text sections
@ 2016-03-08 13:41 sergiodj+buildbot
  2016-03-08 14:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Group common symbol checking together
@ 2016-03-08 13:50 sergiodj+buildbot
  2016-03-08 14:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Handle local IFUNC symbols in shared object
@ 2016-03-08 17:47 sergiodj+buildbot
  2016-03-08 18:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix HP/PA GNU/Linux "long double" format
@ 2016-03-09  2:37 sergiodj+buildbot
  2016-03-09  3:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  3:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [CRIS] Don't internal error if forced big endian
@ 2016-03-09  3:39 sergiodj+buildbot
  2016-03-09  6:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Don't create dynamic sections when relocatable
@ 2016-03-09  4:57 sergiodj+buildbot
  2016-03-09  7:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Allow zero length archive elements
@ 2016-03-09  6:37 sergiodj+buildbot
  2016-03-09  8:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix v850 bfd arch info printable names
@ 2016-03-09 15:59 sergiodj+buildbot
  2016-03-09 16:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b05e0a74b3fb21b56e821423b8a334e4be9cfe7 ***

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

Fix v850 bfd arch info printable names

Currently, it's not possible to manually set some of the v850 archs in
gdb:

 (gdb) set architecture v850<TAB>
 v850 (using old gcc ABI)
 v850-rh850
 v850e
 v850e (using old gcc ABI)
 v850e1
 [...]
 (gdb) set architecture v850 (using old gcc ABI)
 Ambiguous item "v850 (using old gcc ABI)".

The problem is that "set architecture" is a GDB "enum command", and
GDB only considers an enum value to be the string up until the first
space.  So writing "v850 (using old gcc ABI)" is the same as writing
"v850", and then that's not an unambiguous arch printable name prefix.

v850 is actually the only arch that has spaces in its printable name.
One can conveniently see that with e.g.:

 (gdb) set max-completions unlimited
 (gdb) complete set architecture
 ...

Rather than hack GDB into accepting this somehow, make v850 arch
printable names more like the printable names of the other archs, and
put the abi variant in the "machine" part, after a ':'.

We now get:

 (gdb) set architecture v850<TAB>
 v850:old-gcc-abi
 v850:rh850
 v850e
 v850e1
 v850e1:old-gcc-abi
 v850e2
 v850e2:old-gcc-abi
 [...]

And now "set architecture v850:old-gcc-abi" works as expected.

I ran the binutils/gas/ld testsuites, and found no regressions.  I
don't have a cross compiler handy, but I ran the gdb tests anyway,
which covers at least some snoke testing.

I think that the OUTPUT_ARCH in ld/scripttempl/v850.sc may have got
broken with the previous 2012 change, since I hacked v850_rh850.sc to
output "v850" and ld failed to grok it.  I think it only works if the
old GCC ABI is the configured v850 default ABI.  That's now fixed by
changing to use explicit v850:old-gcc-abi.

Also, this actually "fixes" an existing GDB test, which isn't likewise
expecting spaces in arch names, when GDB is configured for
--target=v850:

  (gdb) FAIL: gdb.xml/tdesc-arch.exp: read valid architectures

bfd/ChangeLog:
2016-03-09  Pedro Alves  <palves@redhat.com>

	* cpu-v850.c (N): Append ":old-gcc-abi" instead of " (using old
	gcc ABI)" to printable name.
	* cpu-v850_rh850.c (bfd_v850_rh850_arch): Use "v850:rh850" instead
	of "v850-rh850" as printable name.

ld/ChangeLog:
2016-03-09  Pedro Alves  <palves@redhat.com>

	* scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
	* scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [FR-V] Handle FR300
@ 2016-03-09 16:08 sergiodj+buildbot
  2016-03-09 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 087ccc6a4f8c754a4f4d31810839a631dbeabe0d ***

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

[FR-V] Handle FR300

Even though "set architecture" presents fr300 as option:

 (gdb) set architecture fr<TAB>
 fr300  fr400  fr450  fr500  fr550  frv

Actually selecting fr300 doesn't work:

 (gdb) set architecture fr300
 Architecture `fr300' not recognized.
 The target architecture is set automatically (currently i386)
 (gdb)

This just looks like an obvious oversight.  Looking around gcc and
binutils sources, FR300 is basically a FR500 specialized for DSP and
low power.

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

	* frv-tdep.c (frv_gdbarch_init): Handle bfd_mach_fr300.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid spaces in osabi names
@ 2016-03-09 16:19 sergiodj+buildbot
  2016-03-09 17:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7990f1690e9ef0471634c871c790f6cf706866d ***

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

Avoid spaces in osabi names

It's not possible today to select some of the osabis by name.
Specifically, those that have spaces in their names and then the first
word is ambiguous...

For example:
 (gdb) set osabi <TAB>
 [...]
 FreeBSD ELF
 FreeBSD a.out
 [...]
 (gdb) set osabi FreeBSD ELF
 Ambiguous item "FreeBSD ELF".

In reality, because "set osabi" is an enum command, that was
equivalent to trying "set osabi FreeBSD", which is then obviously
ambiguous, because of "FreeBSD ELF" and "FreeBSD a.out".

Also, even if the first word is not ambiguous, we actually ignore
whatever comes after the first word:

 (gdb) set osabi GNU/Linux
 (gdb) show osabi
 The current OS ABI is "GNU/Linux".
 The default OS ABI is "GNU/Linux".
 (gdb) set osabi Windows SomeNonsense
                         ^^^^^^^^^^^^
 (gdb) show osabi
 The current OS ABI is "Windows CE".
 The default OS ABI is "GNU/Linux".
 (gdb)

Fix this by avoiding spaces in osabi names.

We could instead make "set osabi" have a custom set hook, or
alternatively make the enum set hook (in cli-setshow.c) handle values
with spaces, but OTOH, I have a feeling that could cause trouble.
E.g., in cases where we might want to write more than one enum value
in the same line.  We could support quoting as workaround, but, not
sure we want that.  "No spaces" seems like a simpler rule.

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

	* osabi.c (gdb_osabi_names): Avoid spaces in osabi names.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] S390: Add use of unavailable-stack frame ID
@ 2016-03-09 16:30 sergiodj+buildbot
  2016-03-09 18:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] S390: Recognize special jumps in prologue parser
@ 2016-03-09 16:41 sergiodj+buildbot
  2016-03-09 19:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc0e3f49c84055034cae31bba169100d107b28f4 ***

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

S390: Recognize special jumps in prologue parser

Functions compiled with the gcc option `-mhotpatch' may start with a
branch-never BRCL instruction as a 6-byte NOP.  And functions compiled
with `-mstack-size' contain a BRC instruction in their prologue that is
actually a conditional trap.  Both of these special jumps cause the
prologue parser to stop and yield bad unwinding results.

This change makes the prologue analyzer recognize such special jumps and
ignore them.

gdb/ChangeLog:

	* s390-linux-tdep.c (s390_analyze_prologue): Ignore BRC and BRCL
	instructions that do nothing or are conditional traps.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: Add ax_pseudo_register_collect for powerpc.
@ 2016-03-09 18:02 sergiodj+buildbot
  2016-03-09 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 18:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2a2fa07bd121498a492f84312a36629383fc9445 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 2a2fa07bd121498a492f84312a36629383fc9445

gdb: Add ax_pseudo_register_collect for powerpc.

gdb/ChangeLog:

	* rs6000-tdep.c (rs6000_ax_pseudo_register_collect): New function.
	(rs6000_gdbarch_init): Wire in the above.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: Add gen_return_address for powerpc.
@ 2016-03-09 18:28 sergiodj+buildbot
  2016-03-09 20:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb/rs6000: Read backchain as unsigned.
@ 2016-03-09 18:40 sergiodj+buildbot
  2016-03-09 20:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 18:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc2c4da8813b980a4e68272bb43583f4af6fe89c ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: cc2c4da8813b980a4e68272bb43583f4af6fe89c

gdb/rs6000: Read backchain as unsigned.

Previously, backchain was read as a signed quantity, resulting in
addresses like 0xfffffffffffeded0 instead of 0xfffeded0 returned by
unwinder on 32-bit powerpc.  While normally such addresses are masked
off, this causes problems for tracepoints, since 0xfffffffffffeded0
is considered unavailable.

Fixes a test failure in gdb.trace/entry-values.exp.

gdb/ChangeLog:

	* corefile.c (safe_read_memory_unsigned_integer): New function.
	* gdbcore.h (safe_read_memory_unsigned_integer): New prototype.
	* rs6000-tdep.c (rs6000_frame_cache): Read backchain as unsigned.


^ permalink raw reply	[flat|nested] 2163+ 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-09 21:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb.trace/entry-values.exp: Fixes for powerpc64.
@ 2016-03-09 19:21 sergiodj+buildbot
  2016-03-09 23:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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  0:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Garbage collect window_hook
@ 2016-03-09 19:54 sergiodj+buildbot
  2016-03-10  1:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb_readline2 -> gdb_readline_no_editing_callback
@ 2016-03-09 20:06 sergiodj+buildbot
  2016-03-10  1:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c70061cf94691182484924c79cbbdd2203ef92d5 ***

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

gdb_readline2 -> gdb_readline_no_editing_callback

The "2" in "gdb_readline2" doesn't really convey much.  Rename for
clarity.

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

	* event-top.c (gdb_readline2): Rename to ...
	(gdb_readline_no_editing_callback): ... this.
	(change_line_handler, stdin_event_handler)
	(gdb_setup_readline): Adjust.
	* event-top.h (gdb_readline2): Rename to ...
	(gdb_readline_no_editing_callback): ... this, and move closer to
	other readline-related declarations.
	* mi/mi-interp.c (mi_interpreter_resume): Adjust.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate async_annotation_suffix
@ 2016-03-09 20:15 sergiodj+buildbot
  2016-03-10  2:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Update prompt_for_continue comments
@ 2016-03-09 20:27 sergiodj+buildbot
  2016-03-10  2:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb_readline -> gdb_readline_no_editing
@ 2016-03-09 20:36 sergiodj+buildbot
  2016-03-10  3:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use struct buffer in gdb_readline_no_editing
@ 2016-03-09 20:47 sergiodj+buildbot
  2016-03-10  4:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a3bde34bc61af108556c74b661533dadddcb178 ***

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

Use struct buffer in gdb_readline_no_editing

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

	* common/buffer.h (buffer_grow_char): New function.
	* top.c: Include buffer.h.
	(gdb_readline_no_editing): Rename 'prompt_arg' parameter to
	'prompt'.  Use struct buffer instead of xrealloc.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use struct buffer in gdb_readline_no_editing_callback
@ 2016-03-09 20:57 sergiodj+buildbot
  2016-03-10  5:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Simplify saved_command_line handling
@ 2016-03-09 21:09 sergiodj+buildbot
  2016-03-10  7:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 21:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2669cade3dcebf5d572bcd535cf21934cbc1633c ***

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

Simplify saved_command_line handling

There doesn't seem to be much point in trying to reuse this buffer.
Prefer simplicity instead.

(In case you're wondering whether this fixes an off-by-one: linelength
is misnamed; it's really a size including terminating null char.)

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

	* event-top.c (command_line_handler): Use xfree + xstrdup instead
	of xrealloc + strcpy.
	* main.c (captured_main): Use xstrdup instead of xmalloc plus
	manual clear.
	* top.c (saved_command_line): Rewrite comment.
	(saved_command_line_size): Delete.
	(command_line_input): Use xfree + xstrdup instead of xrealloc +
	strcpy.
	* top.h (saved_command_line_size): Delete declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Command line input handling TLC
@ 2016-03-09 21:19 sergiodj+buildbot
  2016-03-10  8:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 21:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b69d38afdea34e4fecab5ea47ffe1e594e0b6233 ***

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

Command line input handling TLC

I didn't manage to usefully split this further into smaller
independent pieces, so:

 - Use "struct buffer" more.

 - Split out the responsibility of composing a complete command line
   from multiple input lines split with backslash

    (
    E.g.:

       (gdb) print \
       1 + \
       2
       $1 = 3
       (gdb)
    )

   to a separate function.  Note we don't need the separate
   readline_input_state and more_to_come globals at all.  They were
   just obfuscating the logic.

 - Factor out the tricky mostly duplicated code in
   command_line_handler and command_line_input.

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

	* event-top.c (more_to_come): Delete.
	(struct readline_input_state): Delete.
	(readline_input_state): Delete.
	(get_command_line_buffer): New function.
	(command_handler): Update comments.  Don't handle NULL commands
	here.  Do not execute commented lines.
	(command_line_append_input_line): New function.
	(handle_line_of_input): New function, partly based on
	command_line_handler and command_line_input.
	(command_line_handler): Rewrite.
	* event-top.h (command_handler): New declaration.
	(command_loop): Defer command execution to command_handler.
	(command_line_input): Update comments.  Simplify, using struct
	buffer and handle_line_of_input.
	* top.h (struct buffer): New forward declaration.
	(handle_line_of_input): New declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: fix doc string of target_can_use_hardware_watchpoint.
@ 2016-03-09 21:46 sergiodj+buildbot
  2016-03-10  9:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] More "Program" -> "Thread NN received signal" testsuite adjustment
@ 2016-03-09 21:55 sergiodj+buildbot
  2016-03-10 10:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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-09 22:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: Add tracepoint support for powerpc.
@ 2016-03-09 23:54 sergiodj+buildbot
  2016-03-09 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-09 23:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b04fd3bec955560e00fb0cf6b75e36187a207113 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: b04fd3bec955560e00fb0cf6b75e36187a207113

gdb: Add tracepoint support for powerpc.

gdb/gdbserver/ChangeLog:

	* linux-ppc-low.c (ppc_supports_tracepoints): New function.
	(struct linux_target_ops): Wire in the above.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace.exp: Set arg0exp for ppc.
	* gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
	* gdb.trace/pending.exp: Accept leading dot before function name.
	* gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
	* lib/trace-support.exp: Set registers for ppc.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Mark the i370 target as obsolete.
@ 2016-03-10 15:43 sergiodj+buildbot
  2016-03-10 16:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add $_as_string convenience function
@ 2016-03-10 22:34 sergiodj+buildbot
  2016-03-10 23:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-10 22:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2f3ccb9f81255fd1b4f877600f39979c2d7ece5 ***

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

Add $_as_string convenience function

This patch is a follow-up to "Add printf format specifier for printing
enumerator":

  https://sourceware.org/ml/gdb-patches/2016-02/msg00144.html

Instead of having a solution specific to the printf command, Pedro
suggested adding a general purpose function $_as_string() that would
cover this use case and more.

So, in order to print the textual label of an enum, one can use:

  (gdb) printf "Visiting node of type %s\n", $_as_string(node)
  Visiting node of type NODE_INTEGER

gdb/ChangeLog:

	* data-directory/Makefile.in (PYTHON_FILE_LIST): Install
	gdb/function/as_string.py.
	* python/lib/gdb/function/as_string.py: New file.
	* NEWS: Mention the new $_as_string function.

gdb/testsuite/ChangeLog:

	* gdb.python/py-as-string.exp: New file.
	* gdb.python/py-as-string.c: New file.

gdb/doc/ChangeLog:

	* gdb.texinfo (Convenience Functions): Document $_as_string.


^ permalink raw reply	[flat|nested] 2163+ 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  9:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb/s390: Fill pseudo register agent expression hooks.
@ 2016-03-11 10:15 sergiodj+buildbot
  2016-03-11 10:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] gdb: New maint info line-table command.
@ 2016-03-11 23:06 sergiodj+buildbot
  2016-03-11 23:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-11 23:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2403c39342b723a18a2bea5ed209c8c96203d2b ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: f2403c39342b723a18a2bea5ed209c8c96203d2b

gdb: New maint info line-table command.

Add a new command 'maint info line-table' to display the contents of
GDB's internal line table structure.  Useful when trying to understand
problems (within gdb) relating to line tables.

gdb/ChangeLog:

	* symmisc.c (maintenance_info_line_tables): New function.
	(maintenance_print_one_line_table): New function.
	(_initialize_symmisc): Register 'maint info line-table' command.
	* NEWS: Mention new command.

gdb/doc/ChangeLog:

	* gdb.texinfo (Symbols): Document new 'maint info line-table'
	command.

gdb/testsuite/ChangeLog:

	* gdb.base/maint.exp: New tests for 'maint info line-table'.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb/s390: Fill gen_return_address hook.
@ 2016-03-13 10:06 sergiodj+buildbot
  2016-03-13 10:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-13 10:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70104a908773d7df0af48ca5c48856886bafea13 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 70104a908773d7df0af48ca5c48856886bafea13

gdb/s390: Fill gen_return_address hook.

gdb/ChangeLog:

	* s390-linux-tdep.c (s390_gen_return_address): New function.
	(s390_gdbarch_init): Fill gen_return_address hook.


^ permalink raw reply	[flat|nested] 2163+ 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:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Regenerate bfd-in2.h
@ 2016-03-14 20:28 sergiodj+buildbot
  2016-03-14 20:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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 17:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add -z noreloc-overflow option to x86-64 ld
@ 2016-03-15 18:19 sergiodj+buildbot
  2016-03-15 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 18:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c10bbaa0912742322f10d9d5bb630ba4e15dfa7 ***

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

Add -z noreloc-overflow option to x86-64 ld

Add -z noreloc-overflow command-line option to the x86-64 ELF linker to
disable relocation overflow check.  This can be used to avoid relocation
overflow check if there will be no dynamic relocation overflow at
run-time.

bfd/

	PR ld/19807
	* elf64-x86-64.c (elf_x86_64_relocate_section): Check
	no_reloc_overflow_check to diable R_X86_64_32/R_X86_64_32S
	relocation overflow check.

include/

	PR ld/19807
	* bfdlink.h (bfd_link_info): Add no_reloc_overflow_check.

ld/

	PR ld/19807
	* Makefile.am (ELF_X86_DEPS): Add
	$(srcdir)/emulparams/reloc_overflow.sh.
	* Makefile.in: Regenerated.
	* NEWS: Mention -z noreloc-overflow.
	* ld.texinfo: Document -z noreloc-overflow.
	* emulparams/elf32_x86_64.sh: Source
	${srcdir}/emulparams/reloc_overflow.sh.
	* emulparams/elf_x86_64.sh: Likewise.
	* emulparams/reloc_overflow.sh: New file.
	* testsuite/ld-x86-64/pr19807-1.s: New file.
	* testsuite/ld-x86-64/pr19807-1a.d: Likewise.
	* testsuite/ld-x86-64/pr19807-1b.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2.s: Likewise.
	* testsuite/ld-x86-64/pr19807-2a.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2b.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2c.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2e.d: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Bind defined symbol locally in PIE
@ 2016-03-15 19:01 sergiodj+buildbot
  2016-03-15 20:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 19:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e0c91e45402ebf4215066e4a61143896e831049 ***

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

Bind defined symbol locally in PIE

Symbols defined in PIE should be bound locally, the same as -shared
-Bsymbolic.

bfd/

	PR ld/19827
	* elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
	locally in PIE.
	(elf_i386_relocate_section): Likewise.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
	(elf_x86_64_relocate_section): Likewise.

ld/

	PR ld/19827
	* testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr19827.rd: New file.
	* testsuite/ld-i386/pr19827a.S: Likewise.
	* testsuite/ld-i386/pr19827b.S: Likewise.
	* testsuite/ld-x86-64/pr19827.rd: Likewise.
	* testsuite/ld-x86-64/pr19827a.S: Likewise.
	* testsuite/ld-x86-64/pr19827b.S: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove hand-called function from test.
@ 2016-03-15 19:55 sergiodj+buildbot
  2016-03-15 20:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 19:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa52b601cc232d41a956c9929a090f077c6d1a4a ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: aa52b601cc232d41a956c9929a090f077c6d1a4a

Remove hand-called function from test.

gdb/testsuite/ChangeLog:

	* gdb.base/skip.c (main): Call test_skip_file_and_function.
	* gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type.
@ 2016-03-15 20:07 sergiodj+buildbot
  2016-03-15 21:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 20:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73b4f516a037e5fd2e90a3555c59ed42c9578e48 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 73b4f516a037e5fd2e90a3555c59ed42c9578e48

maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type.

gdb/ChangeLog:

	* target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for
	TYPE_CODE_FLAGS instead of "field_type", for consistency.
	* features/i386/amd64-avx-linux.c: Regenerate.
	* features/i386/amd64-avx.c: Regenerate.
	* features/i386/amd64-avx512-linux.c: Regenerate.
	* features/i386/amd64-avx512.c: Regenerate.
	* features/i386/amd64-linux.c: Regenerate.
	* features/i386/amd64-mpx-linux.c: Regenerate.
	* features/i386/amd64-mpx.c: Regenerate.
	* features/i386/amd64.c: Regenerate.
	* features/i386/i386-avx-linux.c: Regenerate.
	* features/i386/i386-avx.c: Regenerate.
	* features/i386/i386-avx512-linux.c: Regenerate.
	* features/i386/i386-avx512.c: Regenerate.
	* features/i386/i386-linux.c: Regenerate.
	* features/i386/i386-mmx-linux.c: Regenerate.
	* features/i386/i386-mmx.c: Regenerate.
	* features/i386/i386-mpx-linux.c: Regenerate.
	* features/i386/i386-mpx.c: Regenerate.
	* features/i386/i386.c: Regenerate.
	* features/i386/x32-avx-linux.c: Regenerate.
	* features/i386/x32-avx.c: Regenerate.
	* features/i386/x32-avx512-linux.c: Regenerate.
	* features/i386/x32-avx512.c: Regenerate.
	* features/i386/x32-linux.c: Regenerate.
	* features/i386/x32.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use int instead of LONGEST in tdesc_type sizes.
@ 2016-03-15 20:16 sergiodj+buildbot
  2016-03-15 21:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 20:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 54157a25aa28ba78e1da1dfa06e6c988d75e88f1 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 54157a25aa28ba78e1da1dfa06e6c988d75e88f1

Use int instead of LONGEST in tdesc_type sizes.

gdb/ChangeLog:

	* target-descriptions.c (struct tdesc_type) <u.u.size>: Change type
	from LONGEST to int.
	(struct tdesc_type) <u.f.size>: Ditto.
	(tdesc_set_struct_size): Change type of "size" arg from LONGEST
	to int.  Add assertion size > 0.
	(tdesc_create_flags): Ditto.
	* target-descriptions.h (tdesc_set_struct_size): Update.
	(tdesc_create_flags): Update.
	* xml-tdesc.c (MAX_FIELD_SIZE, MAX_FIELD_BITSIZE): New macros.
	(MAX_VECTOR_SIZE): New macro.
	(tdesc_start_struct): Catch conversion errors from LONGEST to int.
	(tdesc_start_flags, tdesc_start_field, tdesc_start_vector): Ditto.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Extend flags to support multibit and enum bitfields.
@ 2016-03-15 21:49 sergiodj+buildbot
  2016-03-15 22:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-15 21:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8151645076ce927e0ee866c598a19f192e68e103 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 8151645076ce927e0ee866c598a19f192e68e103

Extend flags to support multibit and enum bitfields.

gdb/ChangeLog:

	Extend flags to support multibit and enum bitfields.
	NEWS: Document new features.
	* c-typeprint.c (c_type_print_varspec_prefix): Handle TYPE_CODE_FLAGS.
	(c_type_print_varspec_suffix, c_type_print_base): Ditto.
	* gdbtypes.c (arch_flags_type): Don't assume all fields are one bit.
	(append_flags_type_field): New function.
	(append_flags_type_flag): Call it.
	* gdbtypes.h (append_flags_type_field): Declare.
	* target-descriptions.c (struct tdesc_type_flag): Delete.
	(enum tdesc_type_kind) <TDESC_TYPE_BOOL>: New enum value.
	(enum tdesc_type_kind) <TDESC_TYPE_ENUM>: Ditto.
	(struct tdesc_type) <u.f>: Delete.
	(tdesc_predefined_types): Add "bool".
	(tdesc_predefined_type): New function.
	(tdesc_gdb_type): Handle TDESC_TYPE_BOOL, TDESC_TYPE_ENUM.
	Update TDESC_TYPE_FLAGS support.
	(tdesc_free_type): Handle TDESC_TYPE_ENUM.  Update TDESC_TYPE_FLAGS.
	(tdesc_create_flags): Update.
	(tdesc_create_enum): New function.
	(tdesc_add_field): Initialize start,end to -1.
	(tdesc_add_typed_bitfield): New function.
	(tdesc_add_bitfield): Call it.
	(tdesc_add_flag): Allow TDESC_TYPE_STRUCT.  Update.
	(tdesc_add_enum_value): New function.
	(maint_print_c_tdesc_cmd): Fold TDESC_TYPE_FLAGS support into
	TDESC_TYPE_STRUCT.  Handle TDESC_TYPE_ENUM.
	* target-descriptions.h (tdesc_create_enum): Declare.
	(tdesc_add_typed_bitfield, tdesc_add_enum_value): Declare.
	* valprint.c (generic_val_print_enum_1): New function.
	(generic_val_print_enum): Call it.
	(val_print_type_code_flags): Make static.  Handle multibit bitfields
	and enum bitfields.
	* valprint.h (val_print_type_code_flags): Delete.
	* xml-tdesc.c (struct tdesc_parsing_data) <current_type_is_flags>:
	Delete.  All uses removed.
	(tdesc_start_enum): New function.
	(tdesc_start_field): Handle multibit and enum bitfields.
	(tdesc_start_enum_value): New function.
	(enum_value_attributes, enum_children, enum_attributes): New static
	globals.
	(feature_children): Add "enum".
	* features/gdb-target.dtd (enum, evalue): New elements.

gdb/doc/ChangeLog:

	* gdb.texinfo (Target Descriptions): New menu item "Enum Target Types".
	(Target Description Format): Mention enum types.  Update docs on
	flags types.
	(Predefined Target Types): Add "bool".
	(Enum Target Types): New node.

gdb/testsuite/ChangeLog:

	* gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
	* gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
	All callers updated.  Add tests for enums, mixed flags register.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] Support ARMv8.2 FP16 simd instructions
@ 2016-03-16 16:29 sergiodj+buildbot
  2016-03-16 16:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-16 16:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc9333013723880949a1e07a3e04bdbc1a3c3032 ***

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

[ARM] Support ARMv8.2 FP16 simd instructions

gas/
	* config/tc-arm.c (N_S_32): New.
	(N_F_16_32): Likewise.
	(N_SUF_32): Support N_F16.
	(N_IF_32): Likewise.
	(neon_dyadic_misc): Likewise.
	(do_neon_cmp): Likewise.
	(do_neon_cmp_inv): Likewise.
	(do_neon_mul): Likewise.
	(do_neon_fcmp_absolute): Likewise.
	(do_neon_step): Likewise.
	(do_neon_abs_neg): Likewise.
	(CVT_FLAVOR_VAR): Likewise.
	(do_neon_cvt_1): Likewise.
	(do_neon_recip_est): Likewise.
	(do_vmaxnm): Likewise.
	(do_vrint_1): Likewise.
	(neon_check_type): Check architecture support for FP16 extension.
	(insns): Update comments.
	* testsuite/gas/arm/armv8-2-fp16-simd.s: New test source.
	* testsuite/gas/arm/armv8-2-fp16-simd.d: New testcase for arm mode.
	* testsuite/gas/arm/armv8-2-fp16-simd-thumb.d: Likewise for thumb mode.
	* testsuite/gas/arm/armv8-2-fp16-simd-warning.d: New rejection test for
	arm mode.
	* testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb.d: Likewise for
	thumb mode.
	* testsuite/gas/arm/armv8-2-fp16-simd-warning.l: New expected rejection
	error file.

opcode/
	* arm-dis.c (neon_opcodes): Support new FP16 instructions.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] xml-tdesc.c (tdesc_start_enum): Fix c++ build.
@ 2016-03-16 17:48 sergiodj+buildbot
  2016-03-16 17:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] PR remote/19496, interrupted syscall in forking-threads-plus-bkpt
@ 2016-03-16 22:29 sergiodj+buildbot
  2016-03-16 22:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] linux-record: Fix bad fall-through for pipe/pipe2
@ 2016-03-17  9:19 sergiodj+buildbot
  2016-03-17  9:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] linux-record.c: Fix whitespace issues
@ 2016-03-17  9:34 sergiodj+buildbot
  2016-03-17  9:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] linux-record: Simplify with record_mem_at_reg()
@ 2016-03-17  9:47 sergiodj+buildbot
  2016-03-17  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] S390: Fix output path for s390-multiarch test case
@ 2016-03-17 10:12 sergiodj+buildbot
  2016-03-17 10:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 10:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64bcd522de3ae1b88d042986de8e36e44b9f2e42 ***

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

S390: Fix output path for s390-multiarch test case

Since test artifacts are organized in a directory hierarchy, the
s390-multiarch test case is not executed correctly any more.  This is
because it uses an obsolete way of constructing the output paths.

This fix invokes standard_testfile instead.

gdb/testsuite/ChangeLog:

	* gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
	maintaining separate logic for constructing the output path.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] S390: Add syscall info for syscalls up to 374
@ 2016-03-17 10:26 sergiodj+buildbot
  2016-03-17 10:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] PR remote/19496, timeout in forking-threads-plus-bkpt
@ 2016-03-17 10:43 sergiodj+buildbot
  2016-03-17 10:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 10:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d5b594f86aa7c8f38487802f75841460ab705bf ***

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

PR remote/19496, timeout in forking-threads-plus-bkpt

This patch addresses a failure in
gdb.threads/forking-threads-plus-breakpoint.exp:

FAIL: gdb.threads/forking-threads-plus-breakpoint.exp: cond_bp_target=1:
detach_on_fork=on: inferior 1 exited (timeout)

Cause:

A fork event was reported to GDB before GDB knew about the parent
thread, followed immediately by a breakpoint event in a different
thread.  The parent thread was subsequently added via
remote_notice_new_inferior in process_stop_reply, but when the thread
was added the thread_info.state was set to THREAD_STOPPED.  The fork
event was then handled correctly, but when the fork parent was resumed
via a call to keep_going, the state was unchanged.

The breakpoint event was then handled, which caused all the
non-breakpoint threads to be stopped.  When the breakpoint thread was
resumed, all the non-breakpoint threads were resumed via
infrun.c:restart_threads.  Our old fork parent wasn't restarted,
because it still had thread_info.state set to THREAD_STOPPED.
Ultimately the program under debug hung waiting for a pthread_join
while the old fork parent was stopped forever by GDB.

Fix:

Since this is non-stop, then the bug is that the thread should have
been added in THREAD_RUNNING state.  Consider that infrun may be
pulling target events out of the target_ops backend into its own event
queue, but, not process them immediately.  E.g., infrun may be
stopping all threads temporarily for a step-over-breakpoint operation
for thread A (stop_all_threads).  The waitstatus of all threads is
thus left pending in the thread structure (save_status), including the
fork event of thread B.  Right at this point, if the user does "info
threads", that should show thread B (the fork parent) running, not
stopped, even if internally, gdb is holding it paused for a little
bit.

Thus if in non-stop mode, always add new threads in the external
user-visible THREAD_RUNNING state.  Change remote_notice_new_inferior
to accept the internal executing state of the thread instead, with
EXECUTING set to 1 when we discover a thread that is running on the
target (such as through remote_update_thread_list), and 0 when the
thread is really paused (such as when we see a stop reply).

Tested on x86_64 Linux and Nios II Linux target with x86 Linux host.

gdb/ChangeLog:
2016-03-17  Pedro Alves  <palves@redhat.com>
	    Don Breazeal  <donb@codesourcery.com>

	PR remote/19496
	* infcmd.c (notice_new_inferior): Use the 'leave_running' argument
	instead of checking the 'non_stop' global.
	* remote.c (remote_add_thread): New parameter 'executing'.  Use it
	to set the new thread's executing state.
	(remote_notice_new_inferior): Rename parameter 'running' to
	'executing'.  Always set the thread state to THREAD_RUNNING in
	non-stop mode, and to THREAD_STOPPED in all-stop mode.  Pass
	EXECUTING to remote_add_thread and notice_new_inferior.
	(remote_update_thread_list): Update to pass executing state, not
	running state.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Suggest running gdbserver for a PID in container
@ 2016-03-17 17:33 sergiodj+buildbot
  2016-03-17 17:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 17:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 708bf0a14b10d801a600759f3ef6d272978ae854 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 708bf0a14b10d801a600759f3ef6d272978ae854

Suggest running gdbserver for a PID in container

currently
	gdb -p <pid from a container>
will print:
	warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable

It correctly states the problem but it does not say how to solve it.

Originally I wanted to suggest also the Docker "-p 1234:1234" parameter but
I see the containers are more general topic than just Docker (even LxC etc.).

According to Gary future GDBs should be able to work even without gdbserver.
But currently gdbserver is still required.

gdb/ChangeLog
2016-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* linux-thread-db.c (check_pid_namespace_match): Extend the message.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add mips and s390 build targets for gold.
@ 2016-03-17 23:01 sergiodj+buildbot
  2016-03-17 23:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add simulation of MUL and NEG instructions to AArch64 simulator.
@ 2016-03-18  9:45 sergiodj+buildbot
  2016-03-18 10:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18  9:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e101a78be9388651099af079899b8654292d24f6 ***

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

Add simulation of MUL and NEG instructions to AArch64 simulator.

	* cpustate.c: Remove spurious spaces from TRACE strings.
	Print hex equivalents of floats and doubles.
	Check element number against array size when accessing vector
	registers.
	* memory.c: Trace memory reads when --trace-memory is enabled.
	Remove float and double load and store functions.
	* memory.h (aarch64_get_mem_float): Delete prototype.
	(aarch64_get_mem_double): Likewise.
	(aarch64_set_mem_float): Likewise.
	(aarch64_set_mem_double): Likewise.
	* simulator (IS_SET): Always return either 0 or 1.
	(IS_CLEAR): Likewise.
	(fldrs_pcrel): Load and store floats using 32-bit memory accesses
	and doubles using 64-bit memory accesses.
	(fldrd_pcrel, fldrs_wb, fldrs_abs, fldrs_scale_ext): Likewise.
	(fldrd_wb, fldrd_abs, fsturs, fsturd, fldurs, fldurd): Likewise.
	(fstrs_abs, fstrs_wb, fstrs_scale_ext, fstrd_abs): Likewise.
	(fstrd_wb, fstrd_scale_ext, store_pair_float): Likewise.
	(store_pair_double, load_pair_float, load_pair_double): Likewise.
	(do_vec_MUL_by_element): New function.
	(do_vec_op2): Call do_vec_MUL_by_element.
	(do_scalar_NEG): New function.
	(do_double_add): Call do_scalar_NEG.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix generation of as.1 manual page so that it can be converted to DocBook format.
@ 2016-03-18 13:21 sergiodj+buildbot
  2016-03-18 13:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 13:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6387924ae329fe2a89abb48b9868a340e23a9630 ***

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

Fix generation of as.1 manual page so that it can be converted to DocBook format.

gas	* doc/as.texinfo: Place the target specific command line options
	into their own man page section.

etc	* texi2pod.pl: Add TARGET to the list of recognised man page
	sections.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove redundant WIFSTOPPED check
@ 2016-03-18 14:39 sergiodj+buildbot
  2016-03-18 15:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 14:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 80aea927cc7bf97a2bc22e1fb2111c52be295e8b ***

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

Remove redundant WIFSTOPPED check

WIFSTOPPED is checked linux_wstatus_maybe_breakpoint, so WIFSTOPPED
in "WIFSTOPPED (wstat) && linux_wstatus_maybe_breakpoint (wstat)"
is redundant.  This patch removes WIFSTOPPED check.

gdb/gdbserver:

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

	* linux-low.c (linux_low_filter_event): Remove redundant
	WIFSTOPPED check together with linux_wstatus_maybe_breakpoint.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set signal to 0 after enqueue_pending_signal
@ 2016-03-18 15:06 sergiodj+buildbot
  2016-03-18 15:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 15:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 94610ec4ee630e677d15361353796cac17339c53 ***

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

Set signal to 0 after enqueue_pending_signal

Today, we enqueue signal in linux_resume_one_lwp_throw, but set
variable 'signal' many lines below with the comment

      /* Postpone any pending signal.  It was enqueued above.  */
      signal = 0;

I feel difficult to associate code across many lines, and we should
move the code close to enqueue_pending_signal call.  This is what
this patch does in general.  After this change, variable 'signal'
is set to zero very early, so the 'signal' value in the following
debugging message makes no sense, so I remove it from the debugging
message.  The function returns early if lwp->status_pending_p is
true, so 'signal' value in the debugging message doesn't matter,
AFAICS.  Also, I move one debugging message several lines below to
make it close the real ptrace call,

  if (debug_threads)
    debug_printf ("Resuming lwp %ld (%s, signal %d, stop %s)\n",
		  lwpid_of (thread), step ? "step" : "continue", signal,
		  lwp->stop_expected ? "expected" : "not expected");

so that the debugging message can reflect what GDBserver does.  This
is a code refactor and only debugging messages are affected.

gdb/gdbserver:

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

	* linux-low.c (linux_resume_one_lwp_throw): Set 'signal' to
	0 if signal is enqueued.  Remove 'signal' from one debugging
	message.  Move one debugging message to some lines below.
	Remove code setting 'signal' to 0.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check lwp_signal_can_be_delivered for enqueue/dequeue pending signals
@ 2016-03-18 15:17 sergiodj+buildbot
  2016-03-18 16:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 15:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35ac8b3e2dbbe1fcd107dfcc6bbc4faed6bdc63f ***

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

Check lwp_signal_can_be_delivered for enqueue/dequeue pending signals

The enqueue and dequeue signals in linux_resume_one_lwp_throw use one
condition and its inverted one.  This patch is to move the condition
into a function lwp_signal_can_be_delivered, so that the next patch can
change the condition in one place.

gdb/gdbserver:

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

	* linux-low.c (lwp_signal_can_be_delivered): New function.
	(linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix code to check for illegal element numbers when accessing AArch64 vector registers in AArch64 sim.
@ 2016-03-18 15:36 sergiodj+buildbot
  2016-03-18 17:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 15:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c0ca98e58fc409c93b41bb6c42f3e873db47725 ***

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

Fix code to check for illegal element numbers when accessing AArch64 vector registers in AArch64 sim.

	* cpustate.c (GET_VEC_ELEMENT): Fix off by one error checking
	for an invalid element index.
	(SET_VEC_ELEMENT): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make sparc_software_single_step static
@ 2016-03-18 15:45 sergiodj+buildbot
  2016-03-18 18:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [spu] throw error when target_read_memory fails
@ 2016-03-18 16:52 sergiodj+buildbot
  2016-03-18 16:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 16:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 941319d15194580a047484a53f232d374dc2d712 ***

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

[spu] throw error when target_read_memory fails

I happen to see that 1 is returned in spu_software_single_step when
target_read_memory returns 1.  It must be wrong.  That patch changes
it to throwing an error.  Note that I choose to throw error because I
find the code in the end of spu_software_single_step throws errors.

gdb:

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

	* spu-tdep.c (spu_software_single_step): Throw error when
	target_read_memory fails.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix thinko in new GET_VEC_ELEMENT macro.
@ 2016-03-18 17:25 sergiodj+buildbot
  2016-03-18 19:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 17:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87bba7a5e0858048c9b8702c147094d1a7eba92f ***

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

Fix thinko in new GET_VEC_ELEMENT macro.

	* cpustate.c: (GET_VEC_ELEMENT): And fix thinko using macro arguments.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix the disassembly of the AArch64's OOR instruction as a MOV instruction.
@ 2016-03-18 18:39 sergiodj+buildbot
  2016-03-18 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-18 18:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8678914fcb40e4c620a33e6b38a14df928fa780a ***

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

Fix the disassembly of the AArch64's OOR instruction as a MOV instruction.

	PR target/19721
opcodes	* aarch64-tbl.h (aarch64_opcode_table): Fix type of second operand
	of MOV insn that aliases an ORR insn.

gas	* testsuite/gas/aarch64/pr19721.s: New test source file.
	* testsuite/gas/aarch64/pr19721.d: New test driver file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Canonicalize more arm linux syscalls
@ 2016-03-21 10:37 sergiodj+buildbot
  2016-03-21 11:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] ARM process record: median instructions
@ 2016-03-21 11:29 sergiodj+buildbot
  2016-03-21 11:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 11:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c55978a67a2e23999c3359a13bb807b665fcb33e ***

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

ARM process record: median instructions

This patch is to support some ARM median instructions in process
record.  With this patch applied, these fails are fixed:

 -FAIL: gdb.reverse/break-precsave.exp: run to end of main
 -FAIL: gdb.reverse/break-precsave.exp: go to end of main forward
 -FAIL: gdb.reverse/break-precsave.exp: end of record log
 -FAIL: gdb.reverse/break-reverse.exp: continue to breakpoint: end
 -FAIL: gdb.reverse/break-reverse.exp: end of record log
 -FAIL: gdb.reverse/until-precsave.exp: run to end of main
 -FAIL: gdb.reverse/until-precsave.exp: advance to marker2
 -FAIL: gdb.reverse/until-precsave.exp: until func, not called by current frame
 -FAIL: gdb.reverse/until-precsave.exp: reverse-advance to marker2
 -FAIL: gdb.reverse/until-precsave.exp: reverse-finish from marker2
 -FAIL: gdb.reverse/until-precsave.exp: reverse-advance to final return of factorial
 -FAIL: gdb.reverse/until-precsave.exp: reverse-until to entry of factorial
 -FAIL: gdb.reverse/until-reverse.exp: advance to marker2
 -FAIL: gdb.reverse/until-reverse.exp: until func, not called by current frame
 -FAIL: gdb.reverse/until-reverse.exp: reverse-advance to marker2
 -FAIL: gdb.reverse/until-reverse.exp: reverse-finish from marker2
 -FAIL: gdb.reverse/until-reverse.exp: reverse-advance to final return of factorial
 -FAIL: gdb.reverse/until-reverse.exp: reverse-until to entry of factorial

gdb:

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

	* arm-tdep.c (arm_record_media): New.
	(arm_record_ld_st_reg_offset): Call arm_record_media.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arc/gas: default mach is arc700, initialised in md_begin
@ 2016-03-21 17:00 sergiodj+buildbot
  2016-03-21 17:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 24740d83e4beab0cd8d93944922c62e8a8809391 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 24740d83e4beab0cd8d93944922c62e8a8809391

arc/gas: default mach is arc700, initialised in md_begin

This commit restructures the selection of the default cpu/mach so that
the choice is made from md_begin (if the user has not provided a command
line choice).  This will reduce the amount of change needed in a later
patch.

At the request of Synopsys, the default architecture changes to ARC700
from this commit, previously the default was a non-existent
super-architecture that contained all instructions from all arc
variants.  There's some clean up associated with removing the default
merged architecture, and a small test fix now that the default is
ARC700.

binutils/ChangeLog:

	* testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
	to the architecture list.

gas/ChangeLog:

	* config/tc-arc.c (arc_target): Delay initialisation until
	arc_select_cpu.
	(arc_target_name): Likewise.
	(arc_features): Likewise.
	(arc_mach_type): Likewise.
	(cpu_types): Remove "all" entry.
	(arc_select_cpu): New function, most of the content is from...
	(md_parse_option): ... here.  Call new arc_select_cpu.
	(md_begin): Call arc_select_cpu if needed, default is now arc700.

include/ChangeLog:

	* opcode/arc.h (ARC_OPCODE_BASE): Delete.

opcodes/ChangeLog:

	* arc-opc.c (BASE): Delete.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arc: Remove duplicated constant in include/elf/arc.h
@ 2016-03-21 17:28 sergiodj+buildbot
  2016-03-21 18:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] arc/opcodes: Use flag operand class to handle multiple flag matches
@ 2016-03-21 18:03 sergiodj+buildbot
  2016-03-21 19:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 18:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ae8ab4714eaab3d98fd906cfd6a5fedc469643a ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 1ae8ab4714eaab3d98fd906cfd6a5fedc469643a

arc/opcodes: Use flag operand class to handle multiple flag matches

When parsing the operand instruction flags we don't currently detect the
case where multiple flags are provided from the same class set, these
will be accepted and the bit values merged together, resulting in the
wrong instruction being assembled.  For example:

    adc.n.eq r0,r0,r2

Will assemble without error, yet, upon disassembly, the instruction will
actually be:

    adc.c r0,r0,r2

In a later commit the concept of required flags will be introduced.
Required flags are just like normal instruction flags, except that they
must be present for the instruction to match.  Adding this will allow
for simpler instructions in the instruction table, and allow for more
sharing of operand extraction and insertion functions.

To solve both of the above issues (multiple flags being invalid, and
required flags), this commit reworks the flag class mechanism.
Currently the flag class is never used.  Each instruction can reference
multiple flag classes, each flag class has a class type and a set of
flags.  However, at present, the class type is never used.  The current
values identify the type of instruction that the flag will be used in,
but this is not required information.

Instead, this commit discards the old flag classes, and introduces 3 new
classes.  The first F_CLASS_NONE, is just a NULL marker value, and is
only used in the NULL marker flag class.  The other two flag classes are
F_FLAG_OPTIONAL, and F_FLAG_REQUIRED.

The class F_FLAG_OPTIONAL has the property that at most one of the flags
in the flag set for that class must be present in the instruction.  The
"at most" one means that no flags being present is fine.

The class F_FLAG_REQUIRED is not currently used, but will be soon.  With
this class, exactly one of the flags from this class must be present in
the instruction.  If the flag class contains a single flag, then of
course that flag must be present.  However, if the flag class contained
two or more, then one, and only one of them must be present.

gas/ChangeLog:

	* config/tc-arc.c (find_opcode_match): Move lnflg, and i
	declarations to start of block.  Reset code on all flags before
	attempting to match them.  Handle multiple hits on the same flag.
	Handle flag class.
	* testsuite/gas/arc/asm-errors.d: New file.
	* testsuite/gas/arc/asm-errors.err: New file.
	* testsuite/gas/arc/asm-errors.s: New file.

include/ChangeLog:

	* opcode/arc.h (flag_class_t): Remove all old flag classes, add 3
	new classes instead.

opcodes/ChangeLog:

	* arc-opc.c (arc_flag_classes): Convert all flag classes to use
	the new class enum values.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arc: Add nps400 machine type, and assembler flag.
@ 2016-03-21 18:10 sergiodj+buildbot
  2016-03-21 19:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] arc: Remove EF_ARC_CPU_GENERIC constant.
@ 2016-03-21 18:49 sergiodj+buildbot
  2016-03-21 18:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a9522a2168c8233e8f15c42a32e7376c2a40ac12 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: a9522a2168c8233e8f15c42a32e7376c2a40ac12

arc: Remove EF_ARC_CPU_GENERIC constant.

The constant EF_ARC_CPU_GENERIC is defined in the include/elf/arc.h
file, and is used in a few places in binutils, however, this constant
should never make it into the elf header flags; we always set a valid
cpu type in the assembler, which should then be copied over during
linking.

There are some non-gnu arc compilers that don't write an architecture
type into the e_flags field, instead leaving the field as 0, which is
the EF_ARC_CPU_GENERIC value.  This non-gnu compiler uses the machine
type to distinguish between the old and newer arc architectures, setting
the machine type to EM_ARC_COMPACT for old arc600, arc601, and arc700
architectures, while using EM_ARC_COMPACT2 for newer arcem and archs
architectures.

Previously when displaying the machine flags for an older EM_ARC_COMPACT
machine, if the e_flags had not been filled in, then we relied on the
default case statement to display the message "Generic ARCompact", while
in the EM_ARC_COMPACT2 case we specifically handled EF_ARC_CPU_GENERIC
to print "ARC Generic", leaving the default case to print a message
about unrecognised cpu flag.

After this commit EF_ARC_CPU_GENERIC has been removed, for both machine
types EM_ARC_COMPACT and EM_ARC_COMPACT2 we now rely on the default case
statement to handle the situation where the e_flags has not been filled
in.  The message displayed is now "Unknown ARCompact" (for older arc
architectures) and "Unknown ARC" (for the newer architectures).  The
switch from "Generic" to "Unknown" in the message string is for clarity,
calling the file "Generic" can give the impression that the file is
compiled for a common sub-set of the architectures, and would therefore
run on any type of machine (or at least any type of new or old machine
depending on if the machine type is ARC or ARCv2).  However, this was
not what "Generic" meant, it really meant "Unknown", so that's what we
now say.

As part of the merging of the readelf flag reading code, I have unified
the strings used in displaying the ELF ABI.  This means that for older
arc machines (arc600, arc601, and arc700) the string used for the
original ABI, and ABIv2 have changed, the current ABIv3 remains the
same.  For the newer architectures (arcem and archs) the abi strings
remain unchanged in all cases.

bfd/ChangeLog:

	* elf32-arc.c (arc_elf_print_private_bfd_data): Remove use of
	EF_ARC_CPU_GENERIC.
	(arc_elf_final_write_processing): Don't bother setting cpu field
	in e_flags, this will have been set elsewhere.

binutils/ChangeLog:

	* readelf.c (get_machine_flags): Move arc processing into...
	(decode_ARC_machine_flags): ... new function.  Remove use of
	EF_ARC_CPU_GENERIC, change default case from "generic arc" to
	"unknown arc".  Merged ABI printing between two machine types.

gas/ChangeLog:

	* config/tc-arc.c (arc_select_cpu): Remove use of
	EF_ARC_CPU_GENERIC.

include/ChangeLog:

	* elf/arc.h (EF_ARC_CPU_GENERIC): Delete.  Update related comment.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arc/nps400: Add first nps400 instructions
@ 2016-03-21 20:10 sergiodj+buildbot
  2016-03-21 20:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-21 20:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e23e8ebee364b79556ec05075532da20b317c100 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: e23e8ebee364b79556ec05075532da20b317c100

arc/nps400: Add first nps400 instructions

Adds the first few nps400 instructions.

gas/ChangeLog:

	* testsuite/gas/arc/nps400-0.d: New file.
	* testsuite/gas/arc/nps400-0.s: New file.
	* testsuite/gas/arc/nps400-1.d: New file.
	* testsuite/gas/arc/nps400-1.s: New file.

include/ChangeLog:

	* opcodes/arc.h (insn_class_t): Add BITOP type.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: New file.
	* arc-opc.c: Add top level comment.
	(insert_nps_3bit_dst): New function.
	(extract_nps_3bit_dst): New function.
	(insert_nps_3bit_src2): New function.
	(extract_nps_3bit_src2): New function.
	(insert_nps_bitop_size): New function.
	(extract_nps_bitop_size): New function.
	(arc_flag_operands): Add nps400 entries.
	(arc_flag_classes): Add nps400 entries.
	(arc_operands): Add nps400 entries.
	(arc_opcodes): Add nps400 include.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Binutils fails to build with -O0
@ 2016-03-22  4:01 sergiodj+buildbot
  2016-03-22  5:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-22  4:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f4c0a426c653867c40936a9b8f503628adbd64b ***

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

Binutils fails to build with -O0

	PR 19851
	* plugin.c (try_load_plugin): Avoid -Wstack-usage warning.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add -Wstack-usage to the gcc warning flags list, but only if using a sufficiently recent version of gcc.
@ 2016-03-22  9:46 sergiodj+buildbot
  2016-03-22 10:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-22  9:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9780e045073b1719a7a4c6cbe00e4aa7525bd180 ***

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

Add -Wstack-usage to the gcc warning flags list, but only if using a sufficiently recent version of gcc.

bfd	* warning.m4 (GCC_WARN_CFLAGS): Only add -Wstack-usage if using a
	sufficiently recent version of GCC.
	* configure: Regenerate.

others	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix possible unbounded stack use in peXXigen.c
@ 2016-03-22 10:41 sergiodj+buildbot
  2016-03-22 11:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-22 10:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7769fa97a0fe54a9455a9d96970373dbbf714458 ***

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

Fix possible unbounded stack use in peXXigen.c

	* peXXigen.c (_bfd_XXi_write_codeview_record): Fix possible
	unbounded stack use.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.
@ 2016-03-22 11:38 sergiodj+buildbot
  2016-03-22 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-22 11:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96254e5c28ebcaaa89b4bdc24eab0a546dd269f2 ***

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

Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility.

bfd	* cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
	architecture name for backwards compatibility.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Attribute with DW_FORM_flag_present
@ 2016-03-22 12:26 sergiodj+buildbot
  2016-03-22 12:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] make more variables const
@ 2016-03-22 23:14 sergiodj+buildbot
  2016-03-23  0:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-22 23:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9bb4a935677558b76795d2053263a8981578f54 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: b9bb4a935677558b76795d2053263a8981578f54

make more variables const

gas/ChangeLog:

2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-h8300.c (h8300_elf_section): Add const qualifiers.
	* config/tc-ia64.c (obj_elf_vms_common): Likewise.
	* config/tc-m68hc11.c (md_begin): Likewise.
	(print_opcode_list): Likewise.
	* config/tc-msp430.c (msp430_section): Likewise.
	* config/tc-score.c (struct s3_insn_to_dependency): Likewise.
	(s3_build_dependency_insn_hsh): Likewise.
	* config/tc-score7.c (struct s7_insn_to_dependency): Likewise.
	(s7_build_dependency_insn_hsh): Likewise.
	* config/tc-tic4x.c: Likewise.
	* config/tc-tic54x.c (tic54x_set_default_include): Likewise.
	(subsym_get_arg): Likewise.
	* config/tc-xtensa.c (struct suffix_reloc_map): Likewise.
	(get_directive): Likewise.
	(cache_literal_section): Likewise.
	* config/xtensa-relax.c: Likewise.
	* symbols.c (symbol_create): Likewise.
	(local_symbol_make): Likewise.
	(symbol_relc_make_expr): Likewise.

include/ChangeLog:

2016-03-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* opcode/i960.h: Add const qualifiers.
	* opcode/tic4x.h (struct tic4x_inst): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove comments on software_single_step in gdbarch.sh
@ 2016-03-23 11:26 sergiodj+buildbot
  2016-03-23 11:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-23 11:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc651c1cdd00dc821a0906dc648e89d71dcfc963 ***

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

Remove comments on software_single_step in gdbarch.sh

This comment is out of date.  We've already done that.  Patch is to remove
it.

gdb:

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

	* gdbarch.sh (software_single_step): Remove comments.
	* gdbarch.h: Regenerated.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] More AArch64 simulator improvements.
@ 2016-03-23 17:42 sergiodj+buildbot
  2016-03-23 18:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-23 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ab6d79e708633e8e602e6363bae46002bfc3831 ***

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

More AArch64 simulator improvements.

	* cpustate.c (aarch64_get_FP_half): New function.  Read a vector
	register as a half precision floating point number.
	(aarch64_set_FP_half): New function.  Similar, but for setting
	a half precision register.
	(aarch64_get_thread_id): New function.  Returns the value of the
	CPU's TPIDR register.
	(aarch64_get_FPCR): New function.  Returns the value of the CPU's
	floating point control register.
	(aarch64_set_FPCR): New function.  Set the value of the CPU's FPCR
	register.
	* cpustate.h: Add prototypes for new functions.
	* sim-main.h (struct _sim_cpu): Add FPCR and tpidr fields.
	* memory.c: Use unaligned core access functions for all memory
	reads and writes.
	* simulator.c (HALT_NYI): Generate an error message if tracing
	will not tell the user why the simulator is halting.
	(HALT_UNREACHABLE): Delete.  Delete (unneeded) uses of the macro.
	(INSTR): New time-saver macro.
	(fldrb_abs): New function.  Loads an 8-bit value using a scaled
	offset.
	(fldrh_abs): New function.  Likewise for 16-bit values.
	(do_vec_SSHL): Allow for negative shift values.
	(do_vec_USHL): Likewise.
	(do_vec_SHL): Correct computation of shift amount.
	(do_vec_SSHR_USHR): Correct decision of signed vs unsigned
	shifts and computation of shift value.
	(clz): New function.  Counts leading zero bits.
	(do_vec_CLZ): New function.  Implements CLZ (vector).
	(do_vec_MOV_element): Call do_vec_CLZ.
	(dexSimpleFPCondCompare): Implement.
	(do_FCVT_half_to_single): New function.  Implements one of the
	FCVT operations.
	(do_FCVT_half_to_double): New function.  Likewise.
	(do_FCVT_single_to_half): New function.  Likewise.
	(do_FCVT_double_to_half): New function.  Likewise.
	(dexSimpleFPDataProc1Source): Call new FCVT functions.
	(do_scalar_SHL): Handle negative shifts.
	(do_scalar_shift): Handle SSHR.
	(do_scalar_USHL): New function.
	(do_double_add): Simplify to just performing a double precision
	add operation.  Move remaining code into...
	(do_scalar_vec): ... New function.
	(dexLoadUnsignedImmediate): Call new fldrb_abs and fldrh_abs
	functions.
	(system_get): Add support for TPIDR, CTR, FPCR, FPSR and CPSR
	registers.
	(system_set): New function.
	(do_MSR_immediate): New function.  Stub for now.
	(do_MSR_reg): New function.  Likewise. Partially implements MSR
	instruction.
	(do_SYS): New function.  Stub for now,
	(dexSystem): Call new functions.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add quotation mark in test message
@ 2016-03-24 10:29 sergiodj+buildbot
  2016-03-24 11:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-24 10:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dfa3faca36ccd86cf300f59b4f482c02e3e0518b ***

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

Add quotation mark in test message

I happen to see a quotation mark is missing the following test,

 gdb_test "break $end_location" \
     "Breakpoint $decimal at .* line $end_location\." \
     set breakpoint at end of main"

so the test result is

PASS: gdb.reverse/break-reverse.exp: set

This patch is to add the missing quotation mark back, and the test
result becomes

PASS: gdb.reverse/break-reverse.exp: set breakpoint at end of main

gdb/testsuite:

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

	* gdb.reverse/break-reverse.exp: Add quotation mark in the
	test message.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] sparc: reorder wr instructions in sparc_opcodes to fix diagnostics
@ 2016-03-24 17:25 sergiodj+buildbot
  2016-03-24 18:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-24 17:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6b71f422b2a4c1dae639064945bc8697528c57b ***

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

sparc: reorder wr instructions in sparc_opcodes to fix diagnostics

This patch changes the location of several variants of the `wr'
instruction in sparc_opcodes.  This is to get the assembler to emit the
right diagnostics when an invalid %asrN register is used in an
instruction.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] More -Wstack-usage warnings: opcodes/aarch64-*
@ 2016-03-24 21:57 sergiodj+buildbot
  2016-03-24 22:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-24 21:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d2f91fe2d5ea93dc3dc76780e6ec2e27d022d39 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 0d2f91fe2d5ea93dc3dc76780e6ec2e27d022d39

More -Wstack-usage warnings: opcodes/aarch64-*

opcodes	Fix -Wstack-usage warnings.
	* aarch64-dis.c (print_operands): Substitute size.
	* aarch64-opc.c (print_register_offset_address): Substitute tblen.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PE/COFF regression in base of code and data calculation
@ 2016-03-29  5:59 sergiodj+buildbot
  2016-03-29  9:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29  5:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e2b4fc913bad3b6a6e4b00b11c7c75268892150d ***

Author: Toni Spets <toni.spets@iki.fi>
Branch: master
Commit: e2b4fc913bad3b6a6e4b00b11c7c75268892150d

PE/COFF regression in base of code and data calculation

	PR 19878
	* coffcode.h (coff_write_object_contents): Revert accidental
	2014-11-10 change.


^ permalink raw reply	[flat|nested] 2163+ 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:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Tidy up AArch64 simulator code.
@ 2016-03-29 10:50 sergiodj+buildbot
  2016-03-29 11:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef0d8ffc45aa32ed1e49051a344fa6c8cff583f4 ***

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

Tidy up AArch64 simulator code.

	* cpustate.c: Remove space after asterisk in function parameters.
	* decode.h (greg): Delete unused function.
	(vreg, shift, extension, scaling, writeback, condcode): Likewise.
	* simulator.c: Use INSTR macro in more places.
	(HALT_NYI): Use sim_io_eprintf in place of fprintf.
	Remove extraneous whitespace.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Add support for Quarkse opcodes.
@ 2016-03-29 13:24 sergiodj+buildbot
  2016-03-29 13:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Compile gdb.arch/arm-neon.exp with debug info
@ 2016-03-29 14:25 sergiodj+buildbot
  2016-03-29 15:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 14:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bfa6adb959345850305d2f3e8b581149a066c4f8 ***

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

Compile gdb.arch/arm-neon.exp with debug info

Pass "debug" to prepare_for_testing otherwise, some tests fail.

gdb/testsuite:

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

	* gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Fix typo in extension instruction name.
@ 2016-03-29 17:29 sergiodj+buildbot
  2016-03-29 18:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 17:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9885948fc910a77d04f27a7683f5edd0989d818a ***

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

[ARC] Fix typo in extension instruction name.

opcodes/
2016-03-29  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-ext-tbl.h (dsp_fp_i2flt): Fix typo.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] 2016-03-29  Don Breazeal  <donb@codesourcery.com>
@ 2016-03-29 18:21 sergiodj+buildbot
  2016-03-29 19:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 18:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 444bca650a302ae800bd7e7d3fba50e072f555df ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: 444bca650a302ae800bd7e7d3fba50e072f555df

2016-03-29  Don Breazeal  <donb@codesourcery.com>

	* gdb/value.c (value_actual_type): Fix formatting issue.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/s390: Switch on tracepoint support.
@ 2016-03-29 21:56 sergiodj+buildbot
  2016-03-29 22:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 21:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4105d04e19efdf89d0fa56b62675d7d7ee82a9b ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: a4105d04e19efdf89d0fa56b62675d7d7ee82a9b

gdbserver/s390: Switch on tracepoint support.

Also adds s390 support to gdb.trace testsuite.

gdb/gdbserver/ChangeLog:

	* linux-s390-low.c (s390_supports_tracepoints): New function.
	(struct linux_target_ops): Fill supports_tracepoints hook.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace.exp: Set arg0exp for s390.
	* gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
	* gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
	variable for GPR 0 instead of assuming it is register 0.
	* gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
	* lib/trace-support.exp: Add s390 registers.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/s390: Add fast tracepoint support.
@ 2016-03-29 22:02 sergiodj+buildbot
  2016-03-29 22:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 22:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abd9baf9c61a76537766c81e235a4a5a49b7dee3 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: abd9baf9c61a76537766c81e235a4a5a49b7dee3

gdbserver/s390: Add fast tracepoint support.

Fast tracepoints will only work on 6-byte intructions, and assume at least
a z900 CPU.  s390 also has 4-byte jump instructions, which also work on
pre-z900, but their range is limitted to +-64kiB, which is not very useful
(and wouldn't work at all with current jump pad allocation).

There's a little problem with s390_relocate_instruction function: it
converts BRAS/BRASL instructions to LARL of the return address + JG
to the target address.  On 31-bit, this sets the high bit of the target
register to 0, while BRAS/BRASL would set it to 1.  While this is not
a problem when the result is only used to address memory, it could
possibly break something that expects to compare such addresses for
equality without first masking the bit off.  In particular, I'm not sure
whether leaving the return address high bit unset is ABI-compliant
(could confuse some unwinder?).  If that's a problem, it could be fixed
by handling it in the jump pad (since at that point we can just modify
the GPRs in the save area without having to worry about preserving
CCs and only having that one GPR to work with - I'm not sure if it's
even possible to set the high bit with such constraints).

gdb/gdbserver/ChangeLog:

	PR 18377
	* Makefile.in: Add s390 IPA files.
	* configure.srv: Build IPA for s390.
	* linux-s390-ipa.c: New file.
	* linux-s390-low.c: New includes - inttypes.h and linux-s390-tdesc.h.
	(init_registers_s390_linux32): Move declaration to linux-s390-tdesc.h.
	(tdesc_s390_linux32): Likewise.
	(init_registers_s390_linux32v1): Likewise.
	(tdesc_s390_linux32v1): Likewise.
	(init_registers_s390_linux32v2): Likewise.
	(tdesc_s390_linux32v2): Likewise.
	(init_registers_s390_linux64): Likewise.
	(tdesc_s390_linux64): Likewise.
	(init_registers_s390_linux64v1): Likewise.
	(tdesc_s390_linux64v1): Likewise.
	(init_registers_s390_linux64v2): Likewise.
	(tdesc_s390_linux64v2): Likewise.
	(init_registers_s390_te_linux64): Likewise.
	(tdesc_s390_te_linux64): Likewise.
	(init_registers_s390_vx_linux64): Likewise.
	(tdesc_s390_vx_linux64): Likewise.
	(init_registers_s390_tevx_linux64): Likewise.
	(tdesc_s390_tevx_linux64): Likewise.
	(init_registers_s390x_linux64): Likewise.
	(tdesc_s390x_linux64): Likewise.
	(init_registers_s390x_linux64v1): Likewise.
	(tdesc_s390x_linux64v1): Likewise.
	(init_registers_s390x_linux64v2): Likewise.
	(tdesc_s390x_linux64v2): Likewise.
	(init_registers_s390x_te_linux64): Likewise.
	(tdesc_s390x_te_linux64): Likewise.
	(init_registers_s390x_vx_linux64): Likewise.
	(tdesc_s390x_vx_linux64): Likewise.
	(init_registers_s390x_tevx_linux64): Likewise.
	(tdesc_s390x_tevx_linux64): Likewise.
	(have_hwcap_s390_vx): New static variable.
	(s390_arch_setup): Fill have_hwcap_s390_vx.
	(s390_get_thread_area): New function.
	(s390_ft_entry_gpr_esa): New const.
	(s390_ft_entry_gpr_zarch): New const.
	(s390_ft_entry_misc): New const.
	(s390_ft_entry_fr): New const.
	(s390_ft_entry_vr): New const.
	(s390_ft_main_31): New const.
	(s390_ft_main_64): New const.
	(s390_ft_exit_fr): New const.
	(s390_ft_exit_vr): New const.
	(s390_ft_exit_misc): New const.
	(s390_ft_exit_gpr_esa): New const.
	(s390_ft_exit_gpr_zarch): New const.
	(append_insns): New function.
	(s390_relocate_instruction): New function.
	(s390_install_fast_tracepoint_jump_pad): New function.
	(s390_get_min_fast_tracepoint_insn_len): New function.
	(s390_get_ipa_tdesc_idx): New function.
	(struct linux_target_ops): Wire in the above functions.
	(initialize_low_arch) [!__s390x__]: Don't initialize s390x tdescs.
	* linux-s390-tdesc.h: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/s390: Add support for compiled agent expressions.
@ 2016-03-29 22:49 sergiodj+buildbot
  2016-03-29 23:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-29 22:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f39e8743546602977f860811f44aa327736b97dc ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: f39e8743546602977f860811f44aa327736b97dc

gdbserver/s390: Add support for compiled agent expressions.

These sequences assume a z900+ CPU, like the rest of fast tracepoint
support.

gdb/gdbserver/ChangeLog:

	PR 18377
	* linux-s390-low.c (add_insns): New function.
	(s390_emit_prologue): New function.
	(s390_emit_epilogue): New function.
	(s390_emit_add): New function.
	(s390_emit_sub): New function.
	(s390_emit_mul): New function.
	(s390_emit_lsh): New function.
	(s390_emit_rsh_signed): New function.
	(s390_emit_rsh_unsigned): New function.
	(s390_emit_ext): New function.
	(s390_emit_log_not): New function.
	(s390_emit_bit_and): New function.
	(s390_emit_bit_or): New function.
	(s390_emit_bit_xor): New function.
	(s390_emit_bit_not): New function.
	(s390_emit_equal): New function.
	(s390_emit_less_signed): New function.
	(s390_emit_less_unsigned): New function.
	(s390_emit_ref): New function.
	(s390_emit_if_goto): New function.
	(s390_emit_goto): New function.
	(s390_write_goto_address): New function.
	(s390_emit_litpool): New function.
	(s390_emit_const): New function.
	(s390_emit_call): New function.
	(s390_emit_reg): New function.
	(s390_emit_pop): New function.
	(s390_emit_stack_flush): New function.
	(s390_emit_zero_ext): New function.
	(s390_emit_swap): New function.
	(s390_emit_stack_adjust): New function.
	(s390_emit_set_r2): New function.
	(s390_emit_int_call_1): New function.
	(s390_emit_void_call_2): New function.
	(s390_emit_eq_goto): New function.
	(s390_emit_ne_goto): New function.
	(s390_emit_lt_goto): New function.
	(s390_emit_le_goto): New function.
	(s390_emit_gt_goto): New function.
	(s390_emit_ge_goto): New function.
	(s390x_emit_prologue): New function.
	(s390x_emit_epilogue): New function.
	(s390x_emit_add): New function.
	(s390x_emit_sub): New function.
	(s390x_emit_mul): New function.
	(s390x_emit_lsh): New function.
	(s390x_emit_rsh_signed): New function.
	(s390x_emit_rsh_unsigned): New function.
	(s390x_emit_ext): New function.
	(s390x_emit_log_not): New function.
	(s390x_emit_bit_and): New function.
	(s390x_emit_bit_or): New function.
	(s390x_emit_bit_xor): New function.
	(s390x_emit_bit_not): New function.
	(s390x_emit_equal): New function.
	(s390x_emit_less_signed): New function.
	(s390x_emit_less_unsigned): New function.
	(s390x_emit_ref): New function.
	(s390x_emit_if_goto): New function.
	(s390x_emit_const): New function.
	(s390x_emit_call): New function.
	(s390x_emit_reg): New function.
	(s390x_emit_pop): New function.
	(s390x_emit_stack_flush): New function.
	(s390x_emit_zero_ext): New function.
	(s390x_emit_swap): New function.
	(s390x_emit_stack_adjust): New function.
	(s390x_emit_int_call_1): New function.
	(s390x_emit_void_call_2): New function.
	(s390x_emit_eq_goto): New function.
	(s390x_emit_ne_goto): New function.
	(s390x_emit_lt_goto): New function.
	(s390x_emit_le_goto): New function.
	(s390x_emit_gt_goto): New function.
	(s390x_emit_ge_goto): New function.
	(s390_emit_ops): New function.
	(struct linux_target_ops): Fill in emit_ops hook.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: xtensa: fix frame initialization when PC is invalid
@ 2016-03-30  0:05 sergiodj+buildbot
  2016-03-30  0:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30  0:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a08b52b5c45195c0b095215f19422d2ab67a3a8d ***

Author: Max Filippov <jcmvbkbc@gmail.com>
Branch: master
Commit: a08b52b5c45195c0b095215f19422d2ab67a3a8d

gdb: xtensa: fix frame initialization when PC is invalid

When gdb is used on core dump and PC is not pointing to a readable
memory read_memory_integer call in the xtensa_frame_cache throws an
error, making register inspection/backtracing impossible in that thread.

Use safe_read_memory_integer instead.

2016-03-29  Max Filippov  <jcmvbkbc@gmail.com>
gdb/
	* xtensa-tdep.c (xtensa_frame_cache): Change op1 type to LONGEST.
	Use safe_read_memory_integer instead of read_memory_integer.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb/NEWS: Add mention of s390*-linux tracepoints.
@ 2016-03-30  0:26 sergiodj+buildbot
  2016-03-30  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c37c0ba69b670f0994b53078abdb07737f816a5a ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: c37c0ba69b670f0994b53078abdb07737f816a5a

gdb/NEWS: Add mention of s390*-linux tracepoints.

gdb/ChangeLog:

	* NEWS: Mention support for tracepoints on s390*-linux.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: Handle 'v' packet while processing qSymbol.
@ 2016-03-30  0:32 sergiodj+buildbot
  2016-03-30  1:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30  0:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28170b88cc8b40fdea2b065dafe6e1872a47ee4e ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 28170b88cc8b40fdea2b065dafe6e1872a47ee4e

gdbserver: Handle 'v' packet while processing qSymbol.

On powerpc64, qSymbol query may require gdb to read a function
descriptor, sending a vFile packet to gdbserver.  Thus, we need
to handle 'v' packet in look_up_one_symbol.

vFile replies may be quite long, and require reallocating own_buf.
Since handle_v_requests assumes the buffer is the static global own_buf
from server.c and reallocates it, we need to make own_buf global and
use it from look_up_one_symbol instead of using our own auto variable.
I've also done the same change in relocate_instruction, just in case.

On gdb side, in remote_check_symbols, rs->buf may be clobbered by vFile
handling, yet we need its contents for the reply (the symbol name is
stored there).  Allocate a new buffer instead.

This broke fast tracepoints on powerpc64, due to errors in reading IPA
symbols.

gdb/ChangeLog:

	* remote.c (remote_check_symbols): Allocate own buffer for reply.

gdbserver/ChangeLog:

	* remote-utils.c (look_up_one_symbol): Remove own_buf, handle 'v'
	packets.
	(relocate_instruction): Remove own_buf.
	* server.c (own_buf): Make global.
	(handle_v_requests): Make global.
	* server.h (own_buf): New declaration.
	(handle_v_requests): New prototype.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] python/py-utils.c (host_string_to_python_string): New function.
@ 2016-03-30  7:18 sergiodj+buildbot
  2016-03-30  7:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30  7:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ae6cc19626d010005fbfbfba72952d26cc7c728 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 4ae6cc19626d010005fbfbfba72952d26cc7c728

python/py-utils.c (host_string_to_python_string): New function.

gdb/ChangeLog:

	* python/py-utils.c (host_string_to_python_string): New function.
	* python/python-internal.h (host_string_to_python_string): Declare it.
	* python/py-*.c (*): Update all calls to
	PyString_Decode (str, strlen (str), host_charset (), NULL);
	to use host_string_to_python_string instead.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix more bugs in AArch64 simulator.
@ 2016-03-30  9:57 sergiodj+buildbot
  2016-03-30 10:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30  9:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7517e550ce646b9e4dddf8fe68de0eb308f53273 ***

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

Fix more bugs in AArch64 simulator.

	* cpustate.c (aarch64_set_reg_s32): New function.
	(aarch64_set_reg_u32): New function.
	(aarch64_get_FP_half): Place half precision value into the correct
	slot of the union.
	(aarch64_set_FP_half): Likewise.
	* cpustate.h: Add prototypes for aarch64_set_reg_s32 and
	aarch64_set_reg_u32.
	* memory.c (FETCH_FUNC): Cast the read value to the access type
	before converting it to the return type.  Rename to FETCH_FUNC64.
	(FETCH_FUNC32): New macro.  Duplicates FETCH_FUNC64 but for 32-bit
	accesses.  Use for 32-bit memory access functions.
	* simulator.c (ldrsb_wb): Use sign extension not zero extension.
	(ldrb_scale_ext, ldrsh32_abs, ldrsh32_wb): Likewise.
	(ldrsh32_scale_ext, ldrsh_abs, ldrsh64_wb): Likewise.
	(ldrsh_scale_ext, ldrsw_abs): Likewise.
	(ldrh32_abs): Store 32 bit value not 64-bits.
	(ldrh32_wb, ldrh32_scale_ext): Likewise.
	(do_vec_MOV_immediate): Fix computation of val.
	(do_vec_MVNI): Likewise.
	(DO_VEC_WIDENING_MUL): New macro.
	(do_vec_mull): Use new macro.
	(do_vec_mul): Use new macro.
	(do_vec_MLA): Read values before writing.
	(do_vec_xtl): Likewise.
	(do_vec_SSHL): Select correct shift value.
	(do_vec_USHL): Likewise.
	(do_scalar_UCVTF): New function.
	(do_scalar_vec): Call new function.
	(store_pair_u64): Treat reads of SP as reads of XZR.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix a seg-fault in the AVR linker.
@ 2016-03-30 14:16 sergiodj+buildbot
  2016-03-30 14:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 14:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 024ea11b48d2270cd0b3b2b6fbe9e42c9fd232e0 ***

Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Branch: master
Commit: 024ea11b48d2270cd0b3b2b6fbe9e42c9fd232e0

Fix a seg-fault in the AVR linker.

	* elf32-avr.c (avr_elf32_load_records_from_section): Free
	internal_relocs only if they aren't cached.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Cleanup AUX register names.
@ 2016-03-30 14:57 sergiodj+buildbot
  2016-03-30 15:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 14:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd05ac5f5e7cb753ae6772edcf4dfba5b416a169 ***

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

[ARC] Cleanup AUX register names.

opcodes/
2016-03-30  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-regs.h (IC_RAM_ADDRESS, IC_TAG, IC_WP, IC_DATA, CONTROL0)
        (AX2, AY2, MX2, MY2, AY0, AY1, DC_RAM_ADDR, DC_TAG, CONTROL1)
        (RTT): Remove duplicate.
        (LCDINSTR, LCDDATA, LCDSTAT, CC_*, PCT_COUNT*, PCT_SNAP*)
        (PCT_CONFIG*): Remove.
        (D1L, D1H, D2H, D2L): Define.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/tracepoint.c: Remove whitespace
@ 2016-03-30 15:08 sergiodj+buildbot
  2016-03-30 15:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 15:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72fb548884ae3b1849c951aa741af74115c8e807 ***

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

gdbserver/tracepoint.c: Remove whitespace

gdb/gdbserver/ChangeLog:

	* tracepoint.c (cmd_qtenable_disable): Remove whitespace.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add arm epilogue unwinder
@ 2016-03-30 16:08 sergiodj+buildbot
  2016-03-30 17:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 779aa56f2c160ef508ca98fac1ffd23cad6fc63f ***

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

Add arm epilogue unwinder

Nowadays, GDB can't unwind successfully from epilogue on arm,

 (gdb) bt
 #0  0x76ff65a2 in shr1 () from /home/yao/Source/gnu/build/gdb/testsuite/gdb.reverse/shr1.sl
 #1  0x0000869e in main () at /home/yao/Source/gnu/build/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.reverse/solib-reverse.c:34
 Backtrace stopped: previous frame inner to this frame (corrupt stack?)

(gdb) disassemble shr1
Dump of assembler code for function shr1:
   ....
   0x76ff659a <+10>:	adds	r7, #12
   0x76ff659c <+12>:	mov	sp, r7
   0x76ff659e <+14>:	ldr.w	r7, [sp], #4
   0x76ff65a2 <+18>:	bx	lr
End of assembler dump.

in this case, prologue unwinder is used.  It analyzes the prologue and
get the offsets of saved registers to SP.  However, in epilogue, the
SP has been restored, prologue unwinder gets the registers from the
wrong address, and even the frame id is wrong.

In reverse debugging, this case (program stops at the last instruction
of function) happens quite frequently due to the reverse execution.
There are many test fails due to missing epilogue unwinder.

This adds epilogue unwinder, but the frame cache is still get by
prologue unwinder except that SP is fixed up separately, because SP
is restored in epilogue.

This patch fixes many fails in solib-precsave.exp, and solib-reverse.exp.

gdb:

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

	* arm-tdep.c: (arm_make_epilogue_frame_cache): New function.
	(arm_epilogue_frame_this_id): New function.
	(arm_epilogue_frame_prev_register): New function.
	(arm_epilogue_frame_sniffer): New function.
	(arm_epilogue_frame_unwind): New.
	(arm_gdbarch_init): Append unwinder arm_epilogue_frame_unwind.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Simplify gdb.reverse/until-reverse.c
@ 2016-03-30 16:17 sergiodj+buildbot
  2016-03-30 16:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 16:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6359af3fdda6b9265565ecbd213763244ed8594 ***

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

Simplify gdb.reverse/until-reverse.c

Nowadays, functions fprintf, printf and malloc are executed in
gdb.reverse/until-reverse.c, so that it takes much time to record
instructions inside them.  This may cause timeout, and we had several
fixes to bump the timeout,

 https://sourceware.org/ml/gdb-patches/2012-02/msg00038.html
 https://sourceware.org/ml/gdb-patches/2015-08/msg00186.html

also I still see this on arm-linux,

 continue
 Continuing.
 Do you want to auto delete previous execution log entries when record/replay buffer becomes full (record full stop-at-limit)?([y] or n) n
 Process record: stopped by user.

 Program stopped.
 0xf77021e6 in __linkin_atfork (newp=0xf7751748 <atfork_mem>) at ../nptl/sysdeps/unix/sysv/linux/register-atfork.c:117
 117     ../nptl/sysdeps/unix/sysv/linux/register-atfork.c: No such file or directory.
 (gdb) FAIL: gdb.reverse/until-precsave.exp: run to end of main (got interactive prompt)

however, I can't figure out how these functions (fprintf, printf and
malloc) are related to the test itself.  marker1 is a function from
shared library too so we don't need these complicated libc functions
at all.  IMO, recording the instructions in these libc functions has
nothing to do with the test itself except slow down the test.  This
patch is to remove the usage of fprintf and printf, and also move
malloc to a dead code path.

gdb/testsuite:

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

	* gdb.reverse/until-precsave.exp: Match function name only.
	* gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
	Move malloc to a condition block.
	* gdb.reverse/until-reverse.exp: Match function name only.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Refactor arm_stack_frame_destroyed_p
@ 2016-03-30 17:00 sergiodj+buildbot
  2016-03-30 17:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c58b006a7e886f55224901eb5a9d1d619e34c05f ***

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

Refactor arm_stack_frame_destroyed_p

This patch is to refactor arm_stack_frame_destroyed_p, so that the code
can be used in both arm_stack_frame_destroyed_p and arm epilogue
unwinder I am going to add in the next patch.  In fact, the code
is the same in two places, but checking whether it is thumb mode
is slightly different.  arm_stack_frame_destroyed_p uses
arm_pc_is_thumb, and epilogue unwinder should use arm_frame_is_thumb.

gdb:

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

	* arm-tdep.c (arm_stack_frame_destroyed_p): Rename it ...
	(arm_stack_frame_destroyed_p_1): ... here.  Don't call
	arm_pc_is_thumb.
	(arm_stack_frame_destroyed_p): Call
	thumb_stack_frame_destroyed_p and
	arm_stack_frame_destroyed_p_1.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check func against 0 rather than NULL
@ 2016-03-30 17:59 sergiodj+buildbot
  2016-03-30 18:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb3f3d25c3cbf561d33b258ff11fd8139f6ad75d ***

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

Check func against 0 rather than NULL

Variable 'func''s type is CORE_ADDR, so it should be compared with 0
rather than NULL.  This causes a build error.

This patch fixes this.

gdb:

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

	* arm-tdep.c (arm_epilogue_frame_this_id): Check 'func' against
	0 rather than NULL.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes/arc: Comment and whitespace fixes in opcode table
@ 2016-03-30 18:47 sergiodj+buildbot
  2016-03-30 18:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a106562e3ab2582854b28d82025ccd5e5d1ad00 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 0a106562e3ab2582854b28d82025ccd5e5d1ad00

opcodes/arc: Comment and whitespace fixes in opcode table

Add a new comment, and clean up some whitespace issues in the
instruction table.

opcode/ChangeLog:

	* arc-nps400-tbl.h: Add a header comment, and fix some whitespace
	issues.  No functional changes.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver/IPA: Export some functions via global function pointers.
@ 2016-03-30 22:29 sergiodj+buildbot
  2016-03-30 23:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-30 22:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1cda1512689aabb36588a01370002632a0c8e560 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 1cda1512689aabb36588a01370002632a0c8e560

gdbserver/IPA: Export some functions via global function pointers.

On powerpc64, qSymbol for a function returns the function code address,
and not the descriptor address.  Since we emit code calling gdb_collect
and some other functions, we need the descriptor (no way to know the
proper TOC address without it).  To get the descriptor address, make
global function pointer variables in the IPA pointing to the relevant
functions and read them instead of asking for them directly via qSymbol.

gdb/gdbserver/ChangeLog:

	* linux-aarch64-ipa.c: Rename gdb_agent_get_raw_reg to get_raw_reg.
	* linux-amd64-ipa.c: Likewise.
	* linux-i386-ipa.c: Likewise.
	* linux-s390-ipa.c: Likewise.
	* tracepoint.c: IPA-export gdb_collect_ptr instead of gdb_collect,
	ditto for get_raw_reg_ptr, get_trace_state_variable_value_ptr,
	set_trace_state_variable_value_ptr.
	(struct ipa_sym_addresses): Likewise.
	(symbol_list): Likewise.
	(install_fast_tracepoint): Dereference gdb_collect_ptr instead of
	accessing gdb_collect directly.
	(gdb_collect_ptr_type): New typedef.
	(get_raw_reg_ptr_type): New typedef.
	(get_trace_state_variable_value_ptr_type): New typedef.
	(set_trace_state_variable_value_ptr_type): New typedef.
	(gdb_collect_ptr): New global.
	(get_raw_reg_ptr): New global.
	(get_trace_state_variable_value_ptr): New global.
	(set_trace_state_variable_value_ptr): New global.
	(get_raw_reg_func_addr): Dereference get_raw_reg_ptr instead of
	accessing get_raw_reg directly.
	(get_get_tsv_func_addr): Likewise for
	get_trace_state_variable_value_ptr.
	(get_set_tsv_func_addr): Likewise for
	set_trace_state_variable_value_ptr.
	* tracepoint.h: Rename gdb_agent_get_raw_reg to get_raw_reg.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] enable -Wwrite-strings for gas
@ 2016-03-31 11:40 sergiodj+buildbot
  2016-03-31 12:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 11:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6757cf57697d30c73f4e3f314883ad2d8999eac6 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 6757cf57697d30c73f4e3f314883ad2d8999eac6

enable -Wwrite-strings for gas

We add a new AC_SUBST to warning.m4 so that the test if the warning is
supported is centralized, but the warning can be enabled per directory.

binutils/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.

gprof/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.

ld/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.

opcodes/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.

bfd/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.
	* warning.m4: Add WARN_WRITE_STRINGS AC_SUBST.

gold/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* configure: Regenerate.

gas/ChangeLog:

2016-03-31  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* Makefile.am: Add WARN_WRITE_STRINGS to WARN_CFLAGS.
	* Makefile.in: Regenerate.
	* configure: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove support for "target m32rsdi" and "target mips/pmon/ddb/rockhopper/lsi"
@ 2016-03-31 12:49 sergiodj+buildbot
  2016-03-31 13:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7c382926d78b2d6d96b02275e6e16797b132d71 ***

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

Remove support for "target m32rsdi" and "target mips/pmon/ddb/rockhopper/lsi"

This removes support for:

 | target            | source                |
 |-------------------+-----------------------|
 | target m32rsdi    | gdb/remote-m32r-sdi.c |
 | target mips       | gdb/remote-mips.c     |
 | target pmon       | gdb/remote-mips.c     |
 | target ddb        | gdb/remote-mips.c     |
 | target rockhopper | gdb/remote-mips.c     |
 | target lsi        | gdb/remote-mips.c     |

That is:

 - Remote M32R debugging over SDI.

 - Debugging boards using the MIPS remote debugging protocol
   over a serial line, PMON, and a few variants.

These are the last non-"target remote" remote targets in the tree, if
you don't count "target sim".

Refs:

 https://sourceware.org/ml/gdb/2016-03/msg00004.html
 https://sourceware.org/ml/gdb-patches/2016-03/msg00580.html

gdb/ChangeLog:
2016-03-31  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that support for "target m32rsdi", "target mips",
	"target pmon", "target ddb", "target rockhopper", and "target lsi"
	was removed.
	* Makefile.in (ALL_TARGET_OBS): Remove remote-m32r-sdi.o and
	remote-mips.o.
	(ALLDEPFILES): Remove remote-m32r-sdi.c and remote-mips.c.
	* configure.tgt: Remove all references to remote-m32r-sdi.o and
	remote-mips.o.
	* mips-tdep.c (deprecated_mips_set_processor_regs_hack): Delete
	function.
	* mips-tdep.h (deprecated_mips_set_processor_regs_hack): Delete
	declaration.
	* remote-m32r-sdi.c, remote-mips.c: Delete files.
	* symfile.c (generic_load, generic_load): Remove comments.

gdb/doc/ChangeLog:
2016-03-31  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (M32R/SDI): Delete node.
	(MIPS Embedded): Remove references to the MIPS remote debugging
	protocol, PMON and variants, and the associated commands.


^ permalink raw reply	[flat|nested] 2163+ 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 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] opcodes/arc/nps: Fix some operand flags
@ 2016-03-31 14:01 sergiodj+buildbot
  2016-03-31 14:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2cce10e71897b8b985c786c6c323922321408b39 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 2cce10e71897b8b985c786c6c323922321408b39

opcodes/arc/nps: Fix some operand flags

Some operands accidentally had the ARC_OPERAND_NCHK flag (due to copy &
paste mistake), meaning the operand value was skipping the overflow
check before being inserted.  This commit removes the unwanted flags.

opcodes/ChangeLog:

	* arc-opc.c (arc_operands): Fix operand flags for NPS_R_DST, and
	NPS_R_SRC1.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: Add powerpc fast tracepoint support.
@ 2016-03-31 14:06 sergiodj+buildbot
  2016-03-31 15:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 14:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2174ba45259135fba6ed562b4cb4b2411597c12 ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: a2174ba45259135fba6ed562b4cb4b2411597c12

gdbserver: Add powerpc fast tracepoint support.

gdb/gdbserver/ChangeLog:

2016-03-31  Wei-cheng Wang  <cole945@gmail.com>
	    Marcin Kocielnicki  <koriakin@0x04.net>

	PR/17221
	* Makefile.in: Add powerpc-*-ipa.o
	* configure.srv: Add ipa_obj for powerpc*-linux.
	* linux-ppc-ipa.c: New file.
	* linux-ppc-low.c: Added linux-ppc-tdesc.h, ax.h, tracepoint.h
	includes.
	(PPC_FIELD): New macro.
	(PPC_SEXT): New macro.
	(PPC_OP6): New macro.
	(PPC_BO): New macro.
	(PPC_LI): New macro.
	(PPC_BD): New macro.
	(init_registers_*): Move prototype to linux-ppc-tdesc.h.
	(tdesc_*): Move declaration to linux-ppc-tdesc.h.
	(ppc_get_hwcap): Rename to ppc_get_auxv and add type parameter.
	(ppc_get_thread_area): New function.
	(is_elfv2_inferior): New function.
	(gen_ds_form): New function.
	(GEN_STD): New macro.
	(GEN_STDU): New macro.
	(GEN_LD): New macro.
	(GEN_LDU): New macro.
	(gen_d_form): New function.
	(GEN_ADDI): New macro.
	(GEN_ADDIS): New macro.
	(GEN_LI): New macro.
	(GEN_LIS): New macro.
	(GEN_ORI): New macro.
	(GEN_ORIS): New macro.
	(GEN_LWZ): New macro.
	(GEN_STW): New macro.
	(GEN_STWU): New macro.
	(gen_xfx_form): New function.
	(GEN_MFSPR): New macro.
	(GEN_MTSPR): New macro.
	(GEN_MFCR): New macro.
	(GEN_MTCR): New macro.
	(GEN_SYNC): New macro.
	(GEN_LWSYNC): New macro.
	(gen_x_form): New function.
	(GEN_OR): New macro.
	(GEN_MR): New macro.
	(GEN_LWARX): New macro.
	(GEN_STWCX): New macro.
	(GEN_CMPW): New macro.
	(gen_md_form): New function.
	(GEN_RLDICL): New macro.
	(GEN_RLDICR): New macro.
	(gen_i_form): New function.
	(GEN_B): New macro.
	(GEN_BL): New macro.
	(gen_b_form): New function.
	(GEN_BNE): New macro.
	(GEN_LOAD): New macro.
	(GEN_STORE): New macro.
	(gen_limm): New function.
	(gen_atomic_xchg): New function.
	(gen_call): New function.
	(ppc_relocate_instruction): New function.
	(ppc_install_fast_tracepoint_jump_pad): New function.
	(ppc_get_min_fast_tracepoint_insn_len): New function.
	(ppc_get_ipa_tdesc_idx): New function.
	(the_low_target): Wire in the new functions.
	(initialize_low_arch) [!__powerpc64__]: Don'it initialize 64-bit
	tdescs.
	* linux-ppc-tdesc.h: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] IPA: Add alloc_jump_pad_buffer target hook.
@ 2016-03-31 14:33 sergiodj+buildbot
  2016-03-31 14:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 14:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a13c46966d308297a1273e35ccc807a3912d573d ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: a13c46966d308297a1273e35ccc807a3912d573d

IPA: Add alloc_jump_pad_buffer target hook.

Targets may have various requirements on the required location of the jump
pad area.  Currently IPA allocates it at the lowest possible address,
so that it is reachable by branches from the executable.  However, this
fails on powerpc, which has executable link address (0x10000000) much
larger than branch reach (+/- 32MiB).

This makes jump pad buffer allocation a target hook instead.  The current
implementations are as follows:

- i386 and s390: Branches can reach anywhere, so just mmap it.  This
  avoids the linear search dance.
- x86_64: Branches have +/-2GiB of reach, and executable is loaded low,
  so just call mmap with MAP_32BIT.  Likewise avoids the linear search.
- aarch64: Branches have +-128MiB of reach, executable loaded at 4MiB.
  Do a linear search from 4MiB-size downwards to page_size.
- s390x: Branches have +-4GiB of reach, executable loaded at 2GiB.
  Do like on aarch64.

gdb/gdbserver/ChangeLog:

	* linux-aarch64-ipa.c: Add <sys/mman.h> and <sys/auxv.h> includes.
	(alloc_jump_pad_buffer): New function.
	* linux-amd64-ipa.c: Add <sys/mman.h> include.
	(alloc_jump_pad_buffer): New function.
	* linux-i386-ipa.c (alloc_jump_pad_buffer): New function.
	* linux-s390-ipa.c: Add <sys/mman.h> and <sys/auxv.h> includes.
	(alloc_jump_pad_buffer): New function.
	* tracepoint.c (getauxval) [!HAVE_GETAUXVAL]: New function.
	(initialize_tracepoint): Delegate to alloc_jump_pad_buffer.
	* tracepoint.h (alloc_jump_pad_buffer): New prototype.
	(getauxval) [!HAVE_GETAUXVAL]: New prototype.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: Add emit_ops for powerpc.
@ 2016-03-31 15:30 sergiodj+buildbot
  2016-03-31 15:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 15:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14e2b6d93d461334049ed350cf88fcd2a490de2c ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 14e2b6d93d461334049ed350cf88fcd2a490de2c

gdbserver: Add emit_ops for powerpc.

gdb/gdbserver/ChangeLog:

2016-03-31  Wei-cheng Wang  <cole945@gmail.com>
	    Marcin Kocielnicki  <koriakin@0x04.net>

	PR/17221
	* linux-ppc-low.c (emit_insns): New function.
	(__EMIT_ASM, _EMIT_ASM, EMIT_ASM): New macros.
	(ppc_emit_prologue): New function.
	(ppc_emit_epilogue): New function.
	(ppc_emit_add): New function.
	(ppc_emit_sub): New function.
	(ppc_emit_mul): New function.
	(ppc_emit_lsh): New function.
	(ppc_emit_rsh_signed): New function.
	(ppc_emit_rsh_unsigned): New function.
	(ppc_emit_ext): New function.
	(ppc_emit_zero_ext): New function.
	(ppc_emit_log_not): New function.
	(ppc_emit_bit_and): New function.
	(ppc_emit_bit_or): New function.
	(ppc_emit_bit_xor): New function.
	(ppc_emit_bit_not): New function.
	(ppc_emit_equal): New function.
	(ppc_emit_less_signed): New function.
	(ppc_emit_less_unsigned): New function.
	(ppc_emit_ref): New function.
	(ppc_emit_const): New function.
	(ppc_emit_reg): New function.
	(ppc_emit_pop): New function.
	(ppc_emit_stack_flush): New function.
	(ppc_emit_swap): New function.
	(ppc_emit_stack_adjust): New function.
	(ppc_emit_call): New function.
	(ppc_emit_int_call_1): New function.
	(ppc_emit_void_call_2): New function.
	(ppc_emit_if_goto): New function.
	(ppc_emit_goto): New function.
	(ppc_emit_eq_goto): New function.
	(ppc_emit_ne_goto): New function.
	(ppc_emit_lt_goto): New function.
	(ppc_emit_le_goto): New function.
	(ppc_emit_gt_goto): New function.
	(ppc_emit_ge_goto): New function.
	(ppc_write_goto_address): New function.
	(ppc_emit_ops_impl): New static variable.
	(ppc64v1_emit_prologue): New function.
	(ppc64v2_emit_prologue): New function.
	(ppc64_emit_epilogue): New function.
	(ppc64_emit_add): New function.
	(ppc64_emit_sub): New function.
	(ppc64_emit_mul): New function.
	(ppc64_emit_lsh): New function.
	(ppc64_emit_rsh_signed): New function.
	(ppc64_emit_rsh_unsigned): New function.
	(ppc64_emit_ext): New function.
	(ppc64_emit_zero_ext): New function.
	(ppc64_emit_log_not): New function.
	(ppc64_emit_bit_and): New function.
	(ppc64_emit_bit_or): New function.
	(ppc64_emit_bit_xor): New function.
	(ppc64_emit_bit_not): New function.
	(ppc64_emit_equal): New function.
	(ppc64_emit_less_signed): New function.
	(ppc64_emit_less_unsigned): New function.
	(ppc64_emit_ref): New function.
	(ppc64_emit_const): New function.
	(ppc64v1_emit_reg): New function.
	(ppc64v2_emit_reg): New function.
	(ppc64_emit_pop): New function.
	(ppc64_emit_stack_flush): New function.
	(ppc64_emit_swap): New function.
	(ppc64v1_emit_call): New function.
	(ppc64v2_emit_call): New function.
	(ppc64v1_emit_int_call_1): New function.
	(ppc64v2_emit_int_call_1): New function.
	(ppc64v1_emit_void_call_2): New function.
	(ppc64v2_emit_void_call_2): New function.
	(ppc64_emit_if_goto): New function.
	(ppc64_emit_eq_goto): New function.
	(ppc64_emit_ne_goto): New function.
	(ppc64_emit_lt_goto): New function.
	(ppc64_emit_le_goto): New function.
	(ppc64_emit_gt_goto): New function.
	(ppc64_emit_ge_goto): New function.
	(ppc64v1_emit_ops_impl): New static variable.
	(ppc64v2_emit_ops_impl): New static variable.
	(ppc_emit_ops): New function.
	(linux_low_target): Wire in ppc_emit_ops.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb/NEWS: Add mention of powerpc*-linux tracepoints.
@ 2016-03-31 15:58 sergiodj+buildbot
  2016-03-31 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 15:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22084c425e69ca2f3ce92d88c0bf746b48d3627c ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: 22084c425e69ca2f3ce92d88c0bf746b48d3627c

gdb/NEWS: Add mention of powerpc*-linux tracepoints.

gdb/ChangeLog:

	* NEWS: Mention support for tracepoints on powerpc*-linux.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR gdb/19858: GDB doesn't register the JIT libraries on attach
@ 2016-03-31 19:01 sergiodj+buildbot
  2016-03-31 19:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 19:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bb84c9f97cb81df81f18f4e47d6b24fa37b597c ***

Author: Yichao Yu <yyc1992@gmail.com>
Branch: master
Commit: 9bb84c9f97cb81df81f18f4e47d6b24fa37b597c

Fix PR gdb/19858: GDB doesn't register the JIT libraries on attach

Ref: https://sourceware.org/ml/gdb/2016-03/msg00023.html

GDB currently fails to fetch the list of already-registered JIT
modules on attach.

Nothing is calling jit_inferior_init, which is what is responsible for
walking the JIT object list at init time.

Despite the misleading naming, jit_inferior_created_hook ->
jit_inferior_init is only called when the inferior execs.

This regressed with the fix for PR gdb/13431 (03bef283c2d3):
 https://sourceware.org/ml/gdb-patches/2012-02/msg00023.html which
removed the inferior_created (jit_inferior_created_observer)
observer.

Adding an inferior_created observer back fixes the issue.

In turn, this exposes a bug in jit_breakpoint_re_set_internal as well,
which is returning the wrong result when we already have the
breakpoint at the right address.

gdb/ChangeLog:
2016-03-31  Yichao Yu  <yyc1992@gmail.com>

	PR gdb/19858
	* jit.c (jit_breakpoint_re_set_internal): Return 0 if we already
	got the breakpoint at the right address.
	(jit_inferior_created): New function.
	(_initialize_jit): Install jit_inferior_created as
	inferior_created observer.

Signed-off-by: Pedro Alves <palves@redhat.com>


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make gdb.base/jit.exp binaries unique
@ 2016-03-31 19:38 sergiodj+buildbot
  2016-03-31 19:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-03-31 19:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40dea8cbf6b40f159bdfab4f3d8ec9010c293e84 ***

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

Make gdb.base/jit.exp binaries unique

This testcase compiles the same program and library differently
multiple times using the same file names.  Make them unique, to make
it easier to debug test problems.

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

	PR gdb/19858
	* gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
	BINSUFFIX parameter, and handle it.
	(top level): Adjust calls compile_jit_test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver: Fix C++ build errors in tracepoint.c
@ 2016-03-31 22:48 sergiodj+buildbot
  2016-03-31 22:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] PR19886, --as-needed regression
@ 2016-04-01 13:05 sergiodj+buildbot
  2016-04-01 13:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-01 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b15fa7ac802f430f7fb7c2b77f40ab78c2e4018 ***

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

PR19886, --as-needed regression

This isn't perfect in checking whether libraries will be loaded since
elf_link_add_object_symbols doesn't recurse down DT_NEEDED links.
(That happens later in ld/emultempl/elf32.em after_open.)  So in
effect this recursive check really only looks one level down the
DT_NEEDED tree.  Which is enough for the most common case, and
libc.so/ld.so in particular.

	PR 19886
	* elflink.c (on_needed_list): Recursively check needed status.
	(elf_link_add_object_symbols): Adjust.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb: allow enumeration constants as second operand of BINOP_REPEAT
@ 2016-04-01 15:14 sergiodj+buildbot
  2016-04-01 15:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-01 15:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc63428a4c290772d99863aead457c29ee223dc5 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: cc63428a4c290772d99863aead457c29ee223dc5

gdb: allow enumeration constants as second operand of BINOP_REPEAT

This patch adds support for TYPE_CODE_ENUM values to be supplied
as right-hand side operand of the BINOP_REPEAT (@) operator. The
following should now work:

enum {
  sz = 17
};

int
main ()
{
  int arr[sz + 1] = { 0 };
  return 0; /* line 9 here */
}

(gdb) b 9
(gdb) r
(gdb) p arr@sz
$1 = {0 <repeats 17 times>}
(gdb)

A couple of tests is also included in this patch to demonstrate that it is
working as intended.

gdb/Changelog:

2016-04-01  Artemiy Volkov  <artemiyv@acm.org>

	PR gdb/19820
	* eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be
        the type of BINOP_REPEAT's second operand.

gdb/testsuite/Changelog:

2016-04-01  Artemiy Volkov  <artemiyv@acm.org>

	PR gdb/19820
	* gdb.base/printcmds.exp: Add artificial arrays tests.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] IPA: Fix build problem on !HAVE_GETAUXVAL
@ 2016-04-03 16:59 sergiodj+buildbot
  2016-04-03 17:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-03 16:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0a9981f372e636508b9a235017f2aba565e435d ***

Author: Marcin Kocielnicki <koriakin@0x04.net>
Branch: master
Commit: d0a9981f372e636508b9a235017f2aba565e435d

IPA: Fix build problem on !HAVE_GETAUXVAL

These files need AT_PHDR, which is defined in elf.h.  If HAVE_GETAUXVAL
is set, it's implicitely included by sys/auxv.h.  Include it manually
for the opposite case.

gdb/gdbserver/ChangeLog:

	* linux-aarch64-ipa.c: Add <elf.h> include.
	* linux-ppc-ipa.c: Add <elf.h> include.
	* linux-s390-ipa.c: Add <elf.h> include.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Ignore DWARF debug information with a version of 0 - assume that it is padding.
@ 2016-04-04 12:19 sergiodj+buildbot
  2016-04-04 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-04 12:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 67f101eece4327a7c9e13f257fe76f8082a5e336 ***

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

Ignore DWARF debug information with a version of 0 - assume that it is padding.

	PR 19872
bfd	* dwarf2.c (parse_comp_unit): Skip warning about unrecognised
	version number if the version is zero.

bin	* dwarf.c (display_debug_aranges): Skip warning about unrecognised
	version number if the version is zero.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb.mi/mi-breakpoint-changed.exp for remote targets
@ 2016-04-04 14:48 sergiodj+buildbot
  2016-04-04 15:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-04 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7beb7f68a0514c489f8305b79ce3938a6a4e54f9 ***

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

Fix gdb.mi/mi-breakpoint-changed.exp for remote targets

The libraries are never downloaded to the target for the first test
(test_insert_delete_modify), so the executable can't run properly.

I also added some with_test_prefix to help differentiate between the
different test case phases.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
	(test_insert_delete_modify): Call mi_load_shlibs before trying to
	run.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Obvious function doc and formatting
@ 2016-04-04 21:11 sergiodj+buildbot
  2016-04-04 21:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-04 21:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2aa08bd1f93e62c25a51a1055d611afb8e34497f ***

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

Obvious function doc and formatting

gdb/ChangeLog:

	* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
	trailing spaces.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ELF/LD: Avoid producing hidden and internal dynamic symbols
@ 2016-04-05 14:39 sergiodj+buildbot
  2016-04-05 14:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 14:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f599d0e7b5039c814731293043e247304ec006b ***

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

ELF/LD: Avoid producing hidden and internal dynamic symbols

Always turn hidden and internal symbols which have a dynamic index into
local ones.  This is required by the the ELF gABI[1]:

"A hidden symbol contained in a relocatable object must be either
removed or converted to STB_LOCAL binding by the link-editor when the
relocatable object is included in an executable file or shared object."

"An internal symbol contained in a relocatable object must be either
removed or converted to STB_LOCAL binding by the link-editor when the
relocatable object is included in an executable file or shared object."

The ELF linker usually respects this requirement, however in the case
where a dynamic symbol has been preallocated due to a reference of the
default export class aka visibility from the object being linked, and
then merged with a hidden or internal symbol definition from within the
same object, then the original export class is carried over to the
output dynamic symbol table, because while merging the generic ELF
linker only converts affected dynamic symbols to local when they are
defined or referenced by the object being linked and a dynamic object
involved in the link both at a time.

The dynamic symbol produced confuses then the dynamic loader at the run
time -- the hidden or internal export class is ignored and the symbol
follows preemption rules as with the default export class.

In the MIPS target it happens when `mips_elf_record_global_got_symbol'
creates a dynamic symbol when a call relocation is encountered.
Additionally if the undefined symbol referred by such a relocation does
specify the intended export class, then a local dynamic symbol is
created instead, which is harmless and allowed, but useless.  Normally
no local dynamic symbols are created, except for a single dummy one at
the beginning.

Correct the problem by removing the extra check for a dynamic symbol
being defined or referenced by the object being linked and a dynamic
object involved in the link both at a time.  The test cases included
cover the internal and hidden symbol cases, as well as a protected
symbol for a reference, the handling of which is unchanged by this fix.
Both cases described above are covered, that is where an internal or
hidden dynamic symbol is produced and where a local one is.

NB this change affects CRIS results where some symbols in the static
table produced in a final link are now converted from STV_HIDDEN to
STB_LOCAL.  This happens whenever the `elf_backend_hide_symbol' handler
is called, so the affected symbols must have been chosen for entering
into the dynamic symbol table, except in these test cases no such symbol
table is produced.  In fully linked binaries the static symbol table is
only used for debugging though, so such a change is fine.

References:

[1] "System V Application Binary Interface - DRAFT - 24 April 2001",
    The Santa Cruz Operation, Inc., "Symbol Table",
    <http://www.sco.com/developers/gabi/2001-04-24/ch4.symtab.html>

	bfd/
	PR ld/19908
	* elflink.c (elf_link_add_object_symbols): Always turn hidden
	and internal symbols which have a dynamic index into local
	ones.

	ld/
	PR ld/19908
	* testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
	handling fix.
	* testsuite/ld-cris/tls-e-20a.d: Likewise.
	* testsuite/ld-cris/tls-e-21.d: Likewise.
	* testsuite/ld-cris/tls-e-23.d: Likewise.
	* testsuite/ld-cris/tls-e-80.d: Likewise.
	* testsuite/ld-cris/tls-gd-3h.d: Likewise.
	* testsuite/ld-cris/tls-leie-19.d: Likewise.
	* testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
	* testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
	* testsuite/ld-mips-elf/export-internal-ref.sd: New test.
	* testsuite/ld-mips-elf/export-protected-ref.sd: New test.
	* testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
	* testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
	* testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Dynamic relocs verification for dynindx == -1.
@ 2016-04-05 15:04 sergiodj+buildbot
  2016-04-05 15:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 15:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 94e5c97160abbcf2274f8d58dc2900bc85c1c384 ***

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

[ARC] Dynamic relocs verification for dynindx == -1.

bfd/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (name_for_global_symbol): Added assert to check for
	symbol index.
	(elf_arc_relocate_section): Added and changed asserts, validating
	the synamic symbol index.
	(elf_arc_finish_dynamic_symbol): Do not fill the dynamic
	relocation if symbol has dynindx set to -1.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [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
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [ARC] 24 bit reloc and overflow detection fix.
@ 2016-04-05 16:09 sergiodj+buildbot
  2016-04-05 16:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 16:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 094fb06395d03ac343d1ce14a3621d1b4f78a0cc ***

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

[ARC] 24 bit reloc and overflow detection fix.

bfd/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (name_for_global_symbol): Changed assert.
	(get_replace_function): Created.:
	(struct arc_relocation_data): Changed to signed types.
	(defines S, L, P, PDATA): Casted to signed type.
	(defines SECTSTART, _SDA_BASE_, TLS_REL): Likewise.
	(PRINT_DEBUG_RELOC_INFO_BEFORE): Changed.
	(arc_do_relocation): Changed.

include/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

	* opcode/arc-func.h (replace_bits24): Changed.
	(replace_bits24_be): Created.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Fix to pass ld-elf-ehdr_start-shared.
@ 2016-04-05 16:32 sergiodj+buildbot
  2016-04-05 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 16:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3aee8396f02744c0b688d0ee75c585534b7e8c4 ***

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

[ARC] Fix to pass ld-elf-ehdr_start-shared.

bfd/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (elf_arc_check_relocs): Changed


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] IPA: Move getauxval out of #ifndef IN_PROCESS_AGENT
@ 2016-04-05 16:36 sergiodj+buildbot
  2016-04-05 18:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [ARC] PLT content endianess awareness.
@ 2016-04-05 17:01 sergiodj+buildbot
  2016-04-05 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 17:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1e5885b72e20ef874f526e77a4946b2655e6d3c3 ***

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

[ARC] PLT content endianess awareness.

bfd/
2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (plt_do_relocs_for_symbol): Changed.
	(relocate_plt_for_entry): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Fix support for double assist instructions.
@ 2016-04-05 17:37 sergiodj+buildbot
  2016-04-05 17:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 17:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ddf6b2a1384ca73a16827022da5f4423703154a ***

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

[ARC] Fix support for double assist instructions.

opcodes/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-regs.h: Add a new subclass field.  Add double assist
        accumulator register values.
        * arc-tbl.h: Use DPA subclass to mark the double assist
        instructions.  Use DPX/SPX subclas to mark the FPX instructions.
        * arc-opc.c (RSP): Define instead of SP.
        (arc_aux_regs): Add the subclass field.

include/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

        * opcode/arc.h (DPA, DPX, SPX): New subclass enums.
        (ARC_FPUDA): Define.
        (arc_aux_reg): Add new field.

gas/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

        * config/tc-arc.c (is_code_density_p): Compare directly the
        subclass field.
        (is_spfp_p, is_dpfp_p, is_spfp_p): Define.
        (check_cpu_feature): New function.
        (find_opcode_match): Use check_cpu_feature function.
        (preprocess_operands): Likewise.
        (md_parse_option): Use mfpuda, mdpfp, mspfp options.
        * testsuite/gas/arc/tdpfp.d: New file.
        * testsuite/gas/arc/tfpuda.d: Likewise.
        * testsuite/gas/arc/tfpx.s: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Improve gdb_remote_download, remove gdb_download
@ 2016-04-05 18:35 sergiodj+buildbot
  2016-04-05 19:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] arc/nps400: Add additional instructions
@ 2016-04-05 22:02 sergiodj+buildbot
  2016-04-05 22:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-05 22:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 820f03ffe027367f275e9debb5f3f3376820ab37 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 820f03ffe027367f275e9debb5f3f3376820ab37

arc/nps400: Add additional instructions

Adds the movbi, decode1, fbset, fbclear, encode0, encode1, rflt, crc16,
and crc32 instructions for the nps400 arc machine type.

gas/ChangeLog:

	* testsuite/gas/arc/nps400-1.d: Update expected results.
	* testsuite/gas/arc/nps400-1.s: Additional test cases.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Add movbi, decode1, fbset, fbclear, encode0,
	encode1, rflt, crc16, and crc32 instructions.
	* arc-opc.c (arc_flag_operands): Add F_NPS_R.
	(arc_flag_classes): Add C_NPS_R.
	(insert_nps_bitop_size_2b): New function.
	(extract_nps_bitop_size_2b): Likewise.
	(insert_nps_bitop_uimm8): Likewise.
	(extract_nps_bitop_uimm8): Likewise.
	(arc_operands): Add new operand entries.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix IPA detection in ftrace-insn-reloc.exp
@ 2016-04-06  1:00 sergiodj+buildbot
  2016-04-06  1:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06  1:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03a8c4dfc295fdebf4dac7a5ee91592e69b404a6 ***

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

Fix IPA detection in ftrace-insn-reloc.exp

In commit 6e774b13c3b, I forgot to update this test.

gdb/testsuite/ChangeLog:

	* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
	absolute.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix memory leak in ld ARM backend
@ 2016-04-06  8:42 sergiodj+buildbot
  2016-04-06  9:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06  8:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15dd01b1209ec92b361dd2547708dd17ffc2a786 ***

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

Fix memory leak in ld ARM backend

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

	bfd/
	* elf32-arm.c (elf32_arm_size_stubs): Move error_ret_free_local to be
	a fall through from error_ret_free_internal.  Free local_syms in
	error_ret_free_local if allocated from bfd_elf_get_elf_syms ().


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Print the "file" command suggestion in exec_file_locate_attach
@ 2016-04-06 14:11 sergiodj+buildbot
  2016-04-06 14:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 14:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fef3cb9f3aa84018d10866f89228ae3f23e5ca7e ***

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

Print the "file" command suggestion in exec_file_locate_attach

currently:
	$ gdbserver-7.9 :1234 true &
	$ gdb -q -ex 'target remote :1234' # that -q is not relevant here
	Remote debugging using :1234
	warning: Could not load vsyscall page because no executable was specified
	try using the "file" command first.
	0x00007ffff7ddcc80 in ?? ()
	(gdb) b main
	No symbol table is loaded.  Use the "file" command.
	Make breakpoint pending on future shared library load? (y or [n]) _

Provide more suggestive message to use the "file" command.

gdb/ChangeLog
2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
	    Pedro Alves  <palves@redhat.com>

	* exec.c (exec_file_locate_attach): Print warning for unsupported
	target_pid_to_exec_file.
	* symfile-mem.c (add_vsyscall_page): Remove the "file" command
	message part.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Revert check-in by a mistake in the previous commit.
@ 2016-04-06 15:02 sergiodj+buildbot
  2016-04-06 15:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 15:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 052d2eb2545db0e052b45dd2e0ece82ebbe8a68c ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 052d2eb2545db0e052b45dd2e0ece82ebbe8a68c

Revert check-in by a mistake in the previous commit.

gdb/ChangeLog
2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* remote.c: Revert check-in by a mistake in the previous commit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Workaround gdbserver<7.7 for setfs
@ 2016-04-06 19:19 sergiodj+buildbot
  2016-04-06 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 19:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 319cb5d0cf7ba3bc0e77ab420cfcf75568d722b4 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 319cb5d0cf7ba3bc0e77ab420cfcf75568d722b4

Workaround gdbserver<7.7 for setfs

With current FSF GDB HEAD and old FSF gdbserver I expected I could do:
	gdb -ex 'file target:/root/redhat/threadit' -ex 'target remote :1234'
(supplying that unsupported qXfer:exec-file:read by "file")
But that does not work because:
	Sending packet: $vFile:setfs:0#bf...Packet received: OK
	Packet vFile:setfs (hostio-setfs) is supported
	...
	Sending packet: $vFile:setfs:104#24...Packet received: OK
	"target:/root/redhat/threadit": could not open as an executable file: Invalid argument

GDB documentation says:
	The valid responses to Host I/O packets are:
	An empty response indicates that this operation is not recognized.

This "empty response" vs. "OK" was a bug in gdbserver < 7.7.  It was fixed by:
	commit e7f0d979dd5cc4f8b658df892e93db69d6d660b7
	Author: Yao Qi <yao@codesourcery.com>
	Date:   Tue Dec 10 21:59:20 2013 +0800
	    Fix a bug in matching notifications.
	Message-ID: <1386684626-11415-1-git-send-email-yao@codesourcery.com>
	https://sourceware.org/ml/gdb-patches/2013-12/msg00373.html
	2013-12-10  Yao Qi  <yao@codesourcery.com>
		* notif.c (handle_notif_ack): Return 0 if no notification
		matches.

with unpatched old FSF gdbserver and patched FSF GDB HEAD:
	gdb -ex 'file target:/root/redhat/threadit' -ex 'target remote :1234'
	Sending packet: $vFile:setfs:0#bf...Packet received: OK
	Packet vFile:setfs (hostio-setfs) is NOT supported
	...
	(gdb) info sharedlibrary
	From                To                  Syms Read   Shared Object Library
	0x00007ffff7ddbae0  0x00007ffff7df627a  Yes (*)     target:/lib64/ld-linux-x86-64.so.2
	0x00007ffff7bc48a0  0x00007ffff7bcf514  Yes (*)     target:/lib64/libpthread.so.0

gdb/ChangeLog
2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* remote.c (struct remote_state): New field unknown_v_replies_ok.
	(packet_config_support): Read it.
	(remote_start_remote): Set it.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Revert the previous commit adding unknown_v_replies_ok.
@ 2016-04-06 19:51 sergiodj+buildbot
  2016-04-06 20:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 19:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 147316171d8c1e090f0240133088398725ca8460 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 147316171d8c1e090f0240133088398725ca8460

Revert the previous commit adding unknown_v_replies_ok.

It broke the compatibility with gdbserver-7.6 due to:
	warning: remote target does not support file transfer, attempting to access files from local filesystem.

gdb/ChangeLog
2016-04-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

	Revert the previous commit adding unknown_v_replies_ok.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb.threads/dlopen-libpthread.exp crash
@ 2016-04-06 21:04 sergiodj+buildbot
  2016-04-06 21:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 21:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2f901dfb6cb5ae2845a48503df1fe0065085f83 ***

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

Fix gdb.threads/dlopen-libpthread.exp crash

Following, commit

  6e774b13c3b81ac2599812adf058796948ce7e95 Make ftrace tests work with remote targets

the test gdb.threads/dlopen-libpthread.exp started to fail with:

  ERROR: error copying "/home/emaisin/build/binutils-gdb/gdb/testsuite/gdb.threads/dlopen-libpthread.so": no such file or directory

This is because the library path is not computed using
standard_output_file, so we try to gdb_load_shlibs an unexisting file.

gdb/testsuite/ChangeLog:

	* gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
	standard_output_file.  Remove unused binfile variable.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate -var-create error for optzd ptr to struct
@ 2016-04-06 22:32 sergiodj+buildbot
  2016-04-06 22:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-06 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecf2e90cd6a862ea5492cb31555a0c33e345b3e7 ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: ecf2e90cd6a862ea5492cb31555a0c33e345b3e7

Eliminate -var-create error for optzd ptr to struct

This patch eliminates an error thrown when accessing the value of a
pointer to a structure where the pointer has been optimized out and
'set print object' is 'on'.  The error shows up as the rather ugly
value of the pointer variable in Eclipse.

If 'set print object' is 'on', GDB tries to determine the actual
(derived) type of the object rather than the declared type, which
requires dereferencing the pointer, which in this cases throws an
error because the pointer has been optimized out.

The fix is to simply ignore the 'print object on' setting for
pointers or references to structures when they have been optimized
out.  This means we just get the declared type instead of the actual
type, because in this case that's the best that we can do.

To implement the fix, value_optimized_out was modified so that it
no longer throws an error when it fails to fetch the specified
value.  Instead, it just checks value->optimized_out.  If we can't
definitively say that the value is optimized out, then we assume
it is not.

gdb/ChangeLog:
2016-04-06  Don Breazeal  <donb@codesourcery.com>

	* value.c (value_actual_type): Don't try to get rtti type
	of the value if it has been optimized out.
	(value_optimized_out): If a memory access error occurs,
	just check vaue->optimized_out.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set bp_tgt->reqstd_address and bp_tgt->placed_size in record_full_insert_breakpoint
@ 2016-04-07 16:05 sergiodj+buildbot
  2016-04-07 16:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ccd06e498586b39f06447cbf3f2fad50120fde6 ***

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

Set bp_tgt->reqstd_address and bp_tgt->placed_size in record_full_insert_breakpoint

I notice that bp_tgt won't be fully initialized if to_insert_breakpoint
isn't called in record_full_insert_breakpoint, and bp_tgt->reqstd_address
is zero, so an entry is added to record_full_breakpoints, but its address
is zero, which is wrong.  This patch is to call gdbarch_breakpoint_from_pc
in the else branch to set bp_tgt->reqstd_address and bp_tgt->placed_size.

gdb:

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

	* record-full.c (record_full_insert_breakpoint): Set
	bp_tgt->reqstd_address and bp_tgt->placed_size.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make breakpoint handling in record-full idempotent
@ 2016-04-07 16:30 sergiodj+buildbot
  2016-04-07 17:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e390720bdc6ddee752992537259d18d1ae8d2eb1 ***

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

Make breakpoint handling in record-full idempotent

Some test fails in gdb.reverse/break-reverse.exp on arm-linux lead me
seeing the following error message,

continue^M
Continuing.^M
Cannot remove breakpoints because program is no longer writable.^M
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Further execution is probably impossible.^M
^M
Breakpoint 3, bar () at /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.reverse/break-reverse.c:22^M
22        xyz = 2; /* break in bar */^M
(gdb) PASS: gdb.reverse/break-reverse.exp: continue to breakpoint: bar backward

this is caused by two entries in record_full_breakpoints, and their addr
is the same, but in_target_beneath is different.

during the record, we do continue,

Continuing.
infrun: clear_proceed_status_thread (Thread 13772.13772)
infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
infrun: step-over queue now empty
infrun: resuming [Thread 13772.13772] for step-over
infrun: skipping breakpoint: stepping past insn at: 0x8620
Sending packet: $Z0,85f4,4#1d...Packet received: OK  <----
.....
Sending packet: $vCont;c#a8...infrun: target_wait (-1.0.0, status) =
infrun:   -1.0.0 [process -1],
infrun:   status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
infrun: target_wait (-1.0.0, status) =
infrun:   -1.0.0 [process -1],
infrun:   status->kind = ignore
infrun: TARGET_WAITKIND_IGNORE
infrun: prepare_to_wait
Packet received: T05swbreak:;0b:9cf5ffbe;0d:9cf5ffbe;0f:f4850000;thread:p35cc.35cc;core:1;
Sending packet: $Z0,85f4,4#1d...Packet received: OK <-----
....
Sending packet: $z0,85f4,4#3d...Packet received: OK <-----

we can see breakpoint on 0x85f4 are inserted *twice*, but only removed
once.  That is fine to remote target, because Z/z packets are
idempotent, but there is a leftover in record_full_breakpoints
in record-full target.  The flow can be described as below,

                                record_full_breakpoints   remote target
  -----------------------------------------------------------------------
  forward execution, continue,    in_target_beneath 1     breakpoint inserted
  insert breakpoints on 0x85f4    in_target_beneath 1
  twice

  program stops,
  remove breakpoint on 0x85f4     in_target_beneath 1     breakpoint removed

  reverse execution, continue,    in_target_beneath 1     none is requested
  insert breakpoints on 0x85f4,   in_target_beneath 0

  program stops,
  remote breakpoint on 0x85f4,    in_target_beneath 0     request to remove,
                                                          but GDBserver
							  doesn't know

now, the question is why breakoint on 0x85f4 is inserted twice?  One
is the normal breakpoint, and the other is the single step breakpoint.
GDB inserts single step breakpoint to do single step.  When program
stops at 0x85f4, both of them are set on 0x85f4, and GDB deletes
single step breakpoint, so in update_global_location_list, this
breakpoint location is no longer found, GDB call
force_breakpoint_reinsertion to mark it condition_updated, and insert
it again.

The reason force_breakpoint_reinsertion is called to update the
conditions in the target side, because the conditions may be
changed.  My original fix is to not call force_breakpoint_reinsertion
if OLD_LOC->cond is NULL, but it is not correct if another location
on the same address has condition, GDB doesn't produce condition for
target side, but GDB should do.

Then, I change my mind back to make record-full handling breakpoint
idempotent, to align with remote target.  Before insert a new entry
into record_full_breakpoints, look for existing one on the same
address first.  I also add an assert on
"bp->in_target_beneath == in_target_beneath", to be safer.

gdb:

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

	* record-full.c (record_full_insert_breakpoint): Return
	early if entry on the address is found in
	record_full_breakpoints.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb.reverse/finish-reverse-bkpt.exp
@ 2016-04-07 17:21 sergiodj+buildbot
  2016-04-07 18:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-07 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8064e7e9b4d7d9cc29a613af899a7739df60be6 ***

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

Fix gdb.reverse/finish-reverse-bkpt.exp

I see the following fail on aarch64-linux

 break void_func
 Breakpoint 2 at 0x4007a0: file gdb/testsuite/gdb.reverse/finish-reverse.c, line 44.
 (gdb) PASS: gdb.reverse/finish-reverse-bkpt.exp: set breakpoint on void_func
 continue
 Continuing.

 Breakpoint 2, void_func () at gdb/testsuite/gdb.reverse/finish-reverse.c:44^M
 44        void_test = 1;                /* VOID FUNC */^M
 (gdb) PASS: gdb.reverse/finish-reverse-bkpt.exp: continue to breakpoint: void_func
 break *void_func^M
 Note: breakpoint 2 also set at pc 0x4007a0.^M
 Breakpoint 3 at 0x4007a0: file gdb/testsuite/gdb.reverse/finish-reverse.c, line 44.
 (gdb) PASS: gdb.reverse/finish-reverse-bkpt.exp: set breakpoint at void_func's entry
 reverse-finish^M
 Run back to call of #0  void_func () at gdb/testsuite/gdb.reverse/finish-reverse.c:44
 main (argc=1, argv=0x7ffffffb78) at gdb/testsuite/gdb.reverse/finish-reverse.c:98
 98        void_func ();                                 /* call to void_func */^M
 (gdb) FAIL: gdb.reverse/finish-reverse-bkpt.exp: reverse-finish from void_func trips breakpoint at entry

The test assumes that brekapoints on "void_func" and "*void_func" are
set on different places because of function prologue.  However, on
aarch64-linux, there is no prologue in void_func, so two breakpoints
are set at the same place (0x4007a0).

(gdb) disassemble void_func
Dump of assembler code for function void_func:
   0x00000000004007a0 <+0>:	adrp	x0, 0x410000
   0x00000000004007a4 <+4>:	add	x0, x0, #0xc14
   0x00000000004007a8 <+8>:	mov	w1, #0x1
   0x00000000004007ac <+12>:	str	w1, [x0]
   0x00000000004007b0 <+16>:	ret

The fix to this problem is to single step forward before setting
breakpoint on *void_func.

gdb/testsuite:

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

	* gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
	Execute "si" command.


^ permalink raw reply	[flat|nested] 2163+ 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 18:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] arc/nps400: Add new instructions
@ 2016-04-07 18:15 sergiodj+buildbot
  2016-04-07 19:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix gdb.compile/compile.exp shlib regression
@ 2016-04-07 19:12 sergiodj+buildbot
  2016-04-07 20:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ 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:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] value: Make accessor methods' parameters const-correct
@ 2016-04-08 18:24 sergiodj+buildbot
  2016-04-08 18:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-08 18:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bf7b526bed1c86b1f20b18e642865f446751e06 ***

Author: Martin Galvan <martin.galvan@tallertechnologies.com>
Branch: master
Commit: 4bf7b526bed1c86b1f20b18e642865f446751e06

value: Make accessor methods' parameters const-correct

I did a quick pass over value.c and value.h and made some of the accessor methods'
pass-by-reference parameters const-correct. Besides the obvious benefits, this is
required if we want to use them on values that are already declared as const
(such as the parameters to lval_funcs).

There's probably a lot more stuff that can be made const, here and elsewhere.

gdb/ChangeLog:
2016-04-08  Martin Galvan  <martin.galvan@tallertechnologies.com>

    * value.c (value_next): Make pass-by-reference parameters const-correct.
    (value_parent): Likewise.
    (value_enclosing_type): Likewise.
    (value_lazy): Likewise.
    (value_stack): Likewise.
    (value_embedded_offset): Likewise.
    (value_pointed_to_offset): Likewise.
    (value_raw_address): Likewise.
    (deprecated_value_modifiable): Likewise.
    (value_free_to_mark): Likewise.
    (value_release_to_mark): Likewise.
    (internalvar_name): Likewise.
    (readjust_indirect_value_type): Likewise.
    (value_initialized): Likewise.
    * value.h (value_next): Likewise.
    (value_parent): Likewise.
    (value_enclosing_type): Likewise.
    (value_lazy): Likewise.
    (value_stack): Likewise.
    (value_embedded_offset): Likewise.
    (value_pointed_to_offset): Likewise.
    (value_raw_address): Likewise.
    (deprecated_value_modifiable): Likewise.
    (value_free_to_mark): Likewise.
    (value_release_to_mark): Likewise.
    (internalvar_name): Likewise.
    (readjust_indirect_value_type): Likewise.
    (value_initialized): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb.server/solib-list.exp regression
@ 2016-04-08 18:56 sergiodj+buildbot
  2016-04-08 19:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-08 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 096be756aa7f10f1c757e4dcc216bf0076a194ea ***

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

Fix gdb.server/solib-list.exp regression

Commit 7817ea46148d (Improve gdb_remote_download, remove gdb_download)
caused:

 FAIL: gdb.server/solib-list.exp: non-stop 0: target extended-remote (timeout)
 FAIL: gdb.server/solib-list.exp: non-stop 0: continue (the program is no longer running)
 FAIL: gdb.server/solib-list.exp: non-stop 0: p libvar
 FAIL: gdb.server/solib-list.exp: non-stop 1: target extended-remote (timeout)
 FAIL: gdb.server/solib-list.exp: non-stop 1: continue (the program is no longer running)
 FAIL: gdb.server/solib-list.exp: non-stop 1: p libvar

gdb.log shows:

 system interpreter is: /lib64/ld-linux-x86-64.so.2
 ...
 spawn ../gdbserver/gdbserver --once :2347 /home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.server/solib-list/ld-linux-x86-64.so.2 /home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.server/solib-list/solib-list
 Process /home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.server/solib-list/ld-linux-x86-64.so.2 created; pid = 18637
 Cannot exec /home/pedro/brno/pedro/gdb/mygit/build/gdb/testsuite/outputs/gdb.server/solib-list/ld-linux-x86-64.so.2: No such file or directory.
 ...

The test copied the interpreter to the outputs directory, however
ld-linux-x86-64.so.2 is a relative symlink that when copied points
nowhere:

 $ ls -l testsuite/outputs/gdb.server/solib-list/
 total 52
 -rwxrwxr-x. 1 pedro pedro 13450 Apr  7 10:52 gdb.log
 -rw-rw-r--. 1 pedro pedro  1512 Apr  7 10:52 gdb.sum
 lrwxrwxrwx. 1 pedro pedro    10 Apr  7 11:39 ld-linux-x86-64.so.2 -> ld-2.22.so
 -rwxrwxr-x. 1 pedro pedro  9464 Apr  7 11:39 solib-list
 -rw-rw-r--. 1 pedro pedro  3472 Apr  7 11:39 solib-list-lib.c.o
 -rw-rw-r--. 1 pedro pedro  2760 Apr  7 11:39 solib-list.o
 -rwxrwxr-x. 1 pedro pedro  9232 Apr  7 11:39 solib-list.so

The copying comes from gdbserver_spawn ->
gdbserver_download_current_prog -> gdb_remote_download.

There's actually no need to download the interpreter to the target -
it's part of the target system/environment.  So fix this by making the
test just not use gdb_load (and gdb_file_cmd as consequence) at all,
and instead pass the interpreter filename to gdbserver as an argument.

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

	* gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
	interpreter filename as argument to gdbserver_spawn.
	* lib/gdbserver-support.exp (gdbserver_download_current_prog):
	Return empty if $last_loaded_file does not exist.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Adjust default memory size and stack base address for SH simulator.
@ 2016-04-09  1:47 sergiodj+buildbot
  2016-04-09  2:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-09  1:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 417a667c4afc1e04ba2caadc3f4051e0590585bb ***

Author: Oleg Endo <olegendo@gcc.gnu.org>
Branch: master
Commit: 417a667c4afc1e04ba2caadc3f4051e0590585bb

Adjust default memory size and stack base address for SH simulator.

ld/ChangeLog:
	* sh/interp.c (sim_memory_size): Default init to 30.
	(parse_and_set_memory_size): Adjust upper bound to 31.

sim/ChangeLog:
	* sh/interp.c (sim_memory_size): Default init to 30.
	(parse_and_set_memory_size): Adjust upper bound to 31.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb.python/py-mi-events-gdb.py: Add parentheses to print
@ 2016-04-09 12:55 sergiodj+buildbot
  2016-04-09 13:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-09 12:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e88a1ea30deecac47d89b03f6d60ca04245c36f ***

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

gdb.python/py-mi-events-gdb.py: Add parentheses to print

Required for Python 3

gdb/testsuite/ChangeLog:

	* gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
	parentheses to print.
	(continue_handler): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS/opcodes: Fix undecoded MIPS16 extended instruction bit disassembly
@ 2016-04-11 17:20 sergiodj+buildbot
  2016-04-11 17:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-11 17:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 92708ceca544456c26b4b82e2e7fc8afcf1641c8 ***

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

MIPS/opcodes: Fix undecoded MIPS16 extended instruction bit disassembly

Correct the disassembly of hardware don't cares in MIPS16 extended
instructions.  Rather than e.g.:

   0:	f008 0231 	addiu	v0,sp,16433
   4:	f520 3260 	sll	v0,v1,-12

print:

   0:	f008 0231 	addiu	v0,sp,16401
   4:	f520 3260 	sll	v0,v1,20

respectively instead.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Mask unused extended
	instruction bits out.

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


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Properly handle dynamic reloc against normal symbol
@ 2016-04-12  3:00 sergiodj+buildbot
  2016-04-12  3:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12  3:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2df3368d851b653880c2e3312c99eb8adf89f3db ***

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

Properly handle dynamic reloc against normal symbol

We shouldn't issue an error for read-only segment with dynamic IFUNC
relocations when dynamic relocations are against normal symbols.

bfd/

	PR ld/19939
	* elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): Add a pointer
	to bfd_boolean.
	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Updated.
	Set *readonly_dynrelocs_against_ifunc_p to TRUE if dynamic reloc
	applies to read-only section.
	* elf32-i386.c (elf_i386_link_hash_table): Add
	readonly_dynrelocs_against_ifunc.
	(elf_i386_allocate_dynrelocs): Updated.
	(elf_i386_size_dynamic_sections): Issue an error for read-only
	segment with dynamic IFUNC relocations only if
	readonly_dynrelocs_against_ifunc is TRUE.
	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add
	readonly_dynrelocs_against_ifunc.
	(elf_x86_64_allocate_dynrelocs): Updated.
	(elf_x86_64_size_dynamic_sections): Issue an error for read-only
	segment with dynamic IFUNC relocations only if
	readonly_dynrelocs_against_ifunc is TRUE.
	* elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
	Updated.

ld/

	PR ld/19939
	* testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr19939.s: New file.
	* testsuite/ld-i386/pr19939a.d: Likewise.
	* testsuite/ld-i386/pr19939b.d: Likewise.
	* testsuite/ld-x86-64/pr19939.s: Likewise.
	* testsuite/ld-x86-64/pr19939a.d: Likewise.
	* testsuite/ld-x86-64/pr19939b.d: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for .extInstruction pseudo-op.
@ 2016-04-12  8:49 sergiodj+buildbot
  2016-04-12  9:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12  8:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b99747aeed79ad69af8b8be4d9aa3a74200fca7d ***

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

Add support for .extInstruction pseudo-op.

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

	* testsuite/gas/arc/textinsn-errors.d: New File.
	* testsuite/gas/arc/textinsn-errors.err: Likewise.
	* testsuite/gas/arc/textinsn-errors.s: Likewise.
	* testsuite/gas/arc/textinsn2op.d: Likewise.
	* testsuite/gas/arc/textinsn2op.s: Likewise.
	* testsuite/gas/arc/textinsn2op01.d: Likewise.
	* testsuite/gas/arc/textinsn2op01.s: Likewise.
	* testsuite/gas/arc/textinsn3op.d: Likewise.
	* testsuite/gas/arc/textinsn3op.s: Likewise.
	* doc/c-arc.texi (ARC Directives): Add .extInstruction
	documentation.
	* config/tc-arc.c (arcext_section): New variable.
	(arc_extinsn): New function.
	(md_pseudo_table): Add .extInstruction pseudo op.
	(attributes_t): New type.
	(suffixclass, syntaxclass, syntaxclassmod): New constant
	structures.
	(find_opcode_match): Remove arc_num_opcodes.
	(md_begin): Likewise.
	(tokenize_extinsn): New function.
	(arc_set_ext_seg): Likewise.
	(create_extinst_section): Likewise.

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

	* opcode/arc.h (arc_num_opcodes): Remove.
	(ARC_SYNTAX_3OP, ARC_SYNTAX_2OP, ARC_OP1_MUST_BE_IMM)
	(ARC_OP1_IMM_IMPLIED, ARC_SUFFIX_NONE, ARC_SUFFIX_COND)
	(ARC_SUFFIX_FLAG): Define.
	(flags_none, flags_f, flags_cc, flags_ccf): Declare.
	(arg_none, arg_32bit_rarbrc, arg_32bit_zarbrc, arg_32bit_rbrbrc)
	(arg_32bit_rarbu6, arg_32bit_zarbu6, arg_32bit_rbrbu6)
	(arg_32bit_rbrbs12, arg_32bit_ralimmrc, arg_32bit_rarblimm)
	(arg_32bit_zalimmrc, arg_32bit_zarblimm, arg_32bit_rbrblimm)
	(arg_32bit_ralimmu6, arg_32bit_zalimmu6, arg_32bit_zalimms12)
	(arg_32bit_ralimmlimm, arg_32bit_zalimmlimm, arg_32bit_rbrc)
	(arg_32bit_zarc, arg_32bit_rbu6, arg_32bit_zau6, arg_32bit_rblimm)
	(arg_32bit_zalimm, arg_32bit_limmrc, arg_32bit_limmu6)
	(arg_32bit_limms12, arg_32bit_limmlimm): Likewise.

opcodes/
2016-04-04  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (flags_none, flags_f, flags_cc, flags_ccf):
	Initialize.
	(arg_none, arg_32bit_rarbrc, arg_32bit_zarbrc, arg_32bit_rbrbrc)
	(arg_32bit_rarbu6, arg_32bit_zarbu6, arg_32bit_rbrbu6)
	(arg_32bit_rbrbs12, arg_32bit_ralimmrc, arg_32bit_rarblimm)
	(arg_32bit_zalimmrc, arg_32bit_zarblimm, arg_32bit_rbrblimm)
	(arg_32bit_ralimmu6, arg_32bit_zalimmu6, arg_32bit_zalimms12)
	(arg_32bit_ralimmlimm, arg_32bit_zalimmlimm, arg_32bit_rbrc)
	(arg_32bit_zarc, arg_32bit_rbu6, arg_32bit_zau6, arg_32bit_rblimm)
	(arg_32bit_zalimm, arg_32bit_limmrc, arg_32bit_limmu6)
	(arg_32bit_limms12, arg_32bit_limmlimm): Likewise.
	(arc_opcode arc_opcodes): Null terminate the array.
	(arc_num_opcodes): Remove.
	* arc-ext.h (INSERT_XOP): Define.
	(extInstruction_t): Likewise.
	(arcExtMap_instName): Delete.
	(arcExtMap_insn): New function.
	(arcExtMap_genOpcode): Likewise.
	* arc-ext.c (ExtInstruction): Remove.
	(create_map): Zero initialize instruction fields.
	(arcExtMap_instName): Remove.
	(arcExtMap_insn): New function.
	(dump_ARC_extmap): More info while debuging.
	(arcExtMap_genOpcode): New function.
	* arc-dis.c (find_format): New function.
	(print_insn_arc): Use find_format.
	(arc_get_disassembler): Enable dump_ARC_extmap only when
	debugging.

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


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update ARC instruction data-base.
@ 2016-04-12  9:33 sergiodj+buildbot
  2016-04-12  9:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12  9:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c2e355e4830814e18329a53d01cfa634d576211 ***

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

Update ARC instruction data-base.

gas/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/noargs_a7.d: New file.
	* testsuite/gas/arc/noargs_a7.s: Likewise.
	* testsuite/gas/arc/noargs_hs.d: Likewise.
	* testsuite/gas/arc/noargs_hs.s: Likewise.

opcode/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-tbl.h: Add rtsc, sleep with no arguments.

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


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't rely on immediate_quit in command_line_input
@ 2016-04-12 16:23 sergiodj+buildbot
  2016-04-12 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 16:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3212b858458dc3f2ae73e32fa066dabd56919a13 ***

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

Don't rely on immediate_quit in command_line_input

AFAICS, immediate_quit was only needed here nowdays to be able to
interrupt gdb_readline_no_editing.

command_line_input can also take the gdb_readline_wrapper path, but
since that is built on top of the event loop (gdb_select / poll and
asynchronous signal handlers), it can be interrupted.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* top.c: Include "gdb_select.h".
	(gdb_readline_no_editing): Wait for input with gdb_select instead
	of blocking in fgetc.
	(command_line_input): Don't set immediate_quit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Inline command_loop in read_command_line
@ 2016-04-12 16:45 sergiodj+buildbot
  2016-04-12 17:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT faa4ebe148cfe83f06d881cfc80d95575d3bf746 ***

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

Inline command_loop in read_command_line

read_command_line is the only caller, and here we can assume we're
reading a regular file, not stdin.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* top.c (read_command_file): Inline command_loop here.
	(command_loop): Delete.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] TUI: check whether in secondary prompt instead of immediate_quit
@ 2016-04-12 17:52 sergiodj+buildbot
  2016-04-12 17:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 17:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab33ab13aa093778263d554dd0e702814a5a8cbd ***

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

TUI: check whether in secondary prompt instead of immediate_quit

As can be seen in the tui_redisplay_readline comment:

 "The command could call prompt_for_continue and we must not restore
 SingleKey so that the prompt and normal keymap are used."

immediate_quit is being used as proxy for "secondary prompt".

We have a better predicate nowadays, so use it.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* tui/tui-io.c (tui_redisplay_readline): Check
	gdb_in_secondary_prompt_p instead of immediate_quit.
	* tui/tui.c: Include top.h.
	(tui_rl_startup_hook): Check gdb_in_secondary_prompt_p instead of
	immediate_quit.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Stop remote-fileio.c from throwing from SIGINT handler
@ 2016-04-12 18:20 sergiodj+buildbot
  2016-04-12 19:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 18:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT acd5494dd868ae849b4544abdc50dc8b10ba6f54 ***

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

Stop remote-fileio.c from throwing from SIGINT handler

This code installs a custom signal handler that throws a quit
exception if remote_fio_no_longjmp is not set.

AFAICS, the only real reason for this might have been to unblock the
ui_file_read call, in remote_fileio_func_read.  But ever since:

  2009-11-13  Daniel Jacobowitz  <dan@codesourcery.com>

	* ui-file.c (stdio_file_read): Call gdb_select before read.

at:

  https://sourceware.org/ml/gdb-patches/2009-11/msg00321.html

that call is interruptible.

This is not only useful for switching to native C++ exceptions, but
AFAICS, also fixes a potential mess up of the remote protocol
connection, since there are target_read_memory calls done while
remote_fio_no_longjmp is clear.  If the user presses ctrl-c while GDB
is sending or receiving a packet, we'll stop the communication
immediately, at a point where it isn't safe.

gdbserver doesn't support the File I/O remote protocol extension so I
can't test this.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* remote-fileio.c (sigint_fileio_token, remote_fio_no_longjmp):
	Delete.
	(async_remote_fileio_interrupt): Delete.
	(remote_fileio_ctrl_c_signal_handler): Don't call the async signal
	handler.  Instead just always set the ctrl_c flag.
	(remote_fileio_reply): Clear remote_fio_ctrl_c_flag before
	re-enabling the SIGINT handler.
	(remote_fileio_func_open, remote_fileio_func_close)
	(remote_fileio_func_read, remote_fileio_func_write)
	(remote_fileio_func_lseek, remote_fileio_func_rename)
	(remote_fileio_func_unlink, remote_fileio_func_stat)
	(remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
	(remote_fileio_func_isatty, remote_fileio_func_system)
	(remote_fileio_request): Remove references to
	remote_fio_no_longjmp.
	(initialize_remote_fileio): Don't create an async signal handler.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't call clear_quit_flag after check_quit_flag
@ 2016-04-12 18:22 sergiodj+buildbot
  2016-04-12 22:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 18:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abf009ef94d2f89b09767cce30bcf99224c1a0a9 ***

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

Don't call clear_quit_flag after check_quit_flag

Obviously not necessary since check_quit_flag clears the flag as side
effect.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* remote-sim.c (gdb_os_poll_quit): Don't call clear_quit_flag.
	* remote.c (remote_wait_as): Don't call clear_quit_flag.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't set immediate_quit in prompt_for_continue
@ 2016-04-12 18:29 sergiodj+buildbot
  2016-04-12 18:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 18:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2acc30bb60357815c3965c058965d0f5313f814 ***

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

Don't set immediate_quit in prompt_for_continue

immediate_quit used to be necessary back when prompt_for_continue used
blocking fread, but nowadays it uses gdb_readline_wrapper, which is
implemented in terms of a nested event loop, which already knows how
to react to SIGINT:

 #0  throw_it (reason=RETURN_QUIT, error=GDB_NO_ERROR, fmt=0x9d6d7e "Quit", ap=0x7fffffffcb88)
     at .../src/gdb/common/common-exceptions.c:324
 #1  0x00000000007bab5d in throw_vquit (fmt=0x9d6d7e "Quit", ap=0x7fffffffcb88) at .../src/gdb/common/common-exceptions.c:366
 #2  0x00000000007bac9f in throw_quit (fmt=0x9d6d7e "Quit") at .../src/gdb/common/common-exceptions.c:385
 #3  0x0000000000773a2d in quit () at .../src/gdb/utils.c:1039
 #4  0x000000000065d81b in async_request_quit (arg=0x0) at .../src/gdb/event-top.c:893
 #5  0x000000000065c27b in invoke_async_signal_handlers () at .../src/gdb/event-loop.c:949
 #6  0x000000000065aeef in gdb_do_one_event () at .../src/gdb/event-loop.c:280
 #7  0x0000000000770838 in gdb_readline_wrapper (prompt=0x7fffffffcd40 "---Type <return> to continue, or q <return> to quit---")
     at .../src/gdb/top.c:873

The need for the QUIT in stdin_event_handler is then exposed by the
gdb.base/double-prompt-target-event-error.exp test, which has:

	# We're now stopped in a pagination query while handling a
	# target event (printing where the program stopped).  Quitting
	# the pagination should result in only one prompt being
	# output.
	send_gdb "\003p 1\n"

Without that change we'd get:

 Continuing.
 ---Type <return> to continue, or q <return> to quit---PASS: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: continue to pagination
 ^CpQuit
 (gdb)  1
 Undefined command: "1".  Try "help".
 (gdb) PASS: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: first prompt
 ERROR: Undefined command "".
 UNRESOLVED: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: no double prompt

Vs:

 Continuing.
 ---Type <return> to continue, or q <return> to quit---PASS: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: continue to pagination
 ^CQuit
 (gdb) p 1
 $1 = 1
 (gdb) PASS: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: first prompt
 PASS: gdb.base/double-prompt-target-event-error.exp: ctrlc target event: continue: no double prompt

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* event-top.c (stdin_event_handler): Call QUIT;
	(prompt_for_continue): Don't run with immediate_quit set.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't call clear_quit_flag in command_handler
@ 2016-04-12 18:33 sergiodj+buildbot
  2016-04-12 22:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 18:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a81fd47b3052f4c1601f8eb7f7879b12e0473cd ***

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

Don't call clear_quit_flag in command_handler

This just looks totally wrong to me, for completetly discarding a
user-requested Ctrl-C.  I can't think of why we'd want do this here.

Actually, I digged the history, and found out that this has been here
since at least 7b4ac7e1ed2c (gdb-2.4, the initial revision, 1988), at
a time were we had a top level setjmp/longjmp, long before that got
wrapped in throw_exception and friends, and this code was in an
explicit loop, with the quit_flag cleared on every iteration, before
executing a command...

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* event-top.c (command_handler): Don't call clear_quit_flag.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Introduce a serial interface for select'able events
@ 2016-04-12 19:26 sergiodj+buildbot
  2016-04-12 20:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 19:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00340e1b916fa2d040439b101c220fae3c5834fa ***

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

Introduce a serial interface for select'able events

This patch adds a new "event" struct serial type, that is an
abstraction specifically for waking up blocking waits/selects,
implemented on top of a pipe on POSIX, and on top of a native Windows
event (CreateEvent, etc.) on Windows.

This will be used to plug signal handler / mainline code races.

For example, GDB can indefinitely delay handling a quit request if the
user presses Ctrl-C between the last QUIT call and the next (blocking)
gdb_select call in the event loop:

      QUIT;
                  <<< press ctrl-c here and end up blocked in gdb_select
		      indefinitely.

      gdb_select (...); // whoops, SIGINT was already handled, no EINTR.

A global alone (either the quit flag, or the "ready" flag of the async
signal handlers in the event loop) is not sufficient.

To plug races such as these on POSIX systems, we have to register some
waitable file descriptor in the set of files gdb_select waits on, and
write to it from the signal handler.  This is classically a pipe, and
the pattern called the self-pipe trick.  On Linux, it could be a more
efficient eventfd instead, but I'm sticking with a pipe for
simplifity, as we need it for portability anyway.

(Alternatively, we could use pselect/ppoll, and block signals until
the pselect.  The latter is not a design I think GDB could use,
because we want the QUIT macro to be super cheap, as it is used in
loops.  Plus, Windows.)

This is a "struct serial" because Windows's gdb_select relies on that.
Windows's gdb_select, our "select" replacement, knows how to wait on
all kinds of handles (regular files, pipes, sockets, console, etc.)
unlike the native Windows "select" function, which can only wait on
sockets.  Each file descriptor for a "serial" type that is not
normally waitable with WaitForMultipleObjects must have a
corresponding struct serial instance.  gdb_select then internally
looks up the struct serial instance that wraps each file descriptor,
and asks it for the corresponding Windows waitable handle.

We could use serial_pipe() to create a "struct serial"-wrapped pipe
that is usable everywhere, including Windows.  That's what currently
python/python.c uses for cross-thread posting of events.

However, serial_write and serial_readchar are not designed to be
async-signal-safe on POSIX hosts.  It's easier to bypass those when
setting/clearing the event source.

And writing and a serial pipe is a bit heavy weight on Windows.
gdb_select requires an extra thread to wait on the pipe and several
Windows events, when a single manual-reset Windows event, with no
extra thread is sufficient.

The intended usage is simply:

- Call make_serial_event to create a serial event object.

- From the signal handler call serial_event_set to set the event.

- From mainline code, have select/poll wait for serial_event_fd(), in
  addition to whatever other files you're about to wait for.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add ser-event.c.
	(HFILES_NO_SRCDIR): Add ser-event.h.
	(COMMON_OBS): Add ser-event.o.
	* ser-event.c, ser-event.h: New files.
	* serial.c (new_serial): New function, factored out from
	(serial_fdopen_ops): ... this.
	(serial_open_ops_1): New function, factored out from
	(serial_open): ... this.
	(serial_open_ops): New function.
	* serial.h (struct serial): Forware declare.
	(serial_open_ops): New declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix signal handler/event-loop races
@ 2016-04-12 20:39 sergiodj+buildbot
  2016-04-12 20:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 20:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cc3ce8b5fffa7413557b7e071d8471ae6e2fc88 ***

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

Fix signal handler/event-loop races

GDB's core signal handling suffers from a classical signal handler /
mainline code race:

  int
  gdb_do_one_event (void)
  {
  ...
  /* First let's see if there are any asynchronous signal handlers
       that are ready.  These would be the result of invoking any of the
       signal handlers.  */
    if (invoke_async_signal_handlers ())
      return 1;
  ...
    /* Block waiting for a new event.  (...).  */

    if (gdb_wait_for_event (1) < 0)
      return -1;
  ...
  }

If a signal is delivered while gdb is blocked in the poll/select
inside gdb_wait_for_event, then the select/poll breaks with EINTR,
we'll loop back around and call invoke_async_signal_handlers.

However, if the signal handler runs between
invoke_async_signal_handlers and gdb_wait_for_event,
gdb_wait_for_event will block, until the next unrelated event...

The fix is to a struct serial_event, and register it in the set of
files that select/poll in gdb_wait_for_event waits on.  The signal
handlers that defer work to invoke_async_signal_handlers call
mark_async_signal_handler, which is adjusted to also set the new
serial event in addition to setting a flag, and is thus now is
garanteed to immediately unblock the next gdb_select/poll call, up
until invoke_async_signal_handlers is called and the event is cleared.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* event-loop.c: Include "ser-event.h".
	(async_signal_handlers_serial_event): New global.
	(async_signals_handler, initialize_async_signal_handlers): New
	functions.
	(mark_async_signal_handler): Set
	async_signal_handlers_serial_event.
	(invoke_async_signal_handlers): Clear
	async_signal_handlers_serial_event.
	* event-top.c (async_init_signals): Call
	initialize_async_signal_handlers.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make Python use a struct serial event
@ 2016-04-12 20:54 sergiodj+buildbot
  2016-04-12 21:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 20:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6eddd09a12e752c08f55e62fbb30d42058a6b1ea ***

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

Make Python use a struct serial event

Now that we have an abstract for wakeable events, use it instead of a
(heavier) serial pipe.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* python/python.c: Include "ser-event.h".
	(gdbpy_event_fds): Delete.
	(gdbpy_serial_event): New.
	(gdbpy_run_events): Change prototype.  Use serial_event_clear
	instead of serial_readchar.
	(gdbpy_post_event): Use serial_event_set instead of serial_write.
	(gdbpy_initialize_events): Use make_serial_event instead of
	serial_pipe.


^ permalink raw reply	[flat|nested] 2163+ 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  6:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add missing cleanups to defaulted_query and prompt_for_continue
@ 2016-04-12 21:25 sergiodj+buildbot
  2016-04-13  7:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 21:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 80dbc9fdc7a7929c16f58852e45196a32877b013 ***

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

Add missing cleanups to defaulted_query and prompt_for_continue

Some of the error paths in these functions leak.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* utils.c (defaulted_query, prompt_for_continue): Free temporary
	strings with cleanups, instead of xfree.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate clear_quit_flag
@ 2016-04-12 23:21 sergiodj+buildbot
  2016-04-13  0:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 23:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a149683b0c277279d892c9617233643188a34251 ***

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

Eliminate clear_quit_flag

Nothing calls this anymore.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* defs.h (clear_quit_flag): Remove declaration.
	* extension-priv.h (struct extension_language_ops)
	<clear_quit_flag>: Remove field and update comments.
	* extension.c (clear_quit_flag): Delete.
	* guile/guile.c (guile_extension_ops): Adjust.
	* python/python.c (python_extension_ops): Adjust.
	(gdbpy_clear_quit_flag): Delete.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't call clear_quit_flag in prepare_to_throw_exception
@ 2016-04-12 23:24 sergiodj+buildbot
  2016-04-12 23:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 23:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0af679c6e0645a93d5a60ec936b94dc70a2f9e5c ***

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

Don't call clear_quit_flag in prepare_to_throw_exception

I think this is reminiscent of the time when a longjmp would always
jump to the top level.  Nowaways code that throw exceptions other than
a quit, which may even be caught and handled without reaching the top
level.  Certainly such exceptions shouldn't clear an interrupt
request...

(We also need to get rid of prepare_to_throw_exception in order to be
able to just do "throw ex;" in C++.)

One could argue that we should clear the quit flag when we throw a
quit from the SIGINT handler, when immediate_quit is in effect, to
handle a race, here:

 immediate_quit++;
 QUIT;

... that's the usual pattern code must use when enabling
immediate_quit.  The QUIT is there to catch the case of Ctrl-C having
already been pressed before immediate_quit was enabled.  However, this
can happen:

 immediate_quit++;
<< Ctrl-C pressed here too.
 QUIT;

And in that case, if the quit flag was already set, it'll stay set
even after throwing a quit from the SIGINT handler.  The end result is
a double quit.  But OTOH, the user did press Ctrl-C two times.  Since
I'm getting rid of immediate_quit, I'm not bothering with this.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* exceptions.c (prepare_to_throw_exception): Don't clear the quit
	flag.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Decouple target_interrupt from all-stop/non-stop modes
@ 2016-04-12 23:43 sergiodj+buildbot
  2016-04-13  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-12 23:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e42de8c7f8e7326d284f8b53f3bd6971fbf6e7b7 ***

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

Decouple target_interrupt from all-stop/non-stop modes

In non-stop mode, "interrupt" results in a "stop with no signal",
while in all-stop mode, it results in a remote interrupt request /
stop with SIGINT.  This is currently implemented in both the Linux and
remote target backends.  Move it to the core code instead, making
target_interrupt specifically always about "Interrupting as if with
Ctrl-C", just like it is documented.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* infcmd.c (interrupt_target_1): Call target_stop is in non-stop
	mode.
	* linux-nat.c (linux_nat_interrupt): Delete.
	(linux_nat_add_target): Don't install linux_nat_interrupt.
	* remote.c (remote_interrupt_ns): Change return type to void.
	Throw error if interrupting the target is not supported.
	(remote_interrupt): Don't call the remote_stop_ns/remote_stop_as.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Pass Ctrl-C to the target in target_terminal_inferior
@ 2016-04-13  0:16 sergiodj+buildbot
  2016-04-13  1:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  0:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93692b589dc7017d5a2fbdffdfad5f84f597d8f1 ***

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

Pass Ctrl-C to the target in target_terminal_inferior

If the user presses Ctrl-C immediately before target_terminal_inferior
is called and the target is resumed, instead of after, the Ctrl-C ends
up pending in the quit flag until the target next stops.

remote.c has this bit to handle this:

      if (!target_is_async_p ())
	{
	  ofunc = signal (SIGINT, sync_remote_interrupt);
	  /* If the user hit C-c before this packet, or between packets,
	     pretend that it was hit right here.  */
	  if (check_quit_flag ())
	    sync_remote_interrupt (SIGINT);
	}

But that's only reachable if async is off, while async is on by
default nowadays.  It's also obviously not reacheable on native
targets.

This patch generalizes that to all targets.

We can't remove that remote.c bit yet, until we get rid of the sync
SIGINT handler though.  That'll be done later in the series.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* remote.c (remote_pass_ctrlc): New function.
	(init_remote_ops): Install it.
	* target.c (target_terminal_inferior): Pass pending Ctrl-C to the
	target.
	(target_pass_ctrlc, default_target_pass_ctrlc): New functions.
	* target.h (struct target_ops) <to_pass_ctrlc>: New method.
	(target_pass_ctrlc, default_target_pass_ctrlc): New declarations.
	* target-delegates.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ada-lang.c: Introduce type_as_string and use it
@ 2016-04-13  1:16 sergiodj+buildbot
  2016-04-13  2:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  1:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99bbb428d4412b79e59df321f9e83c13342e4612 ***

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

ada-lang.c: Introduce type_as_string and use it

A couple wrong things here

  - We should not use target_terminal_ours when all we want is output.
    We should use target_terminal_ours_for_output instead, which
    preserves raw/cooked terminal modes, and SIGINT forwarding.

  - Most importantly, relying on stderr output immediately preceding
    the error/exception print isn't correct.  The exception could be
    caught and handled, for example; MI frontends won't display the
    stderr part in an error dialog box.  Etc.

This commit introduces a type_as_string helper that allows building a
full error string including type info.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (type_as_string, type_as_string_and_cleanup): New
	functions.
	(ada_lookup_struct_elt_type): Use type_as_string_and_cleanup.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix inconsistent handling of EINTR in ser-*.c backends
@ 2016-04-13  2:05 sergiodj+buildbot
  2016-04-13  2:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  2:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 75ee59252d49dffb017905125cdf826f89a6baf9 ***

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

Fix inconsistent handling of EINTR in ser-*.c backends

- If serial->write_prim returns EINTR, ser_bas_write returns it to the
  caller.  This just looks wrong to me -- part of the output may have
  already been sent, and there's no way for the caller to know that,
  and thus no way for a caller to handle a partial write correctly.

- While ser-unix.c:ser_unix_read_prim retries on EINTR,
  ser-tcp.c:net_read_prim does not.

This commit moves EINTR handling to the ser_base_write and
ser_base_readchar level, so all serial backends (at least those that
use it) end up handling EINTR consistently.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* ser-base.c (fd_event): Retry read_prim on EINTR.
	(do_ser_base_readchar): Retry read_prim on EINTR.
	(ser_base_write): Retry write_prim on EINTR.
	* ser-unix.c (ser_unix_read_prim): Don't retry on EINTR here.
	(ser_unix_write_prim): Remove comment.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use target_terminal_ours_for_output in cp-support.c
@ 2016-04-13  3:08 sergiodj+buildbot
  2016-04-13  3:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c509f1e1e8187e0abd2321aadc37878402c87332 ***

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

Use target_terminal_ours_for_output in cp-support.c

We're only doing output here, so leave raw/cooked mode alone, as well
as the SIGINT handler.

Restore terminal settings after output, while at it.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* cp-support.c (gdb_demangle): Use target_terminal_ours_for_output
	instead of target_terminal_ours, and restore target terminal with
	a cleanup.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use target_terminal_ours_for_output in MI
@ 2016-04-13  5:01 sergiodj+buildbot
  2016-04-13  8:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  5:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fe966540d6b748f825774868463003700f0c878 ***

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

Use target_terminal_ours_for_output in MI

The MI code only does output, so leave raw/cooked mode alone, as well
as the SIGINT handler.  Restore terminal settings after output, while
at it.  Also, a couple events missed calling target_terminal_ours
before output, even.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* mi/mi-interp.c (mi_new_thread): Put
	target_terminal_ours_for_output in effect while outputting.
	(mi_thread_exit): Use target_terminal_ours_for_output instead of
	target_terminal_ours.
	(mi_record_changed, mi_inferior_added, mi_inferior_appeared)
	(mi_inferior_exit, mi_inferior_removed, mi_traceframe_changed)
	(mi_tsv_created, mi_tsv_deleted, mi_tsv_modified)
	(mi_breakpoint_created, mi_breakpoint_deleted)
	(mi_breakpoint_modified, mi_solib_loaded, mi_solib_unloaded)
	(mi_command_param_changed, mi_memory_changed)
	(report_initial_inferior): Use target_terminal_ours_for_output
	instead of target_terminal_ours.  Restore terminal settings.
	* mi/mi-main.c (mi_execute_command): Use
	target_terminal_ours_for_output instead of target_terminal_ours.
	Restore terminal settings.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use target_terminal_ours_for_output in infcmd.c
@ 2016-04-13  5:12 sergiodj+buildbot
  2016-04-13  5:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  5:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f8e3ef9dc4d803729a8f0e0cafb2c995b576c44e ***

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

Use target_terminal_ours_for_output in infcmd.c

We're only doing output here, so leave raw/cooked mode alone, as well
as the SIGINT handler.

No need to restore terminal settings, we'll set inferior modes on the
following resume.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* infcmd.c (post_create_inferior, prepare_one_step): Use
	target_terminal_ours_for_output instead of target_terminal_ours.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] target remote: Don't rely on immediate_quit (introduce quit handlers)
@ 2016-04-13  5:54 sergiodj+buildbot
  2016-04-13  9:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  5:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 048094accce2110432bf7d44c34acc17865cf85a ***

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

target remote: Don't rely on immediate_quit (introduce quit handlers)

remote.c is the last user of immediate_quit.  It's relied on to
immediately break the initial remote connection sync up, if the user
does Ctrl-C, assuming that was because the target isn't responding.
At that stage, since the connection isn't synced yet, disconnecting is
the only safe thing to do.  This commit reworks that, to not rely on
throwing from the SIGINT signal handler.

So, this commit:

- Introduces the concept of a "quit handler".  This is used to
  override what does the QUIT macro do when the quit flag is set.

- Makes the "struct serial" reachar / write code call QUIT in the
  partial read/write loops, so the current quit handler is invoked
  whenever a serial->read_prim / serial->write_prim returns EINTR.

- Makes the "struct serial" reachar / write code call
  interruptible_select instead of gdb_select, so that QUITs are
  detected in a race-free manner.

- Stops remote.c from setting immediate_quit during the initial
  connection.

- Instead, we install a custom quit handler whenever we're calling
  into the serial code.  This custom quit handler knows to immediately
  throw a quit when we're in the initial connection setup, and
  otherwise defer handling the quit/Ctrl-C request to later, when
  we're safely out of a packet command/response sequence.  This also
  is what is now responsible for handling "double Ctrl-C because
  target connection is stuck/wedged."

- remote.c no longer installs a specialized SIGINT handlers, and
  instead re-uses the quit flag.  Since we want to rely on the QUIT
  macro, the SIGINT handler must also set the quit.  And the easiest
  is just to not install custom SIGINT handler in remote.c.  Let the
  standard SIGINT handler do its job of setting the quit flag.
  Centralizing SIGINT handlers seems like a good thing to me, anyway.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* defs.h (quit_handler_ftype, quit_handler)
	(make_cleanup_override_quit_handler, default_quit_handler): New.
	(QUIT): Adjust comments.
	* event-top.c (default_quit_handler): New function.
	(quit_handler): New global.
	(struct quit_handler_cleanup_data): New.
	(restore_quit_handler, restore_quit_handler_dtor)
	(make_cleanup_override_quit_handler): New.
	(async_request_quit): Call QUIT.
	* remote.c (struct remote_state) <got_ctrlc_during_io>: New field.
	(async_sigint_remote_twice_token, async_sigint_remote_token):
	Delete.
	(remote_close): Update comments.
	(remote_start_remote): Don't set immediate_quit.  Set starting_up
	earlier.
	(remote_serial_quit_handler, remote_unpush_and_throw): New
	functions.
	(remote_open_1): Clear got_ctrlc_during_io.  Set
	remote_async_terminal_ours_p unconditionally.
	(async_initialize_sigint_signal_handler)
	(async_handle_remote_sigint, async_handle_remote_sigint_twice)
	(remote_check_pending_interrupt, async_remote_interrupt)
	(async_remote_interrupt_twice)
	(async_cleanup_sigint_signal_handler, ofunc)
	(sync_remote_interrupt, sync_remote_interrupt_twice): Delete.
	(remote_terminal_inferior, remote_terminal_ours): Remove async
	checks.
	(remote_wait_as): Don't install a SIGINT handler in sync mode.
	(readchar, remote_serial_write): Override the quit handler with
	remote_serial_quit_handler.
	(getpkt_or_notif_sane_1): Don't call QUIT.
	(initialize_remote_ops): Don't install
	remote_check_pending_interrupt.
	(_initialize_remote): Don't create async_sigint_remote_token and
	async_sigint_remote_twice_token.
	* ser-base.c (ser_base_wait_for): Call QUIT and use
	interruptible_select.
	(ser_base_write): Call QUIT.
	* ser-go32.c (dos_readchar, dos_write): Call QUIT.
	* ser-unix.c (wait_for): Don't use VTIME.  Always take the
	gdb_select path, but call QUIT and interruptible_select.
	* utils.c (maybe_quit): Call the current quit handler.  Don't call
	target_check_pending_interrupt.
	(defaulted_query, prompt_for_continue): Override the quit handler
	with the default quit handler.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate immediate_quit
@ 2016-04-13  6:32 sergiodj+buildbot
  2016-04-13 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  6:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 585a46a2d01d25181926329f258f1d1374f93e99 ***

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

Eliminate immediate_quit

This finally gets rid of immediate_quit (and surrounding
infrustruture), as nothing sets it anymore.

gdb_call_async_signal_handler was only necessary in order to handle
immediate_quit.  We can just call mark_async_signal_handler directly
on all hosts now.

In turn, we can clean up mingw-hdep.c's gdb_select a bit, as
sigint_event / sigint_handler is no longer needed.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* defs.h: Update comments on SIGINT handling.
	(immediate_quit): Delete declaration.
	* event-loop.c (call_async_signal_handler): Delete.
	* event-loop.h (call_async_signal_handler): Delete declaration.
	(mark_async_signal_handler): Update comments.
	(gdb_call_async_signal_handler): Delete declaration.
	* event-top.c (handle_sigint): Call mark_async_signal_handler
	instead of gdb_call_async_signal_handler.
	* exceptions.c (prepare_to_throw_exception): Remove reference to
	immediate_quit.
	(exception_fprintf): Remove comments about immediate_quit.
	* mingw-hdep.c (sigint_event, sigint_handler): Delete.
	(gdb_select): Don't wait on sigint_event.
	(gdb_call_async_signal_handler): Delete.
	(_initialize_mingw_hdep): Delete.
	* posix-hdep.c (gdb_call_async_signal_handler): Delete.
	* utils.c (immediate_quit): Delete.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate target_check_pending_interrupt
@ 2016-04-13  6:59 sergiodj+buildbot
  2016-04-13 10:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  6:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cfd0fbddb025d36228d02fe23e06039acc6104e4 ***

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

Eliminate target_check_pending_interrupt

This is no longer called anywhere.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* target.c (target_check_pending_interrupt): Delete.
	* target.h (struct target_ops) <to_check_pending_interrupt>:
	Remove method.
	(target_check_pending_interrupt): Remove declaration.
	* target-delegates.c: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Eliminate prepare_to_throw_exception
@ 2016-04-13  7:30 sergiodj+buildbot
  2016-04-13 11:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2afc13ff80492278154c0f2156a9d32dd5ba675a ***

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

Eliminate prepare_to_throw_exception

No longer necessary.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* common/common-exceptions.c (exception_rethrow): Remove
	prepare_to_throw_exception call.
	* common/common-exceptions.h (prepare_to_throw_exception): Delete
	declaration.
	* exceptions.c (prepare_to_throw_exception): Delete.

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

	* utils.c (prepare_to_throw_exception): Delete.


^ permalink raw reply	[flat|nested] 2163+ 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-13  8:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use setjmp/longjmp for TRY/CATCH instead of sigsetjmp/siglongjmp
@ 2016-04-13  8:30 sergiodj+buildbot
  2016-04-13 11:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  8:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 173981bc49c9e8fce9271cb47714952dbe2ec627 ***

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

Use setjmp/longjmp for TRY/CATCH instead of sigsetjmp/siglongjmp

Now that we don't ever throw GDB exceptions from signal handlers [1],
we can switch to have TRY/CATCH implemented in terms of plain
setjmp/longjmp instead of sigsetjmp/siglongjmp.

In https://sourceware.org/ml/gdb-patches/2015-02/msg00114.html, Yichun
Zhang mentions a 11%/14%+ speedup in his GDB python scripts with a
patch that did something similar to only a specific set of TRY/CATCH
calls.

[1] - https://sourceware.org/ml/gdb-patches/2016-03/msg00351.html

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* common/common-exceptions.c (struct catcher) <buf>: Now a
	'jmp_buf' instead of SIGJMP_BUF.
	(exceptions_state_mc_init): Change return type to 'jmp_buf'.
	(throw_exception): Use longjmp instead of SIGLONGJMP.
	* common/common-exceptions.h: Include <setjmp.h> instead of
	"gdb_setjmp.h".
	(exceptions_state_mc_init): Change return type to 'jmp_buf'.
	[GDB_XCPT == GDB_XCPT_SJMP] (TRY): Use setjmp instead of
	SIGSETJMP.
	* cp-support.c: Include "gdb_setjmp.h".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] TUI: GC tui_target_has_run
@ 2016-04-13  9:19 sergiodj+buildbot
  2016-04-13  9:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a12ac51333cf97f4da0597d049cc694b4535e7dd ***

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

TUI: GC tui_target_has_run

Nothing actually uses this global.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* tui/tui-hooks.c (tui_target_has_run): Delete.
	(tui_about_to_proceed): Delete.
	(tui_about_to_proceed_observer): Delete.
	(tui_install_hooks, tui_remove_hooks): Don't install/remove an
	about_to_proceed observer.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [C++] Switch TRY/CATCH to real C++ try/catch by default again
@ 2016-04-13 12:28 sergiodj+buildbot
  2016-04-13 12:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 12:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f41b320edb93e2c0cdd76f218811e197156b052 ***

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

[C++] Switch TRY/CATCH to real C++ try/catch by default again

Now that we don't ever throw GDB exceptions from signal handlers [1],
we can switch back to having TRY/CATCH implemented in terms of C++
try/catch instead of sigjmp/longjmp.

[1] - https://sourceware.org/ml/gdb-patches/2016-03/msg00351.html

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2016-04-12  Pedro Alves  <palves@redhat.com>

	* common/common-exceptions.h (GDB_XCPT_TRY): Update comment.
	[__cplusplus] (GDB_XCPT): Define as GDB_XCPT_TRY.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix typo in ftrace.exp condition testing
@ 2016-04-13 13:01 sergiodj+buildbot
  2016-04-13 13:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 13:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ce09462959bbc2af15e8088c5e54c8668cf8ccb ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 8ce09462959bbc2af15e8088c5e54c8668cf8ccb

Fix typo in ftrace.exp condition testing

This obvious patch replaces "ond" wiht "cond" as the test prefix for
conditional tests.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] btrace: fix test build error in gdb.btrace/instruction_history.c
@ 2016-04-13 13:43 sergiodj+buildbot
  2016-04-13 14:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 13:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e26b7e41652e288dfdb4c48121bba470c4774150 ***

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

btrace: fix test build error in gdb.btrace/instruction_history.c

On systems with a newer version of GCC the gdb.btrace/instruction_history.exp
test fails to build like this:

    Running .../gdb.btrace/instruction_history.exp ...
    gdb compile failed, .../gdb.btrace/instruction_history.c:
    In function 'main': .../gdb.btrace/instruction_history.c:24:3: warning:
    implicit declaration of function 'loop' [-Wimplicit-function-declaration]
       loop ();
       ^

Declare loop to fix it.

testsuite/
	* gdb.btrace/instruction_history.c (loop): Add declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR remote/19840: gdb crashes on reverse-stepi
@ 2016-04-13 14:46 sergiodj+buildbot
  2016-04-13 15:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 14:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a00c80277a54abe0b286a6e8babc8fe50120205 ***

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

Fix PR remote/19840: gdb crashes on reverse-stepi

Reverse debugging against a remote target that does reverse debugging
itself (with the bs/bc packets) always trips on:

 (gdb) target remote localhost:...
 (gdb) reverse-stepi
 ../../gdb/target.c:602: internal-error: default_execution_direction: to_execution_direction must be implemented for reverse async

I missed adding a to_execution_direction method to remote.c in commit
3223143295b5 (Adds target_execution_direction to make record targets
support async mode), GDB 7.4 time.  Later, GDB 7.8 switched to
target-async on by default, making the regression user-visible by
default too.

Fix is simply to add the missing to_execution_direction implementation
to target remote.

Tested by Andi Kleen against Simics.

gdb/ChangeLog:
2016-04-13  Pedro Alves  <palves@redhat.com>

	PR remote/19840
	* remote.c (struct remote_state) <last_resume_exec_dir>: New
	field.
	(new_remote_state): Default last_resume_exec_dir to EXEC_FORWARD.
	(remote_open_1): Reset last_resume_exec_dir to EXEC_FORWARD.
	(remote_resume): Store the last execution direction.
	(remote_execution_direction): New function.
	(init_remote_ops): Install it as to_execution_direction target_ops
	method.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdbserver-base.exp: Copy file to standard output directory in ${board}_download
@ 2016-04-13 14:51 sergiodj+buildbot
  2016-04-13 16:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 14:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c4c4aeba6e32e3b7d0a4fbda4494b17883dd9c4 ***

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

gdbserver-base.exp: Copy file to standard output directory in ${board}_download

gdbserver-base.exp is used as the base for both native-gdbserver.exp and
native-extended-gdbserver.exp.  (Despite its name, it should really be
considered as a "local-gdbserver-base", as it's not really appropriate to
implement a remote gdbserver board.)

Currently, the _download procedure is implemented as a no-op (it returns
the source file path).  Because of the SONAME change, The fast
tracepoint tests now require the executable and the IPA
(libinproctrace.so) to be located in the same directory (see [1]).  When
using the native-gdbserver board, because _download returns the original
file path, the executable does not end up in the same directory as the
library, and it fails to execute.

In more general terms, with the recent changes, the testsuite now
assumes that when it does

  ${board}_download <source path 1> <destination path 1>
  ${board}_download <source path 2> <destination path 2>

where the destination paths are relative (generally just the file name),
both files will end up in the same base directory.  That assumption does
not hold for the current implementation in gdbserver-base.exp.

The proper fix would be to make native-gdbserver non-remote, so that
gdb_remote_download would not call DejaGnu's remote_download (see [2]).
We could then get rid of ${board}_download in gdbserver-base.exp.
However, that will likely take some time to complete.  In the mean time,
in order to make the fast tracepoint tests pass, we can simply copy the
file to the standard output directory.  Basically, it just mimics what
gdb_remote_download would do if the board wasn't flagged as remote.

Note that I missed these failures originally because I had a
libinproctrace.so in /usr/local/lib.  So, even though libinproctrace.so
wasn't copied to the test output directory, it did find the one in
/usr/local/lib.  It would be nice to find a way to protect against this,
as it could easily happen again...

Regtested with unix, native-gdbserver and native-extended-gdbserver, and
didn't see anything notable, except the ftrace tests now passing for
native-gdbserver.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=6e774b13c3b81ac2599812adf058796948ce7e95
[2] https://sourceware.org/ml/gdb-patches/2016-04/msg00112.html

gdb/testsuite/ChangeLog:

	* boards/gdbserver-base.exp (${board}_download): Copy source file to
	standard output directory.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix disassembly of the V850's LD.BU instruction.
@ 2016-04-13 16:19 sergiodj+buildbot
  2016-04-13 16:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT accc018020dd329d99b50335ad168d35650b7f09 ***

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

Fix disassembly of the V850's LD.BU instruction.

	PR target/19937
opcode	* v850-opc.c (v850_opcodes): Correct masks for long versions of
	the LD.B and LD.BU instructions.

gas	* testsuite/gas/v850/pr19937.s: New test.
	* testsuite/gas/v850/pr19937.d: New test control file.
	* testsuite/gas/v850/basic.exp: Run the new test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix and improve comment in gdb_remote_download
@ 2016-04-13 17:17 sergiodj+buildbot
  2016-04-13 17:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 17:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8392fa22d69113602407281cbb364f29557c39b1 ***

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

Fix and improve comment in gdb_remote_download

This patch fixes the current comment in gdb_remote_download, which is
false (the "except if that's already where it is" part).  It also
improves it, by explaining why pass TOFILE through standard_output_file,
even it is an absolute path.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (gdb_remote_download): Fix and extend comment.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Debugging without a binary (regression)
@ 2016-04-13 20:40 sergiodj+buildbot
  2016-04-13 20:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 57d1de9cf3ba8dd98eaf4a3d131c05ec4c49779d ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 57d1de9cf3ba8dd98eaf4a3d131c05ec4c49779d

Debugging without a binary (regression)

When we attempt to debug a process using GDBserver in standard remote mode
without a symbol file on GDB's end, we may run into an issue where GDB cuts
the connection attempt short due to an error. The error is caused by not
being able to open a symbol file, like so:

--

(gdb) set sysroot
(gdb) tar rem :2345
Remote debugging using :2345
/proc/23769/exe: Permission denied.
(gdb) i r
The program has no registers now.
(gdb)

It should've been like this:

(gdb) set sysroot
(gdb) tar rem :2345
Remote debugging using :2345
warning: /tmp/symbol-file: Permission denied.
0xf7ddb2d0 in ?? ()
(gdb) i r
eax            0x0  0
ecx            0x0  0
edx            0x0  0
ebx            0x0  0
esp            0xffffdfa0 0xffffdfa0
ebp            0x0  0x0
esi            0x0  0
edi            0x0  0
eip            0xf7ddb2d0 0xf7ddb2d0
eflags         0x200  [ IF ]
cs             0x33 51
ss             0x2b 43
ds             0x0  0
es             0x0  0
fs             0x0  0
gs             0x0  0
(gdb)

This is caused by a couple of function calls within exec_file_locate_attach
that can potentially throw errors.

The following patch guards both exec_file_attach and symbol_file_add_main to
prevent the errors from disrupting the connection process.

There was also a case where native GDB tripped on this problem, but it was
mostly fixed by bf74e428bca61022bd5cdf6bf28789a184748b4d.

Regression-tested on x86-64/Ubuntu.

gdb/ChangeLog:

2016-04-13  Luis Machado  <lgustavo@codesourcery.com>

	* exec.c (exec_file_locate_attach): Guard a couple functions
	that can throw errors.
	(exception_print_same): New helper function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Test GDB connection to GDBserver with no symbol files
@ 2016-04-13 21:23 sergiodj+buildbot
  2016-04-13 21:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-13 21:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d49b1d0b08426c650a69a6c4971cba56a4e6af1 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 7d49b1d0b08426c650a69a6c4971cba56a4e6af1

Test GDB connection to GDBserver with no symbol files

This test exercises the scenarios where we attempt to connect GDB to GDBserver
in standard remote mode, query the symbol file path, attempt to open said
symbol file on GDB's end and fail, causing the connection to drop abruptly.

Regression-tested on x86-64/Ubuntu.

With an unpatched GDB we should see this:

FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=permission: connection to GDBserver succeeded (the program is no longer running)
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=: action=delete: connection to GDBserver succeeded (the program is no longer running)
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=permission: connection to GDBserver succeeded (the program is no longer running)
FAIL: gdb.server/connect-with-no-symbol-file.exp: sysroot=target:: action=delete: connection to GDBserver succeeded (the program is no longer running)

A patched GDB should have full passes.

gdb/testsuite/ChangeLog:

2016-04-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.server/connect-with-no-symbol-file.c: New file.
	* gdb.server/connect-with-no-symbol-file.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid implicit float <-> integer conversion warnings
@ 2016-04-14 12:27 sergiodj+buildbot
  2016-04-14 12:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-14 12:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aebf07fc1483b0bda9bbc1c0b7d7184b7e840677 ***

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

Avoid implicit float <-> integer conversion warnings

On:

 $ uname -a
 NetBSD gcc70.fsffrance.org 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov  6 13:19:33 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64

With:

 $ g++ -v
 Using built-in specs.
 Target: x86_64--netbsd
 Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
 Thread model: posix
 gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

I saw:

 ../../src/gdb/ada-typeprint.c: In function 'void print_fixed_point_type(type*, ui_file*)':
 ../../src/gdb/ada-typeprint.c:366: warning: passing 'float' for argument 2 to 'DOUBLEST ada_fixed_to_float(type*, LONGEST)'

 ../../src/gdb/value.c: In function 'LONGEST unpack_long(type*, const gdb_byte*)':
 ../../src/gdb/value.c:2833: warning: converting to 'LONGEST' from 'DOUBLEST'
 ../../src/gdb/value.c:2838: warning: converting to 'LONGEST' from 'DOUBLEST'

gdb/ChangeLog:
2016-04-14  Pedro Alves  <palves@redhat.com>

	* ada-typeprint.c (print_fixed_point_type): Don't pass float as
	argument to function expecting LONGEST.
	* value.c (unpack_long): Add casts to LONGEST.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Replace "link" with "sh_link"
@ 2016-04-14 15:50 sergiodj+buildbot
  2016-04-14 16:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-14 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7634c4e679156fc6a93ccb8b33898f5cf41eb233 ***

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

Replace "link" with "sh_link"

On Linux/x86, GCC 4.2 issues a warning:

bfd/elf.c: In function _bfd_elf_copy_private_bfd_data:
bfd/elf.c:1334: warning: declaration of link shadows a global declaration
/usr/include/unistd.h:757: warning: shadowed declaration is here
make[6]: *** [elf.lo] Error 1

Replace "link" with "sh_link" fixes it.

	* elf.c (_bfd_elf_copy_private_bfd_data): Replace "link" with
	"sh_link".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes/arc: Move instruction length logic to new function
@ 2016-04-14 16:55 sergiodj+buildbot
  2016-04-14 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-14 16:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cb040366b36ca624874e036805ca1fca740dae9f ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: cb040366b36ca624874e036805ca1fca740dae9f

opcodes/arc: Move instruction length logic to new function

Move the logic that calculates the instruction length out to a new
function.  Restructure the code to make it simpler.

opcodes/ChangeLog:

	* arc-dis.c (arc_insn_length): New function.
	(print_insn_arc): Use arc_insn_length, change insnLen to unsigned.
	(find_format): Change insnLen parameter to unsigned.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] bfd/arc: Rename enum entries to avoid conflicts
@ 2016-04-14 16:59 sergiodj+buildbot
  2016-04-14 17:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-14 16:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 33cbe6c07ed7e66d65c106cffb496eff5d7e8fb5

bfd/arc: Rename enum entries to avoid conflicts

In bfd/elf32-arc.c an enum is created that contains entries with generic
names like 'NONE' and 'OFF'.  This has been fine for now, but I had a
need to include opcode/arc.h into bfd/elf32-arc.c.  Unfortunately
opcode/arc.h includes a different enum with identical generic names.

Given that changing the enum in the header file could mean wide-ranging
changes, while changing the enum in the .c file is limited to only
changing the one file, I've added a prefix to the enum in the .c file.

This commit does not add the new include, that will come later.  There
should be no functional change with this commit.

bfd/ChangeLog:

	* elf32-arc.c (tls_got_entries): Add 'TLS_GOT_' prefix to all
	entries.
	(elf_arc_relocate_section): Update enum uses.
	(elf_arc_check_relocs): Likewise.
	(elf_arc_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] arc/nps400 : New cmem instructions and associated relocation
@ 2016-04-14 17:59 sergiodj+buildbot
  2016-04-14 17:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-14 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b0c052e456421a3c6d7b4c98be3ad0b3bd2ad27 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 4b0c052e456421a3c6d7b4c98be3ad0b3bd2ad27

arc/nps400 : New cmem instructions and associated relocation

Add support for arc/nps400 cmem instructions, these load and store
instructions are hard-wired to access "0x57f00000 + 16-bit-offset".

Supporting this relocation required some additions to the arc relocation
handling in the bfd library, as well as the standard changes required to
add a new relocation type.

There's a test of the new instructions in the assembler, and a test of
the relocation in the linker.

bfd/ChangeLog:

	* reloc.c: Add BFD_RELOC_ARC_NPS_CMEM16 entry.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elf32-arc.c: Add 'opcode/arc.h' include.
	(struct arc_relocation_data): Add symbol_name.
	(arc_special_overflow_checks): New function.
	(arc_do_relocation): Use arc_special_overflow_checks, reindent as
	required, add an extra comment.
	(elf_arc_relocate_section): Setup symbol_name in reloc_data.

gas/ChangeLog:

	* testsuite/gas/arc/nps400-3.d: New file.
	* testsuite/gas/arc/nps400-3.s: New file.

include/ChangeLog:

	* elf/arc-reloc.def: Add ARC_NPS_CMEM16 reloc.
	* opcode/arc.h (NPS_CMEM_HIGH_VALUE): Define.

ld/ChangeLog:

	* testsuite/ld-arc/arc.exp: New file.
	* testsuite/ld-arc/nps-1.s: New file.
	* testsuite/ld-arc/nps-1a.d: New file.
	* testsuite/ld-arc/nps-1b.d: New file.
	* testsuite/ld-arc/nps-1b.err: New file.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Add xldb, xldw, xld, xstb, xstw, and xst
	instructions.
	* arc-opc.c (insert_nps_cmem_uimm16): New function.
	(extract_nps_cmem_uimm16): New function.
	(arc_operands): Add NPS_XLDST_UIMM16 operand.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM] minor opt in thumb_stack_frame_destroyed_p
@ 2016-04-15 14:55 sergiodj+buildbot
  2016-04-15 15:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-15 14:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 415fa612334afb70600c2a7dbd2c2ff56ebbc4f3 ***

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

[ARM] minor opt in thumb_stack_frame_destroyed_p

thumb_stack_frame_destroyed_p scans the instructions from PC to the
end of the function, but if PC is far from the end of pc, we don't
have to scan, because PC should be in epilogue if it is still
far from the end of the function.  The criterion I use here is 16
bytes, which is more than 4 instructions.

Regression tested on aarch64-linux with mutli-arch debug.

gdb:

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

	* arm-tdep.c (thumb_stack_frame_destroyed_p): Return zero if
	PC is far from the end of function.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS/Linux: Also recognize TRAP_BRKPT and TRAP_HWBKPT
@ 2016-04-15 23:19 sergiodj+buildbot
  2016-04-15 23:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-15 23:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77770d832135a252d22eb95166c5ccfd40ca6a69 ***

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

MIPS/Linux: Also recognize TRAP_BRKPT and TRAP_HWBKPT

This makes the MIPS Linux backends recognize TRAP_BRKPT and
TRAP_HWBKPT in siginfo.si_code in addition to SI_KERNEL, since Linux
4.6 now reports the finer-grained si_code values too.

Refs:
 https://sourceware.org/ml/gdb-patches/2016-02/msg00756.html
 https://sourceware.org/ml/gdb-patches/2016-04/msg00090.html

On kernels that report SI_KERNEL (<= 4.5), we'll enter the "ambiguous"
path of save_stop_reason:

	  if (GDB_ARCH_IS_TRAP_BRKPT (siginfo.si_code)
	      && GDB_ARCH_IS_TRAP_HWBKPT (siginfo.si_code))
	    {
	      /* The si_code is ambiguous on this arch -- check debug
		 registers.  */
	      if (!check_stopped_by_watchpoint (lp))
		lp->stop_reason = TARGET_STOPPED_BY_SW_BREAKPOINT;
	    }

while on kernels that report the finer-grained si_code values (>= 4.6),
we'll enter the corresponding branches:

	  else if (GDB_ARCH_IS_TRAP_BRKPT (siginfo.si_code))
	    {
	    }
	  else if (GDB_ARCH_IS_TRAP_HWBKPT (siginfo.si_code))
	    {
	      ...

gdb/ChangeLog:
2016-04-15  Pedro Alves  <palves@redhat.com>

	* nat/linux-ptrace.h [__mips__] (GDB_ARCH_IS_TRAP_BRKPT): Also
	accept TRAP_BRKPT.
	 [__mips__] (GDB_ARCH_IS_TRAP_HWBKPT): Also accept TRAP_HWBKPT.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Regenerate Makefile.in/aclocal.m4 automake 1.11.6
@ 2016-04-16  0:51 sergiodj+buildbot
  2016-04-16  1:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-16  0:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6fd8e7c249dcefd937897f743e886751adb90c90 ***

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

Regenerate Makefile.in/aclocal.m4 automake 1.11.6

bfd/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.
	* doc/Makefile.in: Likewise.

binutils/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.
	* doc/Makefile.in: Likewise.

gas/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.
	* doc/Makefile.in: Likewise.

gold/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.
	* testsuite/Makefile.in: Likewise.

gprof/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.

ld/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.

opcodes/

	* Makefile.in: Regenerated with automake 1.11.6.
	* aclocal.m4: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb C++ build when libipt is available
@ 2016-04-16  1:25 sergiodj+buildbot
  2016-04-16  1:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-16  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7abe1019dbff66b6abfb32df90d0c13328710ee ***

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

Fix gdb C++ build when libipt is available

With libipt's headers installed, a build with --enable-build-with-cxx
fails with:

 .../src/gdb/btrace.c: In function btrace_insn_flag pt_btrace_insn_flags(const pt_insn*):
 .../src/gdb/btrace.c:734:33: error: invalid conversion from int to btrace_insn_flag [-fpermissive]
    enum btrace_insn_flag flags = 0;
				  ^
 .../src/gdb/btrace.c:737:11: error: invalid conversion from int to btrace_insn_flag [-fpermissive]
      flags |= BTRACE_INSN_FLAG_SPECULATIVE;
	    ^

gdb/ChangeLog:
2016-04-15  Pedro Alves  <palves@redhat.com>

	* btrace.c (pt_btrace_insn_flags): Change return type to
	btrace_insn_flags.  Use btrace_insn_flags for local.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb build with --enable-build-with-cxx --disable-nls
@ 2016-04-16  2:10 sergiodj+buildbot
  2016-04-16  2:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-16  2:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b2798cc9716f45f752ea03411b6f9c9afc17cc6 ***

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

Fix gdb build with --enable-build-with-cxx --disable-nls

Compiling gdb with --enable-build-with-cxx --disable-nls, we get:

 .../src/gdb/ada-lang.c:7657:16: error: invalid conversion from const char* to char* [-fpermissive]
	type_str = (type != NULL
		 ^
 In file included from .../src/gdb/common/common-defs.h:67:0,
		  from .../src/gdb/defs.h:28,
		  from .../src/gdb/ada-lang.c:21:
 .../src/gdb/common/gdb_locale.h:40:27: error: invalid conversion from const char* to char* [-fpermissive]
  # define _(String) (String)
			    ^
 .../src/gdb/ada-lang.c:7730:46: note: in expansion of macro _
	char *name_str = name != NULL ? name : _("<null>");
					       ^
 Makefile:1140: recipe for target 'ada-lang.o' failed

gdb/ChangeLog:
2016-04-15  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_lookup_struct_elt_type): Constify 'type_str' and
	'name_str' locals.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] gdb/ada-exp.y: Remap yydefred
@ 2016-04-16  2:42 sergiodj+buildbot
  2016-04-16  3:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-16  2:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58484447ed8e1c64bbd73f224c8c9452a7420beb ***

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

gdb/ada-exp.y: Remap yydefred

On:

 $ uname -a
 NetBSD gcc70.fsffrance.org 5.1 NetBSD 5.1 (GENERIC) #0: Sat Nov  6 13:19:33 UTC 2010  builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/amd64/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64

The link fails with:

 (...)
 d-exp.o: In function `parse_number':
 ../../src/gdb/d-exp.y:762: multiple definition of `yydefred'
 ada-exp.o:/home/palves/gdb/build/gdb/ada-lex.c:925: first defined here
 ld: Warning: size of symbol `yydefred' changed from 464 in ada-exp.o to 336 in d-exp.o
 Makefile:1404: recipe for target 'gdb' failed

NetBSD's yacc uses a "yydefred" symbol that we missed renaming in the
Ada parser.  All other gdb parsers do this already.

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

	* ada-exp.y (yydefred): Define as ada_yydefred.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] testsuite: Support detection of Intel compilers via test_compiler_version.
@ 2016-04-18 12:17 sergiodj+buildbot
  2016-04-18 12:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-18 12:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a14d1f4dfc08edc8fe92b17b36a55d89203fb89f ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: a14d1f4dfc08edc8fe92b17b36a55d89203fb89f

testsuite: Support detection of Intel compilers via test_compiler_version.

Add Intel specific preprocessor macros to query the version of the compiler.

2016-04-18  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Testsuite/Changelog:
	* lib/compiler.c: Add Intel specific preprocessor macros.
	* lib/compiler.cc: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Testsuite: Fix compiling of shared libraries with ICC.
@ 2016-04-18 13:05 sergiodj+buildbot
  2016-04-18 13:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-18 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b9b09e9020aa32ade1a86461804a1950d967abb ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 9b9b09e9020aa32ade1a86461804a1950d967abb

Testsuite: Fix compiling of shared libraries with ICC.

We are missing "-fpic" flag when compiling shared libraries with ICC.

2016-04-18  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Testsuite/Changelog:
	* lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] fortran: Testsuite, fix different type naming across compilers.
@ 2016-04-18 13:32 sergiodj+buildbot
  2016-04-18 14:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-18 13:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c13f7e559afe5f973a59311b0e401296c48d96c ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 0c13f7e559afe5f973a59311b0e401296c48d96c

fortran: Testsuite, fix different type naming across compilers.

Gfortran and ifort have different names for data types.  Encapsulate
type names in a library to increase number of supported compilers.
gfortran -4.2 : int4
gfortran>=4.3 : integer(kind=4)
ifort         : INTEGER(4)

2016-04-18  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/testsuite/Changelog:
	* gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
	* gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
	* gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
	* gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
	* gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
	* gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
	* gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
	* lib/fortran.exp (fortran_int4): New procedure.
	(fortran_real4, fortran_real8, fortran_complex4): Likewise.
	(fortran_logical4): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix PR gdb/19250: ptrace prototype is not detected properly in C++ mode
@ 2016-04-18 17:00 sergiodj+buildbot
  2016-04-18 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-18 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b30624b65697a5f51bb7120c48686ab5506067f ***

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

Fix PR gdb/19250: ptrace prototype is not detected properly in C++ mode

The ptrace args/return types detection doesn't work properly in C++
mode, on non-GNU/Linux hosts.  For example, on gcc70 (NetBSD 5.1),
where the prototype is:

 int ptrace(int, __pid_t, void*, int);

configure misdetects it as:

 $ grep PTRACE_TYPE config.h
 #define PTRACE_TYPE_ARG1 int
 #define PTRACE_TYPE_ARG3 int *
 #define PTRACE_TYPE_ARG4 int
 /* #undef PTRACE_TYPE_ARG5 */
 #define PTRACE_TYPE_RET int

resulting in:

 ../../src/gdb/amd64bsd-nat.c: In function 'void amd64bsd_fetch_inferior_registers(target_ops*, regcache*, int)':
 ../../src/gdb/amd64bsd-nat.c:56: warning: dereferencing type-punned pointer will break strict-aliasing rules
 ../../src/gdb/amd64bsd-nat.c: In function 'void amd64bsd_store_inferior_registers(target_ops*, regcache*, int)':
 ../../src/gdb/amd64bsd-nat.c:104: warning: dereferencing type-punned pointer will break strict-aliasing rules
 ../../src/gdb/amd64bsd-nat.c:110: warning: dereferencing type-punned pointer will break strict-aliasing rules

We could address this [1], however despite ptrace.m4's claim:

 # Needs to be tested in C++ mode, to detect whether we need to cast
 # the first argument to enum __ptrace_request.

it appears that there's actually no need to test in C++ mode.  Always
running the ptrace tests in C mode works just the same on GNU/Linux.

I remember experimenting with several different ways to handle the
original issue back then, and maybe that was needed in some other
attempt and then I didn't realize it ended up not really necessary.

Confirmed that this fixes the NetBSD 5.1 C++ build, and confirmed that
C and C++ builds on Fedora 23 are unaffected.

[1] - https://sourceware.org/ml/gdb-patches/2016-04/msg00374.html

gdb/ChangeLog:
2016-04-18  Pedro Alves  <palves@redhat.com>

	* ptrace.m4 (GDB_AC_PTRACE): Don't run tests in C++ mode.
	* configure: Regenerate.

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

	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add target descriptions for AVX + MPX
@ 2016-04-19 14:07 sergiodj+buildbot
  2016-04-19 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b863f512dce3c2469cf40e4559fb571b1b01658 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 2b863f512dce3c2469cf40e4559fb571b1b01658

Add target descriptions for AVX + MPX

The current MPX target descriptions assume that MPX is always combined
with AVX, however that's not correct.  We can have machines with MPX
and without AVX; or machines with AVX and without MPX.

This patch adds new target descriptions for machines that support
both MPX and AVX, as duplicates of the existing MPX descriptions.

The following commit will remove AVX from the MPX-only descriptions.


2016-04-16  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* amd64-linux-tdep.c (features/i386/amd64-avx-mpx-linux.c):
	New include.
	(amd64_linux_core_read_description): Add case for
	 X86_XSTATE_AVX_MPX_MASK.
	(_initialize_amd64_linux_tdep): Call initialize_tdesc_amd64_avx_mpx_linux.
	* amd64-linux-tdep.h (tdesc_amd64_avx_mpx_linux): New definition.
	* amd64-tdep.c (features/i386/amd64-avx-mpx.c): New include.
	(amd64_target_description): Add case for  X86_XSTATE_AVX_MPX_MASK.
	(_initialize_amd64_tdep): Call initialize_tdesc_amd64_avx_mpx.
	* common/x86-xstate.h (X86_XSTATE_MPX_MASK): Remove AVX bits.
	(X86_XSTATE_AVX_MPX_MASK): New case.
	* features/Makefile (i386/i386-avx-mpx, i386/i386-avx-mpx-linux)
	(i386/amd64-avx-mpx, i386/amd64-avx-mpx-linux): New rules.
	(i386/i386-avx-mpx-expedite, i386/i386-avx-mpx-linux-expedite)
	(i386/amd64-avx-mpx-expedite, i386/amd64-avx-mpx-linux-expedite):
	New expedites.
	* i386-linux-tdep.c (features/i386/i386-avx-mpx-linux.c): New
	include.
	(i386_linux_core_read_description): Add case
	X86_XSTATE_AVX_MPX_MASK.
	(_initialize_i386_linux_tdep): Call
	initialize_tdesc_i386_avx_mpx_linux.
	* i386-linux-tdep.h (tdesc_i386_avx_mpx_linux): New include.
	* i386-tdep.c (features/i386/i386-avx-mpx.c): New include.
	(i386_target_description): Add case for X86_XSTATE_AVX_MPX_MASK.
	* x86-linux-nat.c (x86_linux_read_description): Add case for
	X86_XSTATE_AVX_MPX_MASK.
	* features/i386/amd64-avx-mpx-linux.xml: New file.
	* features/i386/i386-avx-mpx-linux.xml: New file.
	* features/i386/i386-avx-mpx.xml: New file.
	* features/i386/amd64-avx-mpx.xml: New file.
	* features/i386/amd64-avx-mpx-linux.c: Generated.
	* features/i386/amd64-avx-mpx.c: Generated.
	* features/i386/i386-avx-mpx-linux.c: Generated.
	* features/i386/i386-avx-mpx.c: Generated.
	* regformats/i386/amd64-avx-mpx-linux.dat: Generated.
	* regformats/i386/amd64-avx-mpx.dat: Generated.
	* regformats/i386/i386-avx-mpx-linux.dat: Generated.
	* regformats/i386/i386-avx-mpx.dat: Generated.

gdb/gdbserver/ChangeLog:

	* Makefile.in (clean): Add removal for i386-avx-mpx.c,
	i386-avx-mpx-linux.c, amd64-avx-mpx.c and amd64-avx-mpx-linux.c.
	(i386-avx-mpx.c, i386-avx-mpx-linux.c, amd64-avx-mpx.c)
	(amd64-avx-mpx-linux.c): New rules.
	(amd64-avx-mpx-linux-ipa.o, i386-avx-mpx-linux-ipa.o): New rule.
	* configure.srv (srv_i386_regobj): Add i386-avx-mpx.o.
	(srv_i386_linux_regobj): Add i386-avx-mpx-linux.o.
	(srv_amd64_regobj): Add amd64-avx-mpx.o.
	(srv_amd64_linux_regobj): Add amd64-avx-mpx-linux.o.
	(srv_i386_xmlfiles): Add i386/i386-avx-mpx.xml.
	(srv_amd64_xmlfiles): Add i386/amd64-avx-mpx.xml.
	(srv_i386_linux_xmlfiles): Add i386/i386-avx-mpx-linux.xml.
	(srv_amd64_linux_xmlfiles): Add i386/amd64-avx-mpx-linux.xml.
	(ipa_i386_linux_regobj): Add i386-avx-mpx-linux-ipa.o.
	(ipa_amd64_linux_regobj): Add amd64-avx-mpx-linux-ipa.o.
	* linux-x86-low.c (x86_linux_read_description): Add case for
	X86_XSTATE_AVX_MPX_MASK.
	(x86_get_ipa_tdesc_idx): Add cases for avx_mpx.
	(initialize_low_arch): Call init_registers_amd64_avx_mpx_linux and
	init_registers_i386_avx_mpx_linux.
	* linux-i386-ipa.c (get_ipa_tdesc): Add case for avx_mpx.
	(initialize_low_tracepoint): Call
	init_registers_i386_avx_mpx_linux.
	* linux-amd64-ipa.c (get_ipa_tdesc):  Add case for avx_mpx.
	(initialize_low_tracepoint): Call
	init_registers_amd64_avx_mpx_linux.
	* linux-x86-tdesc.h (X86_TDESC_AVX_MPX): New enum value.
	(init_registers_amd64_avx_mpx_linux, tdesc_amd64_avx_mpx_linux)
	(init_registers_i386_avx_mpx_linux, tdesc_i386_avx_mpx_linux): New
	declarations.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Re-factor (i386|amd64)mpx target descriptions.
@ 2016-04-19 14:47 sergiodj+buildbot
  2016-04-19 14:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 14:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f42bf748e417cf9120fc57d144b6eaaf3adda247 ***

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

Re-factor (i386|amd64)mpx target descriptions.

In the previous patch a new set of target descriptions
(i386|amd64)-avx-mpx were added  being same as the (i386|amd64)-mpx.
This patch removes AVX feature from  (i386|amd64)-mpx target
description set.

This way the (i386|amd64)avx_mpx(_linux|) set has AVX and MPX features
and (i386|amd64)mpx(_linux|) only MPX.

2016-04-14  Walfred Tedeschi  <walfred.tedeschi@intel.com>

	* features/i386/amd64-mpx-linux.xml: Remove AVX feature.
	* features/i386/amd64-mpx.xml: Remove AVX feature.
	* features/i386/i386-mpx-linux.xml: Remove AVX feature.
	* features/i386/i386-mpx.xml: Remove AVX feature.
	* features/i386/amd64-mpx-linux.c: Regenerate.
	* features/i386/amd64-mpx.c: Regenerate.
	* features/i386/i386-mpx-linux.c: Regenerate.
	* features/i386/i386-mpx.c: Regenerate.
	* regformats/i386/amd64-mpx-linux.dat: Regenerate.
	* regformats/i386/amd64-mpx.dat: Regenerate.
	* regformats/i386/i386-mpx-linux.dat: Regenerate.
	* regformats/i386/i386-mpx.dat: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] linux-record: Squash cases with identical handling
@ 2016-04-19 15:07 sergiodj+buildbot
  2016-04-19 15:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 15:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 73e6209faecc21516a981ed86a27b259f506098c ***

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

linux-record: Squash cases with identical handling

In record_linux_system_call there are some cases with identical
handling.  These are merged together to reduce code duplication.

gdb/ChangeLog:

	* linux-record.c (record_linux_system_call): Merge handling for
	readlink/recv/read and pipe/pipe2.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] * source.c (is_regular_file): New arg errno_ptr.
@ 2016-04-19 16:33 sergiodj+buildbot
  2016-04-19 16:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 16:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a55411b9ff672c73172fff98319eb87af5a5fb4c ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: a55411b9ff672c73172fff98319eb87af5a5fb4c

* source.c (is_regular_file): New arg errno_ptr.

gdb/ChangeLog:

	* source.c (is_regular_file): New arg errno_ptr.
	All callers updated.

gdb/testsuite/ChangeLog:

	* gdb.base/bad-file.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix copyright year, remove linux only test.
@ 2016-04-19 16:46 sergiodj+buildbot
  2016-04-19 17:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 85c10f77b70007a0c528bdc9dbba1add947b3085 ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: 85c10f77b70007a0c528bdc9dbba1add947b3085

Fix copyright year, remove linux only test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile.
@ 2016-04-19 17:34 sergiodj+buildbot
  2016-04-19 17:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 17:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d04c1a59f3b6ae23f16988961cd74b561ed6f8d6 ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: d04c1a59f3b6ae23f16988961cd74b561ed6f8d6

symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile.

gdb/ChangeLog:

	* symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile.
	All callers updated.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes/arc: Add more nps instructions
@ 2016-04-19 22:17 sergiodj+buildbot
  2016-04-19 22:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 22:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8f785f220bab3c17fc93445ac509495d00d5afe ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: c8f785f220bab3c17fc93445ac509495d00d5afe

opcodes/arc: Add more nps instructions

Add dctcp, dcip, dcet, and dcacl instructions.

gas/ChangeLog:

	* testsuite/gas/arc/nps400-4.d: New file.
	* testsuite/gas/arc/nps400-4.s: New file.
	* testsuite/gas/arc/nps400-5.d: New file.
	* testsuite/gas/arc/nps400-5.s: New file.

include/ChangeLog:

	* opcode/arc.h (insn_class_t): Add NET and ACL class.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Add dctcp, dcip, dcet, and dcacl instructions.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes/arc: Add yet more nps instructions
@ 2016-04-19 22:36 sergiodj+buildbot
  2016-04-19 22:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 22:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 537aefaf18444430df8126b474cf11ff7201b4c6 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 537aefaf18444430df8126b474cf11ff7201b4c6

opcodes/arc: Add yet more nps instructions

Add some more arc/nps400 instructions and the associated operands.
There's also a test added into the assembler.

gas/ChangeLog:

	* testsuite/gas/arc/nps400-6.d: New file.
	* testsuite/gas/arc/nps400-6.s: New file.

include/ChangeLog:

	* opcode/arc.h (MAX_INSN_ARGS): Increase 6 to 8.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
	fxorb, wxorb, shlb, shrb, notb, cntbb, div, mod, divm, and qcmp
	instructions.
	* arc-opc.c (insert_nps_bitop_size): Delete.
	(extract_nps_bitop_size): Delete.
	(MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Define, and use.
	(extract_nps_qcmp_m3): Define.
	(extract_nps_qcmp_m2): Define.
	(extract_nps_qcmp_m1): Define.
	(arc_flag_operands): Add F_NPS_SX, F_NPS_AR, F_NPS_AL.
	(arc_flag_classes): Add C_NPS_SX, C_NPS_AR_AL
	(arc_operands): Add NPS_SRC2_POS, NPS_SRC1_POS, NPS_ADDB_SIZE,
	NPS_ANDB_SIZE, NPS_FXORB_SIZ, NPS_WXORB_SIZ, NPS_R_XLDST,
	NPS_DIV_UIMM4, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, and
	NPS_QCMP_M3.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Cast the pointer assigned to ss_sp to char *.
@ 2016-04-19 23:24 sergiodj+buildbot
  2016-04-19 23:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 23:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f39c07acc8c4039534a9c6f1757de82afe66ecd5 ***

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

Cast the pointer assigned to ss_sp to char *.

FreeBSD versions older than 11.0 use char * as the type of ss_sp in
stack_t instead of the standards-defined void *.  C++ allows a char *
pointer to be converted to a void *, so it is safe to cast the return
value of xmalloc to char * if ss_sp is either a char * or void *.
Just always use the cast to char * since that is less ugly than having
to add a special case.

gdb/ChangeLog:

	* main.c (setup_alternate_signal_stack): Cast to char *.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
@ 2016-04-19 23:53 sergiodj+buildbot
  2016-04-20  0:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-19 23:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21002a635bf3da33367592e3a3ab3cce24fe5299 ***

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

Handle void * conversions in FreeBSD/x86 native code to fix C++ build.

gdb/ChangeLog:

	* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Change xstateregs
	to void *.
	(amd64bsd_store_inferior_registers): Likewise.
	* fbsd-nat.c (resume_one_thread_cb): Explicitly cast data to ptid_t *.
	(resume_all_threads_cb): Likewise.
	* i386bsd-nat.c (i386bsd_supply_gregset): Cast gregs to char *.
	(i386bsd_collect_gregset): Likewise.
	(i386bsd_fetch_inferior_registers): Change xstateregs to void *.
	(i386bsd_store_inferior_registers): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] change argument type to bfd_byte
@ 2016-04-20 11:27 sergiodj+buildbot
  2016-04-20 11:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 11:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b98e6871247e1ef764360f6d042254ce4af62ca4 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: b98e6871247e1ef764360f6d042254ce4af62ca4

change argument type to bfd_byte

We operate on the pointer's target as a set of bytes, and this avoids doing
arithmetic on void * which is undefined in ISO C.

bfd/ChangeLog:

2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Move ARM_CPSR_GREGNUM to arch/arm-linux.h
@ 2016-04-20 12:32 sergiodj+buildbot
  2016-04-20 12:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 12:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6885166d994162c92dc9053bdf2d87e67a452db3 ***

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

Move ARM_CPSR_GREGNUM to arch/arm-linux.h

This patch moves macro ARM_CPSR_GREGNUM to arch/arm-linux.h so that it
can be used in GDBserver side.

gdb:

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

	* arm-linux-tdep.h (ARM_CPSR_GREGNUM): Move it to ...
	* arch/arm-linux.h: ... here.

gdb/gdbserver:

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

	* linux-aarch32-low.c: Include "arch/arm-linux.h".
	(arm_fill_gregset): Use ARM_CPSR_GREGNUM rather than magic
	number 16.
	(arm_store_gregset): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check ELF relocs after opening all input files
@ 2016-04-20 13:16 sergiodj+buildbot
  2016-04-20 13:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 13:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d968975277ba280372002800c6c25bb1b29f496e ***

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

Check ELF relocs after opening all input files

Delaying checking ELF relocations until opening all input files so
that symbol information is final when relocations are checked.  This
is only enabled for x86 targets.

bfd/

	* elf-bfd.h (_bfd_elf_link_check_relocs): New.
	* elflink.c (_bfd_elf_link_check_relocs): New function.
	(elf_link_add_object_symbols): Call _bfd_elf_link_check_relocs
	if check_relocs_after_open_input is FALSE.

include/

	* bfdlink.h (bfd_link_info): Add check_relocs_after_open_input.

ld/

	* emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	New.
	* emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
	Set check_relocs_after_open_input to TRUE if
	CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
	(gld${EMULATION_NAME}_after_open): Call
	_bfd_elf_link_check_relocs on all inputs if
	check_relocs_after_open_input is TRUE.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Call _bfd_elf_create_ifunc_sections only for ifunc
@ 2016-04-20 13:35 sergiodj+buildbot
  2016-04-20 13:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 13:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 466ee2af4a927fc6aaaaa62b0abd3b0cff9bcef7 ***

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

Call _bfd_elf_create_ifunc_sections only for ifunc

Since x86 check_relocs is called after opening all input files, we
need to call _bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC
symbols.

	* elf32-i386.c (elf_i386_check_relocs): Call
	_bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC symbol.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Include arch/arm-linux.h in aarch32-linux-nat.c
@ 2016-04-20 14:26 sergiodj+buildbot
  2016-04-20 14:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8cef59a2e32816d5fbbe1cfebfca3e3d6abd4d33 ***

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

Include arch/arm-linux.h in aarch32-linux-nat.c

Fix the compilation failure by including arch/arm-linux.h in
aarch32-linux-nat.c.

gdb:

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

	* aarch32-linux-nat.c: Include "arch/arm-linux.h".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors.
@ 2016-04-20 17:31 sergiodj+buildbot
  2016-04-20 17:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 17:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c739336e5aadd6670909059fba889f50caa9cea ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: 6c739336e5aadd6670909059fba889f50caa9cea

symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors.

	* symmisc.c (dump_symtab_1): Print owning compunit for identical
	blockvectors.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Check run-time R_X86_64_32 relocation overflow
@ 2016-04-20 18:32 sergiodj+buildbot
  2016-04-20 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 18:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 338c190a92871c063847caef51bdc066372d4550 ***

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

Check run-time R_X86_64_32 relocation overflow

Since elf_x86_64_check_relocs is called after opening all input files,
we can detect dynamic R_X86_64_32 relocation overflow there.

bfd/

	PR ld/19969
	* elf64-x86-64.c (check_relocs_failed): New.
	(elf_x86_64_need_pic): Moved before elf_x86_64_check_relocs.
	Support relocation agaist local symbol.  Set check_relocs_failed.
	(elf_x86_64_check_relocs): Use elf_x86_64_need_pic.  Check
	R_X86_64_32 relocation overflow.
	(elf_x86_64_relocate_section): Skip if check_relocs failed.
	Update one elf_x86_64_need_pic and remove one elf_x86_64_need_pic.

ld/

	PR ld/19969
	* testsuite/ld-x86-64/pr19969.d: New file.
	* testsuite/ld-x86-64/pr19969a.S: Likewise.
	* testsuite/ld-x86-64/pr19969b.S: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix "incompatible pointer type" warning in gdb/aarch64-tdep.c
@ 2016-04-20 22:24 sergiodj+buildbot
  2016-04-20 22:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 22:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9436c7c71f13df84182371c6b2fb6e356051d14 ***

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

Fix "incompatible pointer type" warning in gdb/aarch64-tdep.c

Fixes, with x86_64-apple-darwin15-gcc (gcc 5.3.0):

 .../src/gdb/aarch64-tdep.c: In function 'aarch64_record_load_store':
 .../src/gdb/aarch64-tdep.c:3479:67: error: passing argument 3 of 'regcache_raw_read_unsigned' from incompatible pointer type [-Werror=incompatible-pointer-types]
		       bits (aarch64_insn_r->aarch64_insn, 16, 20), &reg_rm_val);
								    ^
 In file included from .../src/gdb/regcache.h:23:0,
		  from .../src/gdb/gdbarch.h:69,
		  from .../src/gdb/defs.h:620,
		  from .../src/gdb/aarch64-tdep.c:21:
 .../src/gdb/common/common-regcache.h:60:29: note: expected 'ULONGEST * {aka long unsigned int *}' but argument is of type 'uint64_t * {aka long long unsigned int *}'
  extern enum register_status regcache_raw_read_unsigned
			      ^

gdb/ChangeLog:
2016-04-20  Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c (aarch64_record_load_store): Change type of
	'reg_rm_val' local to ULONGEST.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix host signal vs gdb signal mixup in gdb/darwin-nat.c
@ 2016-04-20 22:56 sergiodj+buildbot
  2016-04-20 23:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-20 22:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ae0055212a4835793815dbd8fa120d8c63fc7e8 ***

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

Fix host signal vs gdb signal mixup in gdb/darwin-nat.c

Building in C++ mode caught a bug here:

 .../src/gdb/darwin-nat.c: In function 'ptid_t darwin_decode_message(mach_msg_header_t*, darwin_thread_t**, inferior**, target_waitstatus*)':
 .../src/gdb/darwin-nat.c:1016:25: error: invalid conversion from 'int' to 'gdb_signal' [-fpermissive]
      status->value.sig = WTERMSIG (wstatus);
			  ^

gdb/ChangeLog:
2016-04-20  Pedro Alves  <palves@redhat.com>

	* darwin-nat.c (darwin_decode_message): Use gdb_signal_from_host.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix AIX gdb build with C++ compiler
@ 2016-04-21 13:06 sergiodj+buildbot
  2016-04-21 13:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-21 13:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 71829b1a3f9b4825150747b138b5cfadf0c5fcba ***

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

Fix AIX gdb build with C++ compiler

We currently get:

 ../../src/gdb/aix-thread.c: In function 'int pdc_read_data(pthdb_user_t, void*, pthdb_addr_t, size_t)':
 ../../src/gdb/aix-thread.c:465:46: error: invalid conversion from 'void*' to 'gdb_byte* {aka unsigned char*}' [-fpermissive]
    status = target_read_memory (addr, buf, len);
					       ^


 ../../src/gdb/aix-thread.c: In function 'void aix_thread_resume(target_ops*, ptid_t, int, gdb_signal)':
 ../../src/gdb/aix-thread.c:1010:46: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
	 gdb_signal_to_host (sig), (void *) tid);
					       ^
 ../../src/gdb/aix-thread.c:243:1: error:   initializing argument 5 of 'int ptrace64aix(int, int, long long int, int, int*)' [-fpermissive]
  ptrace64aix (int req, int id, long long addr, int data, int *buf)


 ../../src/gdb/rs6000-nat.c: In function 'gdb_byte* rs6000_ptrace_ldinfo(ptid_t)':
 ../../src/gdb/rs6000-nat.c:596:36: error: invalid conversion from 'void*' to 'gdb_byte* {aka unsigned char*}' [-fpermissive]
    gdb_byte *ldi = xmalloc (ldi_size);
				     ^
 ../../src/gdb/rs6000-nat.c:615:36: error: invalid conversion from 'void*' to 'gdb_byte* {aka unsigned char*}' [-fpermissive]
	ldi = xrealloc (ldi, ldi_size);
				     ^

(and more instances of the same).

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

	* aix-thread.c (pdc_read_data, pdc_write_data): Add cast.
	(aix_thread_resume): Use PTRACE_TYPE_ARG5.
	* rs6000-nat.c (rs6000_ptrace64): Use PTRACE_TYPE_ARG5.
	(rs6000_ptrace_ldinfo): Change type of 'ldi' local to void
	pointer, and cast return to gdb_byte pointer.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Switch gdb's TRY/CATCH to sjlj again
@ 2016-04-21 16:36 sergiodj+buildbot
  2016-04-21 17:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] MIPS: Go back with the default Linux # of registers to 90
@ 2016-04-22  0:52 sergiodj+buildbot
  2016-04-22  0:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22  0:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3877922e56a9e44fed0ca72e64cad7578e6b1ed5 ***

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

MIPS: Go back with the default Linux # of registers to 90

Set the number of registers for non-XML-described Linux targets to 90,
reverting a change made here with the addition of DSP register support:

commit 1faeff088bbbd037d7769d214378b4faf805fa2e
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Thu Mar 1 22:19:48 2012 +0000

and fixing a regression introduced for legacy `gdbserver' targets
causing a "Remote 'g' packet reply is too long" error message where the
amount of register data received with a `g' packet (90) exceeds the
maximum number of registers expected (79).

Update the setting for XML-described targets, reflecting the actual
number of registers which have been assigned numbers, matching the:

      gdb_assert (gdbarch_num_regs (gdbarch) <= MIPS_RESTART_REGNUM);

requirement in `mips_linux_init_abi'.

	gdb/
	* mips-tdep.c (mips_gdbarch_init): For GDB_OSABI_LINUX set
	`num_regs' to 90 rather than 79.  Where a target description is
	present adjust the setting appropriately.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set dynobj to a normal input file if possible
@ 2016-04-22  2:30 sergiodj+buildbot
  2016-04-22  3:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22  2:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6cd255ca1f03550291bd05ac4548e383bca88c5f ***

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

Set dynobj to a normal input file if possible

When check_relocs is called after gc-sections has run,
_bfd_elf_link_create_dynstrtab may be called with an dynamic object
and hash_table->dynobj may be NULL.  We may not set dynobj, an input
file holding linker created dynamic sections to the dynamic object,
which has its own dynamic sections.  We need to find a normal input
file to hold linker created sections if possible.  Otherwise ld will
crash during LTO input rescan when linker created dynamic section
overrides input dynamic section.

	* elflink.c (_bfd_elf_link_create_dynstrtab): Set dynobj to a
	normal input file if possible.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] New test case gdb.trace/signal.exp
@ 2016-04-22 11:21 sergiodj+buildbot
  2016-04-22 11:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 11:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c5dc57fcf2f543b7b8bdd2c3cfdabc74c39041b ***

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

New test case gdb.trace/signal.exp

This is to test whether GDBserver deliver signal to the inferior while
doing the step over.  Nowadays, GDBserver doesn't deliver signal, so
there won't be spurious collection, however, if GDBserver does deliver
signal, there might be spurious collection.

gdb/testsuite:

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

	* gdb.trace/signal.c: New file.
	* gdb.trace/signal.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Deliver signal in hardware single step
@ 2016-04-22 11:40 sergiodj+buildbot
  2016-04-22 12:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 11:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b061e98860ad84315704c732a1a43525f494946 ***

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

Deliver signal in hardware single step

GDBserver doesn't deliver signal when stepping over a breakpoint even
hardware single step is used.  When GDBserver started to step over
(thread creation) breakpoint for mutlit-threaded debugging in 2002 [1],
GDBserver behaves this way.

This behavior gets trouble on conditional breakpoints on branch to
self instruction like this,

   0x00000000004005b6 <+29>:	jmp    0x4005b6 <main+29>

and I set breakpoint

$(gdb) break branch-to-self.c:43 if counter > 3

and the variable counter will be set to 5 in SIGALRM signal handler.
Since GDBserver keeps stepping over breakpoint, the SIGALRM can never
be dequeued and delivered to the inferior, so the program can't stop.
The test can be found in gdb.base/branch-to-self.exp.

GDBserver didn't deliver signal when stepping over a breakpoint because
a tracepoint is collected twice if GDBserver does so in the following
scenario, which can be reproduced by gdb.trace/signal.exp.

 - program stops at tracepoint, and tracepoint is collected,
 - gdbserver starts a step-over,
 - a signal arrives, step-over is canceled, and signal should be passed,
 - gdbserver starts a new step-over again, pass the signal as well,
 - program stops at the entry of signal handler, step-over finished,
 - gdbserver proceeds,
 - program returns from the signal handler, again to the tracepoint,
   and thus is collected again.

The spurious collection isn't that harmful, IMO, so it should be OK
to let GDBserver deliver signal when stepping over a breakpoint.

gdb/gdbserver:

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

	* linux-low.c (lwp_signal_can_be_delivered): Don't deliver
	signal when stepping over breakpoint with software single
	step.

gdb/testsuite:

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

	* gdb.trace/signal.exp: Also pass if
	$tracepoint_hits($i) > $iterations.


^ permalink raw reply	[flat|nested] 2163+ 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 12:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] [obv] [PR gdb/19980] Typo in gdbserver/configure.srv
@ 2016-04-22 12:44 sergiodj+buildbot
  2016-04-22 13:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 12:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7915f48c28e24927d2842cc66ad001947776dcd8 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 7915f48c28e24927d2842cc66ad001947776dcd8

[obv] [PR gdb/19980] Typo in gdbserver/configure.srv

Simple exchange of mpx-avx for avx-mpx.
Other occurrences were not found.

2016-04-22  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/gdbserver/ChangeLog:

	* configure.srv (srv_amd64_xmlfiles): Exchange
	i386/amd64-mpx-avx.xml for i386/amd64-avx-mpx.xml.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Joel Brobecker stepping down as AIX Maintainer
@ 2016-04-22 14:40 sergiodj+buildbot
  2016-04-22 14:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 14:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f60e29b5a13066f7625dfeadcc329aeefd9d5a5 ***

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

Joel Brobecker stepping down as AIX Maintainer

gdb/ChangeLog:

        * MAINTAINERS: Remove myself as AIX Maintainer.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix fail in gdb.base/annota1.exp and gdb.base/annota3.exp
@ 2016-04-22 15:00 sergiodj+buildbot
  2016-04-22 15:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 495346f6f07ea711662106f0e6f8d684fe489cd8 ***

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

Fix fail in gdb.base/annota1.exp and gdb.base/annota3.exp

Hi,

I am seeing the fail below on aarch64-linux with gcc 4.9.2,

break main
Breakpoint 1 at 0x4006e8: file binutils-gdb/gdb/testsuite/gdb.base/annota1.c, line 14.^M
(gdb) FAIL: gdb.base/annota1.exp: breakpoint main

the test expects the breakpoint is set on line 15.  Let us look at
the main function,

12	int
13	main (void)
14	{
15	  int my_array[3] = { 1, 2, 3 };  /* break main */
16
17	  value = 7;
18
19	#ifdef SIGUSR1
20	  signal (SIGUSR1, handle_USR1);
21	#endif

(gdb) disassemble main
Dump of assembler code for function main:
   0x00000000004006e0 <+0>:	stp	x29, x30, [sp,#-48]!
   0x00000000004006e4 <+4>:	mov	x29, sp
   0x00000000004006e8 <+8>:	adrp	x0, 0x411000 <signal@got.plt>
   0x00000000004006ec <+12>:	add	x0, x0, #0x40

the breakpoint is set on the right address after skipping prologue, but
0x00000000004006e8 is mapped to the line 14, as shown below,

(gdb) maintenance info line-table
objfile: /home/yao.qi/source/build-aarch64/gdb/testsuite/outputs/gdb.base/annota1/annota1 ((struct objfile *) 0x2b0e1850)
compunit_symtab: ((struct compunit_symtab *) 0x2b0ded50)
symtab: /home/yao.qi/source/binutils-gdb/gdb/testsuite/gdb.base/annota1.c ((struct symtab *) 0x2b0dedd0)
linetable: ((struct linetable *) 0x2b12c8b0):
INDEX    LINE ADDRESS
0           7 0x00000000004006d0
1           8 0x00000000004006d8
2          14 0x00000000004006e0
3          14 0x00000000004006e8
4          15 0x00000000004006fc

so GDB does nothing wrong.  Program hits breakpoint on either line 14
or line 15 is right to me.  With anther gcc (4.9.3), the line-table looks
correct, and no test fail.  Instead of setting breakpoint on main and
assuming the line is what we get from the source, we can set breakpoint
on that line.  On the other hand, the test prints the values of the
array and check, so we need to set breakpoint on the line setting the
values of array and "next", rather than setting the breakpoint on main.

gdb/testsuite:

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

	* gdb.base/annota1.exp: Set breakpoint on line $main_line.
	* gdb.base/annota3.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Rename rl_callback_read_char_wrapper -> gdb_rl_callback_read_char_wrapper
@ 2016-04-22 16:05 sergiodj+buildbot
  2016-04-22 16:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3c610247abdf7fd6d22d21f11552d223be1e12cd ***

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

Rename rl_callback_read_char_wrapper -> gdb_rl_callback_read_char_wrapper

Use the "gdb_rl_" prefix like other gdb readline function wrappers to
make it clear this is a gdb function, not a readline function.

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

	* event-top.c (rl_callback_read_char_wrapper): Rename to ...
	(gdb_rl_callback_read_char_wrapper): ... this.
	(change_line_handler, gdb_setup_readline): Adjust.


^ permalink raw reply	[flat|nested] 2163+ 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-22 17:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Switch gdb's TRY/CATCH to C++ try/catch
@ 2016-04-22 17:51 sergiodj+buildbot
  2016-04-22 17:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 17:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6290672f89d5638a9da5ce10b2f4ba793dcc6396 ***

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

Switch gdb's TRY/CATCH to C++ try/catch

The exceptions-across-readline issue was fixed by the previous commit.
Let's try this again.

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

	* common/common-exceptions.h (GDB_XCPT_TRY): Remove mention of
	the foreign frames issue.
	[__cplusplus] (GDB_XCPT): Define as GDB_XCPT_TRY.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Choose TARGET_OBJECT_STACK_MEMORY and TARGET_OBJECT_MEMORY in read_value_memory
@ 2016-04-22 18:06 sergiodj+buildbot
  2016-04-22 19:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 18:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d7e9d3b8dbbf46a0cd5dc4f6341c1f9eb8cd6ae ***

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

Choose TARGET_OBJECT_STACK_MEMORY and TARGET_OBJECT_MEMORY in read_value_memory

Before this patch
https://sourceware.org/ml/gdb-patches/2014-02/msg00709.html
read_value_memory checks parameter 'stack', and call read_stack or
read_memory respectively.  However, 'stack' is not checked and
TARGET_OBJECT_MEMORY is always used in target_xfer_partial, which is
a mistake in the patch above.

This patch checks parameter 'stack', and choose TARGET_OBJECT_MEMORY
or TARGET_OBJECT_STACK_MEMORY accordingly.

gdb:

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

	* valops.c (read_value_memory): New local variable 'stack'.
	Set it to either TARGET_OBJECT_STACK_MEMORY or
	TARGET_OBJECT_MEMORY.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix fails in gdb.trace/unavailable.exp
@ 2016-04-22 19:48 sergiodj+buildbot
  2016-04-22 19:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a5d52f0ec8dd56b7953764a9bc1dc71ff6b69ca ***

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

Fix fails in gdb.trace/unavailable.exp

I am seeing some test fails in gdb.trace/unavailable.exp on aarch64-linux,
like this,

print derived_whole^M
$43 = (Derived) {<Middle> = {<Base> = {x = 2}, _vptr.Middle = 0x401860 <VTT for Derived>, y = 3}, _vptr.Derived = 0x401848 <vtable for Derived+32>, z = 4}^M
(gdb) FAIL: gdb.trace/unavailable.exp: collect globals: print object on: print derived_whole

print derived_whole^M
$47 = {<Middle> = {<Base> = {x = 2}, _vptr.Middle = 0x401860 <VTT for Derived>, y = 3}, _vptr.Derived = 0x401848 <vtable for Derived+32>, z = 4}^M
(gdb) FAIL: gdb.trace/unavailable.exp: collect globals: print object off: print derived_whole

these fails are also found by recent x86_64-linux buildbot,
https://sourceware.org/ml/gdb-testers/2016-q2/msg00622.html

The fix is exactly the same as this one
http://www.sourceware.org/ml/gdb-patches/2015-10/msg00252.html (the
extra "VTT" after hex), in which we match extra things after $hex.

gdb/testsuite:

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

	* gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
	more after $hex.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix checks for VSX and Altivec availability on Power
@ 2016-04-22 22:58 sergiodj+buildbot
  2016-04-22 23:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-22 22:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0154d99053a95392380cd4629a89b0ac46df3737 ***

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

Fix checks for VSX and Altivec availability on Power

gdb/ChangeLog

	* ppc-linux-nat.c (ppc_linux_read_description): Use PPC_FEATURE_HAS_VSX
	and PPC_FEATURE_HAS_ALTIVEC to check if such features are available.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip if size of bfd_vma is smaller than address size
@ 2016-04-23 17:00 sergiodj+buildbot
  2016-04-23 17:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-23 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0f92bf9430546707f2154b8a2656974e5c7093c ***

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

Skip if size of bfd_vma is smaller than address size

Disassembler won't work properly when size of bfd_vma is smaller than
address size.

	PR binutils/19983
	PR binutils/19984
	* i386-dis.c (print_insn): Return -1 if size of bfd_vma is
	smaller than address size.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Force to insert software single step breakpoint
@ 2016-04-25  8:34 sergiodj+buildbot
  2016-04-25  9:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-25  8:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21edc42f4e1ec6fe8cfce171232bab27ad4af372 ***

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

Force to insert software single step breakpoint

GDB doesn't insert software single step breakpoint if the instruction
branches to itself, so that the program can't stop after command "si".

(gdb) b 32
Breakpoint 2 at 0x8680: file git/gdb/testsuite/gdb.base/branch-to-self.c, line 32.
(gdb) c
Continuing.

Breakpoint 2, main () at gdb/git/gdb/testsuite/gdb.base/branch-to-self.c:32
32	  asm (".Lhere: " BRANCH_INSN " .Lhere"); /* loop-line */
(gdb) si
infrun: clear_proceed_status_thread (Thread 3991.3991)
infrun: proceed (addr=0xffffffff, signal=GDB_SIGNAL_DEFAULT)
infrun: step-over queue now empty
infrun: resuming [Thread 3991.3991] for step-over
infrun: skipping breakpoint: stepping past insn at: 0x8680
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sending packet: $Z0,8678,4#f3...Packet received: OK
infrun: skipping breakpoint: stepping past insn at: 0x8680
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sending packet: $Z0,b6fe86c8,4#82...Packet received: OK
infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=1, current thread [Thread 3991.3991] at 0x868

breakpoint.c:should_be_inserted thinks the breakpoint shouldn't be
inserted, which is wrong.  This patch restrict the condition that
only skip the non-single-step breakpoints if they are inserted at
the place we are stepping over, however we don't want to skip
single-step breakpoint if its thread is the thread we are stepping
over, so in this patch, I add a thread num in 'struct step_over_info'
to record the thread we're stepping over.

gdb:

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

	* breakpoint.c (should_be_inserted): Return 0 if the location's
	owner is not single step breakpoint or single step breakpoint's
	thread isn't the thread which is stepping past a breakpoint.
	* gdbarch.sh (software_single_step): Update comments.
	* gdbarch.h: Regenerated.
	* infrun.c (struct step_over_info) <thread>: New field.
	(set_step_over_info): New argument 'thread'.  Callers updated.
	(clear_step_over_info): Set field thread to -1.
	(thread_is_stepping_over_breakpoint): New function.
	* infrun.h (thread_is_stepping_over_breakpoint): Declaration.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] New test case gdb.base/branch-to-self.exp
@ 2016-04-25 10:20 sergiodj+buildbot
  2016-04-25 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-25 10:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f3abeff575541dd80e1facd6d0f920e10f77fede ***

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

New test case gdb.base/branch-to-self.exp

gdb/testsuite:

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

	* gdb.base/branch-to-self.c: New file.
	* gdb.base/branch-to-self.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Always count the NULL entry in dynamic symbol table
@ 2016-04-26 11:09 sergiodj+buildbot
  2016-04-26 11:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-26 11:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d5486c43728b4fa17c111a301c30a1e072eaec6a ***

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

Always count the NULL entry in dynamic symbol table

There is an unused NULL entry at the head of dynamic symbol table which
we must account for in our count even if the table is empty or unused
since it is intended for the mandatory DT_SYMTAB tag (.dynsym section)
in .dynamic section.

	* elf-bfd.h (elf_link_hash_table): Update comments for
	dynsymcount.
	* elflink.c (_bfd_elf_link_renumber_dynsyms): Always count for
	the unused NULL entry at the head of dynamic symbol table.
	(bfd_elf_size_dynsym_hash_dynstr): Remove dynsymcount != 0
	checks.


^ permalink raw reply	[flat|nested] 2163+ 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:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] fort_dyn_array: Support evaluation of dynamic elements inside arrays.
@ 2016-04-26 15:16 sergiodj+buildbot
  2016-04-26 15:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-26 15:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f07e298b16e6419a11f9e9d75b15658e42ea775 ***

Author: Bernhard Heckel <bernhard.heckel@intel.com>
Branch: master
Commit: 8f07e298b16e6419a11f9e9d75b15658e42ea775

fort_dyn_array: Support evaluation of dynamic elements inside arrays.

Resolve type of an array's element to be printed in case it is dynamic.
Otherwise we don't use the correct boundaries nor the right location.

Before:
  ptype fivearr(1)
  type = Type five
      Type one
          integer(kind=4) :: ivla(34196784:34196832,34197072:34197120,34197360:34197408)
      End Type one :: tone
  End Type five

After:
  ptype fivearr(1)
  type = Type five
      Type one
          integer(kind=4) :: ivla(2,4,6)
      End Type one :: tone
  End Type five

2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:
	* valarith.c (value_address): Resolve dynamic types.

gdb/testsuite/Changelog:
	* gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
	of dynamic types.
	* gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
	of dynamic types.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] fort_dyn_array: Use value constructor instead of raw-buffer manipulation.
@ 2016-04-26 15:59 sergiodj+buildbot
  2016-04-26 16:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-26 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e2e34f8623d9eeb6710d8f3883f26af8b07bbd1 ***

Author: Keven Boell <keven.boell@intel.com>
Branch: master
Commit: 3e2e34f8623d9eeb6710d8f3883f26af8b07bbd1

fort_dyn_array: Use value constructor instead of raw-buffer manipulation.

Instead of pre-computing indices into a fortran array re-use
the value_* interfaces to subscript a fortran array.
The benefit of using the new interface is that it takes care of
dynamic types and resolve them when needed.
This fixes issues when printing structures with dynamic arrays from toplevel.

Before:
(gdb) p twov
$1 = ( (( ( 6352320, 0, -66, -1, 267) ( 343476, 1, -15, 1, 0) ( 5, 0, 5, 0, 1) ...

After:
(gdb) p twov
$1 = ( (( ( 1, 1, 1, 1, 1) ( 1, 1, 321, 1, 1) ( 1, 1, 1, 1, 1) ...

2016-04-26  Sanimir Agovic  <sanimir.agovic@intel.com>
            Keven Boell  <keven.boell@intel.com>
            Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog:
	* f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
	function.
	(F77_DIM_SIZE, F77_DIM_OFFSET): Remove macro.
	(f77_print_array_1): Use value_subscript to subscript a
	value array.
	(f77_print_array): Remove call to f77_create_arrayprint_offset_tbl.
	(f_val_print): Use value_field to construct a field value.

gdb/testsuite/Changelog:
	* vla-type.exp: Print structure from toplevel.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] add casts to avoid arithmetic on void *
@ 2016-04-27  0:26 sergiodj+buildbot
  2016-04-27  0:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28cc9170c3d0bc0c5e82b45a10015e4bbcb01125 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: 28cc9170c3d0bc0c5e82b45a10015e4bbcb01125

add casts to avoid arithmetic on void *

arithmetic on void * is undefined in ISO C, so we should avoid it.  In
GNU C sizeof void * is defined as 1, and that is pretty clearly what
this code wants, so change it to do arithmetic on bfd_byte *.
Unfortunately most of the argument types come from virtual function
interfaces so changing the types to bfd_byte * isn't trivial though it
might make the code clearer.  So for the moment its easiest to leave the
variable types as void * and cast before doing arithmetic.

bfd/ChangeLog:

2016-04-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* elf32-rx.c (rx_set_section_contents): Avoid arithmetic on void *.
	* mmo.c (mmo_get_section_contents): Likewise.
	(mmo_set_section_contents): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Cache result of scan for __start_* and __stop_* sections
@ 2016-04-27  7:52 sergiodj+buildbot
  2016-04-27  8:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27  7:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6a4679fc0ad12e99e0d8374752ecce9ef097ec2 ***

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

Cache result of scan for __start_* and __stop_* sections

include/
	* bfdlink.h (struct bfd_link_hash_entry): Add "section" field to
	undef.  Formatting.
bfd/
	* elflink.c (_bfd_elf_is_start_stop): New function.
	(_bfd_elf_gc_mark_rsec): Use it.
	* elf-bfd.h (_bfd_elf_is_start_stop): Declare.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for the --trace-decode option to the AArch64 simulator.
@ 2016-04-27 10:52 sergiodj+buildbot
  2016-04-27 11:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 10:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2cdad34c4fba2c6319584d6bb42b84020a9244ac ***

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

Add support for the --trace-decode option to the AArch64 simulator.

	* simulator.c: Add TRACE_DECODE statements to all emulation
	functions.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix a typo in the check for SNANs in the RX simulator.
@ 2016-04-27 12:00 sergiodj+buildbot
  2016-04-27 12:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 12:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7881f69ee902b06433f071fd8cbdee1b401c9b76 ***

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

Fix a typo in the check for SNANs in the RX simulator.

	PR target/20000
	* fpu.c (check_exceptions): Fix typo checking for signalling
	NANs.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Avoid non-C++-enabled babeltrace versions
@ 2016-04-27 14:05 sergiodj+buildbot
  2016-04-27 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 14:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d681be471cf8aff8f296cb7713c39e9aa4fc2bb ***

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

Avoid non-C++-enabled babeltrace versions

In some babeltrace versions before 1.2.0, the header file iterator.h
declares the enum values `BT_SEEK_*' within the struct declaration of
bt_iter_pos.  The enum values are supposed to be globally-scoped, which
works for C, but not for C++.  Later babeltrace versions declare the
enum outside the struct:

  https://lists.lttng.org/pipermail/lttng-dev/2013-September/021411.html

Now that GDB is compiled with C++, the GDB build fails on a system with
an affected babeltrace version: the compiler complains about a missing
declaration of BT_SEEK_BEGIN in ctf.c.

This patch enhances the configure check to recognize such babeltrace
versions as unusable for GDB.

gdb/ChangeLog:

	* configure.ac: Enhance configure check for babeltrace to reject
	non-C++-enabled versions.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] c_value_print: Revert 'val' to a reference for TYPE_CODE_STRUCT
@ 2016-04-27 15:34 sergiodj+buildbot
  2016-04-27 15:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 476350ba4800f1144b125f6511a5e25b223cc90b ***

Author: Martin Galvan <martin.galvan@tallertechnologies.com>
Branch: master
Commit: 476350ba4800f1144b125f6511a5e25b223cc90b

c_value_print: Revert 'val' to a reference for TYPE_CODE_STRUCT

Currently c_value_print will turn struct reference values into pointers before
doing a set of RTTI checks.  This was introduced as a fix to PR c++/15401.
If there's RTTI the pointer will be adjusted and converted back to a reference.
However, if there's no RTTI the value will still be treated as a pointer during
the remainder of the function.
This patch moves the conversion down so that it's always performed when needed.

Notice this currently has not user-visible effects, so can be seen as a small
code cleanup.  However, it'll be necessary for the bug-fix for handling
synthetic C++ references.  It causes no testsuite regressions.

gdb/ChangeLog:
2016-04-26  Martin Galvan  <martin.galvan@tallertechnologies.com>

	* c-valprint.c (c_value_print): Always convert val back to reference
	type if we converted it to a pointer type.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip gdb.base/branch-to-self.exp if gdb, nosignals exists
@ 2016-04-27 15:46 sergiodj+buildbot
  2016-04-27 16:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 15:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11cf4ffb5e256d268a8f4cea0fc88a0a46bf824c ***

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

Skip gdb.base/branch-to-self.exp if gdb,nosignals exists

I get a timeout fail in branch-to-self.exp when it is compiled by a
bare-mental target running qemu, which doesn't have signal.

The test should be skipped if gdb,nosignals exists, and that is
what this patch does.

gdb/testsuite:

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

	* gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
	exists.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip debug sections when estimating distances
@ 2016-04-27 16:28 sergiodj+buildbot
  2016-04-27 16:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 16:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91f8bf69a526912f86da81070407bba6a050e27f ***

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

Skip debug sections when estimating distances

Skip debug sections when estimating distances between output sections
since compressed_size is used to compress debug sections and debug
sections aren't excluded from distances between output sections.

bfd/

	PR ld/20006
	* elf64-x86-64.c (elf_x86_64_convert_load): Skip debug sections
	when estimating distances between output sections.

ld/

	PR ld/20006
	* testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
	(visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
	ELF targets.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Workaround gdbserver<7.7 for setfs
@ 2016-04-27 19:55 sergiodj+buildbot
  2016-04-27 20:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 19:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 57809e5e5a506664eb54433ded81ab0785168a83 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 57809e5e5a506664eb54433ded81ab0785168a83

Workaround gdbserver<7.7 for setfs

With current FSF GDB HEAD and old FSF gdbserver I expected I could do:
	gdb -ex 'file target:/root/redhat/threadit' -ex 'target remote :1234'
(supplying that unsupported qXfer:exec-file:read by "file")
But that does not work because:
	Sending packet: $vFile:setfs:0#bf...Packet received: OK
	Packet vFile:setfs (hostio-setfs) is supported
	...
	Sending packet: $vFile:setfs:104#24...Packet received: OK
	"target:/root/redhat/threadit": could not open as an executable file: Invalid argument

GDB documentation says:
	The valid responses to Host I/O packets are:
	An empty response indicates that this operation is not recognized.

This "empty response" vs. "OK" was a bug in gdbserver < 7.7.  It was fixed by:
	commit e7f0d979dd5cc4f8b658df892e93db69d6d660b7
	Author: Yao Qi <yao@codesourcery.com>
	Date:   Tue Dec 10 21:59:20 2013 +0800
	    Fix a bug in matching notifications.
	Message-ID: <1386684626-11415-1-git-send-email-yao@codesourcery.com>
	https://sourceware.org/ml/gdb-patches/2013-12/msg00373.html
	2013-12-10  Yao Qi  <yao@codesourcery.com>
		* notif.c (handle_notif_ack): Return 0 if no notification
		matches.

with unpatched old FSF gdbserver and patched FSF GDB HEAD:
	gdb -ex 'file target:/root/redhat/threadit' -ex 'target remote :1234'
	Sending packet: $vFile:setfs:0#bf...Packet received: OK
	Packet vFile:setfs (hostio-setfs) is NOT supported
	...
	(gdb) info sharedlibrary
	From                To                  Syms Read   Shared Object Library
	0x00007ffff7ddbae0  0x00007ffff7df627a  Yes (*)     target:/lib64/ld-linux-x86-64.so.2
	0x00007ffff7bc48a0  0x00007ffff7bcf514  Yes (*)     target:/lib64/libpthread.so.0

gdb/ChangeLog
2016-04-26  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* remote.c (remote_start_remote): Detect PACKET_vFile_setfs.support.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Make gdb_load_shlibs return the destination path of the library
@ 2016-04-27 22:25 sergiodj+buildbot
  2016-04-27 22:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fca4cfd9ec8f28d0883cb8bbd55b82aa3418576b ***

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

Make gdb_load_shlibs return the destination path of the library

This patch makes gdb_load_shlibs return the destination path of the
copied library.  To make the procedure implementation and interface more
straightforward, it also changes it so that it accepts a single shared
library path at the time.  Therefore, calls that are passed multiple
libraries:

  gdb_load_shlibs $lib1 $lib2

must be changed to separate calls:

  gdb_load_shlibs $lib1
  gdb_load_shlibs $lib2

A subtle impact is the solib-search-path handling.  In the former
version, solib-search-path is set using the directory of the first
passed lib (further calls overwrite the value).  In the later version,
the directory of the library passed to the last call to gdb_load_shlibs
remnains.  I don't think that's a problem in practice, since if we had
tests that needed multiple different paths in solib-search-path, they
wouldn't work in the first place.

Changed in v2:

	* Split behavioural and rename changes in two separate patches.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
	result of gdb_remote_download.
	* gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
	* gdb.base/dso2dso.exp: Likewise.
	* gdb.base/global-var-nested-by-dso.exp: Likewise.
	* gdb.base/print-file-var.exp: Likewise.
	* gdb.base/shlib-call.exp: Likewise.
	* gdb.base/shreloc.exp: Likewise.
	* gdb.base/solib-overlap.exp: Likewise.
	* gdb.base/solib-weak.exp (do_test): Likewise.
	* gdb.base/unload.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Rename gdb_load_shlibs to gdb_load_shlib
@ 2016-04-27 22:52 sergiodj+buildbot
  2016-04-27 23:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-27 22:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9019901f830e58b0b16793ffe6e70b9afd26ea6 ***

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

Rename gdb_load_shlibs to gdb_load_shlib

Rename gdb_load_shlibs to gdb_load_shlib to reflect that it can only
load a single shlib at the time.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (gdb_load_shlibs): Rename to...
	(gdb_load_shlib): ... this.
	* gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
	gdb_load_shlib.
	* gdb.base/catch-load.exp (one_catch_load_test): Likewise.
	* gdb.base/ctxobj.exp: Likewise.
	* gdb.base/dprintf-pending.exp: Likewise.
	* gdb.base/dso2dso.exp: Likewise.
	* gdb.base/fixsection.exp: Likewise.
	* gdb.base/gcore-relro.exp: Likewise.
	* gdb.base/gdb1555.exp: Likewise.
	* gdb.base/global-var-nested-by-dso.exp: Likewise.
	* gdb.base/gnu-ifunc.exp: Likewise.
	* gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
	* gdb.base/jit-so.exp (one_jit_test): Likewise.
	* gdb.base/pending.exp: Likewise.
	* gdb.base/print-file-var.exp: Likewise.
	* gdb.base/print-symbol-loading.exp: Likewise.
	* gdb.base/shlib-call.exp: Likewise.
	* gdb.base/shreloc.exp: Likewise.
	* gdb.base/so-impl-ld.exp: Likewise.
	* gdb.base/solib-disc.exp: Likewise.
	* gdb.base/solib-nodir.exp: Likewise.
	* gdb.base/solib-overlap.exp: Likewise.
	* gdb.base/solib-symbol.exp: Likewise.
	* gdb.base/solib-weak.exp (do_test): Likewise.
	* gdb.base/sym-file.exp: Likewise.
	* gdb.base/symtab-search-order.exp: Likewise.
	* gdb.base/type-opaque.exp: Likewise.
	* gdb.base/unload.exp: Likewise.
	* gdb.base/watchpoint-solib.exp: Likewise.
	* gdb.compile/compile.exp: Likewise.
	* gdb.cp/gdb2384.exp: Likewise.
	* gdb.cp/infcall-dlopen.exp: Likewise.
	* gdb.cp/re-set-overloaded.exp: Likewise.
	* gdb.fortran/library-module.exp: Likewise.
	* gdb.opt/solib-intra-step.exp: Likewise.
	* gdb.python/py-finish-breakpoint.exp: Likewise.
	* gdb.python/py-shared.exp: Likewise.
	* gdb.reverse/solib-precsave.exp: Likewise.
	* gdb.reverse/solib-reverse.exp: Likewise.
	* gdb.server/solib-list.exp: Likewise.
	* gdb.threads/dlopen-libpthread.exp: Likewise.
	* gdb.threads/tls-shared.exp: Likewise.
	* gdb.threads/tls-so_extern.exp: Likewise.
	* gdb.trace/change-loc.exp: Likewise.
	* gdb.trace/ftrace-lock.exp: Likewise.
	* gdb.trace/ftrace.exp: Likewise.
	* gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
	* gdb.trace/pending.exp: Likewise.
	* gdb.trace/range-stepping.exp: Likewise.
	* gdb.trace/strace.exp (strace_remove_socket): Likewise.
	(strace_info_marker): Likewise.
	(strace_probe_marker): Likewise.
	(strace_trace_on_same_addr): Likewise.
	(strace_trace_on_diff_addr): Likewise.
	* gdb.trace/trace-break.exp: Likewise.
	* gdb.trace/trace-condition.exp: Likewise.
	* gdb.trace/trace-mt.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support to AArch64 disassembler for verifying instructions. Add verifier for LDPSW.
@ 2016-04-28  8:43 sergiodj+buildbot
  2016-04-28  8:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28  8:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bd13cde17a27c342b79b72bde9ef8e1b5373344 ***

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

Add support to AArch64 disassembler for verifying instructions.  Add verifier for LDPSW.

	PR target/19722
opcodes	* aarch64-dis.c (aarch64_opcode_decode): Run verifier if present.
	* aarch64-opc.c (verify_ldpsw): New function.
	* aarch64-opc.h (verify_ldpsw): New prototype.
	* aarch64-tbl.h: Add initialiser for verifier field.
	(LDPSW): Set verifier to verify_ldpsw.

binutils* testsuite/binutils-all/aarch64/illegal.s: New test.
	* testsuite/binutils-all/aarch64/illegal.d: New test driver.

include	* opcode/aarch64.h (struct aarch64_opcode): Add verifier field.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove need_step_over from struct lwp_info
@ 2016-04-28 11:08 sergiodj+buildbot
  2016-04-28 11:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 11:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f166f943f30a91792e8754cbca9d7652fc400aae ***

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

Remove need_step_over from struct lwp_info

Hi,
I happen to see that field need_step_over in struct lwp_info is only
used to print a debug info.  need_step_over is set in linux_wait_1
when breakpoint_here is true, however, we check breakpoint_here too in
need_step_over_p and do the step over.  I think we don't need field
need_step_over, and check breakpoint_here directly in need_step_over_p.

This field was added in this patch
https://sourceware.org/ml/gdb-patches/2010-03/msg00605.html and the code
wasn't changed much since then.

This patch is to remove it.

gdb/gdbserver:

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

	* linux-low.h (struct lwp_info) <need_step_over>: Remove.
	* linux-low.c (linux_wait_1): Update.
	(need_step_over_p): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Updated Chinese (simplified) translations for bfd, binutils and gold.
@ 2016-04-28 13:24 sergiodj+buildbot
  2016-04-28 13:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 13:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 786a118cdf1aa33a8c232c63307e6711a0c00dfb ***

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

Updated Chinese (simplified) translations for bfd, binutils and gold.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary
@ 2016-04-28 15:16 sergiodj+buildbot
  2016-04-28 15:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 15:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 952ebca5831911a8ef2a79f6e1e7a2c24f71a388 ***

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

ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary

Some fast tracepoints tests make sure that the in-process agent library
is properly loaded, by searching for the library name in "info
sharedlibrary".

Originally, it would search for the full path.  Since patch "Make ftrace
tests work with remote targets" [1], the "runtime" location of the IPA,
in the standard output directory, is not the same as the original
location, in the gdbserver build directory.  Therefore, the patch
changed the checks:

  gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"

to

  gdb_test "info sharedlibrary" ".*[file tail ${libipa}].*" "IPA loaded"

so that only the "libinproctrace.so" part would be searched for.
Antoine (in CC) pointed out that I missed some, so I have to update
them.  In the mean time, I noticed that I missed a few test failures:
adding the SONAME to the IPA makes it possible for the test executable
to erroneously pick up libinproctrace.so from /usr/lib if the test
harness failed to put the libinproctrace.so we want to test in the right
place.  To mitigate that kind of error in the future, we can use the
return value of gdb_load_shlib (the path of the "runtime" version of the
library) and use that to search in the output of info sharedlibrary.

When testing locally, gdb_load_shlib returns the full normalized path of
the destination library, which the test executable should use e.g.:

  /path/to/gdb/testsuite/outputs/gdb.trace/thetest/libinproctrace.so

My testing showed that it was the same path that gdb displayed in info
sharedlibrary.  If the test executable picks up another
libinproctrace.so, the test will fail.

When testing remotely, gdb_load_shlib/gdb_remote_download only returns
us "libinproctrace.so", so the situation doesn't really change.  If
there is a rogue libinproctrace.so in /usr/lib on the target and we fail
to download ours, it might cover up a test failure.  But that situation
is probably still better than the original one, where it wasn't possible
to test remotely using the IPA at all.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=6e774b13c3b81ac2599812adf058796948ce7e95

gdb/testsuite/ChangeLog:

	* gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
	use it in info sharedlibrary test.
	* gdb.trace/ftrace-lock.exp: Likewise.
	* gdb.trace/ftrace.exp: Likewise.
	* gdb.trace/range-stepping.exp: Likewise.
	* gdb.trace/trace-break.exp: Likewise.
	* gdb.trace/trace-condition.exp: Likewise.
	* gdb.trace/trace-mt.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix write endianness/size problem for fast tracepoint enabled flag
@ 2016-04-28 17:19 sergiodj+buildbot
  2016-04-28 17:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 17:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35fd2deb6916e972248d52b1bc1d584fa9059f8f ***

Author: Par Olsson <par.olsson@windriver.com>
Branch: master
Commit: 35fd2deb6916e972248d52b1bc1d584fa9059f8f

Fix write endianness/size problem for fast tracepoint enabled flag

I am sending this fix on behalf of Par Olsson, as a follow-up of this
one:

https://www.sourceware.org/ml/gdb-patches/2015-10/msg00196.html

This problem is exposed when enabling/disabling fast tracepoints on big
endian machines.  The flag is defined as an int8_t, but is written from
gdbserver as an integer (usually 32 bits).  When the agent code reads it
as an int8_t, it only considers the most significant byte, which is
always 0.

Also, we were writing 32 bits in an 8 bits field, so the write would
overflow, but since the following bytes are padding (the next field is
an uint64_t), it luckily didn't cause any issue on little endian
systems.

The fix was originally tested on ARM big endian systems, but I don't
have access to such a system.  However, thanks to Marcin's PowerPC fast
tracepoint patches and gcc110 (big endian Power7) on the gcc compile
farm, I was able to reproduce the problem, test the fix and write a
test (the following patch).

gdb/gdbserver/ChangeLog:

YYYY-MM-DD  Par Olsson  <par.olsson@windriver.com>

	* tracepoint.c (write_inferior_int8): New function.
	(cmd_qtenable_disable): Write enable flag using
	write_inferior_int8.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add test for tracepoint enable/disable
@ 2016-04-28 17:38 sergiodj+buildbot
  2016-04-28 18:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 17:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9080ac9d99e5326286a7df806955a326fcd655b2 ***

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

Add test for tracepoint enable/disable

This patch adds a test for tracepoints enabling/disabling, which
didn't work properly for fast tracepoints on big endian systems.

gdb/testsuite/ChangeLog:

	* gdb.trace/trace-enable-disable.exp: New file.
	* gdb.trace/trace-enable-disable.c: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't show deprecated commands in help
@ 2016-04-28 18:29 sergiodj+buildbot
  2016-04-28 18:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-28 18:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0400cf2f56c41896ecf52b88baa1d6178eb10432 ***

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

Don't show deprecated commands in help

Just like completion doesn't show deprecated commands, I think that help
should not list them, so that we don't incite users to use them.

gdb/ChangeLog:

	* cli/cli-decode.c (help_cmd_list): Do not list commands that
	are deprecated.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enhance support for copying and stripping Solaris and ARM binaries.
@ 2016-04-29  8:54 sergiodj+buildbot
  2016-04-29  9:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-29  8:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5522f910cb539905d6adfdceab208ddfa5e84557 ***

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

Enhance support for copying and stripping Solaris and ARM binaries.

	PR 19938
bfd	* elf-bfd.h (struct elf_backend_data): Rename
	elf_backend_set_special_section_info_and_link to
	elf_backend_copy_special_section_fields.
	* elfxx-target.h: Likewise.
	* elf.c (section_match): Ignore the SHF_INFO_LINK flag when
	comparing section flags.
	(copy_special_section_fields): New function.
	(_bfd_elf_copy_private_bfd_data): Copy the EI_ABIVERSION field.
	Perform two scans over special sections.  The first one looks for
	a direct mapping between the output section and an input section.
	The second scan looks for a possible match based upon section
	characteristics.
	* elf32-arm.c (elf32_arm_copy_special_section_fields): New
	function.  Handle setting the sh_link field of SHT_ARM_EXIDX
	sections.
	* elf32-i386.c (elf32_i386_set_special_info_link): Rename to
	elf32_i386_copy_solaris_special_section_fields.
	* elf32-sparc.c (elf32_sparc_set_special_section_info_link):
	Rename to elf32_sparc_copy_solaris_special_section_fields.
	* elf64-x86-64.c (elf64_x86_64_set_special_info_link): Rename to
	elf64_x86_64_copy_solaris_special_section_fields.

binutils* readelf.c (get_solaris_segment_type): New function.
	(get_segment_type): Call it.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] i386: Don't relocate section when check_relocs failed
@ 2016-04-29 12:43 sergiodj+buildbot
  2016-04-29 12:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-29 12:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c337a1627c7e0edf6d46e66dee513c56975d0625 ***

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

i386: Don't relocate section when check_relocs failed

No need to relocate section when check_relocs failed.

	* elf32-i386.c (check_relocs_failed): New.
	(elf_i386_check_relocs): Set check_relocs_failed on error.
	(elf_i386_relocate_section): Skip if check_relocs failed.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Pass GOT_RELOC to UNDEFINED_WEAK_RESOLVED_TO_ZERO
@ 2016-04-29 15:45 sergiodj+buildbot
  2016-04-29 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-04-29 15:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e62b9723fdfcf655ecbd46ea455567593e333f47 ***

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

Pass GOT_RELOC to UNDEFINED_WEAK_RESOLVED_TO_ZERO

When UNDEFINED_WEAK_RESOLVED_TO_ZERO is checked to convert load via
GOT, has_got_reloc is always TRUE.  This patch adds GOT_RELOC, which
is TRUE in x86 convert_load, to UNDEFINED_WEAK_RESOLVED_TO_ZERO.

	* elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take GOT_RELOC
	and replace (EH)->has_got_reloc with GOT_RELOC.
	(elf_i386_fixup_symbol): Pass has_got_reloc to
	UNDEFINED_WEAK_RESOLVED_TO_ZERO.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol): Likewise.
	(elf_i386_convert_load): Pass TRUE to
	UNDEFINED_WEAK_RESOLVED_TO_ZERO.
	* elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take
	GOT_RELOC and replace (EH)->has_got_reloc with GOT_RELOC.
	(elf_x86_64_fixup_symbol): Pass has_got_reloc to
	UNDEFINED_WEAK_RESOLVED_TO_ZERO.
	(elf_x86_64_allocate_dynrelocs): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_finish_dynamic_symbol): Likewise.
	(elf_x86_64_convert_load): Pass TRUE to
	UNDEFINED_WEAK_RESOLVED_TO_ZERO.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix startup on MS-Windows when 'gdb.ini' is found in $HOME
@ 2016-05-02 17:09 sergiodj+buildbot
  2016-05-02 17:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-02 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1270fac69d2f7e89161ccb780ce3b17466da34ea ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 1270fac69d2f7e89161ccb780ce3b17466da34ea

Fix startup on MS-Windows when 'gdb.ini' is found in $HOME

	* windows-nat.c (_initialize_check_for_gdb_ini): Fix off-by-one
	error in allocation of space for "$HOME/.gdbinit" string.  This
	caused GDB to abort on startup whenever a '~/gdb.ini' file was
	actually found, because xsnprintf would hit an assertion
	violation.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix annota-input-while-running.exp remote check
@ 2016-05-02 17:20 sergiodj+buildbot
  2016-05-02 17:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-02 17:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 740feeaa2049d0f9a7e5928191124583a1a8c645 ***

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

Fix annota-input-while-running.exp remote check

The comment says that we can't use runto_main here becore it doesn't
know how to handle annotation.  Instead, the test puts a breakpoint at
main and calls run by hand.  Therefore, it can't work with stub targets,
since they can't "run".  The check should be then changed to check the
use_gdb_stub variable instead of [is_remote target].

But as an alternative, we can just use runto_main and enable annotations
after, since the "run to main" part is not really part of what we want
to test.

I also removed the "set test..." line that is unused.

gdb/testsuite/ChangeLog:

	* gdb.base/annota-input-while-running.exp: Don't check for
	[is_remote target].  Enable annotations after running to main.
	Remove unused "set test..." line.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [gdb] Fix -Wparentheses warnings
@ 2016-05-03  9:05 sergiodj+buildbot
  2016-05-03  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03  9:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b631e59ba05af7c888838d3e2d6d408bfe60b57f ***

Author: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Branch: master
Commit: b631e59ba05af7c888838d3e2d6d408bfe60b57f

[gdb] Fix -Wparentheses warnings

2016-05-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* symfile.c (find_pc_overlay): Add braces to avoid -Wparentheses
	warning.
	(find_pc_mapped_section): Likewise.
	(list_overlays_command): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix "-Wl,--dynamic-list" gdb/configure test
@ 2016-05-03  9:56 sergiodj+buildbot
  2016-05-03 10:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03  9:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b4f615e4087a3ae9feba5912312cdcabc25e6a5 ***

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

Fix "-Wl,--dynamic-list" gdb/configure test

The -Wl,--dynamic-list test is currently broken on Fedora 23, when you
configure with --with-python=python3.4.  We see:

 configure:13741: checking for the dynamic export flag
 configure:13796: gcc -o conftest -g3 -O0  -fno-strict-aliasing -DNDEBUG -fwrapv    -Wl,--dynamic-list=/home/pedro/gdb/mygit/src/gdb/proc-service.list conftest.c -ldl -lncurses -lm -ldl  -lpthread -ldl -lutil -lm -lpython3.4m -Xlinker -export-dynamic >&5
 conftest.c:182:30: fatal error: python3.4/Python.h: No such file or directory
 compilation terminated.
 configure:13796: $? = 1

The correct -I path is in PYTHON_CPPFLAGS:

 PYTHON_CPPFLAGS='-I/usr/include/python3.4m -I/usr/include/python3.4m'

(Other Python-related tests in the file are already doing this.)

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

	* configure.ac (checking for the dynamic export flag): Add
	$PYTHON_CPPFLAGS to CPPFLAGS.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix generation of AArhc64 instruction table.
@ 2016-05-03 11:07 sergiodj+buildbot
  2016-05-03 11:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03 11:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20f55f3866ab70778d08fec2c09626cff9ed781d ***

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

Fix generation of AArhc64 instruction table.

	* aarch64-gen.c (VERIFIER): Define.
	* aarch64-opc.c (VERIFIER): Define.
	(verify_ldpsw): Use static linkage.
	* aarch64-opc.h (verify_ldpsw): Remove.
	* aarch64-tbl.h: Use VERIFIER for verifiers.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove gdb/python/python.c code that handles strlen failing with -1
@ 2016-05-03 11:55 sergiodj+buildbot
  2016-05-03 12:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1aa96702887a9c0f66b5d7cab034bf6718796708 ***

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

Remove gdb/python/python.c code that handles strlen failing with -1

This makes no sense -- strlen doesn't really ever fail with -1.

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

	* python/python.c (_initialize_python) [IS_PY3K]: Remove dead
	code.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix gdb/python/python.c use-after-free
@ 2016-05-03 12:30 sergiodj+buildbot
  2016-05-03 12:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03 12:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 86f1abec458df24ea7d4a38a7b3e21861c5b9bd8 ***

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

Fix gdb/python/python.c use-after-free

Valgrind shows:

 ==26964== Invalid read of size 1
 ==26964==    at 0x6E14100: __GI_strcmp (strcmp.S:180)
 ==26964==    by 0x6DB55AA: setlocale (setlocale.c:238)
 ==26964==    by 0x4E0455: _initialize_python() (python.c:1731)
 ==26964==    by 0x786731: initialize_all_files() (init.c:319)
 ==26964==    by 0x72EF0A: gdb_init(char*) (top.c:1929)
 ==26964==    by 0x60BCAC: captured_main(void*) (main.c:863)
 ==26964==    by 0x606AD5: catch_errors(int (*)(void*), void*, char*, return_mask) (exceptions.c:234)
 ==26964==    by 0x60C608: gdb_main(captured_main_args*) (main.c:1165)
 ==26964==    by 0x40CAEC: main (gdb.c:32)
 ==26964==  Address 0x81d30a0 is 0 bytes inside a block of size 181 free'd
 ==26964==    at 0x4C29CF0: free (vg_replace_malloc.c:530)
 ==26964==    by 0x6DB5B65: setname (setlocale.c:201)
 ==26964==    by 0x6DB5B65: setlocale (setlocale.c:388)
 ==26964==    by 0x4E037F: _initialize_python() (python.c:1712)
 ==26964==    by 0x786731: initialize_all_files() (init.c:319)
 ==26964==    by 0x72EF0A: gdb_init(char*) (top.c:1929)
 ==26964==    by 0x60BCAC: captured_main(void*) (main.c:863)
 ==26964==    by 0x606AD5: catch_errors(int (*)(void*), void*, char*, return_mask) (exceptions.c:234)
 ==26964==    by 0x60C608: gdb_main(captured_main_args*) (main.c:1165)
 ==26964==    by 0x40CAEC: main (gdb.c:32)

The problem is doing this:

  oldloc = setlocale (LC_ALL, NULL);
  setlocale (LC_ALL, "");
  ...
  setlocale (LC_ALL, oldloc);

I.e., the second setlocale call frees 'oldloc'.

>From http://pubs.opengroup.org/onlinepubs/9699919799/functions/setlocale.html :

 "The returned string pointer might be invalidated or the string
 content might be overwritten by a subsequent call to setlocale()."

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

	PR python/20037
	* python/python.c (_initialize_python) [IS_PY3K]: xstrdup/xfree
	oldloc.


^ permalink raw reply	[flat|nested] 2163+ 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-03 23:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix typos in gdb_pipe function comment
@ 2016-05-03 23:36 sergiodj+buildbot
  2016-05-03 23:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-03 23:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482 ***

Author: Don Breazeal <donb@codesourcery.com>
Branch: master
Commit: a1ec3d244a75a6e6a2f54235c26e6b1e3b8a2482

Fix typos in gdb_pipe function comment

gdb/ChangeLog:
2016-05-03  Don Breazeal <donb@codesourcery.com>

	* serial.h (gdb_pipe): Fix argument names in comment.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PR symtab/19914 fix handling of dwp + split debug
@ 2016-05-04  0:22 sergiodj+buildbot
  2016-05-04  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-04  0:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c4474237ab3356b100ebbdd6ff1a8839745023d ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 6c4474237ab3356b100ebbdd6ff1a8839745023d

PR symtab/19914 fix handling of dwp + split debug

	PR symtab/19914
	* dwarf2read.c (open_and_init_dwp_file): Look at backlink if objfile
	is separate debug file.

	testsuite/
	* gdb.dwarf2/dwp-sepdebug.c: New file.
	* gdb.dwarf2/dwp-sepdebug.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Introduce procedure use_gdb_stub
@ 2016-05-04 13:48 sergiodj+buildbot
  2016-05-04 14:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-04 13:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8929ad8bbca9a8b036eba0397992d6f3b4d1966b ***

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

Introduce procedure use_gdb_stub

This patch introduces the use_gdb_stub procedure, which allows getting
the right value of the use_gdb_stub variable/property in any all
situations.

When calling it before the $use_gdb_stub global variable has been set,
it will return the value of the use_gdb_stub property from the board
file.  This happens when tests want to bail out early (even before gdb
has been started) when the current test setup is a stub.

Otherwise, it returns the value of the $use_gdb_stub global.

It's possible for these two to differ when a test file overrides the
value of the global.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (use_gdb_stub): New procedure.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix solib-display.exp remote check
@ 2016-05-04 14:35 sergiodj+buildbot
  2016-05-04 14:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-04 14:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 02e370d94ee3abc6f910602e79c6d4515d9c720d ***

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

Fix solib-display.exp remote check

This test currently uses [is_remote target] to check if the test is
supported.  This is not quite correct, as the limitation is actually
that it requires support for "running", ruling out stub-like targets.
Therefore, it should check for use_gdb_stub.

This has no visible effect right now, but it will once we make the
native-gdbserver board non-dejagnu-remote.

gdb/testsuite/ChangeLog:

	* gdb.base/solib-display.exp: Check for [use_gdb_stub]instead
	of [is_remote target],


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Throw NOT_AVAILABLE_ERROR in read_stack and read_code
@ 2016-05-04 14:42 sergiodj+buildbot
  2016-05-04 15:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-04 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edf689f02787121a49ea0e36cfaa051b06852c8b ***

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

Throw NOT_AVAILABLE_ERROR in read_stack and read_code

Nowadays, read_memory may throw NOT_AVAILABLE_ERROR (it is done by
patch http://sourceware.org/ml/gdb-patches/2013-08/msg00625.html)
however, read_stack and read_code still throws MEMORY_ERROR only.  This
causes PR 19947, that is prologue unwinder is unable unwind because
code memory isn't available, but MEMORY_ERROR is thrown, while unwinder
catches NOT_AVAILABLE_ERROR.

 #0  memory_error (err=err@entry=TARGET_XFER_E_IO, memaddr=memaddr@entry=140737349781158) at /home/yao/SourceCode/gnu/gdb/git/gdb/corefile.c:217
 #1  0x000000000065f5ba in read_code (memaddr=memaddr@entry=140737349781158, myaddr=myaddr@entry=0x7fffffffd7b0 "\340\023<\001", len=len@entry=1)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/corefile.c:288
 #2  0x000000000065f7b5 in read_code_unsigned_integer (memaddr=memaddr@entry=140737349781158, len=len@entry=1, byte_order=byte_order@entry=BFD_ENDIAN_LITTLE)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/corefile.c:363
 #3  0x00000000004717e0 in amd64_analyze_prologue (gdbarch=gdbarch@entry=0x13c13e0, pc=140737349781158, current_pc=140737349781165, cache=cache@entry=0xda0cb0)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/amd64-tdep.c:2267
 #4  0x0000000000471f6d in amd64_frame_cache_1 (cache=0xda0cb0, this_frame=0xda0bf0) at /home/yao/SourceCode/gnu/gdb/git/gdb/amd64-tdep.c:2437
 #5  amd64_frame_cache (this_frame=0xda0bf0, this_cache=<optimised out>) at /home/yao/SourceCode/gnu/gdb/git/gdb/amd64-tdep.c:2508
 #6  0x000000000047214d in amd64_frame_this_id (this_frame=<optimised out>, this_cache=<optimised out>, this_id=0xda0c50)
     at /home/yao/SourceCode/gnu/gdb/git/gdb/amd64-tdep.c:2541
 #7  0x00000000006b94c4 in compute_frame_id (fi=0xda0bf0) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:481
 #8  get_prev_frame_if_no_cycle (this_frame=this_frame@entry=0xda0b20) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1809
 #9  0x00000000006bb6c9 in get_prev_frame_always_1 (this_frame=0xda0b20) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1983
 #10 get_prev_frame_always (this_frame=this_frame@entry=0xda0b20) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1999
 #11 0x00000000006bbe11 in get_prev_frame (this_frame=this_frame@entry=0xda0b20) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:2241
 #12 0x00000000006bc13c in unwind_to_current_frame (ui_out=<optimised out>, args=args@entry=0xda0b20) at /home/yao/SourceCode/gnu/gdb/git/gdb/frame.c:1485

The fix is to let read_stack and read_code throw NOT_AVAILABLE_ERROR too,
in order to align with read_memory.

gdb:

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

	PR gdb/19947
	* corefile.c (read_memory): Rename it to ...
	(read_memory_object): ... it.  Add parameter object.
	(read_memory): Call read_memory_object.
	(read_stack): Likewise.
	(read_code): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Add SYNTAX_NOP and SYNTAX_1OP for extension instructions
@ 2016-05-04 15:43 sergiodj+buildbot
  2016-05-04 15:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-04 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 945e0f82dad31db89a107b496532886fe215c011 ***

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

[ARC] Add SYNTAX_NOP and SYNTAX_1OP for extension instructions

gas/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
	(arc_extinsn): Handle new introduced syntax.
	* testsuite/gas/arc/textinsn1op.d: New file.
	* testsuite/gas/arc/textinsn1op.s: Likewise.
	* doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.

opcodes/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-ext.c (dump_ARC_extmap): Handle SYNATX_NOP and SYNTAX_1OP.
	(arcExtMap_genOpcode): Likewise.
	* arc-opc.c (arg_32bit_rc): Define new variable.
	(arg_32bit_u6): Likewise.
	(arg_32bit_limm): Likewise.

include/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (ARC_SYNTAX_1OP): Declare
	(ARC_SYNTAX_NOP): Likewsie.
	(ARC_OP1_MUST_BE_IMM): Update defined value.
	(ARC_OP1_IMM_IMPLIED): Likewise.
	(arg_32bit_rc, arg_32bit_u6, arg_32bit_limm): Declare.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Change type of cpsr in arm_sigreturn_next_pc
@ 2016-05-05  8:19 sergiodj+buildbot
  2016-05-05  8:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-05  8:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf2ebb6e0958c9193c7c65620cd7a8b990d8b316 ***

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

Change type of cpsr in arm_sigreturn_next_pc

Variable cpsr holds the value of cpsr register, which is 32-bit.  It
is better to explicitly use uint32_t.

gdb/gdbserver:

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

	* linux-arm-low.c (arm_sigreturn_next_pc): Change type of cpsr
	to uint32_t.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Initialize res in get_next_pcs_read_memory_unsigned_integer
@ 2016-05-05  9:13 sergiodj+buildbot
  2016-05-05  9:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-05  9:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e78496443ec1525ee94c54249779639b4cded0b ***

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

Initialize res in get_next_pcs_read_memory_unsigned_integer

This patch initialize res to zero, otherwise, it may have some garbage
bits after the *the_target->read_memory call.

gdb/gdbserver:

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

	* linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer):
	Initialize res to zero.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Cache the section contents in x86 check_relocs
@ 2016-05-05 11:45 sergiodj+buildbot
  2016-05-05 11:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-05 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bedfd056d4d58a3ebaf8d396c8453f0d0468576f ***

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

Cache the section contents in x86 check_relocs

Cache the section contents in x86 check_relocs for sections without
TLS relocations.

	* elf32-i386.c (elf_i386_check_tls_transition): Remove abfd.
	Don't check if contents == NULL.
	(elf_i386_tls_transition): Add from_relocate_section.  Check
	from_relocate_section instead of contents != NULL.  Update
	elf_i386_check_tls_transition call.
	(elf_i386_check_relocs): Cache the section contents if
	keep_memory is FALSE.  Pass FALSE as from_relocate_section to
	elf_i386_tls_transition.
	(elf_i386_relocate_section): Pass TRUE as from_relocate_section
	to elf_i386_tls_transition.
	(elf_backend_caches_rawsize): New.
	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Don't check
	if contents == NULL.
	(elf_x86_64_tls_transition): Add from_relocate_section.  Check
	from_relocate_section instead of contents != NULL.
	(elf_x86_64_check_relocs): Cache the section contents if
	keep_memory is FALSE.  Pass FALSE as from_relocate_section to
	elf_x86_64_tls_transition.
	(elf_x86_64_relocate_section): Pass TRUE as from_relocate_section
	to elf_x86_64_tls_transition.
	(elf_backend_caches_rawsize): New.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for FMLA (by element) to AArch64 sim.
@ 2016-05-06  9:55 sergiodj+buildbot
  2016-05-06 10:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-06  9:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fd7ed446fbee07c70ebc7d1e92f1ece665d7fc64 ***

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

Add support for FMLA (by element) to AArch64 sim.

	* simulator.c (do_FMLA_by_element): New function.
	(do_vec_op2): Call it.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Define elf_backend_add_symbol_hook for Intel MCU
@ 2016-05-06 15:44 sergiodj+buildbot
  2016-05-06 16:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-06 15:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 030e823caf4243a3337c2134a4a2f38490d3cf3d ***

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

Define elf_backend_add_symbol_hook for Intel MCU

elf_backend_add_symbol_hook is undefined for FreeBSD.  Define it for
Intel MCU to support STB_GNU_UNIQUE for Intel MCU and NaCl.

	* elf32-i386.c (elf_backend_add_symbol_hook): Defined for Intel
	MCU.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] remove trivialy unused variables
@ 2016-05-08  0:20 sergiodj+buildbot
  2016-05-08  0:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Redundant hash table check
@ 2016-05-09  8:25 sergiodj+buildbot
  2016-05-09  8:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-09  8:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae1bb197269ca8f7aa560168c0dfd0bb80730e0f ***

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

Redundant hash table check

	* elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Regenerate configure
@ 2016-05-09  8:38 sergiodj+buildbot
  2016-05-09  9:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-09  8:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6eb7d83039db70127a6eb3e4b64ecae782c42f00 ***

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

Regenerate configure


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] opcodes,gas: sparc: fix mnemonic of faligndatai
@ 2016-05-09 11:17 sergiodj+buildbot
  2016-05-09 11:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-09 11:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d751b79ea6bd7721367f1d78d22b70cee161fc26 ***

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

opcodes,gas: sparc: fix mnemonic of faligndatai

opcodes/ChangeLog:

2016-05-09  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sparc-opc.c (sparc_opcodes): Fix mnemonic of faligndatai.

gas/ChangeLog:

2016-05-09  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* testsuite/gas/sparc/sparc5vis4.s: Fix mnemonic of faligndatai.
	* testsuite/gas/sparc/sparc5vis4.d: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARM/STM32L4XX] PR 20030: --fix-stm32l4xx-629360 fails to create vldm/vpop veneers for double-precision registers
@ 2016-05-09 13:29 sergiodj+buildbot
  2016-05-09 13:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-09 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9239bbd3a6bf901dba1c0170622c50c78f6d1096 ***

Author: Christophe Monat <christophe.monat@st.com>
Branch: master
Commit: 9239bbd3a6bf901dba1c0170622c50c78f6d1096

[ARM/STM32L4XX] PR 20030: --fix-stm32l4xx-629360 fails to create vldm/vpop veneers for double-precision registers

bfd/
	PR ld/20030
	* elf32-arm.c (is_thumb2_vldm): Account for T1 (DP) encoding.
	(stm32l4xx_need_create_replacing_stub): Rename ambiguous nb_regs
	to nb_words.
	(create_instruction_vldmia): Add is_dp to disambiguate SP/DP
	encoding.
	(create_instruction_vldmdb): Likewise.
	(stm32l4xx_create_replacing_stub_vldm): is_dp detects DP encoding,
	uses it to re-encode.

ld/
	PR ld/20030
	* testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
	tests. Fix misnamed stm32l4xx-fix-all.
	* testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
	loads with DP registers.
	* testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
	* testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
	* testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
	loads with DP registers.
	* testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix seg fault objdumping a corrupt binary with an invalid sh_link field.
@ 2016-05-09 16:52 sergiodj+buildbot
  2016-05-09 17:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-09 16:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 315350be6598235df12a0190a5a4c21447eead36 ***

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

Fix seg fault objdumping a corrupt binary with an invalid sh_link field.

	PR binutils/20063
	* elf.c (bfd_elf_get_elf_syms): Check for out of range sh_link
	field before accessing sections array.

	* readelf.c (get_32bit_section_headers): Warn if an out of range
	sh_link or sh_info field is encountered.
	(get_64bit_section_headers): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PR 20059 _bfd_elf_copy_link_hash_symbol_type segfault
@ 2016-05-10  2:02 sergiodj+buildbot
  2016-05-10  2:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10  2:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66a368220cc109070a30ac2bbf24057c8b07a2b0 ***

Author: Pip Cet <pipcet@gmail.com>
Branch: master
Commit: 66a368220cc109070a30ac2bbf24057c8b07a2b0

PR 20059 _bfd_elf_copy_link_hash_symbol_type segfault

	PR ld/20059
	* elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type):
	Define as _bfd_generic_copy_link_hash_symbol_type when using
	generic hash table.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for ARMv8-M security extensions instructions
@ 2016-05-10 15:40 sergiodj+buildbot
  2016-05-10 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 15:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16a1fa25be5705102b84ef0ea6eea71312328c2c ***

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

Add support for ARMv8-M security extensions instructions

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (arm_ext_m): Add feature bit ARM_EXT2_V8M_MAIN.
	(arm_ext_v8m_main): New feature set for bit ARM_EXT2_V8M_MAIN.
	(arm_ext_v8m_m_only): New feature set for instructions in ARMv8-M not
	shared with a non M profile architecture.
	(do_rn): New function.
	(known_t32_only_insn): Check opcode against arm_ext_v8m_m_only rather
	than arm_ext_v8m.
	(v7m_psrs): Add ARMv8-M security extensions new special registers.
	(insns): Add ARMv8-M Security Extensions instructions.
	(aeabi_set_public_attributes): Use arm_ext_v8m_m_only instead of
	arm_ext_v8m_m to decide the profile and the Thumb ISA.
	* testsuite/gas/arm/archv8m-cmse.s: New file.
	* testsuite/gas/arm/archv8m-cmse-main.s: Likewise..
	* testsuite/gas/arm/archv8m-cmse-msr.s: Likewise.
	* testsuite/gas/arm/any-cmse.d: Likewise.
	* testsuite/gas/arm/any-cmse-main.d: Likewise.
	* testsuite/gas/arm/archv8m-cmse-base.d: Likewise.
	* testsuite/gas/arm/archv8m-cmse-msr-base.d: Likewise.
	* testsuite/gas/arm/archv8m-cmse-main-1.d: Likewise.
	* testsuite/gas/arm/archv8m-cmse-main-2.d: Likewise.
	* testsuite/gas/arm/archv8m-cmse-msr-main.d: Likewise.

include/
	* opcode/arm.h (ARM_EXT2_V8M_MAIN): new feature bit.
	(ARM_AEXT2_V8M_MAIN): New architecture extension feature set.
	(ARM_ARCH_V8M_MAIN): Use ARM_AEXT2_V8M_MAIN instead of ARM_AEXT2_V8M
	for the high core bits.

opcodes/
	* arm-dis.c (coprocessor_opcodes): Add entries for VFP ARMv8-M
	Mainline Security Extensions instructions.
	(thumb_opcodes): Add entries for narrow ARMv8-M Security
	Extensions instructions.
	(thumb32_opcodes): Add entries for wide ARMv8-M Security Extensions
	instructions.
	(psr_name): Add new MSP_NS and PSP_NS ARMv8-M Security Extensions
	special registers.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Allow extension availability to depend on several architecture bits
@ 2016-05-10 16:24 sergiodj+buildbot
  2016-05-10 16:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 16:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d942732e829030b8eab483dd48b979f8eed7c9e2 ***

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

Allow extension availability to depend on several architecture bits

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (struct arm_option_extension_value_table): Make
	allowed_archs an array with 2 entries.
	(ARM_EXT_OPT): Adapt to only fill the first entry of allowed_archs.
	(ARM_EXT_OPT2): New macro filling the two entries of allowed_archs.
	(arm_extensions): Use separate entries in allowed_archs when several
	archs are allowed to use an extension and change ARCH_ANY in
	ARM_ARCH_NONE in allowed_archs.
	(arm_parse_extension): Check that, for each allowed_archs entry, all
	bits are set in the current architecture, ignoring ARM_ANY entries.
	(s_arm_arch_extension): Likewise.

include/
	* arm.h (ARM_FSET_CPU_SUBSET): Define macro.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for ARMv8-M Mainline with DSP extension
@ 2016-05-10 16:40 sergiodj+buildbot
  2016-05-10 16:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Refactor Cortex-A8 erratum workaround in preparation
@ 2016-05-10 17:24 sergiodj+buildbot
  2016-05-10 17:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8d9d9490142a0cd6edb7cfec820a7c8f28b88395 ***

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

Refactor Cortex-A8 erratum workaround in preparation

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (enum elf32_arm_stub_type): Delete
	arm_stub_a8_veneer_lwm enumerator.
	(arm_stub_a8_veneer_lwm): New unsigned constant to replace
	aforementioned enumerator.
	(struct elf32_arm_stub_hash_entry): Delete target_addend
	field and add source_value.
	(struct a8_erratum_fix): Delete addend field and add target_offset.
	(stub_hash_newfunc): Initialize source_value field amd remove
	initialization for target_addend.
	(arm_build_one_stub): Stop special casing Thumb relocations: promote
	the else to being always executed, moving the
	arm_stub_a8_veneer_b_cond specific code in it.  Remove
	stub_entry->target_addend from points_to computation.
	(cortex_a8_erratum_scan): Store in a8_erratum_fix structure the offset
	to target symbol from start of section rather than the offset from the
	stub address.
	(elf32_arm_size_stubs): Set stub_entry's source_value and target_value
	fields from struct a8_erratum_fix's offset and target_offset
	respectively.
	(make_branch_to_a8_stub): Rename target variable to loc.  Compute
	veneered_insn_loc and loc using stub_entry's source_value.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Factor our stub creation in ARM backend
@ 2016-05-10 17:37 sergiodj+buildbot
  2016-05-10 17:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 17:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b715f643ef3810bd77d50cc97fe4f7a3116b1556 ***

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

Factor our stub creation in ARM backend

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (elf32_arm_create_stub): New function.
	(elf32_arm_size_stubs): Use elf32_arm_create_stub for stub creation.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Allow stubs without associated input section in ARM backend
@ 2016-05-10 18:12 sergiodj+buildbot
  2016-05-10 18:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Use getters/setters to access ARM branch type
@ 2016-05-10 18:49 sergiodj+buildbot
  2016-05-10 18:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39d911fc3c6519799ca1af4365d4b56f9d71ca94 ***

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

Use getters/setters to access ARM branch type

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (elf32_arm_size_stubs): Use new macros
	ARM_GET_SYM_BRANCH_TYPE and ARM_SET_SYM_BRANCH_TYPE to respectively get
	and set branch type of a symbol.
	(bfd_elf32_arm_process_before_allocation): Likewise.
	(elf32_arm_relocate_section): Likewise and fix identation along the
	way.
	(allocate_dynrelocs_for_symbol): Likewise.
	(elf32_arm_finish_dynamic_symbol): Likewise.
	(elf32_arm_swap_symbol_in): Likewise.
	(elf32_arm_swap_symbol_out): Likewise.

gas/
	* config/tc-arm.c (arm_adjust_symtab): Use ARM_SET_SYM_BRANCH_TYPE to
	set branch type of a symbol.

gdb/
	* arm-tdep.c (arm_elf_make_msymbol_special): Use
	ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.

include/
	* arm.h (enum arm_st_branch_type): Add new ST_BRANCH_ENUM_SIZE
	enumerator.
	(NUM_ENUM_ARM_ST_BRANCH_TYPE_BITS): New macro.
	(ENUM_ARM_ST_BRANCH_TYPE_BITMASK): Likewise.
	(ARM_SYM_BRANCH_TYPE): Replace by ...
	(ARM_GET_SYM_BRANCH_TYPE): This and ...
	(ARM_SET_SYM_BRANCH_TYPE): This in two versions depending on whether
	BFD_ASSERT is defined or not.

ld/
	* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
	ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.

opcodes/
	* arm-dis.c (get_sym_code_type): Use ARM_GET_SYM_BRANCH_TYPE to get
	branch type of a symbol.
	(print_insn): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Allow veneers to claim veneered symbols
@ 2016-05-10 19:10 sergiodj+buildbot
  2016-05-10 19:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 19:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f4faa4d43aeaf5dd0a5fe0aff2fde89df3e5b8c ***

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

Allow veneers to claim veneered symbols

2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (enum elf32_arm_stub_type): New max_stub_type
	enumerator.
	(arm_stub_sym_claimed): New function.
	(elf32_arm_create_stub): Use veneered symbol name and section if
	veneer needs to claim its symbol, and keep logic unchanged otherwise.
	(arm_stub_claim_sym): New function.
	(arm_map_one_stub): Call arm_stub_claim_sym if veneer needs to claim
	veneered symbol, otherwise create local symbol as before.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Enable Intel RDPID instruction.
@ 2016-05-10 19:42 sergiodj+buildbot
  2016-05-10 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-10 19:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8bc526963edde8cf8789ce82072d05fd2bcc90c4 ***

Author: Alexander Fomin <alexander.fomin@intel.com>
Branch: master
Commit: 8bc526963edde8cf8789ce82072d05fd2bcc90c4

Enable Intel RDPID instruction.

This patch enables Intel RDPID instruction described in Intel64 and
IA-32 Architectures Software Developer's Manual, April 2016.

gas/

	* config/tc-i386.c (cpu_arch): Add RDPID.
	* doc/c-i386.texi: Document RDPID.

gas/testsuite/

	* gas/i386/i386.exp: Run RDPID tests.
	* gas/i386/prefix.d: Adjust.
	* gas/i386/rdpid.s: New test.
	* gas/i386/rdpid.d: Ditto.
	* gas/i386/rdpid-intel.d: Ditto.
	* gas/i386/x86-64-rdpid.s: Ditto.
	* gas/i386/x86-64-rdpid.d: Ditto.
	* gas/i386/x86-64-rdpid-intel.d: Ditto.

opcodes/

	* i386-dis.c (prefix_table): Add RDPID instruction.
	* i386-gen.c (cpu_flag_init): Add RDPID flag.
	(cpu_flags): Add RDPID bitfield.
	* i386-opc.h (enum): Add RDPID element.
	(i386_cpu_flags): Add RDPID field.
	* i386-opc.tbl: Add RDPID instruction.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Regenerate.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] fix up two issues with the removal of unused variables
@ 2016-05-11  1:45 sergiodj+buildbot
  2016-05-11  2:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-11  1:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df140a0bc3140bca133cd7ced6e18903db69c396 ***

Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Branch: master
Commit: df140a0bc3140bca133cd7ced6e18903db69c396

fix up two issues with the removal of unused variables

gdb/ChangeLog:

2016-05-10  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* iq2000-tdep.c (iq2000_scan_prologue): Remove if that shouldn't guard
	anything.
	* linespec.c (add_sal_to_sals): Restore call to symtab_to_fullname.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [AArch64] Remove redundant tls relax in elfNN_aarch64_final_link_relocate
@ 2016-05-11 11:26 sergiodj+buildbot
  2016-05-11 11:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-11 11:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e7fbb34f0546360e86b56dcd32b4d6478662b41 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 4e7fbb34f0546360e86b56dcd32b4d6478662b41

[AArch64] Remove redundant tls relax in elfNN_aarch64_final_link_relocate

bfd/
  * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Remove redundant
  aarch64_tls_transition check.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ld --gc-sections fail with __tls_get_addr_opt
@ 2016-05-11 13:27 sergiodj+buildbot
  2016-05-11 13:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-11 13:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3bd43ebcb6025a8a43f119238f490e2e238697a2 ***

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

ld --gc-sections fail with __tls_get_addr_opt

When --gc-sections is active, __tls_get_addr_opt is marked as not
needed and forced local before ppc*_elf_tls_setup is run.

bfd/
	PR 20060
	* elf64-ppc.c (ppc64_elf_tls_setup): Clear forced_local.
	* elf32-ppc.c (ppc_elf_tls_setup): Likewise.
ld/
	PR 20060
	* testsuite/ld-powerpc/powerpc.exp: Run new tests.
	* testsuite/ld-powerpc/tlsdll.s: New.
	* testsuite/ld-powerpc/tlsdll.ver: New.
	* testsuite/ld-powerpc/tlsdll_32.s: New.
	* testsuite/ld-powerpc/tlsopt5.d: New.
	* testsuite/ld-powerpc/tlsopt5.s: New.
	* testsuite/ld-powerpc/tlsopt5_32.d: New.
	* testsuite/ld-powerpc/tlsopt5_32.s: New.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add MIPS32 DSPr3 support.
@ 2016-05-11 16:26 sergiodj+buildbot
  2016-05-11 16:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-11 16:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f4f9071ad5fe6076c3554a75d59536e74e6a3fe ***

Author: Matthew Fortune <matthew.fortune@imgtec.com>
Branch: master
Commit: 8f4f9071ad5fe6076c3554a75d59536e74e6a3fe

Add MIPS32 DSPr3 support.

bfd/

	* elfxx-mips.c (print_mips_ases): Add DSPR3.

binutils/

	* readelf.c (print_mips_ases): Add DSPR3.

gas/

	* config/tc-mips.c (options): Add OPTION_DSPR3 and
	OPTION_NO_DSPR3.
	(md_longopts): Likewise.
	(md_show_usage): Add help for -mdspr3 and -mno-dspr3.
	(mips_ases): Define availability for DSPr3.
	(mips_ase_groups): Add ASE_DSPR3 to the DSP group.
	(mips_convert_ase_flags): Map ASE_DSPR3 to AFL_ASE_DSPR3.
	* doc/as.texinfo: Document -mdspr3, -mno-dspr3.  Fix -mdspr2
	formatting.
	* doc/c-mips.texi: Document -mdspr3, -mno-dspr3, .set dspr3 and
	.set nodspr3.  Fix -mdspr2 formatting.
	* testsuite/gas/mips/mips32-dspr3.d: New file.
	* testsuite/gas/mips/mips32-dspr3.s: Likewise.
	* testsuite/gas/mips/mips.exp: Run mips32-dspr3 test.

include/

	* elf/mips.h (AFL_ASE_DSPR3): New macro.
	(AFL_ASE_MASK): Update to include AFL_ASE_DSPR3.
	* opcode/mips.h (ASE_DSPR3): New macro.

opcodes/

	* mips-dis.c (mips_arch_choices): Add ASE_DSPR3 to mips32r6 and
	mips64r6.
	* mips-opc.c (D34): New macro.
	(mips_builtin_opcodes): Define bposge32c for DSPr3.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ld -z combreloc reloc sorting
@ 2016-05-12 15:11 sergiodj+buildbot
  2016-05-12 15:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-12 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1997c9943a1979a7407f3c70ead92493a799e13e ***

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

ld -z combreloc reloc sorting

PLT relocs don't appear in .rela.dyn, at least not when using
normal linker scripts.  However, if they do, then they ought to be
placed last rather than in the middle of other relocs.

	* elf-bfd.h (elf_reloc_type_class): Put reloc_class_plt last.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] PR symtab/19999 gdb unable to resolve vars with fission+PIE
@ 2016-05-12 16:48 sergiodj+buildbot
  2016-05-12 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-12 16:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ddd5a6cd692ca8c4041d9fb64cbb4e0585d4aa1 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 8ddd5a6cd692ca8c4041d9fb64cbb4e0585d4aa1

PR symtab/19999 gdb unable to resolve vars with fission+PIE

gdb/ChangeLog:

	* dwarf2loc.c (dwarf2_find_location_expression): For DWO files still
	add base_offset.

gdb/testsuite/ChangeLog:

	* lib/dwarf.exp (build_executable_from_fission_assembler): Pass
	$options when building executable.
	* gdb.dwarf2/fission-loclists-pie.c: New file.
	* gdb.dwarf2/fission-loclists-pie.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] ld -z combreloc elf_link_sort_relocs
@ 2016-05-13  5:36 sergiodj+buildbot
  2016-05-13  6:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-13  5:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8e44c6d168f8e68b7bbb1119065e0059a16fe34 ***

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

ld -z combreloc elf_link_sort_relocs

A linker script may put .rela.plt in with other .rela.dyn relocs.
The change to elf_reloc_type_class puts any PLT relocs last.  This
patch makes the input section layout better match the sorted relocs.

	* elflink.c (elf_link_sort_relocs): Wrap overlong lines.  Fix
	octets_per_byte.  Put dynamic .rela.plt last in link orders.
	Assign output_offset for reloc sections rather than writing
	sorted relocs from block corresponding to output_offset.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set dynamic tag VMA and size from dynamic section when possible
@ 2016-05-13  6:13 sergiodj+buildbot
  2016-05-13  7:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-13  6:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ade44b727ee77adaa9c22719935d012e253a5e6 ***

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

Set dynamic tag VMA and size from dynamic section when possible

Rather than searching the output for a specific named section, it's
better, where possible, to use a linker created dynamic section to set
a dynamic tag's value.  That way ld doesn't depend on the output
section name, making it possibile to map dynamic sections differently.

bfd/
	* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Use
	linker dynamic sections in calculating size and address of
	* dynamic tags rather than using output sections.  Remove asserts.
	* elf32-arm.c (elf32_arm_finish_dynamic_sections): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Likewise.
	* elf32-cris.c (elf_cris_finish_dynamic_sections): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
	* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Likewise.
	* elf32-m32r.c (m32r_elf_finish_dynamic_sections): Likewise.
	* elf32-m68k.c (elf_m68k_finish_dynamic_sections): Likewise.
	* elf32-metag.c (elf_metag_finish_dynamic_sections): Likewise.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Likewise.
	* elf32-nds32.c (nds32_elf_finish_dynamic_sections): Likewise.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Likewise.
	* elf32-or1k.c (or1k_elf_finish_dynamic_sections): Likewise.
	* elf32-s390.c (elf_s390_finish_dynamic_sections): Likewise.
	* elf32-score.c (s3_bfd_score_elf_finish_dynamic_sections): Likewise.
	* elf32-score7.c (s7_bfd_score_elf_finish_dynamic_sections): Likewise.
	* elf32-vax.c (elf_vax_finish_dynamic_sections): Likewise.
	* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Likewise.
	* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Likewise.
	* elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise.
	* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.
	* elflink.c (bfd_elf_final_link): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
	* elfxx-sparc.c (sparc_finish_dyn): Likewise.  Adjust error message.
	* elf32-arc.c (GET_SYMBOL_OR_SECTION): Remove ASSERT arg and
	don't set doit.  Look up dynobj section.
	(elf_arc_finish_dynamic_sections): Adjust GET_SYMBOL_OR_SECTION
	invocation and dynamic tag vma calculation.  Don't test
	boolean var == TRUE.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Fix
	DT_JMPREL calc.
ld/
	* testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
	Use different output file name for static app without .rel.plt.
	* testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
	* testsuite/ld-arm/arm-no-rel-plt.out: Delete.
	* testsuite/ld-arm/arm-no-rel-plt.r: New.
	* testsuite/ld-arm/arm-static-app.d: Don't check file name.
	* testsuite/ld-arm/arm-static-app.r: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't convert GOTPCREL relocation against large section
@ 2016-05-13 18:25 sergiodj+buildbot
  2016-05-13 18:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-13 18:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2168b2688ae343a61c467450068503295a5e3deb ***

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

Don't convert GOTPCREL relocation against large section

bfd/

	PR ld/20093
	* elf64-x86-64.c (elf_x86_64_convert_load_reloc): Don't convert
	GOTPCREL relocation against large section.

ld/

	PR ld/20093
	* testsuite/ld-x86-64/pr20093-1.d: New file.
	* testsuite/ld-x86-64/pr20093-1.s: Likewise.
	* testsuite/ld-x86-64/pr20093-2.d: Likewise.
	* testsuite/ld-x86-64/pr20093-2.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Accept valid one byte signed and unsigned values for the IMM8 operand.
@ 2016-05-13 20:38 sergiodj+buildbot
  2016-05-13 20:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-13 20:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1178da445ad5faf37f9cc2be3aaa69d916f10f62 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 1178da445ad5faf37f9cc2be3aaa69d916f10f62

Accept valid one byte signed and unsigned values for the IMM8 operand.

opcodes/
	* ppc-opc.c (IMM8): Use PPC_OPERAND_SIGNOPT.

gas/
	* testsuite/gas/ppc/power9.d <xxspltib>: Add additional operand tests.
	* testsuite/gas/ppc/power9.s: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again
@ 2016-05-16 12:47 sergiodj+buildbot
  2016-05-16 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-16 12:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 71de341392d18d7951b5a00fe68b6309e2dfbb47 ***

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

V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again

Correct a regression introduced with commit 685080f21003 ("Adds support
for generating notes in V850 binaries.") which replaced rather than
extending the call to `_bfd_elf_copy_private_bfd_data' with
`v850_elf_copy_private_bfd_data'.  Consequently ELFOSABI_GNU marking is
not propagated to output by `objcopy' from objects containing
STB_GNU_UNIQUE symbols.

	bfd/
	* elf32-v850.c (v850_elf_copy_notes): New function, factored out
	from...
	(v850_elf_copy_private_bfd_data): ... here.  Call the new
	function and `_bfd_elf_copy_private_bfd_data'.

	binutils/
	* testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
	test for the V850.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Match shell_prompt # in batch-preserve-term-settings.exp
@ 2016-05-16 16:48 sergiodj+buildbot
  2016-05-16 17:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-16 16:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 155b7f573bf6a9fffcb00108ab7a5fc12ed2f727 ***

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

Match shell_prompt # in batch-preserve-term-settings.exp

batch-preserve-term-settings.exp fails if the shell prompt isn't $.  It
is # in our testing env.  In fact, the shell prompt can be anything.

The perfect solution would be "set_board_info shell_prompt" in the
host board file, and use board_info shell_prompt in
batch-preserve-term-settings.exp.  This is a little bit overkill to
me, and we still need to figure out the different prompts on different
shells.  I also tried to start shell with the prompt preset, but there is
not unique way to set shell prompt in different shells, so I give up.

It is reasonably simple to match either $ or # for the shell prompt, and
we can easily extend it to match other char, like >.

gdb/testsuite:

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

	* gdb.base/batch-preserve-term-settings.exp: Remove variable
	shell_prompt.  Update shell_prompt_re.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use unsuspend_all_lwps
@ 2016-05-17  8:00 sergiodj+buildbot
  2016-05-17  8:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17  8:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fcdad592cd1f76046c5e4b7a2b0337e146d1e796 ***

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

Use unsuspend_all_lwps

This patch is to replace find_inferior (&all_threads, unsuspend_one_lwp, NULL)
with unsuspend_all_lwps (NULL), which is shorter.  They are equivalent
to each other.

gdb/gdbserver:

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

	* linux-low.c (linux_stabilize_threads): Call unsuspend_all_lwps
	instead of find_inferior.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] LD/ELF: Unify STB_GNU_UNIQUE handling
@ 2016-05-17 11:40 sergiodj+buildbot
  2016-05-17 11:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add DW_LANG_Rust
@ 2016-05-17 17:58 sergiodj+buildbot
  2016-05-17 18:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 17:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ff087ac1870878ad980503f5c8b60b6ffa32350 ***

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

Add DW_LANG_Rust

include/
	* dwarf2.h (enum dwarf_source_language) <DW_LANG_Rust,
	DW_LANG_Rust_old>: New constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235643 138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 2163+ 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:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Make gdb expression debugging handle OP_F90_RANGE
@ 2016-05-17 21:21 sergiodj+buildbot
  2016-05-17 21:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 21:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4b8a1c839b88c345b82c37c90814a89c7f0c3c2 ***

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

Make gdb expression debugging handle OP_F90_RANGE

print_subexp_standard and dump_subexp_body_standard did not handle
OP_F90_RANGE.  Attempting to dump an expression using this opcode
would fail.

This patch adds support for this opcode to these functions.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* expprint.c: Include f-lang.h.
	(print_subexp_standard, dump_subexp_body_standard): Handle
	OP_F90_RANGE.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Update gdb test suite for Rust
@ 2016-05-17 21:36 sergiodj+buildbot
  2016-05-17 23:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add self-test framework to gdb
@ 2016-05-17 21:52 sergiodj+buildbot
  2016-05-17 22:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 21:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dcd1f97951b432032fd0728992b1384064663701 ***

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

Add self-test framework to gdb

I wanted to unit test the Rust lexer, so I added a simple unit testing
command to gdb.

The intent is that self tests will only be compiled into gdb in
development mode.  In release mode they simply won't exist.  So, this
exposes $development to C code as GDB_SELF_TEST.

In development mode, test functions are registered with the self test
module.  A test function is just a function that does some checks, and
throws an exception on failure.

Then this adds a new "maint selftest" command which invokes the test
functions, and a new dejagnu test case that invokes it.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* NEWS: Add "maint selftest" entry.
	* selftest.h: New file.
	* selftest.c: New file.
	* maint.c: Include selftest.h.
	(maintenance_selftest): New function.
	(_initialize_maint_cmds): Add "maint selftest" command.
	* configure.ac (GDB_SELF_TEST): Maybe define.
	* config.in, configure: Rebuild.
	* Makefile.in (SFILES): Add selftest.c.
	(COMMON_OBS): Add selftest.o.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* gdb.texinfo (Maintenance Commands): Document "maint selftest".

2016-05-17  Tom Tromey  <tom@tromey.com>

	* gdb.gdb/unittest.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add array start and end strings to generic_val_print_decorations
@ 2016-05-17 22:37 sergiodj+buildbot
  2016-05-17 22:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 22:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00272ec4b0cc22c1b9d60d39ce7bf5b2d5512582 ***

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

Add array start and end strings to generic_val_print_decorations

For Rust value-printing, I wanted to use generic_val_print_array, but
I also wanted to control the starting and ending strings.

This patch adds new strings to generic_val_print_decorations, updates
generic_val_print_array to use them, and updates all the existing
instances of generic_val_print_decorations.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* valprint.h (struct generic_val_print_array) <array_start,
	array_end>: New fields.
	* valprint.c (generic_val_print_array): Add "decorations"
	parameter.  Use "array_start", "array_end".
	(generic_val_print) <TYPE_CODE_ARRAY>: Update.
	* p-valprint.c (p_decorations): Update.
	* m2-valprint.c (m2_decorations): Update.
	* f-valprint.c (f_decorations): Update.
	* c-valprint.c (c_decorations): Update.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for the Rust language
@ 2016-05-17 22:44 sergiodj+buildbot
  2016-05-17 23:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add Rust documentation
@ 2016-05-17 23:52 sergiodj+buildbot
  2016-05-18  0:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-17 23:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bdfa368bc8dbea2f39706e34306c9b67883bbb1 ***

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

Add Rust documentation

This patch adds documentation for the new Rust support in gdb.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* NEWS: Add Rust item.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* gdb.texinfo (Supported Languages): Mention Rust.  Update menu.
	(Rust): New node.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Rename OP_F90_RANGE to OP_RANGE.
@ 2016-05-18  0:39 sergiodj+buildbot
  2016-05-18  0:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01739a3b6a564f6552acf6c01617aa21ab4d8833 ***

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

Rename OP_F90_RANGE to OP_RANGE.

This renames OP_F90_RANGE to OP_RANGE, and similarly renames the
f90_range_type enum.

2016-05-17  Tom Tromey  <tom@tromey.com>

	* std-operator.def (OP_RANGE): Rename from OP_F90_RANGE.
	* rust-lang.c: Don't include f-lang.h.
	(rust_range, rust_compute_range, rust_subscript)
	(rust_evaluate_subexp): Update.
	* rust-exp.y: Don't include f-lang.h.
	(ast_range, convert_ast_to_expression): Update.
	* parse.c (operator_length_standard): Update.
	* f-lang.h (enum f90_range_type): Move to expression.h.
	* f-exp.y: Use OP_RANGE.
	* expression.h (enum range_type): New enum; renamed from
	f90_range_type.
	* expprint.c: Don't include f-lang.h.
	(print_subexp_standard, dump_subexp_body_standard): Use OP_RANGE.
	* eval.c (value_f90_subarray, evaluate_subexp_standard): Update.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077)
@ 2016-05-18  1:09 sergiodj+buildbot
  2016-05-18  1:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18  1:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 61c6156df6e3c638eb3bdb4a6e3d418a43a6eb70 ***

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

Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077)

When doing -exec-run on a freshly started GDB, the only target on the
target stack at the time the dummy one.  When mi_async_p is called to
know whether the run should be async, it queries whether the current
target (dummy) supports async, and the answer is no.  The fix is to make
the code query the target that will be used for the run, which is not
necessarily the current target.

No regressions in the gdb.mi directory using the unix, native-gdbserver
and native-extended-gdbserver boards.  The test doesn't pass when
forcing maint set target-async off, obviously, since it makes mi-async
have no effect.  It doesn't seem like other tests are checking for that
eventuality, so I didn't in the new test.

gdb/ChangeLog:

	* mi/mi-main.c (run_one_inferior): Use run target to determine
	whether to run async or not.
	(mi_cmd_exec_run): Likewise.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-async-run.exp: New file.
	* gdb.mi/mi-async-run.c: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] elf32-arm.c build breakage
@ 2016-05-18  6:45 sergiodj+buildbot
  2016-05-18  7:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18  6:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7f9919700d0023db7d66fee9f437251a263f5d53 ***

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

elf32-arm.c build breakage

	* elf32-arm.c (elf32_arm_size_stubs): Free or cache local syms
	for each BFD.  Don't goto error_ret_free_local from outside loop.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Updated Swedish translations for bfd and binutils
@ 2016-05-18 12:06 sergiodj+buildbot
  2016-05-18 12:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18 12:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5049806017a546184b87fc3282a586d686b8d98f ***

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

Updated Swedish translations for bfd and binutils


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly
@ 2016-05-18 12:39 sergiodj+buildbot
  2016-05-18 12:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18 12:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1401d2fe675c5b0634a97e84e6b094eea527e63e ***

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

MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly

Mixing MIPS16 and microMIPS code in a single binary isn't usually
supported but GAS happily produces such code if requested.  However it
is not correctly disassembled even if a symbol table is available and
function symbols are correctly anotated with the ISA mode.  This is
because the ELF-header global microMIPS ASE flag takes precedence over
MIPS16 function annotation, causing them to be treated as regular MIPS
code.

Correct the problem by respecting function symbol anotation regardless
of the ELF-header flag.

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

	opcodes/
	* mips-dis.c (is_compressed_mode_p): Add `micromips_p' operand,
	replacing references to `micromips_ase' throughout.
	(_print_insn_mips): Don't use file-level microMIPS annotation to
	determine the disassembly mode with the symbol table.


^ permalink raw reply	[flat|nested] 2163+ 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 14:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Add mi-threads-interrupt.exp test (PR 20039)
@ 2016-05-18 15:15 sergiodj+buildbot
  2016-05-18 15:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18 15:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e8f9b05add4517189d7724ff3ed7c16f7b04daf ***

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

Add mi-threads-interrupt.exp test (PR 20039)

Add a new test for PR 20039.  The test spawns new threads, then tries to
interrupt, continue, and interrupt again.  This use case was fixed by
commit 5fe966540d6b748f825774868463003700f0c878 in master, but gdb 7.11
is affected (so if you try it on the gdb-7.11-branch right now, the test
will fail).

New in v2, the test now handles mi-async on mode properly.  The failure
was specific to mi-async off, but I don't think it's bad to test the
same thing under async on mode.  I added a little hack when running in
async mode to work around bug 20045.

I also removed one continue/interrupt pair, as a single one was enough to
trigger the problem.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-threads-interrupt.c: New file.
	* gdb.mi/mi-threads-interrupt.exp: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix build failure with GCC 4.1.
@ 2016-05-18 17:49 sergiodj+buildbot
  2016-05-18 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-18 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 45f4ed92d14ddf891be1470556f53de6c94c8dc2 ***

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

Fix build failure with GCC 4.1.

2016-05-18  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_subscript): Initialize "high".


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix ppc64le S-record test fail
@ 2016-05-19  5:14 sergiodj+buildbot
  2016-05-19  5:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19  5:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f284bf9da3ecc689405cb7b698c7714acdf1ab0 ***

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

Fix ppc64le S-record test fail

Segfaults on --defsym symbol (__stack_chk_fail in this instance).

	* elf64-ppc.c (ppc64_elf_branch_reloc): Check for NULL owner
	before dereferencing.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Allocate ppc64 got and dynrelocs before plt
@ 2016-05-19  5:39 sergiodj+buildbot
  2016-05-19  6:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix powerpc subis range
@ 2016-05-19  5:57 sergiodj+buildbot
  2016-05-19  7:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19  5:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e43de63c8fd11a15d7c6c852747c81664c0beb2a ***

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

Fix powerpc subis range

	* ppc-opc.c: Formatting.
	(NSISIGNOPT): Define.
	(powerpc_opcodes <subis>): Use NSISIGNOPT.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Correct "Fix powerpc subis range"
@ 2016-05-19  7:41 sergiodj+buildbot
  2016-05-19  8:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19  7:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 514e58b726338c24b672d96bd48f8ce8a47f7803 ***

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

Correct "Fix powerpc subis range"

	* ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove unsupported `am34-*-linux*' target triplet
@ 2016-05-19 10:25 sergiodj+buildbot
  2016-05-19 10:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19 10:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6b200de0f7a7008f74cde68fe87aa62b7729cd9a ***

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

Remove unsupported `am34-*-linux*' target triplet

The `am34-*-linux*' target cannot be configured for, `am34' is not a CPU
name recognized by `config.sub'.  It has never been, required code has
not been contributed to GNU config, neither before nor since the
addition of the target triplet to our configury with commit bfff16424942
("Add MN10300 linker relaxation support for symbol differences") back in
2007.  Also there is no difference in actual tool configuration between
the `am34-*-linux*' and `am33_2.0-*-linux*' targets, except from a
different executable prefix and tooldir name.

Given the above remove the target triplet from our configuration.

	bfd/
	* config.bfd: Remove `am34-*-linux*' support.

	ld/
	* configure.tgt: Remove `am34-*-linux*' support.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] BFD fixes.
@ 2016-05-19 13:20 sergiodj+buildbot
  2016-05-19 13:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19 13:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3c8adacaf910480e3cda19ac9566133864a781d1 ***

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

[ARC] BFD fixes.

2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>

	* elf32-arc.c (arc_elf_final_write_processing): Changed.
	(debug_arc_reloc): Likewise.
	(elf_arc_relocate_section): Likewise.
	(elf_arc_check_relocs): Likewise.
	(elf_arc_adjust_dynamic_symbol): Likewise.
	(elf_arc_add_symbol_hook): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Fix invalid implicit conversions from void *
@ 2016-05-19 13:44 sergiodj+buildbot
  2016-05-19 14:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19 13:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bfb0d950a58edc4eb1f102174af38a364f4f43f7 ***

Author: Andreas Schwab <schwab@suse.de>
Branch: master
Commit: bfb0d950a58edc4eb1f102174af38a364f4f43f7

Fix invalid implicit conversions from void *

	* ia64-libunwind-tdep.c (libunwind_descr): Add cast from void *.
	(libunwind_frame_set_descr): Likewise.
	(libunwind_frame_cache): Likewise.
	(libunwind_frame_dealloc_cache): Likewise.
	(libunwind_frame_sniffer): Likewise.
	(libunwind_search_unwind_table): Likewise.
	(libunwind_sigtramp_frame_sniffer): Likewise.
	(libunwind_get_reg_special): Likewise.
	(libunwind_load): Likewise.
	* ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
	(ia64_linux_store_register): Likewise.
	(ia64_linux_xfer_partial): Likewise.
	* ia64-tdep.c (ia64_access_reg): Likewise.
	(ia64_access_fpreg): Likewise.
	(ia64_access_rse_reg): Likewise.
	(ia64_access_rse_fpreg): Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Set sh_entsize for .init_array and similar.
@ 2016-05-19 15:18 sergiodj+buildbot
  2016-05-19 15:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19 15:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 606851fbf66c4a9e47c958014579dd363a74ba76 ***

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

Set sh_entsize for .init_array and similar.

	PR gas/20118
	* elf.c (elf_fake_sections): Set sh_entsize for SHT_INIT_ARRAY,
	SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't convert R_386_GOT32 relocation
@ 2016-05-19 20:17 sergiodj+buildbot
  2016-05-19 20:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-19 20:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d4d970973c4735dcdd2a69d645309f167a1d9d4 ***

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

Don't convert R_386_GOT32 relocation

Don't convert R_386_GOT32 since we can't tell if it is applied
to "mov $foo@GOT, %reg" which isn't a load via GOT.

bfd/

	PR ld/20117
	* elf32-i386.c (elf_i386_convert_load_reloc): Don't check
	R_386_GOT32X.
	(elf_i386_convert_load): Don't convert R_386_GOT32.

ld/

	PR ld/20117
	* testsuite/ld-i386/i386.exp: Run pr20117.
	* testsuite/ld-i386/pr19609-1i.d: Updated.
	* testsuite/ld-i386/pr20117.d: New file.
	* testsuite/ld-i386/pr20117.s: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] MIPS: Fix the encoding of immediates with microMIPS JALX
@ 2016-05-20 13:05 sergiodj+buildbot
  2016-05-20 13:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-20 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17c6c9d9f3e71459edb4b6af5ec75125f0d06f87 ***

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

MIPS: Fix the encoding of immediates with microMIPS JALX

The microMIPS JALX instruction shares the R_MICROMIPS_26_S1 relocation
with microMIPS J/JAL/JALS instructions, however unlike the latters its
encoded immediate argument is unusually shifted left by 2 rather than 1
in calculating the value used for the operation requested.

We already handle this exception in `mips_elf_calculate_relocation' in
LD, in a scenario where JALX is produced as a result of relaxing JAL for
the purpose of making a cross-mode jump.  We also get it right in the
disassembler in `decode_micromips_operand'.

What we don't correctly do however is processing microMIPS JALX produced
by GAS from an assembly source, where a non-zero constant argument or a
symbol reference with a non-zero in-place addend has been used.  In this
case the same calculation is made as for microMIPS J/JAL/JALS, causing
the wrong encoding to be produced by GAS on making an object file, and
then again by LD in the final link.  The latter in particular causes the
calculation, where the addend fits in the relocatable field, to produce
different final addresses for the same source code depending on whether
REL or RELA relocations are used.

Correct these issues by special-casing microMIPS JALX in the places that
have been previously missed.

	bfd/
	* elfxx-mips.c (mips_elf_read_rel_addend): Adjust the addend for
	microMIPS JALX.

	gas/
	* config/tc-mips.c (append_insn): Correct the encoding of a
	constant argument for microMIPS JALX.
	(tc_gen_reloc): Correct the encoding of an in-place addend for
	microMIPS JALX.
	* testsuite/gas/mips/jalx-addend.d: New test.
	* testsuite/gas/mips/jalx-addend-n32.d: New test.
	* testsuite/gas/mips/jalx-addend-n64.d: New test.
	* testsuite/gas/mips/jalx-imm.d: New test.
	* testsuite/gas/mips/jalx-imm-n32.d: New test.
	* testsuite/gas/mips/jalx-imm-n64.d: New test.
	* testsuite/gas/mips/jalx-addend.s: New test source.
	* testsuite/gas/mips/jalx-imm.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

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


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Don't check R_386_GOT32 when setting need_convert_load
@ 2016-05-20 17:00 sergiodj+buildbot
  2016-05-20 17:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-20 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52bf37dd91e5dd983ed20d1329293d077fe71e41 ***

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

Don't check R_386_GOT32 when setting need_convert_load

Since we no longer convert R_386_GOT32, don't check R_386_GOT32 when
setting need_convert_load.

	* elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32
	when setting need_convert_load.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] tic54x: rename typedef of struct symbol_
@ 2016-05-23  5:30 sergiodj+buildbot
  2016-05-23  6:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Search for libutil-freebsd as alternative to libutil
@ 2016-05-23  8:08 sergiodj+buildbot
  2016-05-23  8:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23  8:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37773e7803b370802302719a48c9c46f64c602b4 ***

Author: Jon Boden <jon@ubuntubsd.org>
Branch: master
Commit: 37773e7803b370802302719a48c9c46f64c602b4

Search for libutil-freebsd as alternative to libutil

GDB needs kinfo_getvmmap() on GNU/kFreeBSD systems same as on
pure FreeBSD.  However on these systems the FreeBSD version of libutil
is renamed to libutil-freebsd.

2016-05-23  Jon Boden  <jon@ubuntubsd.org>

	* configure.ac: Search for libutil-freebsd as alternative to libutil.
	* configure: Re-generated.


^ permalink raw reply	[flat|nested] 2163+ 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  9:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Support for dedicated ARM stub section with padding
@ 2016-05-23  9:01 sergiodj+buildbot
  2016-05-23  9:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7c5bd02f73408553992db3650b95b14e73820d4 ***

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

Support for dedicated ARM stub section with padding

2016-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

bfd/
	* elf32-arm.c (arm_dedicated_stub_section_padding): New function.
	(elf32_arm_size_stubs): Declare stub_type in a more outer scope and
	account for padding for stub section requiring one.
	(elf32_arm_build_stubs): Add comment to stress the importance of
	zeroing veneer section content.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Sync config.guess and config.sub with FSF GCC mainline versions
@ 2016-05-23 11:03 sergiodj+buildbot
  2016-05-23 11:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b43b853577ed4fb6cc19b1faa17e8fbea3c58be7 ***

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

Sync config.guess and config.sub with FSF GCC mainline versions


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Remove unused libthread_db td_thr_validate reference
@ 2016-05-23 12:49 sergiodj+buildbot
  2016-05-23 13:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0571b9934241e58a5325fc6e09298d0e3396280 ***

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

Remove unused libthread_db td_thr_validate reference

Native GDB looks up the function td_thr_validate from libthread_db.so
on Linux, but the value is never used.  This commit removes this dead
code.

gdb/ChangeLog:

	* nat/gdb_thread_db.h (td_thr_validate_ftype): Remove typedef.
	* linux-thread-db.c (struct thread_db_info) <td_thr_validate_p>:
	Remove field.
	(try_thread_db_load_1): Remove td_thr_validate initialization.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Add support for configuring for the ARM Phoenix target.
@ 2016-05-23 13:16 sergiodj+buildbot
  2016-05-23 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 13:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2bea3245ecf4ff67f923c85adf57aa78423eb45 ***

Author: Kuba Sejdak <jakub.sejdak@phoesys.com>
Branch: master
Commit: a2bea3245ecf4ff67f923c85adf57aa78423eb45

Add support for configuring for the ARM Phoenix target.

bfd	* config.bfd: Add entry for arm-phoenix.

gas	* configuse.tgt: Add entry for arm-phoenix.

ld	* Makefile.am: Add earmelf_phoenix.c.
	* Makefile.in: Regenerate.
	* configure.tgt: Add entry for arm-phoenix.
	* emulparams/armelf_phoenix.sh: New file.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Use standard_testfile in gdb.arch/thumb-prologue.exp and gdb.arch/thumb2-it.exp
@ 2016-05-23 15:08 sergiodj+buildbot
  2016-05-23 15:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 15:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ffd19d610b3807bd5e2622440e225adb12a6766b ***

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

Use standard_testfile in gdb.arch/thumb-prologue.exp and gdb.arch/thumb2-it.exp

This patch fixes the errors below:

Running /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.arch/thumb-prologue.exp ...
gdb compile failed, arm-linux-gnueabihf/bin/ld: cannot open output file /scratch/yao/gdb/build-git/arm-linux-gnueabihf/gdb/testsuite/gdb.arch/thumb-prologue: No such file or directory
collect2: error: ld returned 1 exit status
Running /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.arch/thumb2-it.exp ...
gdb compile failed, arm-linux-gnueabihf/bin/ld: cannot open output file /scratch/yao/gdb/build-git/arm-linux-gnueabihf/gdb/testsuite/gdb.arch/thumb2-it: No such file or directory

gdb/testsuite:

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

	* gdb.arch/thumb-prologue.exp: Use standard_testfile.
	* gdb.arch/thumb2-it.exp: Likewise.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Rename "class" named attributes.
@ 2016-05-23 15:43 sergiodj+buildbot
  2016-05-23 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 15:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c810e0b87a2084656af944fe269d8c2680ba5469 ***

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

[ARC] Rename "class" named attributes.

gas/
2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>

	* config/tc-arc.c (attributes_t): Renamed attribute class to
	attr_class.
	(find_opcode_match, assemble_insn, tokenize_extinsn): Changed.

opcode/
2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>

	* arc-dis.c (find_format, find_format, get_auxreg)
	(print_insn_arc): Changed.
	* arc-ext.h (INSERT_XOP): Likewise.

include/
2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>

	* opcode/arc.h (struct arc_opcode): Renamed attribute class to
	insn_class.
	(struct arc_flag_class): Renamed attribute class to flag_class.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Add XY registers, update neg instruction.
@ 2016-05-23 16:28 sergiodj+buildbot
  2016-05-23 16:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 16:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87789e08e5cb2191af1122ed98af2d6c023b3a0a ***

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

[ARC] Add XY registers, update neg instruction.

gas/
2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (md_begin): Add XY registers.
	(cpu_types): Code density is default off for ARC EM.

opcodes/
2016-05-23  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-tbl.h (neg): New instruction variant.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] [ARC] Update instruction type and delay slot info.
@ 2016-05-23 16:44 sergiodj+buildbot
  2016-05-23 16:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ 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] 2163+ messages in thread
* [binutils-gdb] Fix PR python/19438, PR python/18393 - initialize dictionaries
@ 2016-05-23 16:47 sergiodj+buildbot
  2016-05-23 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 16:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f6ed0e0efe2c4dcd35b0e483dc3b5da7fe4edf0 ***

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

Fix PR python/19438, PR python/18393 - initialize dictionaries

This fixes PR python/19438 and PR python/18393.  Both bugs are about
invoking dir() on some Python object implemented by gdb, and getting a
crash.

The crash happens because the dictionary field of these objects was
not initialized.  Apparently what happens is that this field can be
lazily initialized by Python when assigning to an attribute; and it
can also be handled ok when using dir() but without __dict__ defined;
but gdb defines __dict__ because this isn't supplied automatically by
Python.

The docs on this seem rather sparse, but this patch works ok.

An alternative might be to lazily create the dictionary in
gdb_py_generic_dict, but I went with this approach because it seemed
more straightforward.

Built and regtested on x86-64 Fedora 23.

2016-05-23  Tom Tromey  <tom@tromey.com>

	PR python/19438, PR python/18393:
	* python/py-objfile.c (objfpy_initialize): Initialize self->dict.
	* python/py-progspace.c (pspy_initialize): Initialize self->dict.

2016-05-23  Tom Tromey  <tom@tromey.com>

	PR python/19438, PR python/18393:
	* gdb.python/py-progspace.exp: Add "dir" test.
	* gdb.python/py-objfile.exp: Add "dir" test.


^ permalink raw reply	[flat|nested] 2163+ messages in thread
* [binutils-gdb] Skip unwritable frames in command "finish"
@ 2016-05-23 17:14 sergiodj+buildbot
  2016-05-23 17:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
  0 siblings, 1 reply; 2163+ messages in thread
From: sergiodj+buildbot @ 2016-05-23 17:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7eb895307f53af3435440d3fe67c0e4e679d99b2 ***

Author: Yao Qi <yao.qi@arm.com>
Branch: master
Commit: 7eb895307f53af3435440d3fe67c0e4e679d99b2

Skip unwritable frames in command "finish"

Nowadays, GDB can't insert breakpoint on the return address of the
exception handler on ARM M-profile, because the address is a magic
one 0xfffffff9,

 (gdb) bt
 #0  CT32B1_IRQHandler () at ../src/timer.c:67
 #1  <signal handler called>
 #2  main () at ../src/timer.c:127

(gdb) info frame
Stack level 0, frame at 0x200ffa8:
 pc = 0x4ec in CT32B1_IRQHandler (../src/timer.c:67); saved pc = 0xfffffff9
 called by frame at 0x200ffc8
 source language c.
 Arglist at 0x200ffa0, args:
 Locals at 0x200ffa0, Previous frame's sp is 0x200ffa8
 Saved registers:
  r7 at 0x200ffa0, lr at 0x200ffa4

(gdb) x/x 0xfffffff9
0xfffffff9:     Cannot access memory at address 0xfffffff9

(gdb) finish
Run till exit from #0  CT32B1_IRQHandler () at ../src/timer.c:67
Ed:15: Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)

Warning:
Cannot insert hardware breakpoint 0.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.

Command aborted.

even some debug probe can't set hardware breakpoint on the magic
address too,

(gdb) hbreak *0xfffffff9
Hardware assisted breakpoint 2 at 0xfffffff9
(gdb) c
Continuing.
Ed:15: Target error from Set break/watch: Et:96: Pseudo-address (0xFFFFFFxx) for EXC_RETURN is invalid (GDB error?)

Warning:
Cannot insert hardware breakpoint 2.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.

Command aborted.

The problem described above is quite similar to PR 8841, in which GDB
can't set breakpoint on signal trampoline, which is mapped to a read-only
page by kernel.  The rationale of this patch is to skip "unwritable"
frames when looking for caller frames in command "finish", and a new
gdbarch method code_of_frame_writable is added.  This patch fixes
the problem on ARM cortex-m target, but it can be used to fix
PR 8841 too.

gdb:

2016-05-10  Yao Qi  <yao.qi@arm.com>

	* arch-utils.c (default_code_of_frame_writable): New function.
	* arch-utils.h (default_code_of_frame_writable): Declare.
	* arm-tdep.c (arm_code_of_frame_writable): New function.
	(arm_gdbarch_init): Install gdbarch method
	code_of_frame_writable if the target is M-profile.
	* frame.c (skip_unwritable_frames): New function.
	* frame.h (skip_unwritable_frames): Declare.
	* gdbarch.sh (code_of_frame_writable): New.
	* gdbarch.c, gdbarch.h: Re-generated.
	* infcmd.c (finish_command): Call skip_unwritable_frames.


^ permalink raw reply	[flat|nested] 2163+ messages in thread

end of thread, other threads:[~2016-05-23 17:54 UTC | newest]

Thread overview: 2163+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-03 11:33 [binutils-gdb] Remove convert_mov_to_lea sergiodj+buildbot
2015-09-03 11:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
2015-09-03 11:37 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2015-09-03 11:45 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-09-03 11:47 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2015-09-03 11:49 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-09-03 11:53 ` Failures on Debian-i686, " sergiodj+buildbot
2015-09-03 11:54 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
2015-09-03 12:00 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2015-09-03 12:02 ` Failures on RHEL-s390x-m64, " sergiodj+buildbot
2015-09-03 12:02 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2015-09-03 12:06 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-09-03 12:16 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2015-09-03 12:21 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2015-09-03 12:31 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-09-03 12:55 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2015-09-03 12:56 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-11-27 15:00 [binutils-gdb] [AArch64] Support gnu vector in inferior call sergiodj+buildbot
2015-11-27 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 15:08 [binutils-gdb] [AArch64] Handle HFA and HVA together sergiodj+buildbot
2015-11-27 16:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 15:57 [binutils-gdb] [AArch64] Only check breakpoint alignment on inserting sergiodj+buildbot
2015-11-27 17:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 16:04 [binutils-gdb] [AArch64] Let aliased instructions be their preferred form sergiodj+buildbot
2015-11-27 17:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 16:27 [binutils-gdb] [AArch64] Add ARMv8.2 instruction alias REV64 sergiodj+buildbot
2015-11-27 18:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 16:37 [binutils-gdb] New test gdb.arch/arm-neon.exp sergiodj+buildbot
2015-11-27 16:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 16:42 [binutils-gdb] [AArch64][PATCH 2/3] Adjust a utility function for floating point values sergiodj+buildbot
2015-11-27 19:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 16:50 [binutils-gdb] [AArch64][PATCH 3/3] Add floating-point FP16 instructions sergiodj+buildbot
2015-11-27 20:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <e19616610d7327664f99215a69cb326682742dc3@gdb-build>
2015-11-27 18:03 ` sergiodj+buildbot
2015-11-27 18:23 [binutils-gdb] [AArch64] Add ARMv8.2 instructions BFC and REV64 sergiodj+buildbot
2015-11-27 18:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-27 19:07 [binutils-gdb] [AArch64][PATCH 1/3] Support ARMv8.2 FP16 floating point instructions sergiodj+buildbot
2015-11-27 19:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 16:50 [binutils-gdb] Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning sergiodj+buildbot
2015-11-28 17:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 17:05 [binutils-gdb] Fix several crashes of C++ demangler on fuzzed input sergiodj+buildbot
2015-11-28 17:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 17:16 [binutils-gdb] Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning sergiodj+buildbot
2015-11-28 17:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 17:21 [binutils-gdb] Fix PR63758 by using the _NSGetEnviron() API on Darwin sergiodj+buildbot
2015-11-28 18:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 17:28 [binutils-gdb] (Makefiles): PATCH to include libcpp and libiberty in GCC etags sergiodj+buildbot
2015-11-28 19:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 17:44 [binutils-gdb] PR other/61321 - demangler crash on casts in template parameters sergiodj+buildbot
2015-11-28 19:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 18:00 [binutils-gdb] SH FDPIC backend support sergiodj+buildbot
2015-11-28 20:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 18:00 [binutils-gdb] Port libvtv to Solaris sergiodj+buildbot
2015-11-28 20:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 18:08 [binutils-gdb] libsanitizer merge from upstream r250806, compiler part sergiodj+buildbot
2015-11-28 21:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 18:09 [binutils-gdb] Implement N4514, C++ Extensions for Transactional Memory sergiodj+buildbot
2015-11-28 18:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 18:15 [binutils-gdb] Adjust GDB to demangler API change sergiodj+buildbot
2015-11-28 21:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-28 19:24 [binutils-gdb] libiberty TAGS sergiodj+buildbot
2015-11-28 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:05 [binutils-gdb] Fix mi-nonstop.exp with extended-remote sergiodj+buildbot
2015-11-30 21:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:13 [binutils-gdb] Remote all-stop-on-top-of-non-stop sergiodj+buildbot
2015-11-30 22:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:28 [binutils-gdb] gdbserver crash running gdb.threads/non-ldr-exc-1.exp sergiodj+buildbot
2015-12-01  0:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:36 [binutils-gdb] remote: stop reason and watchpoint data address per thread sergiodj+buildbot
2015-12-01  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:44 [binutils-gdb] New vCtrlC packet, non-stop mode equivalent of \003 sergiodj+buildbot
2015-12-01  1:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 20:54 [binutils-gdb] attach + target always in non-stop mode: stop all threads sergiodj+buildbot
2015-11-30 23:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:00 [binutils-gdb] gdbserver resume_stop handling bug sergiodj+buildbot
2015-12-01  2:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:07 [binutils-gdb] Make dprintf-non-stop.exp cope with remote testing sergiodj+buildbot
2015-12-01  2:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:14 [binutils-gdb] Remote thread create/exit events sergiodj+buildbot
2015-12-01  3:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:22 [binutils-gdb] gdbserver: fix killed-outside.exp sergiodj+buildbot
2015-12-01  3:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:37 [binutils-gdb] infrun: Fix TARGET_WAITKIND_NO_RESUMED handling in non-stop mode sergiodj+buildbot
2015-12-01  5:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:45 [binutils-gdb] Implement TARGET_WAITKIND_NO_RESUMED in the remote protocol sergiodj+buildbot
2015-12-01  6:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 21:53 [binutils-gdb] gdbserver:prepare_access_memory: pick another thread sergiodj+buildbot
2015-12-01  7:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:00 [binutils-gdb] gdbserver/linux: Always wake up event loop after resume sergiodj+buildbot
2015-12-01  8:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:08 [binutils-gdb] gdbserver: don't exit until GDB disconnects sergiodj+buildbot
2015-12-01  9:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:15 [binutils-gdb] Fix breakpoint size when stepping over a permanent breakpoint in GDBServer sergiodj+buildbot
2015-12-01  9:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:31 [binutils-gdb] Refactor queries for hardware and software single stepping support in GDBServer sergiodj+buildbot
2015-12-01 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:32 [binutils-gdb] gdbserver crash if gdb attaches too fast sergiodj+buildbot
2015-12-01  1:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:39 [binutils-gdb] Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer sergiodj+buildbot
2015-12-01 10:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-11-30 22:47 [binutils-gdb] Remove too simple breakpoint_reinsert_addr implementations sergiodj+buildbot
2015-12-01 11:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  0:43 [binutils-gdb] testsuite: Range stepping and non-stop mode sergiodj+buildbot
2015-12-01  4:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  3:20 [binutils-gdb] Re: ARC port broken reloc processing sergiodj+buildbot
2015-12-01 12:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  3:33 [binutils-gdb] SRC-POTFILES.in update sergiodj+buildbot
2015-12-01 12:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  3:35 [binutils-gdb] Don't use BFD_TRADITIONAL_FORMAT flag in COFF support sergiodj+buildbot
2015-12-01 13:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  3:43 [binutils-gdb] Invoke aout N_* macros with pointer to struct internal_exec sergiodj+buildbot
2015-12-01 13:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  4:06 [binutils-gdb] Fix instruction skipping when using software single step in GDBServer sergiodj+buildbot
2015-12-01 10:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  5:47 [binutils-gdb] ARC port broken reloc processing sergiodj+buildbot
2015-12-01 11:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01  7:49 [binutils-gdb] Trim unused params from aout adjust_sizes_and_vmas sergiodj+buildbot
2015-12-01 13:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01 12:47 [binutils-gdb] Run gdb.base/disp-step-syscall.exp for aarch64-linux sergiodj+buildbot
2015-12-01 14:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01 17:17 [binutils-gdb] Fix uninitialized variable warnings in remote.c sergiodj+buildbot
2015-12-01 17:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01 17:41 [binutils-gdb] Avoid "operation may be undefined" warning in remote.c sergiodj+buildbot
2015-12-01 18:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-01 23:08 [binutils-gdb] Properly check symbol defined by assignment in linker script sergiodj+buildbot
2015-12-01 23:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-02  1:41 [binutils-gdb] Fix ldah being disassembled as ldaexh sergiodj+buildbot
2015-12-02  2:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-02  9:02 [binutils-gdb] Fix powerpc64 segfault caused by zero r_symndx relocs sergiodj+buildbot
2015-12-02  9:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-02 13:42 [binutils-gdb] addr2line vs. inlined C functions called from C++ sergiodj+buildbot
2015-12-02 14:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-03 11:59 [binutils-gdb] Darwin: add new mach-o header flags sergiodj+buildbot
2015-12-03 12:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-03 17:23 [binutils-gdb] Run gdb.base/sizeof.exp with board having gdb, noinferiorio sergiodj+buildbot
2015-12-03 17:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-03 19:14 [binutils-gdb] Remove duplicate arch/arm.h include in linux-arm-low.c sergiodj+buildbot
2015-12-03 19:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-04 11:08 [binutils-gdb] Fix failures in the GAS testsuite for the ARC architecture sergiodj+buildbot
2015-12-04 11:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-04 12:02 [binutils-gdb] Remove useless loop in elf.c sergiodj+buildbot
2015-12-04 12:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-04 17:20 [binutils-gdb] Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 sergiodj+buildbot
2015-12-04 17:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-05  2:39 [binutils-gdb] gdbserver: set ptrace flags after creating inferiors sergiodj+buildbot
2015-12-05  3:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-06 17:56 [binutils-gdb] Replace remaining references to i386-nat with x86-nat instead sergiodj+buildbot
2015-12-06 18:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07  1:11 [binutils-gdb] bfd: Mark sh5*-*-* and sh64*-*-* targets as obsolete sergiodj+buildbot
2015-12-07  1:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07  3:17 [binutils-gdb] Reorder some power9 insns sergiodj+buildbot
2015-12-07  3:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07  3:33 [binutils-gdb] PR19323 memory allocation greater than 4G sergiodj+buildbot
2015-12-07  5:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07  3:41 [binutils-gdb] R_PPC64_ENTRY sergiodj+buildbot
2015-12-07  4:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07  4:29 [binutils-gdb] PowerPC ifunc with local symbols sergiodj+buildbot
2015-12-07  6:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07 10:29 [binutils-gdb] Add support for MSP430 F5 hardware multiply sergiodj+buildbot
2015-12-07 10:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07 12:11 [binutils-gdb] Add myself as a write-after-approval GDB maintainer sergiodj+buildbot
2015-12-07 12:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07 12:41 [binutils-gdb] Enhance the menu to select function overloads with signatures sergiodj+buildbot
2015-12-07 13:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07 14:59 [binutils-gdb] Fix relaxation in RX linker when --no-keep-memory is specified sergiodj+buildbot
2015-12-07 15:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-07 16:13 [binutils-gdb] Support Z0 packet in AArch64 multi-arch debugging sergiodj+buildbot
2015-12-07 16:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-08  5:32 [binutils-gdb] rl78: Enable MULU for all ISAs sergiodj+buildbot
2015-12-08  6:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-08  6:32 [binutils-gdb] rx: Fix p_vaddr reconstruction logic sergiodj+buildbot
2015-12-08  7:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-08  7:01 [binutils-gdb] rl78: relaxation fixes sergiodj+buildbot
2015-12-08  8:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-08  9:14 [binutils-gdb] DOCO: Enhance the menu to select function overloads with signatures sergiodj+buildbot
2015-12-08  9:32 ` Failures on AIX-POWER7-plain, 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-09 12:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-09 13:15 [binutils-gdb] varobj zero-padded hexadecimal format sergiodj+buildbot
2015-12-09 13:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <8eab413676a0222a863f45ff606f3db69bb7afc4@gdb-build>
2015-12-09 16:34 ` sergiodj+buildbot
2015-12-09 16:51 [binutils-gdb] gdb.base/async.exp: Handle "asynchronous execution not supported" sergiodj+buildbot
2015-12-09 17:00 ` Failures on AIX-POWER7-plain, 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-09 17:27 ` Failures on AIX-POWER7-plain, 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-10  0:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 10:15 [binutils-gdb] gdb: Handle multiple base address in debug_ranges data sergiodj+buildbot
2015-12-10 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 14:24 [binutils-gdb] [AArch64] Fix ARMv8.1 and ARMv8.2 feature settings sergiodj+buildbot
2015-12-10 14:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 14:57 [binutils-gdb] [AArch64][PATCH 1/2] Add support for RAS instruction ESB sergiodj+buildbot
2015-12-10 15:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 15:18 [binutils-gdb] [AArch64][PATCH 2/2] Add RAS system registers sergiodj+buildbot
2015-12-10 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 16:00 [binutils-gdb] Remove support for thread events without PTRACE_EVENT_CLONE in GDB sergiodj+buildbot
2015-12-10 16:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-10 16:24 [binutils-gdb] [AArch64][binutils] Add support for ARMv8.2 PSTATE.UAO sergiodj+buildbot
2015-12-10 16:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  0:22 [binutils-gdb] Stop using nowarnings in gdb/testsuite/gdb.multi/ sergiodj+buildbot
2015-12-17  0:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  0:30 [binutils-gdb] [AArch64][PATCH 1/2] Add support for ARMv8.2 DC CVAP instruction sergiodj+buildbot
2015-12-17  1:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  1:05 [binutils-gdb] Remove "spaces" references from gdb.multi/base.exp sergiodj+buildbot
2015-12-17  2:22 ` Failures on AIX-POWER7-plain, 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  1:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  1:31 [binutils-gdb] [Aarch64] Support ARMv8.2 AT instructions sergiodj+buildbot
2015-12-17  3:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  1:39 [binutils-gdb] Fix regression revealed by corethreads.exp sergiodj+buildbot
2015-12-17  3:29 ` Failures on AIX-POWER7-plain, 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  4:43 ` Failures on AIX-POWER7-plain, 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  5:55 ` Failures on AIX-POWER7-plain, 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  7:10 ` Failures on AIX-POWER7-plain, 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  8:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  2:31 [binutils-gdb] [AArch64][Patch 5/5] Add instruction PSB CSYNC sergiodj+buildbot
2015-12-17  8:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  2:39 [binutils-gdb] Use arm_eabi_breakpoint on aarch32 sergiodj+buildbot
2015-12-17  9:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  2:47 [binutils-gdb] Understand arm breakpoints in aarch64_breakpoint_at sergiodj+buildbot
2015-12-17  9:52 ` Failures on AIX-POWER7-plain, 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  3:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  3:07 [binutils-gdb] gdb: Make lines_to_list variable static sergiodj+buildbot
2015-12-17 10:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  3:12 [binutils-gdb] gdb: Use NULL instead of 0 for pointer comparison sergiodj+buildbot
2015-12-17 11:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  3:20 [binutils-gdb] gdb: Small code restructure for list_command sergiodj+buildbot
2015-12-17 11:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  3:37 [binutils-gdb] gdb: 'list' command, tweak handling of +/- arguments sergiodj+buildbot
2015-12-17 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  3:46 [binutils-gdb] gdb: Add an error when 'list -' reaches the start of a file sergiodj+buildbot
2015-12-17 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  4:03 [binutils-gdb] Enable 2 operand form of powerpc mfcr with -many sergiodj+buildbot
2015-12-17 13:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  4:11 [binutils-gdb] gdb: Use TYPE_LENGTH macro sergiodj+buildbot
2015-12-17 14:28 ` Failures on AIX-POWER7-plain, 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-17 14:45 ` Failures on AIX-POWER7-plain, 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-17 15:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  4:43 [binutils-gdb] [AArch64][PATCH 3/14] Support ARMv8.2 FP16 Scalar Three Same instructions sergiodj+buildbot
2015-12-17 16:02 ` Failures on AIX-POWER7-plain, 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-17 16:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  4:58 [binutils-gdb] [AArch64][PATCH 5/14] Support FP16 Scalar Two Register Misc. instructions sergiodj+buildbot
2015-12-17 16:54 ` Failures on AIX-POWER7-plain, 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-17 17:24 ` Failures on AIX-POWER7-plain, 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-17 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  5:21 [binutils-gdb] [AArch64][PATCH 8/14] Support FP16 Adv.SIMD Across Lanes instructions sergiodj+buildbot
2015-12-17 18:20 ` Failures on AIX-POWER7-plain, 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-17 18:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  5:45 [binutils-gdb] [AArch64][PATCH 12/14] Support FP16 Adv.SIMD Scalar Pairwise instructions sergiodj+buildbot
2015-12-17 19:48 ` Failures on AIX-POWER7-plain, 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-17 20:10 ` Failures on AIX-POWER7-plain, 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-17 20:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  6:17 [binutils-gdb] Target remote mode fork and exec event support sergiodj+buildbot
2015-12-17 21:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  6:35 [binutils-gdb] Remove gdb.base/coremaker2.c sergiodj+buildbot
2015-12-17 10:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  7:00 [binutils-gdb] Target remote mode fork and exec event documentation sergiodj+buildbot
2015-12-17 22:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  7:08 [binutils-gdb] Skip tests that send ctrl-c to GDB if nointerrupts target property is set sergiodj+buildbot
2015-12-17 22:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  7:16 [binutils-gdb] Skip gdb.base/gdbhistsize-history.exp on remote hosts sergiodj+buildbot
2015-12-17 22:55 ` Failures on AIX-POWER7-plain, 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-17 23:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  7:40 [binutils-gdb] Add support for RX V2 Instruction Set sergiodj+buildbot
2015-12-18  0:24 ` Failures on AIX-POWER7-plain, 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-18  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  8:42 [binutils-gdb] gdb: Make test names unique in list.exp sergiodj+buildbot
2015-12-17 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  8:58 [binutils-gdb] Fix invalid left shift of negative value sergiodj+buildbot
2015-12-18  1:55 ` Failures on AIX-POWER7-plain, 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-18  2:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  9:14 [binutils-gdb] Tweak gdb.trace/ftrace.exp for aarch64 sergiodj+buildbot
2015-12-18  3:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17  9:52 [binutils-gdb] gdb: Extend help text for 'list' command sergiodj+buildbot
2015-12-17 13:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 10:05 [binutils-gdb] [ARM] Add support for thumb1 pcrop relocations sergiodj+buildbot
2015-12-18  4:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 10:22 [binutils-gdb] Fix -Wno-unknown-warning support detection sergiodj+buildbot
2015-12-18  6:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 11:31 [binutils-gdb] [AArch64][PATCH 1/14] Support ARMv8.2 FP16 Adv.SIMD instructions sergiodj+buildbot
2015-12-17 15:11 ` Failures on AIX-POWER7-plain, 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-18  7:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 13:20 [binutils-gdb] Fix one heap buffer overflow in aarch64_push_dummy_call sergiodj+buildbot
2015-12-18  8:15 ` Failures on AIX-POWER7-plain, 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-17 19:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 15:14 [binutils-gdb] Remove support for LinuxThreads and vendor 2.4 kernels w/ backported NPTL sergiodj+buildbot
2015-12-18  8:45 ` Failures on AIX-POWER7-plain, 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-18  9:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 16:37 [binutils-gdb] Target remote mode fork and exec test updates sergiodj+buildbot
2015-12-17 21:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 18:36 [binutils-gdb] Skip gdb.base/gdbinit-history.exp on remote hosts sergiodj+buildbot
2015-12-17 23:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-17 20:12 [binutils-gdb] Update the copyright notices in the affected files sergiodj+buildbot
2015-12-18  1:30 ` Failures on AIX-POWER7-plain, 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-18  3:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <a4e22a5df64a46bc99f737a982c0b9d1e8a45e2b@gdb-build>
2015-12-18  5:06 ` sergiodj+buildbot
2015-12-18  8:59 [binutils-gdb] Fix formatting of coff-i386.c sergiodj+buildbot
2015-12-18  9:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 16:26 [binutils-gdb] Fix formatting in coff-x86_64.c sergiodj+buildbot
2015-12-18 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 16:58 [binutils-gdb] Replace breakpoint_reinsert_addr by get_next_pcs operation in GDBServer sergiodj+buildbot
2015-12-18 17:16 ` Failures on AIX-POWER7-plain, 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-18 17:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 17:27 [binutils-gdb] Refactor arm_software_single_step to use regcache sergiodj+buildbot
2015-12-18 18:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 17:35 [binutils-gdb] Share regcache function regcache_raw_read_unsigned sergiodj+buildbot
2015-12-18 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 17:43 [binutils-gdb] Support software single step on ARM in GDBServer sergiodj+buildbot
2015-12-18 19:08 ` Failures on AIX-POWER7-plain, 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-18 19:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 17:59 [binutils-gdb] Enable conditional breakpoints for targets that support software single step in GDBServer sergiodj+buildbot
2015-12-18 20:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-18 18:50 [binutils-gdb] Add documentation to gdb_compile sergiodj+buildbot
2015-12-18 20:37 ` Failures on AIX-POWER7-plain, 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-18 21:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-19  2:04 [binutils-gdb] Make prompt_for_continue call throw_quit directly sergiodj+buildbot
2015-12-19  2:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-19  2:13 [binutils-gdb] Reset pagination counts even when stdin is not a tty sergiodj+buildbot
2015-12-19  2:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-19  3:44 [binutils-gdb] Fix ARI warning in gdb/arch/arm-get-next-pcs.c sergiodj+buildbot
2015-12-19  4:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-20 15:11 [binutils-gdb] Remove HP-UX reference in testsuite/configure.ac sergiodj+buildbot
2015-12-20 15:31 ` Failures on AIX-POWER7-plain, 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  3:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-21 14:08 [binutils-gdb] Use arm_eabi_breakpoint on aarch32 sergiodj+buildbot
2015-12-21 14:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-21 16:34 [binutils-gdb] Remove references to HP CC/aCC compiler from testsuite sergiodj+buildbot
2015-12-21 17:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-21 18:02 [binutils-gdb] Remove HP-UX references fom testsuite sergiodj+buildbot
2015-12-21 18:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-21 19:50 [binutils-gdb] Remove dead code in testsuite sergiodj+buildbot
2015-12-21 20:24 ` Failures on AIX-POWER7-plain, 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:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-22 14:23 [binutils-gdb] Add support for ARM's NOREAD section flag sergiodj+buildbot
2015-12-22 14:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-22 14:38 [binutils-gdb] RXv2 support update sergiodj+buildbot
2015-12-22 15:13 ` Failures on AIX-POWER7-plain, 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 15:55 ` Failures on AIX-POWER7-plain, 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 16:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-22 15:50 [binutils-gdb] [lynxos] gdbserver hangs when killing inferior from GDB sergiodj+buildbot
2015-12-22 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-22 16:03 [binutils-gdb] ARM: Fix exidx coverage for relocatable builds sergiodj+buildbot
2015-12-22 17:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-22 16:10 [binutils-gdb] Remove HP-UX reference in foll-vfork.exp sergiodj+buildbot
2015-12-22 17:36 ` Failures on AIX-POWER7-plain, 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:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-24  9:44 [binutils-gdb] Consolidate Thumb-1/Thumb-2 ISA detection sergiodj+buildbot
2015-12-24 10:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-24  9:52 [binutils-gdb] Add assembler support for ARMv8-M Mainline sergiodj+buildbot
2015-12-24 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-24 10:08 [binutils-gdb] Add support for linking ARMv8-M object files sergiodj+buildbot
2015-12-24 11:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-24 10:35 [binutils-gdb] Add assembler support for ARMv8-M Baseline sergiodj+buildbot
2015-12-24 10:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  0:34 [binutils-gdb] sim: delete SIM_HAVE_SIMCACHE sergiodj+buildbot
2015-12-25  0:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  1:00 [binutils-gdb] sim: delete SIM_HAVE_MEM_SIZE sergiodj+buildbot
2015-12-25  1:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  1:25 [binutils-gdb] sim: delete SIM_HAVE_FLATMEM support sergiodj+buildbot
2015-12-25  1:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  1:42 [binutils-gdb] sim: enable watchpoint module everywhere sergiodj+buildbot
2015-12-25  2:12 ` Failures on AIX-POWER7-plain, 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  2:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  2:16 [binutils-gdb] sim: delete old breakpoint code sergiodj+buildbot
2015-12-25  3:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  2:24 [binutils-gdb] sim: cris: move option install to sim_open sergiodj+buildbot
2015-12-25  3:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  3:20 [binutils-gdb] sim: make LMA loading the default for all targets sergiodj+buildbot
2015-12-25  3:58 ` Failures on AIX-POWER7-plain, 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  4:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  3:50 [binutils-gdb] sim: mips: delete TARGET_TX3904 define sergiodj+buildbot
2015-12-25  5:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  5:23 [binutils-gdb] sim: dv-pal: always use CPU_INDEX sergiodj+buildbot
2015-12-25  7:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  5:41 [binutils-gdb] sim: always enable callback memory sergiodj+buildbot
2015-12-25  7:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  7:29 [binutils-gdb] sim: device_error: punt sergiodj+buildbot
2015-12-25  8:33 ` Failures on AIX-POWER7-plain, 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  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  8:19 [binutils-gdb] sim: arm: delete unused code sergiodj+buildbot
2015-12-25  9:34 ` Failures on AIX-POWER7-plain, 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 10:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25  9:58 [binutils-gdb] sim: sim-model: build for everyone sergiodj+buildbot
2015-12-25 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 10:01 [binutils-gdb] sim: drop WITH_ENGINE define sergiodj+buildbot
2015-12-25 10:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 10:59 [binutils-gdb] sim: hw-properties: delete trace calls sergiodj+buildbot
2015-12-25 11:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 11:20 [binutils-gdb] sim: cris: set up sane default path to rvdummy sergiodj+buildbot
2015-12-25 12:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 11:46 [binutils-gdb] sim: cris: clean up rvdummy a bit sergiodj+buildbot
2015-12-25 12:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 12:14 [binutils-gdb] sim: cris: migrate from WITH_DEVICES to WITH_HW sergiodj+buildbot
2015-12-25 13:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 18:20 [binutils-gdb] sim: m32r: migrate from WITH_DEVICES to WITH_HW sergiodj+buildbot
2015-12-25 18:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-25 18:35 [binutils-gdb] sim: frv: punt WITH_DEVICE support sergiodj+buildbot
2015-12-25 19:09 ` Failures on AIX-POWER7-plain, 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-25 20:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-26 12:29 [binutils-gdb] sim: standardize sim_create_inferior handling of argv a bit more sergiodj+buildbot
2015-12-26 12:50 ` Failures on AIX-POWER7-plain, 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 14:01 ` Failures on AIX-POWER7-plain, 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 17:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-26 19:56 [binutils-gdb] sim: sim-core: pass down cpu to hw accesses when available sergiodj+buildbot
2015-12-26 20:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-26 23:35 [binutils-gdb] sim: bfin: avoid stack error under asan sergiodj+buildbot
2015-12-26 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-27  0:20 [binutils-gdb] sim: bfin: push down mmr address/size checks sergiodj+buildbot
2015-12-27  0:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-27  1:50 [binutils-gdb] sim: punt WITH_DEVICES & tconfig.h support sergiodj+buildbot
2015-12-27  2:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-27  6:09 [binutils-gdb] sim: unify sim-hload sergiodj+buildbot
2015-12-27  7:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-27  6:56 [binutils-gdb] sim: aarch64/msp430: fix disassembler usage sergiodj+buildbot
2015-12-27  8:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-27 20:41 [binutils-gdb] Correct nios2 _gp address computation sergiodj+buildbot
2015-12-27 21:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-28 16:31 [binutils-gdb] Use libiberty's crc32 implementation in gdbserver sergiodj+buildbot
2015-12-28 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30  0:30 [binutils-gdb] sim: ppc: track closed state of file descriptors 0, 1, and 2 sergiodj+buildbot
2015-12-30  1:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30  8:41 [binutils-gdb] sim: h8300: drop unused inst.h sergiodj+buildbot
2015-12-30  9:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30  8:57 [binutils-gdb] sim: arm/d10v/h8300/m68hc11/microblaze/mips/mn10300/moxie/sh/v850: convert to common sim_{fetch, store}_register sergiodj+buildbot
2015-12-30 10:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30  9:04 [binutils-gdb] sim: h8300: move unused/buggy lregs array sergiodj+buildbot
2015-12-30  9:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30  9:52 [binutils-gdb] sim: simplify STATE_MY_NAME setup sergiodj+buildbot
2015-12-30 10:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30 10:32 [binutils-gdb] sim: h8300: move default endian/alignment to configure sergiodj+buildbot
2015-12-30 10:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30 10:40 [binutils-gdb] sim: h8300: switch to common sim-resume sergiodj+buildbot
2015-12-30 11:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30 11:14 [binutils-gdb] sim: h8300: simplify h8300_reg_{fetch,store} funcs sergiodj+buildbot
2015-12-30 11:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-30 11:24 [binutils-gdb] sim: h8300: inline sim_state_initialize sergiodj+buildbot
2015-12-30 12:14 ` Failures on AIX-POWER7-plain, 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  2:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2015-12-31  4:59 [binutils-gdb] sim: m68hc11: fix default endian sergiodj+buildbot
2015-12-31  5:55 ` Failures on AIX-POWER7-plain, 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:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-01  4:32 [binutils-gdb] Rotate the GDB ChangeLog sergiodj+buildbot
2016-01-01  5:34 ` Failures on AIX-POWER7-plain, 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-01  4:56 [binutils-gdb] GDB copyright headers update after running GDB's copyright.py script sergiodj+buildbot
2016-01-01  7:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-01 12:44 [binutils-gdb] Copyright update for binutils sergiodj+buildbot
2016-01-01 13:06 ` Failures on AIX-POWER7-plain, 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:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-02  8:58 [binutils-gdb] gdb: ppc: drop unnecessary sim file check sergiodj+buildbot
2016-01-02  9:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-02 15:38 [binutils-gdb] sim: delete dead current_state globals sergiodj+buildbot
2016-01-02 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-02 16:02 [binutils-gdb] sim: iq2000/m32r/lm32/sh64: delete dead option code sergiodj+buildbot
2016-01-02 16:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-02 19:11 [binutils-gdb] sim: cris: use standard output helpers sergiodj+buildbot
2016-01-02 19:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-03  5:29 [binutils-gdb] sim: convert to bfd_endian sergiodj+buildbot
2016-01-03  6:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-03  6:05 [binutils-gdb] sim: drop host endian configure option sergiodj+buildbot
2016-01-03  7:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-03  9:17 [binutils-gdb] sim: nrun: use lbasename sergiodj+buildbot
2016-01-03  9:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-03  9:29 [binutils-gdb] sim: use libiberty countargv in more places sergiodj+buildbot
2016-01-03 10:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-03  9:56 [binutils-gdb] sim: clean up some more device detritus sergiodj+buildbot
2016-01-03 10:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-04  1:04 [binutils-gdb] sim: TODO: move to wiki sergiodj+buildbot
2016-01-04  1:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-04  3:17 [binutils-gdb] sim: parse_args: display getopt error ourselves sergiodj+buildbot
2016-01-04  3:41 ` Failures on AIX-POWER7-plain, 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:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-04 10:17 [binutils-gdb] sim: d10v: gut endian logic sergiodj+buildbot
2016-01-04 10:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-04 10:45 [binutils-gdb] sim: punt x86-specific bswap logic sergiodj+buildbot
2016-01-04 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-04 11:04 [binutils-gdb] sim: parse_args: polish getopt error message sergiodj+buildbot
2016-01-04 11:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 20:31 [binutils-gdb] sim: msp430: switch to common disassembler tracing sergiodj+buildbot
2016-01-05 20:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 20:39 [binutils-gdb] sim: bfin: add support disasm tracing sergiodj+buildbot
2016-01-05 21:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 21:02 [binutils-gdb] sim: aarch64: switch to common disassembler tracing sergiodj+buildbot
2016-01-05 21:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 21:27 [binutils-gdb] sim: msp430: drop duplicate sim_load_file call sergiodj+buildbot
2016-01-05 22:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 22:13 [binutils-gdb] gdb: score: drop sim file check sergiodj+buildbot
2016-01-05 22:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 22:21 [binutils-gdb] libiberty: fix warnings about left shifting a negative value sergiodj+buildbot
2016-01-05 23:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 22:29 [binutils-gdb] libiberty: Tweak the documentation of libiberty's xcrc32 function sergiodj+buildbot
2016-01-05 23:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 23:03 [binutils-gdb] libiberty: {count, dup, write}argv: constify argv input slightly sergiodj+buildbot
2016-01-06  0:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-05 23:23 [binutils-gdb] libiberty: dupargv: rewrite to use xstrdup sergiodj+buildbot
2016-01-06  0:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-06  4:40 [binutils-gdb] gdb: change version stamp to git sergiodj+buildbot
2016-01-06  5:38 ` Failures on AIX-POWER7-plain, 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  6:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-06 11:46 [binutils-gdb] Fix gdb.python/py-infthread.exp test message typo sergiodj+buildbot
2016-01-06 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-06 14:28 [binutils-gdb] bfd/arc: Add R_ prefix to all relocation names sergiodj+buildbot
2016-01-06 14:47 ` Failures on AIX-POWER7-plain, 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 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-06 15:34 [binutils-gdb] Make {arm,thumb}_get_next_pcs_raw static sergiodj+buildbot
2016-01-06 15:55 ` Failures on AIX-POWER7-plain, 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:14 ` Failures on AIX-POWER7-plain, 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:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-07  3:07 [binutils-gdb] sim: config: drop use of __DATE__/__TIME__ sergiodj+buildbot
2016-01-07  3:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-07 19:37 [binutils-gdb] MIPS: Complete `status' to `err' renaming in `mips_breakpoint_from_pc' sergiodj+buildbot
2016-01-07 20:00 ` Failures on AIX-POWER7-plain, 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:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-08 10:52 [binutils-gdb] m68k: fix constraints of move.[bw] for ISA_B/C sergiodj+buildbot
2016-01-08 11:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-08 11:16 [binutils-gdb] Check input interrupt first when reading packet sergiodj+buildbot
2016-01-08 11:50 ` Failures on AIX-POWER7-plain, 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 12:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-08 15:34 [binutils-gdb] perf testsuite: python 3 fixes sergiodj+buildbot
2016-01-08 15:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-08 19:16 [binutils-gdb] Fix gdb.multi/base.exp testsuite regression sergiodj+buildbot
2016-01-08 19:40 ` Failures on AIX-POWER7-plain, 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:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-09  9:24 [binutils-gdb] sim: stop configuring common subdir sergiodj+buildbot
2016-01-09  9:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10  8:17 [binutils-gdb] sim: drop --enable-sim-cflags option sergiodj+buildbot
2016-01-10  8:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10  8:33 [binutils-gdb] sim: drop --enable-sim-{regparm,stdcall} options sergiodj+buildbot
2016-01-10  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10  8:51 [binutils-gdb] sim: allow the inline configure option everywhere sergiodj+buildbot
2016-01-10  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10  8:59 [binutils-gdb] sim: mips: drop SIM_AC_OPTION_SMP call sergiodj+buildbot
2016-01-10 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10  9:12 [binutils-gdb] sim: drop targ-vals.def->nltvals.def indirection sergiodj+buildbot
2016-01-10 10:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10 22:20 [binutils-gdb] sim: allow the assert configure option everywhere sergiodj+buildbot
2016-01-10 22:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10 22:28 [binutils-gdb] sim: allow the environment configure option everywhere sergiodj+buildbot
2016-01-10 23:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-10 23:15 [binutils-gdb] sim: drop unused SIM_AC_OPTION_PACKAGES sergiodj+buildbot
2016-01-10 23:33 ` Failures on AIX-POWER7-plain, 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  0:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-11  6:11 [binutils-gdb] sim: config: do not try to align settings sergiodj+buildbot
2016-01-11  7:12 ` Failures on AIX-POWER7-plain, 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 11:39 ` Failures on AIX-POWER7-plain, 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:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-11 19:13 [binutils-gdb] gdb: split out warnings helpers sergiodj+buildbot
2016-01-11 19:39 ` Failures on AIX-POWER7-plain, 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:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-11 21:25 [binutils-gdb] testsuite: Regression for foll-vfork.exp sergiodj+buildbot
2016-01-11 22:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-11 21:31 [binutils-gdb] testsuite: i386 regression for funcargs.exp sergiodj+buildbot
2016-01-11 22:43 ` Failures on AIX-POWER7-plain, 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:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12  6:46 [binutils-gdb] sim: mips: workaround 32-bit addr sign extensions sergiodj+buildbot
2016-01-12  7:47 ` Failures on AIX-POWER7-plain, 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:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 13:13 [binutils-gdb] Test gdb.base/random-signal.exp with "attach" sergiodj+buildbot
2016-01-12 13:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 15:09 [binutils-gdb] Remove trademark acknowledgements throughout sergiodj+buildbot
2016-01-12 15:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 15:22 [binutils-gdb] Change function signature passed to clone sergiodj+buildbot
2016-01-12 16:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 15:44 [binutils-gdb] gdbserver: fix various warnings sergiodj+buildbot
2016-01-12 16:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 15:45 [binutils-gdb] gdbserver: use the new gdb warning helpers sergiodj+buildbot
2016-01-12 17:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 16:34 [binutils-gdb] Fix invalid conversion from void * to gdb_byte * sergiodj+buildbot
2016-01-12 17:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 16:37 [binutils-gdb] Sync top-level Makefile.def with GCC sergiodj+buildbot
2016-01-12 18:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 16:41 [binutils-gdb] Add cantunwind when unwind info does not match start of section sergiodj+buildbot
2016-01-12 18:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 16:46 [binutils-gdb] [ARM] Support ARMv8.2 RAS extension sergiodj+buildbot
2016-01-12 18:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 16:49 [binutils-gdb] Sync top-level btool.m4 with GCC sergiodj+buildbot
2016-01-12 19:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-12 20:34 [binutils-gdb] Implement 'catch syscall' for gdbserver sergiodj+buildbot
2016-01-12 21:00 ` Failures on AIX-POWER7-plain, 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:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:35 [binutils-gdb] Add a new $_inferior convenience variable sergiodj+buildbot
2016-01-13 12:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:36 [binutils-gdb] Add Python InferiorThread.inferior attribute sergiodj+buildbot
2016-01-13 12:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:38 [binutils-gdb] Centralize thread ID printing sergiodj+buildbot
2016-01-13 12:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:39 [binutils-gdb] Per-inferior/Inferior-qualified thread IDs sergiodj+buildbot
2016-01-13 13:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:40 [binutils-gdb] Add Python InferiorThread.global_num attribute sergiodj+buildbot
2016-01-13 13:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:41 [binutils-gdb] Implement "info threads -gid" sergiodj+buildbot
2016-01-13 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 11:42 [binutils-gdb] Add $_gthread convenience variable sergiodj+buildbot
2016-01-13 14:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 16:19 [binutils-gdb] Read instruction with byte_order_for_code sergiodj+buildbot
2016-01-13 16:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-13 18:04 [binutils-gdb] MAINTAINERS: Add Andreas Arnez as s390 target maintainer sergiodj+buildbot
2016-01-13 18:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-14  9:39 [binutils-gdb] [ARM] Make thumb2_breakpoint static again sergiodj+buildbot
2016-01-14 10:13 ` Failures on AIX-POWER7-plain, 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:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-14 12:30 [binutils-gdb] Fix C++ build error by casting void * sergiodj+buildbot
2016-01-14 13:02 ` Failures on AIX-POWER7-plain, 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:32 ` Failures on AIX-POWER7-plain, 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:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-15 21:59 [binutils-gdb] Fix "thread apply $conv_var" and misc other related problems sergiodj+buildbot
2016-01-15 22:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-15 22:25 [binutils-gdb] Star wildcard ranges (e.g., "info thread 2.*") sergiodj+buildbot
2016-01-15 22:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-15 22:55 [binutils-gdb] Fix phony_iconv wide character support sergiodj+buildbot
2016-01-15 23:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-17  3:05 [binutils-gdb] Regen configure sergiodj+buildbot
2016-01-17  3:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-17  5:43 [binutils-gdb] minor reformatting in sim/common/sim-fpu.c sergiodj+buildbot
2016-01-17  6:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-17  6:14 [binutils-gdb] Minor comment fixes in sim/common/sim-fpu.c sergiodj+buildbot
2016-01-17  7:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-17  6:17 [binutils-gdb] fix gdb version parsing in src-release.sh sergiodj+buildbot
2016-01-17  8:21 ` Failures on AIX-POWER7-plain, 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  8:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 11:57 [binutils-gdb] Fix gdbserver build failure on targets without fork sergiodj+buildbot
2016-01-18 12:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 12:05 [binutils-gdb] Provide AC_PROG_LEX that copes with LEX=missing from top-level sergiodj+buildbot
2016-01-18 12:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 14:40 [binutils-gdb] [testsuite] @progbits -> %progbits sergiodj+buildbot
2016-01-18 15:12 ` Failures on AIX-POWER7-plain, 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 15:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 15:19 [binutils-gdb] Replace some $ARCH_{get, set}_pc with linux_{get, set}_pc_64bit sergiodj+buildbot
2016-01-18 16:15 ` Failures on AIX-POWER7-plain, 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 16:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 16:11 [binutils-gdb] Use a 32-bit value to hold the section number in the internal COFF symbol structure sergiodj+buildbot
2016-01-18 17:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 17:08 [binutils-gdb] testsuite: Remove unused global references in gdb_test sergiodj+buildbot
2016-01-18 17:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 21:22 [binutils-gdb] MIPS: Fix microMIPS instruction size determination sergiodj+buildbot
2016-01-18 21:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 22:01 [binutils-gdb] MIPS: Only build microMIPS specific simulator functions if microMIPS support is required sergiodj+buildbot
2016-01-18 22:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-18 22:31 [binutils-gdb] MIPS: Remove remnants of 48-bit microMIPS instruction support sergiodj+buildbot
2016-01-18 22:55 ` Failures on AIX-POWER7-plain, 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 13:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <bd0a71fa16f668341a9361c695bc3ca44d27b322@gdb-build>
2016-01-19 12:45 ` sergiodj+buildbot
2016-01-19 15:37 [binutils-gdb] Add PIC and TLS support to the ARC target sergiodj+buildbot
2016-01-19 16:10 ` Failures on AIX-POWER7-plain, 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 16:58 ` Failures on AIX-POWER7-plain, 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-19 18:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 17:18 [binutils-gdb] Add a pseudosection for the NT_FREEBSD_THRMISC note sergiodj+buildbot
2016-01-19 19:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 17:26 [binutils-gdb] Add support for extracting thread names from cores sergiodj+buildbot
2016-01-19 19:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 17:34 [binutils-gdb] Display per-thread information for threads in FreeBSD cores sergiodj+buildbot
2016-01-19 20:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 17:43 [binutils-gdb] Use LWP IDs with ptrace register requests on FreeBSD sergiodj+buildbot
2016-01-19 21:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 17:51 [binutils-gdb] Add support for LWP-based threads on FreeBSD sergiodj+buildbot
2016-01-19 22:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-19 18:00 [binutils-gdb] Dump register notes for each thread when generating a FreeBSD core sergiodj+buildbot
2016-01-19 23:00 ` Failures on AIX-POWER7-plain, 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  0:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-20  4:14 [binutils-gdb] minor reformatting in printcmd.c::print_scalar_formatted sergiodj+buildbot
2016-01-20  5:12 ` Failures on AIX-POWER7-plain, 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:33 ` Failures on AIX-POWER7-plain, 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:08 ` Failures on AIX-POWER7-plain, 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:06 ` Failures on AIX-POWER7-plain, 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:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-20 19:03 [binutils-gdb] Fix sorting of enum values in FlagEnumerationPrinter sergiodj+buildbot
2016-01-20 19:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21  8:17 [binutils-gdb] Detect the arm/thumb mode of code SIGRETURN or RT_SIGRETURN returns to sergiodj+buildbot
2016-01-21  8:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21  9:40 [binutils-gdb] bfd/configure reorganisation sergiodj+buildbot
2016-01-21 10:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21  9:57 [binutils-gdb] Convert macros in elf-linux-core.h to inline functions sergiodj+buildbot
2016-01-21 11:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21 10:09 [binutils-gdb] Rename elf-linux-psinfo.h to elf-linux-core.h sergiodj+buildbot
2016-01-21 10:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21 10:14 [binutils-gdb] [AArch64] Relax long branch veneer insertion for non STT_FUNC symbol sergiodj+buildbot
2016-01-21 11:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21 10:33 [binutils-gdb] Fix regression introduced in "break *<EXPR>" by explicit location patches sergiodj+buildbot
2016-01-21 12:04 ` Failures on AIX-POWER7-plain, 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 12:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-21 11:45 [binutils-gdb] gdb: Respect CXXFLAGS when building with C++ compiler sergiodj+buildbot
2016-01-21 13:05 ` Failures on AIX-POWER7-plain, 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 13:35 ` Failures on AIX-POWER7-plain, branch master 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 14:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <f906b857015513af81f94db8e11b1e334c767def@gdb-build>
2016-01-21 19:01 ` sergiodj+buildbot
2016-01-22  0:30 [binutils-gdb] * lib/ada.exp (gdb_compile_ada): Fix typo sergiodj+buildbot
2016-01-22  0:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-22  1:15 [binutils-gdb] * breakpoint.c (init_breakpoint_sal): Add comment sergiodj+buildbot
2016-01-22  1:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-22  9:13 [binutils-gdb] [ARM] perror_with_name when failed to fetch/store registers sergiodj+buildbot
2016-01-22  9:38 ` Failures on AIX-POWER7-plain, 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 10:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <99e8eb11cfcdde8cba6755ed4613c3cb079dfaa4@gdb-build>
2016-01-22 14:38 ` sergiodj+buildbot
2016-01-22 17:04 [binutils-gdb] Reword the string description of native FreeBSD ptids sergiodj+buildbot
2016-01-22 17:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-22 20:50 [binutils-gdb] testsuite: Fix PR threads/19422 regression + Guile regression sergiodj+buildbot
2016-01-22 21:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-22 21:00 [binutils-gdb] testsuite: gdb.gdb/selftest.exp: Drop expected Thread number sergiodj+buildbot
2016-01-22 21:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <cc5fd9abe4980e48e2cc27b0225f3c6ba7c0756b@gdb-build>
2016-01-23 11:52 ` sergiodj+buildbot
     [not found] <dc29a1ce6a25233e608f90511e67af3c18e19a98@gdb-build>
2016-01-23 14:31 ` sergiodj+buildbot
2016-01-24  1:16 [binutils-gdb] MIPS/BFD: Correct register index calculation in BZ16_REG sergiodj+buildbot
2016-01-24  1:41 ` Failures on AIX-POWER7-plain, 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  2:13 ` Failures on AIX-POWER7-plain, 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 10:09 ` Failures on AIX-POWER7-plain, 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <45f3854667c659ab053f51f96e1923f36e6e20ba@gdb-build>
2016-01-25 12:52 ` sergiodj+buildbot
2016-01-25 13:32 [binutils-gdb] Move foreach_with_prefix to lib/gdb.exp sergiodj+buildbot
2016-01-25 13:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-25 13:40 [binutils-gdb] Fix PR 19494: hang when killing unfollowed fork children sergiodj+buildbot
2016-01-25 14:24 ` Failures on AIX-POWER7-plain, 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 14:56 ` Failures on AIX-POWER7-plain, 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 15:48 ` Failures on AIX-POWER7-plain, 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 16:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-25 16:27 [binutils-gdb] Remove new_thread_notify and dead_thread_notify sergiodj+buildbot
2016-01-25 17:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <a579cd9aa8c57c8a54833f26452a1afef38e5d20@gdb-build>
2016-01-25 23:35 ` sergiodj+buildbot
2016-01-26 14:03 [binutils-gdb] [GDBserver] Check input interrupt after reading in a packet sergiodj+buildbot
2016-01-26 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-26 14:13 [binutils-gdb] [GDBserver] Block and unblock SIGIO sergiodj+buildbot
2016-01-26 14:57 ` Failures on AIX-POWER7-plain, 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 15:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-26 14:48 [binutils-gdb] Remove argument pc in get_next_pcs sergiodj+buildbot
2016-01-26 16:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-26 21:41 [binutils-gdb] Fix function comments sergiodj+buildbot
2016-01-26 22:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-27 11:38 [binutils-gdb] Add Keith Seitz as Linespec Maintainer sergiodj+buildbot
2016-01-27 11:58 ` Failures on AIX-POWER7-plain, 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:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 14:27 [binutils-gdb] Fix GDB crash in dprintf.exp sergiodj+buildbot
2016-01-28 14:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 14:39 [binutils-gdb] [testsuite] Fix tiemout fail in gdb.fortran/vla-value.exp sergiodj+buildbot
2016-01-28 15:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 15:47 [binutils-gdb] Import strchrnul from gnulib and use it sergiodj+buildbot
2016-01-28 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 19:00 [binutils-gdb] Add rawmemchr to imported gnulib modules sergiodj+buildbot
2016-01-28 19:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 21:00 [binutils-gdb] Sync libiberty with GCC sergiodj+buildbot
2016-01-28 21:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 21:08 [binutils-gdb] Align dlang demangle tests with libiberty sergiodj+buildbot
2016-01-28 22:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-28 21:41 [binutils-gdb] Set BFD_DECOMPRESS to decompress debug sections sergiodj+buildbot
2016-01-28 22:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-01-29 20:45 [binutils-gdb] Fix two misleading indentation warnings sergiodj+buildbot
2016-01-29 21:07 ` Failures on AIX-POWER7-plain, 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:44 ` Failures on AIX-POWER7-plain, 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:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01  3:01 [binutils-gdb] elf64-s390.c: Fix -Werror=misleading-indentation sergiodj+buildbot
2016-02-01  3:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01  3:36 [binutils-gdb] Fix some comments in varobj.{c,h} sergiodj+buildbot
2016-02-01  3:57 ` Failures on AIX-POWER7-plain, 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:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 11:15 [binutils-gdb] Fix undefined compilation behaviour shifting a value into the sign bit of a signed integer sergiodj+buildbot
2016-02-01 11:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 11:43 [binutils-gdb] x86 synthetic plt symbols sergiodj+buildbot
2016-02-01 12:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 13:53 [binutils-gdb] Add support for importing data from ILF images sergiodj+buildbot
2016-02-01 14:25 ` Failures on AIX-POWER7-plain, 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:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 18:40 [binutils-gdb] gdb: Guard against undefined behaviour in mi-vla-fortran.exp sergiodj+buildbot
2016-02-01 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 19:35 [binutils-gdb] Test gdb.threads/forking-threads-plus-breakpoint.exp with displaced stepping off sergiodj+buildbot
2016-02-01 20:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 23:33 [binutils-gdb] gdb.base/skip.exp: Clean up multiple references to same test name sergiodj+buildbot
2016-02-01 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-01 23:59 [binutils-gdb] Don't add DT_NEEDED for unmatched symbol sergiodj+buildbot
2016-02-02  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 10:56 [binutils-gdb] Merge gdb and gdbserver implementations for siginfo sergiodj+buildbot
2016-02-02 11:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 11:05 [binutils-gdb] Preparation for new siginfo on Linux sergiodj+buildbot
2016-02-02 11:56 ` Failures on AIX-POWER7-plain, 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 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 11:21 [binutils-gdb] Add bound related fields to the siginfo structure sergiodj+buildbot
2016-02-02 13:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 11:38 [binutils-gdb] epiphany/disassembler: Improve alignment of output sergiodj+buildbot
2016-02-02 14:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 12:04 [binutils-gdb] opcodes/cgen: Rework calculation of shift when inserting fields sergiodj+buildbot
2016-02-02 14:56 ` Failures on AIX-POWER7-plain, 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 13:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 12:31 [binutils-gdb] Clear HAS_RELOC if there are no relocations sergiodj+buildbot
2016-02-02 15:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 13:44 [binutils-gdb] PowerPC64 ELFv2 entry code sergiodj+buildbot
2016-02-02 16:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 16:34 [binutils-gdb] Store estimated istrances in compressed_size sergiodj+buildbot
2016-02-02 17:08 ` Failures on AIX-POWER7-plain, 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-02 21:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-02 21:51 [binutils-gdb] ui-out.c: Remove unused enum sergiodj+buildbot
2016-02-03  3:31 ` Failures on AIX-POWER7-plain, 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:39 ` Failures on AIX-POWER7-plain, 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:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-04 15:22 [binutils-gdb] waiting_for_stop_reply around remote_fileio_request sergiodj+buildbot
2016-02-04 15:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-04 15:57 [binutils-gdb] [testsuite] Remove BASEDIR sergiodj+buildbot
2016-02-04 16:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-04 16:40 [binutils-gdb] Prevent possible undefined behaviour computing the size of the scache by usingunsigned integers instead of signed integers sergiodj+buildbot
2016-02-04 16:59 ` Failures on AIX-POWER7-plain, 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:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-05 10:26 [binutils-gdb] Fix formatting of pe-mips.c file sergiodj+buildbot
2016-02-05 11:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-06  1:39 [binutils-gdb] sim: mips: fix prog_bfd usage sergiodj+buildbot
2016-02-06  2:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-07 14:56 [binutils-gdb] varobj: Cleanup dead code sergiodj+buildbot
2016-02-07 15:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-08 18:12 [binutils-gdb] remote.c: Cleanup unused variables sergiodj+buildbot
2016-02-08 18:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-08 19:12 [binutils-gdb] Fix in-tree, parallel running of Ada tests sergiodj+buildbot
2016-02-08 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-08 19:40 [binutils-gdb] Always organize test artifacts in a directory hierarchy sergiodj+buildbot
2016-02-08 20:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09  5:24 [binutils-gdb] Fix macro redefinition error on Solaris sergiodj+buildbot
2016-02-09  6:44 ` Failures on AIX-POWER7-plain, 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:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 10:38 [binutils-gdb] Fix build breakage sergiodj+buildbot
2016-02-09 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 10:48 [binutils-gdb] Revert "Add a more helpful warning message to explain why some AArch64 relocations can overflow." sergiodj+buildbot
2016-02-09 12:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 10:57 [binutils-gdb] Revert "Fix build breakage" sergiodj+buildbot
2016-02-09 12:51 ` Failures on AIX-POWER7-plain, 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 13:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 12:41 [binutils-gdb] Fix PR19548: Breakpoint re-set inserts breakpoints when it shouldn't sergiodj+buildbot
2016-02-09 14:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <8adce0342f5f50aba0154fc56ca59df45b219738@gdb-build>
2016-02-09 14:09 ` sergiodj+buildbot
2016-02-09 14:16 [binutils-gdb] Modernize configure.ac's sergiodj+buildbot
2016-02-09 15:19 ` Failures on AIX-POWER7-plain, 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 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 22:48 [binutils-gdb] Refactor string_to_event_location for legacy linespec support sergiodj+buildbot
2016-02-09 23:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 22:56 [binutils-gdb] python/19506 -- gdb.Breakpoint address location regression sergiodj+buildbot
2016-02-10  0:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 23:05 [binutils-gdb] Use string_to_event_location_basic in guile sergiodj+buildbot
2016-02-10  0:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-09 23:32 [binutils-gdb] Enable/update legacy linespecs in MI sergiodj+buildbot
2016-02-10  1:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-10  0:25 [binutils-gdb] breakpoints/19546: Fix crash after updating breakpoints sergiodj+buildbot
2016-02-10  2:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-10  3:58 [binutils-gdb] Bump version to 7.11.50.DATE-git sergiodj+buildbot
2016-02-10  6:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-10  4:06 [binutils-gdb] Update NEWS post GDB 7.11 branch creation sergiodj+buildbot
2016-02-10  7:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-10 11:05 [binutils-gdb] Sync top level files with gcc sergiodj+buildbot
2016-02-10 11:26 ` Failures on AIX-POWER7-plain, 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 11:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-10 12:21 [binutils-gdb] Add support for ARC instruction relaxation in the assembler sergiodj+buildbot
2016-02-10 12:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <473b99e5721ad623cc5826e03a73e2cf6cef4eb5@gdb-build>
2016-02-10 14:27 ` sergiodj+buildbot
     [not found] <e909d859f5635d66e79fef467da70d6090bfae1b@gdb-build>
2016-02-10 15:17 ` sergiodj+buildbot
2016-02-10 15:50 [binutils-gdb] arm-tdep.c: Fix typo sergiodj+buildbot
2016-02-10 16:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <62e5fd57bcdfb58eadd08ec430c4dfd742027d8e@gdb-build>
2016-02-10 15:52 ` sergiodj+buildbot
2016-02-10 17:06 [binutils-gdb] Clear *VAL in regcache_raw_read_unsigned sergiodj+buildbot
2016-02-10 17:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <5ac87a997fca849c654fffdf1c3e1991ea3f81d1@gdb-build>
2016-02-10 23:03 ` sergiodj+buildbot
2016-02-11  3:48 [binutils-gdb] Mask off the least significant bit in GOT offset sergiodj+buildbot
2016-02-11  3:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-11 13:31 [binutils-gdb] Use the target architecture when encoding tracepoint actions sergiodj+buildbot
2016-02-11 13:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <9f5fed7852cae412443957862d759660cfcb3fd5@gdb-build>
2016-02-11 14:29 ` sergiodj+buildbot
2016-02-11 18:30 [binutils-gdb] arm-tdep.c: Change type of insn parameters sergiodj+buildbot
2016-02-11 18:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-11 19:25 [binutils-gdb] arm-tdep.c: Remove unused arm_displaced_step_copy_insn sergiodj+buildbot
2016-02-11 19:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-11 19:37 [binutils-gdb] arm-tdep.c: Remove unused variables sergiodj+buildbot
2016-02-11 19:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-11 20:04 [binutils-gdb] Support 'make check-parallel' in gdb's build dir sergiodj+buildbot
2016-02-11 20:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-11 20:15 [binutils-gdb] Add missing quotes to gdb/testsuite/README sergiodj+buildbot
2016-02-11 20:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <7cae9051edc2e3b11b5c79c08edfb91ee7f4e2e4@gdb-build>
2016-02-11 22:36 ` sergiodj+buildbot
2016-02-12  9:01 [binutils-gdb] frame: add skip_tailcall_frames sergiodj+buildbot
2016-02-12  9:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-12  9:10 [binutils-gdb] stack: check frame_unwind_caller_id sergiodj+buildbot
2016-02-12  9:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-12  9:19 [binutils-gdb] btrace, frame: fix crash in get_frame_type sergiodj+buildbot
2016-02-12  9:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <d21b5f15d92bc1902b9e57198f67550326c887d7@gdb-build>
2016-02-12 10:59 ` sergiodj+buildbot
     [not found] <020ecd38e74681cb14987baf1a4d3c3ee3be0006@gdb-build>
2016-02-12 12:18 ` sergiodj+buildbot
2016-02-12 16:11 [binutils-gdb] [ARM] Fixup PC in software single step sergiodj+buildbot
2016-02-12 16:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-12 16:22 [binutils-gdb] [ARM] Software single step cross kernel helpers sergiodj+buildbot
2016-02-12 17:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-12 16:32 [binutils-gdb] [gdbserver, aarch64] Use linux_{set, get}_pc_{64, 32}bit sergiodj+buildbot
2016-02-12 17:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-12 19:08 [binutils-gdb] i386-biarch-core.exp: Use standard_output_file sergiodj+buildbot
2016-02-12 19:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <e44e00ffffe358d91df0ec4a11563eef0c14beb4@gdb-build>
2016-02-12 21:26 ` 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:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-14  8:44 [binutils-gdb] testsuite: Fix false Fortran regressions with recent gcc sergiodj+buildbot
2016-02-14  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-15 10:19 [binutils-gdb] Don't print 0x for core_addr_to_string_nz sergiodj+buildbot
2016-02-15 10:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-15 11:25 [binutils-gdb] Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) sergiodj+buildbot
2016-02-15 11:51 ` Failures on AIX-POWER7-plain, 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 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-15 18:15 [binutils-gdb] Fix more testcases with standard_output_file sergiodj+buildbot
2016-02-15 19:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-15 19:08 [binutils-gdb] Add missing gdb.arch/i386-prologue.c prototypes sergiodj+buildbot
2016-02-15 20:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16  0:16 [binutils-gdb] Add parentheses to prevent truncated addresses sergiodj+buildbot
2016-02-16  0:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16  0:37 [binutils-gdb] Fix BFD format matching for x86_64-w64-mingw32 -m32 LTO sergiodj+buildbot
2016-02-16  1:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 13:59 [binutils-gdb] Remove PC from syscall_next_pc sergiodj+buildbot
2016-02-16 14:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 14:26 [binutils-gdb] Fix cleanup in arm_linux_software_single_step sergiodj+buildbot
2016-02-16 15:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 15:12 [binutils-gdb] testsuite: Fix save-trace.exp writing outside standard output directory sergiodj+buildbot
2016-02-16 16:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 15:36 [binutils-gdb] testsuite: Make standard_temp_file use invocation-specific directories sergiodj+buildbot
2016-02-16 16:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 17:09 [binutils-gdb] PR remote/19496, internal err forking-threads-plus-bkpt sergiodj+buildbot
2016-02-16 17:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-16 20:52 [binutils-gdb] Whitespace cleanup for skip testcase sergiodj+buildbot
2016-02-16 21:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <b00b61e1fd95b778ec85bf314baddd1be9040d25@gdb-build>
2016-02-17 10:28 ` sergiodj+buildbot
2016-02-17 17:04 [binutils-gdb] Add missing cleanup in exec_file_locate_attach sergiodj+buildbot
2016-02-17 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-17 19:31 [binutils-gdb] [x86-64] Omit dynamic sections symbols sergiodj+buildbot
2016-02-17 19:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-18 11:25 [binutils-gdb] Always create dynamic sections for -E/--dynamic-list sergiodj+buildbot
2016-02-18 11:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-18 12:18 [binutils-gdb] Set breakpoint condition-evaluation in forking-threads-plus-breakpoint.exp sergiodj+buildbot
2016-02-18 12:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-18 13:17 [binutils-gdb] Remove setup_kfail server/13796 in disp-step-syscall.exp sergiodj+buildbot
2016-02-18 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-18 16:46 [binutils-gdb] Intel MPX bound violation handling sergiodj+buildbot
2016-02-18 17:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <5f034a78b986d30a90030b2409c61a8660b9b48c@gdb-build>
2016-02-18 16:58 ` sergiodj+buildbot
     [not found] <f79a3bae8725dfe0e11b04ddfc6e6bc8f23e4e4e@gdb-build>
2016-02-18 18:01 ` 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 19:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-18 21:14 [binutils-gdb] Add D support to gdb_default_target_compile sergiodj+buildbot
2016-02-18 21:38 ` Failures on AIX-POWER7-plain, 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:06 ` Failures on AIX-POWER7-plain, 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 15:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-19 16:10 [binutils-gdb] Prevent a seg-fault in the linker when accessing a specially crafted, corrupt, aout binary sergiodj+buildbot
2016-02-19 16:31 ` Failures on AIX-POWER7-plain, 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 AIX-POWER7-plain, 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:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-22 12:26 [binutils-gdb] Fix arm process record code format sergiodj+buildbot
2016-02-22 12:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-22 12:34 [binutils-gdb] [AArch64] Remove redundant calculation of plt stub destination for veneer sergiodj+buildbot
2016-02-22 13:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-22 13:15 [binutils-gdb] Remove BSF_COMMON from comments sergiodj+buildbot
2016-02-22 13:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-22 16:37 [binutils-gdb] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print' sergiodj+buildbot
2016-02-22 17:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <4000e47e2f3860a85a9023f3fe5950c8cc6fa507@gdb-build>
2016-02-22 18:30 ` sergiodj+buildbot
2016-02-23  0:43 [binutils-gdb] Always create dynsym section with dynamic sections sergiodj+buildbot
2016-02-23  1:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-23  1:19 [binutils-gdb] Fix test-case ld-elf/pr19617b sergiodj+buildbot
2016-02-23  1:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-23  9:37 [binutils-gdb] Process record for aarch64-linux syscall sergiodj+buildbot
2016-02-23  9:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-23 10:48 [binutils-gdb] Fix the genetation of GOT entries for the Microblaze target sergiodj+buildbot
2016-02-23 11:09 ` Failures on AIX-POWER7-plain, 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:32 ` Failures on AIX-POWER7-plain, 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 14:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-23 18:34 [binutils-gdb] arm-tdep.c: Remove unused "to" parameters sergiodj+buildbot
2016-02-23 18:51 ` Failures on AIX-POWER7-plain, 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 21:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24  3:22 [binutils-gdb] Build unavailable-stack frames for tracepoint sergiodj+buildbot
2016-02-24  3:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 12:00 [binutils-gdb] Fix logic in exec_file_locate_attach sergiodj+buildbot
2016-02-24 12:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 13:54 [binutils-gdb] Set plt_got.offset to (bfd_vma) -1 sergiodj+buildbot
2016-02-24 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 14:07 [binutils-gdb] ABS32 sergiodj+buildbot
2016-02-24 14:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 14:09 [binutils-gdb] [OPCODE][ARM]Correct disassembler for cdp/cdp2, mcr/mcr2, mrc/mrc2, ldc/ldc2, stc/stc2 sergiodj+buildbot
2016-02-24 15:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 14:12 [binutils-gdb] [OPCODES][ARM]Fix mask for a few coprocessor opcodes sergiodj+buildbot
2016-02-24 15:50 ` Failures on AIX-POWER7-plain, 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 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 15:09 [binutils-gdb] Revert "ABS32" sergiodj+buildbot
2016-02-24 16:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 17:45 [binutils-gdb] powerpc: Support z-point type in gdbserver sergiodj+buildbot
2016-02-24 18:15 ` Failures on AIX-POWER7-plain, 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-24 19:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 19:30 [binutils-gdb] Move tfile-avx.exp to tracefile-pseudo-reg.exp sergiodj+buildbot
2016-02-24 19:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <338435ef105ff51e967571ad073830ec1eb5a4ab@gdb-build>
2016-02-24 21:33 ` sergiodj+buildbot
2016-02-24 23:11 [binutils-gdb] Handle MIPS Linux SIGTRAP siginfo.si_code values sergiodj+buildbot
2016-02-24 23:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-24 23:37 [binutils-gdb] Update symbol version for symbol from linker script sergiodj+buildbot
2016-02-25  0:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-25 12:24 [binutils-gdb] Add elf_x86_64_need_pic sergiodj+buildbot
2016-02-25 12:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-25 17:22 [binutils-gdb] Remove gdb.base/branches.c sergiodj+buildbot
2016-02-25 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <ae91f6253926e4dadebcae90772f4f5a5bd06056@gdb-build>
2016-02-25 17:29 ` sergiodj+buildbot
2016-02-25 17:42 [binutils-gdb] avoid compiler warnings in remote-m32r-sdi.c sergiodj+buildbot
2016-02-25 18:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <ab50308758bfde9ab7b50e6def65e20f0b560702@gdb-build>
2016-02-25 19:39 ` sergiodj+buildbot
2016-02-26 13:00 [binutils-gdb] Fix powerpc64 -r --save-restore-funcs sergiodj+buildbot
2016-02-26 13:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 13:10 [binutils-gdb] [x86] Resolve non-PIC undefweak symbols in executable sergiodj+buildbot
2016-02-26 14:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 14:51 [binutils-gdb] Properly implement STT_COMMON sergiodj+buildbot
2016-02-26 15:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 15:15 [binutils-gdb] Generalize gdb.reverse/aarch64.exp sergiodj+buildbot
2016-02-26 15:44 ` Failures on AIX-POWER7-plain, 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 16:49 ` Failures on AIX-POWER7-plain, 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 17:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 16:01 [binutils-gdb] Rename gdb.reverse/aarch64.{exp, c} to gdb.reverse/insn-reverse.{exp, c} sergiodj+buildbot
2016-02-26 16:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 17:52 [binutils-gdb] Optimize x86 GOT32X/GOTPCRELX relocations sergiodj+buildbot
2016-02-26 18:17 ` Failures on AIX-POWER7-plain, 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-26 18:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 20:20 [binutils-gdb] Add x86_64-*-rtems* target sergiodj+buildbot
2016-02-26 20:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-26 20:30 [binutils-gdb] Add aarch64-*-rtems* target sergiodj+buildbot
2016-02-26 21:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
     [not found] <1ed0c2a4bbe8ad5f5404014a6351b2b74db75577@gdb-build>
2016-02-26 22:00 ` sergiodj+buildbot
2016-02-28 15:25 [binutils-gdb] Don't recursively look for a symbol in all imports of imported modules sergiodj+buildbot
2016-02-28 15:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-29 15:24 [binutils-gdb] [ARC] General fixes sergiodj+buildbot
2016-02-29 15:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-29 16:04 [binutils-gdb] [ARC] Local symbols relocation cleanup sergiodj+buildbot
2016-02-29 16:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-29 16:58 [binutils-gdb] Support more syscalls in linux-record: pipe2 epoll_create1 eventfd2 fallocate dup3 and inotify_init1 sergiodj+buildbot
2016-02-29 17:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-02-29 17:29 [binutils-gdb] aarch64-linux process record: more syscalls sergiodj+buildbot
2016-02-29 18:06 ` Failures on AIX-POWER7-plain, 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:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 11:55 [binutils-gdb] S390: Fix internal error with stackless inferior sergiodj+buildbot
2016-03-01 12:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 12:05 [binutils-gdb] S390: Fix output path for s390-tdbregs test case sergiodj+buildbot
2016-03-01 12:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 15:31 [binutils-gdb] Compile gdb.arch/arm-neon.c with "quiet" sergiodj+buildbot
2016-03-01 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 15:41 [binutils-gdb] Fix output path for arm-disp-step.exp sergiodj+buildbot
2016-03-01 16:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 17:26 [binutils-gdb] Fix gdb.base/catch-fork-kill.c compilation sergiodj+buildbot
2016-03-01 17:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 17:53 [binutils-gdb] Fix gdb.threads/watchpoint-fork*.c compilation sergiodj+buildbot
2016-03-01 18:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-01 18:47 [binutils-gdb] Fix gdb.trace/ftrace-lock.c compilation sergiodj+buildbot
2016-03-01 19:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02  3:28 [binutils-gdb] Fix shift left warning at source sergiodj+buildbot
2016-03-02  3:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02  3:46 [binutils-gdb] Regenerate rl78 opcodes file sergiodj+buildbot
2016-03-02  5:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02  4:03 [binutils-gdb] Regenerate bfd files sergiodj+buildbot
2016-03-02  4:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02 14:03 [binutils-gdb] Regenerate or1k opcodes file sergiodj+buildbot
2016-03-02 14:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02 14:37 [binutils-gdb] Fix detection of gfortran compilers sergiodj+buildbot
2016-03-02 15:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02 15:30 [binutils-gdb] Add new maintainer to Write After Approval sergiodj+buildbot
2016-03-02 15:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-02 15:43 [binutils-gdb] testsuite: Nullify pointers before first usage sergiodj+buildbot
2016-03-02 16:15 ` Failures on AIX-POWER7-plain, 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 16:40 ` Failures on AIX-POWER7-plain, 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 17:38 ` Failures on AIX-POWER7-plain, 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 18:11 ` Failures on AIX-POWER7-plain, 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 17:10 ` Failures on AIX-POWER7-plain, 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-02 18:46 ` Failures on AIX-POWER7-plain, 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:00 ` Failures on AIX-POWER7-plain, 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 10:36 ` Failures on AIX-POWER7-plain, 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 11:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 10:00 [binutils-gdb] Step over fork/vfork syscall insn in gdbserver sergiodj+buildbot
2016-03-03 11:47 ` Failures on AIX-POWER7-plain, 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 12:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 10:20 [binutils-gdb] Reformat gdb.base/step-over-syscall.exp sergiodj+buildbot
2016-03-03 13:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 10:27 [binutils-gdb] New test about step over clone syscall sergiodj+buildbot
2016-03-03 13:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 10:36 [binutils-gdb] Update comments to start_step_over sergiodj+buildbot
2016-03-03 14:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 15:34 [binutils-gdb] Fix bugs in the simulation of the AArch64's ADDP, FADDP, LD1, CCMP and CCMP instructions sergiodj+buildbot
2016-03-03 16:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-03 19:03 [binutils-gdb] gdb.base/skip.exp: Use with_test_prefix sergiodj+buildbot
2016-03-03 19:27 ` Failures on AIX-POWER7-plain, 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-03 21:26 ` Failures on AIX-POWER7-plain, 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-03 21:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 11:45 [binutils-gdb] [ARM] Add feature check for ARMv8.1 AdvSIMD instructions sergiodj+buildbot
2016-03-04 12:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 14:50 [binutils-gdb] Treat common symbol in executable as definition sergiodj+buildbot
2016-03-04 15:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 15:16 [binutils-gdb] feature_to_c.sh: Print help when passing no arguments sergiodj+buildbot
2016-03-04 15:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 16:10 [binutils-gdb] Tweak ARM process record sergiodj+buildbot
2016-03-04 16:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 16:41 [binutils-gdb] Add missing ChangeLog entries for commit 82838 sergiodj+buildbot
2016-03-04 17:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-04 17:01 [binutils-gdb] ARM process record: VMOV sergiodj+buildbot
2016-03-04 17:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-05 12:31 [binutils-gdb] Fix argument passing for call sergiodj+buildbot
2016-03-05 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-06  1:57 [binutils-gdb] Improve analysis of racy testcases sergiodj+buildbot
2016-03-06  2:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-06 22:42 [binutils-gdb] Set executable bit on analyze-racy-logs.py sergiodj+buildbot
2016-03-06 23:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-07 15:39 [binutils-gdb] Add const qualifiers at various places sergiodj+buildbot
2016-03-07 15:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-07 15:51 [binutils-gdb] [AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced sergiodj+buildbot
2016-03-07 16:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-07 16:52 [binutils-gdb] Fix "set architecture mips:10000" crash sergiodj+buildbot
2016-03-07 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-07 17:40 [binutils-gdb] Allow zero length archive elements sergiodj+buildbot
2016-03-07 18:14 ` Failures on AIX-POWER7-plain, 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:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-08 13:50 [binutils-gdb] Group common symbol checking together sergiodj+buildbot
2016-03-08 14:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-08 17:47 [binutils-gdb] Handle local IFUNC symbols in shared object sergiodj+buildbot
2016-03-08 18:25 ` Failures on AIX-POWER7-plain, 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:07 ` Failures on AIX-POWER7-plain, 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  3:48 ` Failures on AIX-POWER7-plain, 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  6:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09  4:57 [binutils-gdb] Don't create dynamic sections when relocatable sergiodj+buildbot
2016-03-09  7:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09  6:37 [binutils-gdb] Allow zero length archive elements sergiodj+buildbot
2016-03-09  8:36 ` Failures on AIX-POWER7-plain, 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:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 15:59 [binutils-gdb] Fix v850 bfd arch info printable names sergiodj+buildbot
2016-03-09 16:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 16:08 [binutils-gdb] [FR-V] Handle FR300 sergiodj+buildbot
2016-03-09 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 16:19 [binutils-gdb] Avoid spaces in osabi names sergiodj+buildbot
2016-03-09 17:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 16:30 [binutils-gdb] S390: Add use of unavailable-stack frame ID sergiodj+buildbot
2016-03-09 18:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 16:41 [binutils-gdb] S390: Recognize special jumps in prologue parser sergiodj+buildbot
2016-03-09 19:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 18:02 [binutils-gdb] gdb: Add ax_pseudo_register_collect for powerpc sergiodj+buildbot
2016-03-09 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 18:28 [binutils-gdb] gdb: Add gen_return_address for powerpc sergiodj+buildbot
2016-03-09 20:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 18:40 [binutils-gdb] gdb/rs6000: Read backchain as unsigned sergiodj+buildbot
2016-03-09 20:55 ` Failures on AIX-POWER7-plain, 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-09 21:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 19:21 [binutils-gdb] gdb.trace/entry-values.exp: Fixes for powerpc64 sergiodj+buildbot
2016-03-09 23:27 ` Failures on AIX-POWER7-plain, 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  0:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 19:54 [binutils-gdb] Garbage collect window_hook sergiodj+buildbot
2016-03-10  1:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 20:06 [binutils-gdb] gdb_readline2 -> gdb_readline_no_editing_callback sergiodj+buildbot
2016-03-10  1:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 20:15 [binutils-gdb] Eliminate async_annotation_suffix sergiodj+buildbot
2016-03-10  2:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 20:27 [binutils-gdb] Update prompt_for_continue comments sergiodj+buildbot
2016-03-10  2:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 20:36 [binutils-gdb] gdb_readline -> gdb_readline_no_editing sergiodj+buildbot
2016-03-10  3:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 20:47 [binutils-gdb] Use struct buffer in gdb_readline_no_editing sergiodj+buildbot
2016-03-10  4:24 ` Failures on AIX-POWER7-plain, 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  5:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 21:09 [binutils-gdb] Simplify saved_command_line handling sergiodj+buildbot
2016-03-10  7:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 21:19 [binutils-gdb] Command line input handling TLC sergiodj+buildbot
2016-03-10  8:41 ` Failures on AIX-POWER7-plain, 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-10  9:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 21:55 [binutils-gdb] More "Program" -> "Thread NN received signal" testsuite adjustment sergiodj+buildbot
2016-03-10 10:07 ` Failures on AIX-POWER7-plain, 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-09 22:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-09 23:54 [binutils-gdb] gdb: Add tracepoint support for powerpc sergiodj+buildbot
2016-03-09 23:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-10 15:43 [binutils-gdb] Mark the i370 target as obsolete sergiodj+buildbot
2016-03-10 16:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-10 22:34 [binutils-gdb] Add $_as_string convenience function sergiodj+buildbot
2016-03-10 23:05 ` Failures on AIX-POWER7-plain, 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  9:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-11 10:15 [binutils-gdb] gdb/s390: Fill pseudo register agent expression hooks sergiodj+buildbot
2016-03-11 10:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-11 23:06 [binutils-gdb] gdb: New maint info line-table command sergiodj+buildbot
2016-03-11 23:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-13 10:06 [binutils-gdb] gdb/s390: Fill gen_return_address hook sergiodj+buildbot
2016-03-13 10:37 ` Failures on AIX-POWER7-plain, 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:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-14 20:28 [binutils-gdb] Regenerate bfd-in2.h sergiodj+buildbot
2016-03-14 20:58 ` Failures on AIX-POWER7-plain, 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:12 ` Failures on AIX-POWER7-plain, 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 17:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 18:19 [binutils-gdb] Add -z noreloc-overflow option to x86-64 ld sergiodj+buildbot
2016-03-15 19:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 19:01 [binutils-gdb] Bind defined symbol locally in PIE sergiodj+buildbot
2016-03-15 20:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 19:55 [binutils-gdb] Remove hand-called function from test sergiodj+buildbot
2016-03-15 20:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 20:07 [binutils-gdb] maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type sergiodj+buildbot
2016-03-15 21:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 20:16 [binutils-gdb] Use int instead of LONGEST in tdesc_type sizes sergiodj+buildbot
2016-03-15 21:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-15 21:49 [binutils-gdb] Extend flags to support multibit and enum bitfields sergiodj+buildbot
2016-03-15 22:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-16 16:29 [binutils-gdb] [ARM] Support ARMv8.2 FP16 simd instructions sergiodj+buildbot
2016-03-16 16:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-16 17:48 [binutils-gdb] xml-tdesc.c (tdesc_start_enum): Fix c++ build sergiodj+buildbot
2016-03-16 17:57 ` Failures on AIX-POWER7-plain, 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-16 22:57 ` Failures on AIX-POWER7-plain, 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  9:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17  9:34 [binutils-gdb] linux-record.c: Fix whitespace issues sergiodj+buildbot
2016-03-17  9:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17  9:47 [binutils-gdb] linux-record: Simplify with record_mem_at_reg() sergiodj+buildbot
2016-03-17  9:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 10:12 [binutils-gdb] S390: Fix output path for s390-multiarch test case sergiodj+buildbot
2016-03-17 10:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 10:26 [binutils-gdb] S390: Add syscall info for syscalls up to 374 sergiodj+buildbot
2016-03-17 10:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 10:43 [binutils-gdb] PR remote/19496, timeout in forking-threads-plus-bkpt sergiodj+buildbot
2016-03-17 10:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 17:33 [binutils-gdb] Suggest running gdbserver for a PID in container sergiodj+buildbot
2016-03-17 17:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 23:01 [binutils-gdb] Add mips and s390 build targets for gold sergiodj+buildbot
2016-03-17 23:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18  9:45 [binutils-gdb] Add simulation of MUL and NEG instructions to AArch64 simulator sergiodj+buildbot
2016-03-18 10:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 13:21 [binutils-gdb] Fix generation of as.1 manual page so that it can be converted to DocBook format sergiodj+buildbot
2016-03-18 13:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 14:39 [binutils-gdb] Remove redundant WIFSTOPPED check sergiodj+buildbot
2016-03-18 15:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 15:06 [binutils-gdb] Set signal to 0 after enqueue_pending_signal sergiodj+buildbot
2016-03-18 15:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 15:17 [binutils-gdb] Check lwp_signal_can_be_delivered for enqueue/dequeue pending signals sergiodj+buildbot
2016-03-18 16:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 15:36 [binutils-gdb] Fix code to check for illegal element numbers when accessing AArch64 vector registers in AArch64 sim sergiodj+buildbot
2016-03-18 17:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 15:45 [binutils-gdb] Make sparc_software_single_step static sergiodj+buildbot
2016-03-18 18:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 16:52 [binutils-gdb] [spu] throw error when target_read_memory fails sergiodj+buildbot
2016-03-18 16:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 17:25 [binutils-gdb] Fix thinko in new GET_VEC_ELEMENT macro sergiodj+buildbot
2016-03-18 19:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-18 18:39 [binutils-gdb] Fix the disassembly of the AArch64's OOR instruction as a MOV instruction sergiodj+buildbot
2016-03-18 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 10:37 [binutils-gdb] Canonicalize more arm linux syscalls sergiodj+buildbot
2016-03-21 11:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 11:29 [binutils-gdb] ARM process record: median instructions sergiodj+buildbot
2016-03-21 11:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 17:00 [binutils-gdb] arc/gas: default mach is arc700, initialised in md_begin sergiodj+buildbot
2016-03-21 17:28 ` Failures on AIX-POWER7-plain, 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 18:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 18:03 [binutils-gdb] arc/opcodes: Use flag operand class to handle multiple flag matches sergiodj+buildbot
2016-03-21 19:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 18:10 [binutils-gdb] arc: Add nps400 machine type, and assembler flag sergiodj+buildbot
2016-03-21 19:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 18:49 [binutils-gdb] arc: Remove EF_ARC_CPU_GENERIC constant sergiodj+buildbot
2016-03-21 18:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-21 20:10 [binutils-gdb] arc/nps400: Add first nps400 instructions sergiodj+buildbot
2016-03-21 20:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22  4:01 [binutils-gdb] Binutils fails to build with -O0 sergiodj+buildbot
2016-03-22  5:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22  9:46 [binutils-gdb] Add -Wstack-usage to the gcc warning flags list, but only if using a sufficiently recent version of gcc sergiodj+buildbot
2016-03-22 10:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22 10:41 [binutils-gdb] Fix possible unbounded stack use in peXXigen.c sergiodj+buildbot
2016-03-22 11:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22 11:38 [binutils-gdb] Restore v850-rh850 as a recognised v850 architecture name for backwards compatibility sergiodj+buildbot
2016-03-22 12:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22 12:26 [binutils-gdb] Attribute with DW_FORM_flag_present sergiodj+buildbot
2016-03-22 12:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-22 23:14 [binutils-gdb] make more variables const sergiodj+buildbot
2016-03-23  0:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-23 11:26 [binutils-gdb] Remove comments on software_single_step in gdbarch.sh sergiodj+buildbot
2016-03-23 11:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-23 17:42 [binutils-gdb] More AArch64 simulator improvements sergiodj+buildbot
2016-03-23 18:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-24 10:29 [binutils-gdb] Add quotation mark in test message sergiodj+buildbot
2016-03-24 11:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-24 17:25 [binutils-gdb] sparc: reorder wr instructions in sparc_opcodes to fix diagnostics sergiodj+buildbot
2016-03-24 18:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-24 21:57 [binutils-gdb] More -Wstack-usage warnings: opcodes/aarch64-* sergiodj+buildbot
2016-03-24 22:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29  5:59 [binutils-gdb] PE/COFF regression in base of code and data calculation sergiodj+buildbot
2016-03-29  9:37 ` Failures on AIX-POWER7-plain, 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:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 10:50 [binutils-gdb] Tidy up AArch64 simulator code sergiodj+buildbot
2016-03-29 11:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 13:24 [binutils-gdb] [ARC] Add support for Quarkse opcodes sergiodj+buildbot
2016-03-29 13:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 14:25 [binutils-gdb] Compile gdb.arch/arm-neon.exp with debug info sergiodj+buildbot
2016-03-29 15:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 17:29 [binutils-gdb] [ARC] Fix typo in extension instruction name sergiodj+buildbot
2016-03-29 18:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 18:21 [binutils-gdb] 2016-03-29 Don Breazeal <donb@codesourcery.com> sergiodj+buildbot
2016-03-29 19:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 21:56 [binutils-gdb] gdbserver/s390: Switch on tracepoint support sergiodj+buildbot
2016-03-29 22:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 22:02 [binutils-gdb] gdbserver/s390: Add fast tracepoint support sergiodj+buildbot
2016-03-29 22:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-29 22:49 [binutils-gdb] gdbserver/s390: Add support for compiled agent expressions sergiodj+buildbot
2016-03-29 23:38 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30  0:05 [binutils-gdb] gdb: xtensa: fix frame initialization when PC is invalid sergiodj+buildbot
2016-03-30  0:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30  0:26 [binutils-gdb] gdb/NEWS: Add mention of s390*-linux tracepoints sergiodj+buildbot
2016-03-30  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30  0:32 [binutils-gdb] gdbserver: Handle 'v' packet while processing qSymbol sergiodj+buildbot
2016-03-30  1:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30  7:18 [binutils-gdb] python/py-utils.c (host_string_to_python_string): New function sergiodj+buildbot
2016-03-30  7:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30  9:57 [binutils-gdb] Fix more bugs in AArch64 simulator sergiodj+buildbot
2016-03-30 10:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 14:16 [binutils-gdb] Fix a seg-fault in the AVR linker sergiodj+buildbot
2016-03-30 14:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 14:57 [binutils-gdb] [ARC] Cleanup AUX register names sergiodj+buildbot
2016-03-30 15:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 15:08 [binutils-gdb] gdbserver/tracepoint.c: Remove whitespace sergiodj+buildbot
2016-03-30 15:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 16:08 [binutils-gdb] Add arm epilogue unwinder sergiodj+buildbot
2016-03-30 17:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 16:17 [binutils-gdb] Simplify gdb.reverse/until-reverse.c sergiodj+buildbot
2016-03-30 16:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 17:00 [binutils-gdb] Refactor arm_stack_frame_destroyed_p sergiodj+buildbot
2016-03-30 17:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 17:59 [binutils-gdb] Check func against 0 rather than NULL sergiodj+buildbot
2016-03-30 18:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 18:47 [binutils-gdb] opcodes/arc: Comment and whitespace fixes in opcode table sergiodj+buildbot
2016-03-30 18:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-30 22:29 [binutils-gdb] gdbserver/IPA: Export some functions via global function pointers sergiodj+buildbot
2016-03-30 23:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 11:40 [binutils-gdb] enable -Wwrite-strings for gas sergiodj+buildbot
2016-03-31 12:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 12:49 [binutils-gdb] Remove support for "target m32rsdi" and "target mips/pmon/ddb/rockhopper/lsi" sergiodj+buildbot
2016-03-31 13:09 ` Failures on AIX-POWER7-plain, 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 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 14:01 [binutils-gdb] opcodes/arc/nps: Fix some operand flags sergiodj+buildbot
2016-03-31 14:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 14:06 [binutils-gdb] gdbserver: Add powerpc fast tracepoint support sergiodj+buildbot
2016-03-31 15:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 14:33 [binutils-gdb] IPA: Add alloc_jump_pad_buffer target hook sergiodj+buildbot
2016-03-31 14:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 15:30 [binutils-gdb] gdbserver: Add emit_ops for powerpc sergiodj+buildbot
2016-03-31 15:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 15:58 [binutils-gdb] gdb/NEWS: Add mention of powerpc*-linux tracepoints sergiodj+buildbot
2016-03-31 16:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 19:01 [binutils-gdb] Fix PR gdb/19858: GDB doesn't register the JIT libraries on attach sergiodj+buildbot
2016-03-31 19:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 19:38 [binutils-gdb] Make gdb.base/jit.exp binaries unique sergiodj+buildbot
2016-03-31 19:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-31 22:48 [binutils-gdb] gdbserver: Fix C++ build errors in tracepoint.c sergiodj+buildbot
2016-03-31 22:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-01 13:05 [binutils-gdb] PR19886, --as-needed regression sergiodj+buildbot
2016-04-01 13:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-01 15:14 [binutils-gdb] gdb: allow enumeration constants as second operand of BINOP_REPEAT sergiodj+buildbot
2016-04-01 15:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-03 16:59 [binutils-gdb] IPA: Fix build problem on !HAVE_GETAUXVAL sergiodj+buildbot
2016-04-03 17:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-04 12:19 [binutils-gdb] Ignore DWARF debug information with a version of 0 - assume that it is padding sergiodj+buildbot
2016-04-04 12:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-04 14:48 [binutils-gdb] Fix gdb.mi/mi-breakpoint-changed.exp for remote targets sergiodj+buildbot
2016-04-04 15:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-04 21:11 [binutils-gdb] Obvious function doc and formatting sergiodj+buildbot
2016-04-04 21:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 14:39 [binutils-gdb] ELF/LD: Avoid producing hidden and internal dynamic symbols sergiodj+buildbot
2016-04-05 14:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 15:04 [binutils-gdb] [ARC] Dynamic relocs verification for dynindx == -1 sergiodj+buildbot
2016-04-05 15:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
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:09 [binutils-gdb] [ARC] 24 bit reloc and overflow detection fix sergiodj+buildbot
2016-04-05 16:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 16:32 [binutils-gdb] [ARC] Fix to pass ld-elf-ehdr_start-shared sergiodj+buildbot
2016-04-05 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 16:36 [binutils-gdb] IPA: Move getauxval out of #ifndef IN_PROCESS_AGENT sergiodj+buildbot
2016-04-05 18:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 17:01 [binutils-gdb] [ARC] PLT content endianess awareness sergiodj+buildbot
2016-04-05 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 17:37 [binutils-gdb] [ARC] Fix support for double assist instructions sergiodj+buildbot
2016-04-05 17:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 18:35 [binutils-gdb] Improve gdb_remote_download, remove gdb_download sergiodj+buildbot
2016-04-05 19:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-05 22:02 [binutils-gdb] arc/nps400: Add additional instructions sergiodj+buildbot
2016-04-05 22:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06  1:00 [binutils-gdb] Fix IPA detection in ftrace-insn-reloc.exp sergiodj+buildbot
2016-04-06  1:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06  8:42 [binutils-gdb] Fix memory leak in ld ARM backend sergiodj+buildbot
2016-04-06  9:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 14:11 [binutils-gdb] Print the "file" command suggestion in exec_file_locate_attach sergiodj+buildbot
2016-04-06 14:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 15:02 [binutils-gdb] Revert check-in by a mistake in the previous commit sergiodj+buildbot
2016-04-06 15:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 19:19 [binutils-gdb] Workaround gdbserver<7.7 for setfs sergiodj+buildbot
2016-04-06 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 19:51 [binutils-gdb] Revert the previous commit adding unknown_v_replies_ok sergiodj+buildbot
2016-04-06 20:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 21:04 [binutils-gdb] Fix gdb.threads/dlopen-libpthread.exp crash sergiodj+buildbot
2016-04-06 21:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-06 22:32 [binutils-gdb] Eliminate -var-create error for optzd ptr to struct sergiodj+buildbot
2016-04-06 22:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-07 16:05 [binutils-gdb] Set bp_tgt->reqstd_address and bp_tgt->placed_size in record_full_insert_breakpoint sergiodj+buildbot
2016-04-07 16:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-07 16:30 [binutils-gdb] Make breakpoint handling in record-full idempotent sergiodj+buildbot
2016-04-07 17:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-07 17:21 [binutils-gdb] Fix gdb.reverse/finish-reverse-bkpt.exp sergiodj+buildbot
2016-04-07 18:23 ` Failures on AIX-POWER7-plain, 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 18:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-07 18:15 [binutils-gdb] arc/nps400: Add new instructions sergiodj+buildbot
2016-04-07 19:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-07 19:12 [binutils-gdb] Fix gdb.compile/compile.exp shlib regression sergiodj+buildbot
2016-04-07 20:13 ` Failures on AIX-POWER7-plain, 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:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-08 18:24 [binutils-gdb] value: Make accessor methods' parameters const-correct sergiodj+buildbot
2016-04-08 18:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-08 18:56 [binutils-gdb] Fix gdb.server/solib-list.exp regression sergiodj+buildbot
2016-04-08 19:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-09  1:47 [binutils-gdb] Adjust default memory size and stack base address for SH simulator sergiodj+buildbot
2016-04-09  2:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-09 12:55 [binutils-gdb] gdb.python/py-mi-events-gdb.py: Add parentheses to print sergiodj+buildbot
2016-04-09 13:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-11 17:20 [binutils-gdb] MIPS/opcodes: Fix undecoded MIPS16 extended instruction bit disassembly sergiodj+buildbot
2016-04-11 17:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12  3:00 [binutils-gdb] Properly handle dynamic reloc against normal symbol sergiodj+buildbot
2016-04-12  3:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12  8:49 [binutils-gdb] Add support for .extInstruction pseudo-op sergiodj+buildbot
2016-04-12  9:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12  9:33 [binutils-gdb] Update ARC instruction data-base sergiodj+buildbot
2016-04-12  9:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 16:23 [binutils-gdb] Don't rely on immediate_quit in command_line_input sergiodj+buildbot
2016-04-12 16:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 16:45 [binutils-gdb] Inline command_loop in read_command_line sergiodj+buildbot
2016-04-12 17:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 17:52 [binutils-gdb] TUI: check whether in secondary prompt instead of immediate_quit sergiodj+buildbot
2016-04-12 17:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 18:20 [binutils-gdb] Stop remote-fileio.c from throwing from SIGINT handler sergiodj+buildbot
2016-04-12 19:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 18:22 [binutils-gdb] Don't call clear_quit_flag after check_quit_flag sergiodj+buildbot
2016-04-12 22:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 18:29 [binutils-gdb] Don't set immediate_quit in prompt_for_continue sergiodj+buildbot
2016-04-12 18:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 18:33 [binutils-gdb] Don't call clear_quit_flag in command_handler sergiodj+buildbot
2016-04-12 22:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 19:26 [binutils-gdb] Introduce a serial interface for select'able events sergiodj+buildbot
2016-04-12 20:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 20:39 [binutils-gdb] Fix signal handler/event-loop races sergiodj+buildbot
2016-04-12 20:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 20:54 [binutils-gdb] Make Python use a struct serial event sergiodj+buildbot
2016-04-12 21:47 ` Failures on AIX-POWER7-plain, 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  6:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 21:25 [binutils-gdb] Add missing cleanups to defaulted_query and prompt_for_continue sergiodj+buildbot
2016-04-13  7:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 23:21 [binutils-gdb] Eliminate clear_quit_flag sergiodj+buildbot
2016-04-13  0:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 23:24 [binutils-gdb] Don't call clear_quit_flag in prepare_to_throw_exception sergiodj+buildbot
2016-04-12 23:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-12 23:43 [binutils-gdb] Decouple target_interrupt from all-stop/non-stop modes sergiodj+buildbot
2016-04-13  0:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  0:16 [binutils-gdb] Pass Ctrl-C to the target in target_terminal_inferior sergiodj+buildbot
2016-04-13  1:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  1:16 [binutils-gdb] ada-lang.c: Introduce type_as_string and use it sergiodj+buildbot
2016-04-13  2:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  2:05 [binutils-gdb] Fix inconsistent handling of EINTR in ser-*.c backends sergiodj+buildbot
2016-04-13  2:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  3:08 [binutils-gdb] Use target_terminal_ours_for_output in cp-support.c sergiodj+buildbot
2016-04-13  3:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  5:01 [binutils-gdb] Use target_terminal_ours_for_output in MI sergiodj+buildbot
2016-04-13  8:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  5:12 [binutils-gdb] Use target_terminal_ours_for_output in infcmd.c sergiodj+buildbot
2016-04-13  5:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  5:54 [binutils-gdb] target remote: Don't rely on immediate_quit (introduce quit handlers) sergiodj+buildbot
2016-04-13  9:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  6:32 [binutils-gdb] Eliminate immediate_quit sergiodj+buildbot
2016-04-13 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  6:59 [binutils-gdb] Eliminate target_check_pending_interrupt sergiodj+buildbot
2016-04-13 10:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  7:30 [binutils-gdb] Eliminate prepare_to_throw_exception sergiodj+buildbot
2016-04-13 11:24 ` Failures on AIX-POWER7-plain, 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-13  8:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  8:30 [binutils-gdb] Use setjmp/longjmp for TRY/CATCH instead of sigsetjmp/siglongjmp sergiodj+buildbot
2016-04-13 11:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13  9:19 [binutils-gdb] TUI: GC tui_target_has_run sergiodj+buildbot
2016-04-13  9:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 12:28 [binutils-gdb] [C++] Switch TRY/CATCH to real C++ try/catch by default again sergiodj+buildbot
2016-04-13 12:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 13:01 [binutils-gdb] Fix typo in ftrace.exp condition testing sergiodj+buildbot
2016-04-13 13:01 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 13:43 [binutils-gdb] btrace: fix test build error in gdb.btrace/instruction_history.c sergiodj+buildbot
2016-04-13 14:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 14:46 [binutils-gdb] Fix PR remote/19840: gdb crashes on reverse-stepi sergiodj+buildbot
2016-04-13 15:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 14:51 [binutils-gdb] gdbserver-base.exp: Copy file to standard output directory in ${board}_download sergiodj+buildbot
2016-04-13 16:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 16:19 [binutils-gdb] Fix disassembly of the V850's LD.BU instruction sergiodj+buildbot
2016-04-13 16:19 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 17:17 [binutils-gdb] Fix and improve comment in gdb_remote_download sergiodj+buildbot
2016-04-13 17:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 20:40 [binutils-gdb] Debugging without a binary (regression) sergiodj+buildbot
2016-04-13 20:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-13 21:23 [binutils-gdb] Test GDB connection to GDBserver with no symbol files sergiodj+buildbot
2016-04-13 21:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-14 12:27 [binutils-gdb] Avoid implicit float <-> integer conversion warnings sergiodj+buildbot
2016-04-14 12:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-14 15:50 [binutils-gdb] Replace "link" with "sh_link" sergiodj+buildbot
2016-04-14 16:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-14 16:55 [binutils-gdb] opcodes/arc: Move instruction length logic to new function sergiodj+buildbot
2016-04-14 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-14 16:59 [binutils-gdb] bfd/arc: Rename enum entries to avoid conflicts sergiodj+buildbot
2016-04-14 17:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-14 17:59 [binutils-gdb] arc/nps400 : New cmem instructions and associated relocation sergiodj+buildbot
2016-04-14 17:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-15 14:55 [binutils-gdb] [ARM] minor opt in thumb_stack_frame_destroyed_p sergiodj+buildbot
2016-04-15 15:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-15 23:19 [binutils-gdb] MIPS/Linux: Also recognize TRAP_BRKPT and TRAP_HWBKPT sergiodj+buildbot
2016-04-15 23:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-16  0:51 [binutils-gdb] Regenerate Makefile.in/aclocal.m4 automake 1.11.6 sergiodj+buildbot
2016-04-16  1:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-16  1:25 [binutils-gdb] Fix gdb C++ build when libipt is available sergiodj+buildbot
2016-04-16  1:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-16  2:10 [binutils-gdb] Fix gdb build with --enable-build-with-cxx --disable-nls sergiodj+buildbot
2016-04-16  2:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-16  2:42 [binutils-gdb] gdb/ada-exp.y: Remap yydefred sergiodj+buildbot
2016-04-16  3:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-18 12:17 [binutils-gdb] testsuite: Support detection of Intel compilers via test_compiler_version sergiodj+buildbot
2016-04-18 12:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-18 13:05 [binutils-gdb] Testsuite: Fix compiling of shared libraries with ICC sergiodj+buildbot
2016-04-18 13:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-18 13:32 [binutils-gdb] fortran: Testsuite, fix different type naming across compilers sergiodj+buildbot
2016-04-18 14:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-18 17:00 [binutils-gdb] Fix PR gdb/19250: ptrace prototype is not detected properly in C++ mode sergiodj+buildbot
2016-04-18 17:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 14:07 [binutils-gdb] Add target descriptions for AVX + MPX sergiodj+buildbot
2016-04-19 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 14:47 [binutils-gdb] Re-factor (i386|amd64)mpx target descriptions sergiodj+buildbot
2016-04-19 14:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 15:07 [binutils-gdb] linux-record: Squash cases with identical handling sergiodj+buildbot
2016-04-19 15:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 16:33 [binutils-gdb] * source.c (is_regular_file): New arg errno_ptr sergiodj+buildbot
2016-04-19 16:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 16:46 [binutils-gdb] Fix copyright year, remove linux only test sergiodj+buildbot
2016-04-19 17:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 17:34 [binutils-gdb] symmisc.c (dump_symtab_1, dump_symtab): Delete arg objfile sergiodj+buildbot
2016-04-19 17:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 22:17 [binutils-gdb] opcodes/arc: Add more nps instructions sergiodj+buildbot
2016-04-19 22:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 22:36 [binutils-gdb] opcodes/arc: Add yet more nps instructions sergiodj+buildbot
2016-04-19 22:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 23:24 [binutils-gdb] Cast the pointer assigned to ss_sp to char * sergiodj+buildbot
2016-04-19 23:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-19 23:53 [binutils-gdb] Handle void * conversions in FreeBSD/x86 native code to fix C++ build sergiodj+buildbot
2016-04-20  0:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 11:27 [binutils-gdb] change argument type to bfd_byte sergiodj+buildbot
2016-04-20 11:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 12:32 [binutils-gdb] Move ARM_CPSR_GREGNUM to arch/arm-linux.h sergiodj+buildbot
2016-04-20 12:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 13:16 [binutils-gdb] Check ELF relocs after opening all input files sergiodj+buildbot
2016-04-20 13:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 13:35 [binutils-gdb] Call _bfd_elf_create_ifunc_sections only for ifunc sergiodj+buildbot
2016-04-20 13:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 14:26 [binutils-gdb] Include arch/arm-linux.h in aarch32-linux-nat.c sergiodj+buildbot
2016-04-20 14:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 17:31 [binutils-gdb] symmisc.c (dump_symtab_1): Print owning compunit for identical blockvectors sergiodj+buildbot
2016-04-20 17:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 18:32 [binutils-gdb] Check run-time R_X86_64_32 relocation overflow sergiodj+buildbot
2016-04-20 18:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 22:24 [binutils-gdb] Fix "incompatible pointer type" warning in gdb/aarch64-tdep.c sergiodj+buildbot
2016-04-20 22:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-20 22:56 [binutils-gdb] Fix host signal vs gdb signal mixup in gdb/darwin-nat.c sergiodj+buildbot
2016-04-20 23:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-21 13:06 [binutils-gdb] Fix AIX gdb build with C++ compiler sergiodj+buildbot
2016-04-21 13:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-21 16:36 [binutils-gdb] Switch gdb's TRY/CATCH to sjlj again sergiodj+buildbot
2016-04-21 17:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22  0:52 [binutils-gdb] MIPS: Go back with the default Linux # of registers to 90 sergiodj+buildbot
2016-04-22  0:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22  2:30 [binutils-gdb] Set dynobj to a normal input file if possible sergiodj+buildbot
2016-04-22  3:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 11:21 [binutils-gdb] New test case gdb.trace/signal.exp sergiodj+buildbot
2016-04-22 11:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 11:40 [binutils-gdb] Deliver signal in hardware single step sergiodj+buildbot
2016-04-22 12:02 ` Failures on AIX-POWER7-plain, 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 12:33 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 12:44 [binutils-gdb] [obv] [PR gdb/19980] Typo in gdbserver/configure.srv sergiodj+buildbot
2016-04-22 13:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 14:40 [binutils-gdb] Joel Brobecker stepping down as AIX Maintainer sergiodj+buildbot
2016-04-22 14:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 15:00 [binutils-gdb] Fix fail in gdb.base/annota1.exp and gdb.base/annota3.exp sergiodj+buildbot
2016-04-22 15:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 16:05 [binutils-gdb] Rename rl_callback_read_char_wrapper -> gdb_rl_callback_read_char_wrapper sergiodj+buildbot
2016-04-22 16:30 ` Failures on AIX-POWER7-plain, 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-22 17:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 17:51 [binutils-gdb] Switch gdb's TRY/CATCH to C++ try/catch sergiodj+buildbot
2016-04-22 17:51 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 18:06 [binutils-gdb] Choose TARGET_OBJECT_STACK_MEMORY and TARGET_OBJECT_MEMORY in read_value_memory sergiodj+buildbot
2016-04-22 19:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 19:48 [binutils-gdb] Fix fails in gdb.trace/unavailable.exp sergiodj+buildbot
2016-04-22 19:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-22 22:58 [binutils-gdb] Fix checks for VSX and Altivec availability on Power sergiodj+buildbot
2016-04-22 23:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-23 17:00 [binutils-gdb] Skip if size of bfd_vma is smaller than address size sergiodj+buildbot
2016-04-23 17:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-25  8:34 [binutils-gdb] Force to insert software single step breakpoint sergiodj+buildbot
2016-04-25  9:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-25 10:20 [binutils-gdb] New test case gdb.base/branch-to-self.exp sergiodj+buildbot
2016-04-25 10:20 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-26 11:09 [binutils-gdb] Always count the NULL entry in dynamic symbol table sergiodj+buildbot
2016-04-26 11:27 ` Failures on AIX-POWER7-plain, 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:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-26 15:16 [binutils-gdb] fort_dyn_array: Support evaluation of dynamic elements inside arrays sergiodj+buildbot
2016-04-26 15:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-26 15:59 [binutils-gdb] fort_dyn_array: Use value constructor instead of raw-buffer manipulation sergiodj+buildbot
2016-04-26 16:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27  0:26 [binutils-gdb] add casts to avoid arithmetic on void * sergiodj+buildbot
2016-04-27  0:34 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27  7:52 [binutils-gdb] Cache result of scan for __start_* and __stop_* sections sergiodj+buildbot
2016-04-27  8:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 10:52 [binutils-gdb] Add support for the --trace-decode option to the AArch64 simulator sergiodj+buildbot
2016-04-27 11:16 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 12:00 [binutils-gdb] Fix a typo in the check for SNANs in the RX simulator sergiodj+buildbot
2016-04-27 12:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 14:05 [binutils-gdb] Avoid non-C++-enabled babeltrace versions sergiodj+buildbot
2016-04-27 14:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 15:34 [binutils-gdb] c_value_print: Revert 'val' to a reference for TYPE_CODE_STRUCT sergiodj+buildbot
2016-04-27 15:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 15:46 [binutils-gdb] Skip gdb.base/branch-to-self.exp if gdb, nosignals exists sergiodj+buildbot
2016-04-27 16:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 16:28 [binutils-gdb] Skip debug sections when estimating distances sergiodj+buildbot
2016-04-27 16:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 19:55 [binutils-gdb] Workaround gdbserver<7.7 for setfs sergiodj+buildbot
2016-04-27 20:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 22:25 [binutils-gdb] Make gdb_load_shlibs return the destination path of the library sergiodj+buildbot
2016-04-27 22:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-27 22:52 [binutils-gdb] Rename gdb_load_shlibs to gdb_load_shlib sergiodj+buildbot
2016-04-27 23:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28  8:43 [binutils-gdb] Add support to AArch64 disassembler for verifying instructions. Add verifier for LDPSW sergiodj+buildbot
2016-04-28  8:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 11:08 [binutils-gdb] Remove need_step_over from struct lwp_info sergiodj+buildbot
2016-04-28 11:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 13:24 [binutils-gdb] Updated Chinese (simplified) translations for bfd, binutils and gold sergiodj+buildbot
2016-04-28 13:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 15:16 [binutils-gdb] ftrace tests: Use gdb_load_shlib result to lookup IPA in info sharedlibrary sergiodj+buildbot
2016-04-28 15:27 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 17:19 [binutils-gdb] Fix write endianness/size problem for fast tracepoint enabled flag sergiodj+buildbot
2016-04-28 17:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 17:38 [binutils-gdb] Add test for tracepoint enable/disable sergiodj+buildbot
2016-04-28 18:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-28 18:29 [binutils-gdb] Don't show deprecated commands in help sergiodj+buildbot
2016-04-28 18:48 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-29  8:54 [binutils-gdb] Enhance support for copying and stripping Solaris and ARM binaries sergiodj+buildbot
2016-04-29  9:03 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-29 12:43 [binutils-gdb] i386: Don't relocate section when check_relocs failed sergiodj+buildbot
2016-04-29 12:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-04-29 15:45 [binutils-gdb] Pass GOT_RELOC to UNDEFINED_WEAK_RESOLVED_TO_ZERO sergiodj+buildbot
2016-04-29 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-02 17:09 [binutils-gdb] Fix startup on MS-Windows when 'gdb.ini' is found in $HOME sergiodj+buildbot
2016-05-02 17:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-02 17:20 [binutils-gdb] Fix annota-input-while-running.exp remote check sergiodj+buildbot
2016-05-02 17:47 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03  9:05 [binutils-gdb] [gdb] Fix -Wparentheses warnings sergiodj+buildbot
2016-05-03  9:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03  9:56 [binutils-gdb] Fix "-Wl,--dynamic-list" gdb/configure test sergiodj+buildbot
2016-05-03 10:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03 11:07 [binutils-gdb] Fix generation of AArhc64 instruction table sergiodj+buildbot
2016-05-03 11:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03 11:55 [binutils-gdb] Remove gdb/python/python.c code that handles strlen failing with -1 sergiodj+buildbot
2016-05-03 12:22 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03 12:30 [binutils-gdb] Fix gdb/python/python.c use-after-free sergiodj+buildbot
2016-05-03 12:52 ` Failures on AIX-POWER7-plain, 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-03 23:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-03 23:36 [binutils-gdb] Fix typos in gdb_pipe function comment sergiodj+buildbot
2016-05-03 23:58 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-04  0:22 [binutils-gdb] PR symtab/19914 fix handling of dwp + split debug sergiodj+buildbot
2016-05-04  0:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-04 13:48 [binutils-gdb] Introduce procedure use_gdb_stub sergiodj+buildbot
2016-05-04 14:07 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-04 14:35 [binutils-gdb] Fix solib-display.exp remote check sergiodj+buildbot
2016-05-04 14:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-04 14:42 [binutils-gdb] Throw NOT_AVAILABLE_ERROR in read_stack and read_code sergiodj+buildbot
2016-05-04 15:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-04 15:43 [binutils-gdb] [ARC] Add SYNTAX_NOP and SYNTAX_1OP for extension instructions sergiodj+buildbot
2016-05-04 15:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-05  8:19 [binutils-gdb] Change type of cpsr in arm_sigreturn_next_pc sergiodj+buildbot
2016-05-05  8:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-05  9:13 [binutils-gdb] Initialize res in get_next_pcs_read_memory_unsigned_integer sergiodj+buildbot
2016-05-05  9:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-05 11:45 [binutils-gdb] Cache the section contents in x86 check_relocs sergiodj+buildbot
2016-05-05 11:49 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-06  9:55 [binutils-gdb] Add support for FMLA (by element) to AArch64 sim sergiodj+buildbot
2016-05-06 10:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-06 15:44 [binutils-gdb] Define elf_backend_add_symbol_hook for Intel MCU sergiodj+buildbot
2016-05-06 16:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-08  0:20 [binutils-gdb] remove trivialy unused variables sergiodj+buildbot
2016-05-08  0:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-09  8:25 [binutils-gdb] Redundant hash table check sergiodj+buildbot
2016-05-09  8:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-09  8:38 [binutils-gdb] Regenerate configure sergiodj+buildbot
2016-05-09  9:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-09 11:17 [binutils-gdb] opcodes,gas: sparc: fix mnemonic of faligndatai sergiodj+buildbot
2016-05-09 11:30 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-09 13:29 [binutils-gdb] [ARM/STM32L4XX] PR 20030: --fix-stm32l4xx-629360 fails to create vldm/vpop veneers for double-precision registers sergiodj+buildbot
2016-05-09 13:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-09 16:52 [binutils-gdb] Fix seg fault objdumping a corrupt binary with an invalid sh_link field sergiodj+buildbot
2016-05-09 17:08 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10  2:02 [binutils-gdb] PR 20059 _bfd_elf_copy_link_hash_symbol_type segfault sergiodj+buildbot
2016-05-10  2:11 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 15:40 [binutils-gdb] Add support for ARMv8-M security extensions instructions sergiodj+buildbot
2016-05-10 15:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 16:24 [binutils-gdb] Allow extension availability to depend on several architecture bits sergiodj+buildbot
2016-05-10 16:24 ` Failures on AIX-POWER7-plain, 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 16:54 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 17:24 [binutils-gdb] Refactor Cortex-A8 erratum workaround in preparation sergiodj+buildbot
2016-05-10 17:24 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 17:37 [binutils-gdb] Factor our stub creation in ARM backend sergiodj+buildbot
2016-05-10 17:52 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 18:12 [binutils-gdb] Allow stubs without associated input section in ARM backend sergiodj+buildbot
2016-05-10 18:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 18:49 [binutils-gdb] Use getters/setters to access ARM branch type sergiodj+buildbot
2016-05-10 18:50 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 19:10 [binutils-gdb] Allow veneers to claim veneered symbols sergiodj+buildbot
2016-05-10 19:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-10 19:42 [binutils-gdb] Enable Intel RDPID instruction sergiodj+buildbot
2016-05-10 19:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-11  1:45 [binutils-gdb] fix up two issues with the removal of unused variables sergiodj+buildbot
2016-05-11  2:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-11 11:26 [binutils-gdb] [AArch64] Remove redundant tls relax in elfNN_aarch64_final_link_relocate sergiodj+buildbot
2016-05-11 11:31 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-11 13:27 [binutils-gdb] ld --gc-sections fail with __tls_get_addr_opt sergiodj+buildbot
2016-05-11 13:42 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-11 16:26 [binutils-gdb] Add MIPS32 DSPr3 support sergiodj+buildbot
2016-05-11 16:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-12 15:11 [binutils-gdb] ld -z combreloc reloc sorting sergiodj+buildbot
2016-05-12 15:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-12 16:48 [binutils-gdb] PR symtab/19999 gdb unable to resolve vars with fission+PIE sergiodj+buildbot
2016-05-12 16:55 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-13  5:36 [binutils-gdb] ld -z combreloc elf_link_sort_relocs sergiodj+buildbot
2016-05-13  6:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-13  6:13 [binutils-gdb] Set dynamic tag VMA and size from dynamic section when possible sergiodj+buildbot
2016-05-13  7:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-13 18:25 [binutils-gdb] Don't convert GOTPCREL relocation against large section sergiodj+buildbot
2016-05-13 18:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-13 20:38 [binutils-gdb] Accept valid one byte signed and unsigned values for the IMM8 operand sergiodj+buildbot
2016-05-13 20:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-16 12:47 [binutils-gdb] V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again sergiodj+buildbot
2016-05-16 13:02 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-16 16:48 [binutils-gdb] Match shell_prompt # in batch-preserve-term-settings.exp sergiodj+buildbot
2016-05-16 17:10 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17  8:00 [binutils-gdb] Use unsuspend_all_lwps sergiodj+buildbot
2016-05-17  8:13 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 11:40 [binutils-gdb] LD/ELF: Unify STB_GNU_UNIQUE handling sergiodj+buildbot
2016-05-17 11:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 17:58 [binutils-gdb] Add DW_LANG_Rust sergiodj+buildbot
2016-05-17 18:04 ` Failures on AIX-POWER7-plain, 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:00 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 21:21 [binutils-gdb] Make gdb expression debugging handle OP_F90_RANGE sergiodj+buildbot
2016-05-17 21:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 21:36 [binutils-gdb] Update gdb test suite for Rust sergiodj+buildbot
2016-05-17 23:40 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 21:52 [binutils-gdb] Add self-test framework to gdb sergiodj+buildbot
2016-05-17 22:04 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 22:37 [binutils-gdb] Add array start and end strings to generic_val_print_decorations sergiodj+buildbot
2016-05-17 22:37 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 22:44 [binutils-gdb] Add support for the Rust language sergiodj+buildbot
2016-05-17 23:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-17 23:52 [binutils-gdb] Add Rust documentation sergiodj+buildbot
2016-05-18  0:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18  0:39 [binutils-gdb] Rename OP_F90_RANGE to OP_RANGE sergiodj+buildbot
2016-05-18  0:39 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18  1:09 [binutils-gdb] Fix -exec-run not running asynchronously with mi-async on (PR gdb/18077) sergiodj+buildbot
2016-05-18  1:09 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18  6:45 [binutils-gdb] elf32-arm.c build breakage sergiodj+buildbot
2016-05-18  7:23 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18 12:06 [binutils-gdb] Updated Swedish translations for bfd and binutils sergiodj+buildbot
2016-05-18 12:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18 12:39 [binutils-gdb] MIPS/opcodes: Correct mixed MIPS16 and microMIPS disassembly sergiodj+buildbot
2016-05-18 12:47 ` Failures on AIX-POWER7-plain, 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 14:45 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18 15:15 [binutils-gdb] Add mi-threads-interrupt.exp test (PR 20039) sergiodj+buildbot
2016-05-18 15:15 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-18 17:49 [binutils-gdb] Fix build failure with GCC 4.1 sergiodj+buildbot
2016-05-18 17:53 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19  5:14 [binutils-gdb] Fix ppc64le S-record test fail sergiodj+buildbot
2016-05-19  5:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19  5:39 [binutils-gdb] Allocate ppc64 got and dynrelocs before plt sergiodj+buildbot
2016-05-19  6:59 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19  5:57 [binutils-gdb] Fix powerpc subis range sergiodj+buildbot
2016-05-19  7:32 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19  7:41 [binutils-gdb] Correct "Fix powerpc subis range" sergiodj+buildbot
2016-05-19  8:05 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19 10:25 [binutils-gdb] Remove unsupported `am34-*-linux*' target triplet sergiodj+buildbot
2016-05-19 10:46 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19 13:20 [binutils-gdb] [ARC] BFD fixes sergiodj+buildbot
2016-05-19 13:41 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19 13:44 [binutils-gdb] Fix invalid implicit conversions from void * sergiodj+buildbot
2016-05-19 14:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19 15:18 [binutils-gdb] Set sh_entsize for .init_array and similar sergiodj+buildbot
2016-05-19 15:36 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-19 20:17 [binutils-gdb] Don't convert R_386_GOT32 relocation sergiodj+buildbot
2016-05-19 20:29 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-20 13:05 [binutils-gdb] MIPS: Fix the encoding of immediates with microMIPS JALX sergiodj+buildbot
2016-05-20 13:17 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-20 17:00 [binutils-gdb] Don't check R_386_GOT32 when setting need_convert_load sergiodj+buildbot
2016-05-20 17:12 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23  5:30 [binutils-gdb] tic54x: rename typedef of struct symbol_ sergiodj+buildbot
2016-05-23  6:25 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23  8:08 [binutils-gdb] Search for libutil-freebsd as alternative to libutil sergiodj+buildbot
2016-05-23  8:27 ` Failures on AIX-POWER7-plain, 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  9:14 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23  9:01 [binutils-gdb] Support for dedicated ARM stub section with padding sergiodj+buildbot
2016-05-23  9:43 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 11:03 [binutils-gdb] Sync config.guess and config.sub with FSF GCC mainline versions sergiodj+buildbot
2016-05-23 11:18 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 12:49 [binutils-gdb] Remove unused libthread_db td_thr_validate reference sergiodj+buildbot
2016-05-23 13:06 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 13:16 [binutils-gdb] Add support for configuring for the ARM Phoenix target sergiodj+buildbot
2016-05-23 13:35 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 15:08 [binutils-gdb] Use standard_testfile in gdb.arch/thumb-prologue.exp and gdb.arch/thumb2-it.exp sergiodj+buildbot
2016-05-23 15:21 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 15:43 [binutils-gdb] [ARC] Rename "class" named attributes sergiodj+buildbot
2016-05-23 15:57 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 16:28 [binutils-gdb] [ARC] Add XY registers, update neg instruction sergiodj+buildbot
2016-05-23 16:28 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 16:44 [binutils-gdb] [ARC] Update instruction type and delay slot info sergiodj+buildbot
2016-05-23 16:56 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 16:47 [binutils-gdb] Fix PR python/19438, PR python/18393 - initialize dictionaries sergiodj+buildbot
2016-05-23 17:26 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-05-23 17:14 [binutils-gdb] Skip unwritable frames in command "finish" sergiodj+buildbot
2016-05-23 17:54 ` Failures on AIX-POWER7-plain, 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).