This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 45371d0ceec9e0771306060c49f378eea01b1269
- From: luisgpm at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Jun 2014 06:12:14 -0000
- Subject: gdb and binutils branch master updated. 45371d0ceec9e0771306060c49f378eea01b1269
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 45371d0ceec9e0771306060c49f378eea01b1269 (commit)
from da58fb67f2f9fa8ff22591a0eede8804eb59743e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=45371d0ceec9e0771306060c49f378eea01b1269
commit 45371d0ceec9e0771306060c49f378eea01b1269
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Thu Jun 19 07:07:48 2014 +0100
The testcase was generating DW_AT_high_pc and DW_AT_low_pc entries
with type DW_FORM_string, which is wrong.
GDB was using that information to load data as strings, and then
proceeded to use the string pointers as addresses.
Even then, the test was passing just fine, because we were lucky
enough to have the low_pc string pointer smaller than the high_pc
string pointer.
Two issues are fixed. The first one is the DW_FORM_string type. The
second one is adjusting the addresses so that they are non-zero,
since GDB doesn't like seeing 0 in these fields due to a check
contained in dwarf2_get_pc_bounds:
if (low == 0 && !dwarf2_per_objfile->has_section_at_zero)
return 0;
With both fixes, the testcase passes deterministically.
2014-06-19 Luis Machado <lgustavo@codesourcery.com>
* gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
to DW_FORM_addr and use non-zero addresses.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/ChangeLog | 5 +++++
gdb/testsuite/gdb.cp/nsalias.exp | 12 ++++++------
2 files changed, 11 insertions(+), 6 deletions(-)
hooks/post-receive
--
gdb and binutils