DWARF: Add support for DW_TAG_constant DIEs
authorJoel Brobecker <brobecker@gnat.com>
Wed, 22 Sep 2010 16:15:34 +0000 (16:15 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 22 Sep 2010 16:15:34 +0000 (16:15 +0000)
commit72929c628e0547bcffcbb3e7b7afabb912ce246b
treef9da49dbda440c43d69894b0dfc714719674d976
parent496c0e1ba7bd2b8596d90cc6b2bc87cf5c1cff67
DWARF: Add support for DW_TAG_constant DIEs

gdb/ChangeLog:

        * dwarf2read.c (scan_partial_symbols): Add handling of
        DW_TAG_constant DIEs.
        (add_partial_symbol, load_partial_dies, new_symbol): Likewise.

gdb/testsuite/ChangeLog:

        * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-const.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-const.exp [new file with mode: 0644]