This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. cf363f183d9a87faeda74f33b58a6c4a22e7d1e2
- From: mark at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 1 Jul 2014 20:14:02 -0000
- Subject: gdb and binutils branch master updated. cf363f183d9a87faeda74f33b58a6c4a22e7d1e2
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 cf363f183d9a87faeda74f33b58a6c4a22e7d1e2 (commit)
from 82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5 (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=cf363f183d9a87faeda74f33b58a6c4a22e7d1e2
commit cf363f183d9a87faeda74f33b58a6c4a22e7d1e2
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon Jun 30 23:21:52 2014 +0200
Handle volatile array types in dwarf2read.c.
read_tag_const_type propagates the cv-qualifier to the array element type,
but read_tag_volatile_type didn't. Make sure that both cv-qualifiers that
apply to array types are handled the same.
gdb/ChangeLog
* dwarf2read.c (add_array_cv_type): New function.
(read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
(read_tag_volatile_type): Likewise.
gdb/testsuite/ChangeLog
* gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
vulture, vilify, villar): New volatile array constants.
(vindictive, vegetation): New const volatile array constants.
* gdb.base/volatile.exp: Test volatile and const volatile array
types.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++
gdb/dwarf2read.c | 56 +++++++++++++++++++++++------------
gdb/testsuite/ChangeLog | 8 +++++
gdb/testsuite/gdb.base/constvars.c | 14 +++++++++
gdb/testsuite/gdb.base/volatile.exp | 24 +++++++++++++++
5 files changed, 89 insertions(+), 19 deletions(-)
hooks/post-receive
--
gdb and binutils