<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/binutils-gdb.git, branch users/palves/dwarf5-regression-for-jan</title>
<subtitle>sourceware.org: git/binutils-gdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/'/>
<entry>
<title>Fix DWARF5 regression</title>
<updated>2017-02-21T18:40:02+00:00</updated>
<author>
<name>Pedro Alves</name>
<email>palves@redhat.com</email>
</author>
<published>2017-02-21T18:40:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=187a94196e6188c22bd2e7ed77771834f629ebab'/>
<id>187a94196e6188c22bd2e7ed77771834f629ebab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Default initialize enum flags to 0</title>
<updated>2017-02-21T16:48:49+00:00</updated>
<author>
<name>Simon Marchi</name>
<email>simon.marchi@ericsson.com</email>
</author>
<published>2017-02-21T16:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=1b90b1390679473dd84416e462afa1587769ceec'/>
<id>1b90b1390679473dd84416e462afa1587769ceec</id>
<content type='text'>
... so that we don't need to do it manually, and potentially forget.
For example, this allows to do:

  my_flags flags;

  ...

  flags |= some_flag;

gdb/ChangeLog:

	* common/enum-flags.h (enum_flags::enum_flags): Initialize
	m_enum_value to 0 in default constructor.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... so that we don't need to do it manually, and potentially forget.
For example, this allows to do:

  my_flags flags;

  ...

  flags |= some_flag;

gdb/ChangeLog:

	* common/enum-flags.h (enum_flags::enum_flags): Initialize
	m_enum_value to 0 in default constructor.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ppc64] Add POWER8/ISA 2.07 atomic sequences single-stepping support</title>
<updated>2017-02-21T14:14:56+00:00</updated>
<author>
<name>Edjunior Barbosa Machado</name>
<email>emachado@linux.vnet.ibm.com</email>
</author>
<published>2017-02-21T14:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=2039d74e780db6659c87cd3c426d526615cfe703'/>
<id>2039d74e780db6659c87cd3c426d526615cfe703</id>
<content type='text'>
gdb/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* rs6000-tdep.c (LOAD_AND_RESERVE_MASK): Rename from LWARX_MASK.
	(STORE_CONDITIONAL_MASK): Rename from STWCX_MASK.
	(LBARX_INSTRUCTION, LHARX_INSTRUCTION, LQARX_INSTRUCTION,
	STBCX_INSTRUCTION, STHCX_INSTRUCTION, STQCX_INSTRUCTION): New defines.
	(IS_LOAD_AND_RESERVE_INSN, IS_STORE_CONDITIONAL_INSN): New macros.
	(ppc_displaced_step_copy_insn): Use IS_LOAD_AND_RESERVE_INSN.
	(ppc_deal_with_atomic_sequence): Use IS_LOAD_AND_RESERVE_INSN and
	IS_STORE_CONDITIONAL_INSN.

gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
	gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
	and lqarx/stqcx.
	* gdb.arch/ppc64-isa207-atomic-inst.S: New file.
	* gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gdb/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* rs6000-tdep.c (LOAD_AND_RESERVE_MASK): Rename from LWARX_MASK.
	(STORE_CONDITIONAL_MASK): Rename from STWCX_MASK.
	(LBARX_INSTRUCTION, LHARX_INSTRUCTION, LQARX_INSTRUCTION,
	STBCX_INSTRUCTION, STHCX_INSTRUCTION, STQCX_INSTRUCTION): New defines.
	(IS_LOAD_AND_RESERVE_INSN, IS_STORE_CONDITIONAL_INSN): New macros.
	(ppc_displaced_step_copy_insn): Use IS_LOAD_AND_RESERVE_INSN.
	(ppc_deal_with_atomic_sequence): Use IS_LOAD_AND_RESERVE_INSN and
	IS_STORE_CONDITIONAL_INSN.

gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
	gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
	and lqarx/stqcx.
	* gdb.arch/ppc64-isa207-atomic-inst.S: New file.
	* gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp</title>
<updated>2017-02-21T13:59:29+00:00</updated>
<author>
<name>Edjunior Barbosa Machado</name>
<email>emachado@linux.vnet.ibm.com</email>
</author>
<published>2017-02-21T13:59:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=a51d7ecf3ddd64e0aec68e3c30913faba680b2cb'/>
<id>a51d7ecf3ddd64e0aec68e3c30913faba680b2cb</id>
<content type='text'>
gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
	uppercase.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  &lt;emachado@linux.vnet.ibm.com&gt;

	* gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
	uppercase.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compile time warning message in linker testsuite test.</title>
<updated>2017-02-21T11:00:21+00:00</updated>
<author>
<name>Nick Clifton</name>
<email>nickc@redhat.com</email>
</author>
<published>2017-02-21T11:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=465197842a6ff829eea88b3b96b05c433a797aae'/>
<id>465197842a6ff829eea88b3b96b05c433a797aae</id>
<content type='text'>
	* testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
	about non-void function returning without a result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
	about non-void function returning without a result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix recent compiler warnings.</title>
<updated>2017-02-21T08:14:37+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2017-02-21T08:14:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=7814882a6534c100d8eba1a41588611a8b38c429'/>
<id>7814882a6534c100d8eba1a41588611a8b38c429</id>
<content type='text'>
gcc-4.8.5-11.el7.x86_64

dwarf2read.c: In function ‘pc_bounds_kind dwarf2_get_pc_bounds(die_info*, CORE_ADDR*, CORE_ADDR*, dwarf2_cu*, partial_symtab*)’:
dwarf2read.c:12134:7: error: ‘range_end’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:12133:7: error: ‘range_beginning’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

gdb/ChangeLog
2017-02-21  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* dwarf2_rnglists_process: Initialize range_beginning and range_end.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gcc-4.8.5-11.el7.x86_64

dwarf2read.c: In function ‘pc_bounds_kind dwarf2_get_pc_bounds(die_info*, CORE_ADDR*, CORE_ADDR*, dwarf2_cu*, partial_symtab*)’:
dwarf2read.c:12134:7: error: ‘range_end’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:12133:7: error: ‘range_beginning’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

gdb/ChangeLog
2017-02-21  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* dwarf2_rnglists_process: Initialize range_beginning and range_end.
</pre>
</div>
</content>
</entry>
<entry>
<title>Alpha DT_RELA</title>
<updated>2017-02-21T01:19:37+00:00</updated>
<author>
<name>Alan Modra</name>
<email>amodra@gmail.com</email>
</author>
<published>2017-02-20T07:27:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=24f1a75169e554d418be009d803a02e441584ea7'/>
<id>24f1a75169e554d418be009d803a02e441584ea7</id>
<content type='text'>
	* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only emit
	DT_RELA, DT_RELASZ, and DT_RELAENT when DT_RELASZ is non-zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only emit
	DT_RELA, DT_RELASZ, and DT_RELAENT when DT_RELASZ is non-zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>Automatic date update in version.in</title>
<updated>2017-02-21T00:00:31+00:00</updated>
<author>
<name>GDB Administrator</name>
<email>gdbadmin@sourceware.org</email>
</author>
<published>2017-02-21T00:00:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=262062fffd192fe76a6c59741bbbb1c5ae0bae53'/>
<id>262062fffd192fe76a6c59741bbbb1c5ae0bae53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DWARF-5: NEWS</title>
<updated>2017-02-20T20:02:51+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2017-02-20T19:53:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=0ae60b631e1648880d326c4a9986d5d522b6ae8a'/>
<id>0ae60b631e1648880d326c4a9986d5d522b6ae8a</id>
<content type='text'>
a NEWS entry.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* NEWS (Changes since GDB 7.12): Add DWARF-5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a NEWS entry.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* NEWS (Changes since GDB 7.12): Add DWARF-5.
</pre>
</div>
</content>
</entry>
<entry>
<title>DWARF-5: DW_FORM_data16</title>
<updated>2017-02-20T20:02:20+00:00</updated>
<author>
<name>Jan Kratochvil</name>
<email>jan.kratochvil@redhat.com</email>
</author>
<published>2017-02-20T19:53:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/binutils-gdb.git/commit/?id=0224619f6085908935f689b87e1ac4e460bb1e71'/>
<id>0224619f6085908935f689b87e1ac4e460bb1e71</id>
<content type='text'>
DWARF-5 has new form DW_FORM_data16.  The problem is that GDB cannot pass
16-byte constant as a constant value as that would require GDB to use GCC
extension __int128.

Formerly such data was coded as DW_FORM_block* so GDB still decodes
DW_FORM_data16 like DW_FORM_block*.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* dwarf2read.c (skip_one_die, read_attribute_value)
	(dwarf2_const_value_attr, dump_die_shallow)
	(dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
	(skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.

gdb/testsuite/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* gdb.dwarf2/formdata16.c: New file.
	* gdb.dwarf2/formdata16.exp: New file.
	* lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DWARF-5 has new form DW_FORM_data16.  The problem is that GDB cannot pass
16-byte constant as a constant value as that would require GDB to use GCC
extension __int128.

Formerly such data was coded as DW_FORM_block* so GDB still decodes
DW_FORM_data16 like DW_FORM_block*.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* dwarf2read.c (skip_one_die, read_attribute_value)
	(dwarf2_const_value_attr, dump_die_shallow)
	(dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
	(skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.

gdb/testsuite/ChangeLog
2017-02-20  Jan Kratochvil  &lt;jan.kratochvil@redhat.com&gt;

	* gdb.dwarf2/formdata16.c: New file.
	* gdb.dwarf2/formdata16.exp: New file.
	* lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
</pre>
</div>
</content>
</entry>
</feed>
