diff options
author | Mark Wielaard <mjw@redhat.com> | 2012-04-30 14:32:28 +0000 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2012-04-30 14:32:28 +0000 |
commit | 88ebb0a1567bdc11a39c466735d5fd145f326c1b (patch) | |
tree | 7f8af837536e570ffdf4d2d271047eafbb87c0a5 /gdb/contrib | |
parent | 45162986de31c02d5100f87195b1fa97357f815a (diff) | |
download | gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.zip gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.tar.gz gdb-88ebb0a1567bdc11a39c466735d5fd145f326c1b.tar.bz2 |
gas: Make dwarf2dbg.c versions specific and add DW_AT_high_pc case for DWARF 4+.
* dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
(DWARF2_LINE_VERSION): Likewise.
(out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
(out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
(out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
DWARF2_VERSION >= 4.
(out_debug_info): Use difference between start and end as data
value for DW_AT_high_pc when DWARF2_VERSION >= 4.
* config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
Diffstat (limited to 'gdb/contrib')
0 files changed, 0 insertions, 0 deletions