aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-06-30 23:21:52 +0200
committerMark Wielaard <mjw@redhat.com>2014-07-01 22:11:53 +0200
commitcf363f183d9a87faeda74f33b58a6c4a22e7d1e2 (patch)
tree60b2f1984182da22c126419ac62f8f7d1c2b243d /bfd
parent82ae6c8d79c426e1b4d6f7b8d4be5292b3e9a8c5 (diff)
downloadgdb-cf363f183d9a87faeda74f33b58a6c4a22e7d1e2.zip
gdb-cf363f183d9a87faeda74f33b58a6c4a22e7d1e2.tar.gz
gdb-cf363f183d9a87faeda74f33b58a6c4a22e7d1e2.tar.bz2
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.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions