diff options
author | Nick Clifton <nickc@redhat.com> | 2013-12-20 13:52:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-12-20 13:52:23 +0000 |
commit | 2e9e81a8f5f5870900b815b947ad1cbad0a07333 (patch) | |
tree | 09cf4c451bfdb8c105b4d84217bcc77bbf94e161 /gas | |
parent | 99d190fac4d2aab238cfc798dc5c28ab41456882 (diff) | |
download | gdb-2e9e81a8f5f5870900b815b947ad1cbad0a07333.zip gdb-2e9e81a8f5f5870900b815b947ad1cbad0a07333.tar.gz gdb-2e9e81a8f5f5870900b815b947ad1cbad0a07333.tar.bz2 |
PR binutils/16218
* dwarf.c (read_and_display_attr_value): Only print a tab
character if it preceeds further text.
* binutils-all/dw2-1.W: Update expected objdump output.
* binutils-all/i386/compressed-1a.d: Likewise.
* binutils-all/objdump.W: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* gas/elf/dwarf2-1.d: Update expected objdump output.
* gas/elf/dwarf2-2.d: Likewise.
* gas/i386/dw2-compress-1.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-1.d | 28 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/dwarf2-2.d | 28 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/dw2-compress-1.d | 28 |
4 files changed, 49 insertions, 42 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index bbce101..504642e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2013-12-20 Nick Clifton <nickc@redhat.com> + + PR binutils/16218 + * gas/elf/dwarf2-1.d: Update expected objdump output. + * gas/elf/dwarf2-2.d: Likewise. + * gas/i386/dw2-compress-1.d: Likewise. + 2013-12-19 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Don't run x86-64-disassem for mingw targets. diff --git a/gas/testsuite/gas/elf/dwarf2-1.d b/gas/testsuite/gas/elf/dwarf2-1.d index 2b9e5be..bae2f63 100644 --- a/gas/testsuite/gas/elf/dwarf2-1.d +++ b/gas/testsuite/gas/elf/dwarf2-1.d @@ -11,24 +11,24 @@ Contents of the .[z]?debug_info section: Abbrev Offset: 0x0 Pointer Size: 4 <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) - <c> DW_AT_stmt_list : 0x0 - <10> DW_AT_high_pc : 0x. - <14> DW_AT_low_pc : 0x. - <18> DW_AT_name : file1.txt - <22> DW_AT_producer : GNU C 3.3.3 + <c> DW_AT_stmt_list : 0x0 + <10> DW_AT_high_pc : 0x. + <14> DW_AT_low_pc : 0x. + <18> DW_AT_name : file1.txt + <22> DW_AT_producer : GNU C 3.3.3 <2e> DW_AT_language : 1 \(ANSI C\) <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\) - <30> DW_AT_external : 1 - <31> DW_AT_decl_file : 1 - <32> DW_AT_decl_line : 2 - <33> DW_AT_name : func_cu1 - <3c> DW_AT_type : <0x4a> - <40> DW_AT_low_pc : 0x. - <44> DW_AT_high_pc : 0x. + <30> DW_AT_external : 1 + <31> DW_AT_decl_file : 1 + <32> DW_AT_decl_line : 2 + <33> DW_AT_name : func_cu1 + <3c> DW_AT_type : <0x4a> + <40> DW_AT_low_pc : 0x. + <44> DW_AT_high_pc : 0x. <48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\) <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\) - <4b> DW_AT_name : int - <4f> DW_AT_byte_size : 4 + <4b> DW_AT_name : int + <4f> DW_AT_byte_size : 4 <50> DW_AT_encoding : 5 \(signed\) <1><51>: Abbrev Number: 0 diff --git a/gas/testsuite/gas/elf/dwarf2-2.d b/gas/testsuite/gas/elf/dwarf2-2.d index dffcda0..b42a2ec 100644 --- a/gas/testsuite/gas/elf/dwarf2-2.d +++ b/gas/testsuite/gas/elf/dwarf2-2.d @@ -11,24 +11,24 @@ Contents of the .[z]?debug_info section: Abbrev Offset: 0x0 Pointer Size: 4 <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) - <c> DW_AT_stmt_list : 0x0 - <10> DW_AT_high_pc : 0x. - <14> DW_AT_low_pc : 0x. - <18> DW_AT_name : file1.txt - <22> DW_AT_producer : GNU C 3.3.3 + <c> DW_AT_stmt_list : 0x0 + <10> DW_AT_high_pc : 0x. + <14> DW_AT_low_pc : 0x. + <18> DW_AT_name : file1.txt + <22> DW_AT_producer : GNU C 3.3.3 <2e> DW_AT_language : 1 \(ANSI C\) <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\) - <30> DW_AT_external : 1 - <31> DW_AT_decl_file : 1 - <32> DW_AT_decl_line : 2 - <33> DW_AT_name : func_cu1 - <3c> DW_AT_type : <0x4a> - <40> DW_AT_low_pc : 0x. - <44> DW_AT_high_pc : 0x. + <30> DW_AT_external : 1 + <31> DW_AT_decl_file : 1 + <32> DW_AT_decl_line : 2 + <33> DW_AT_name : func_cu1 + <3c> DW_AT_type : <0x4a> + <40> DW_AT_low_pc : 0x. + <44> DW_AT_high_pc : 0x. <48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\) <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\) - <4b> DW_AT_name : int - <4f> DW_AT_byte_size : 4 + <4b> DW_AT_name : int + <4f> DW_AT_byte_size : 4 <50> DW_AT_encoding : 5 \(signed\) <1><51>: Abbrev Number: 0 diff --git a/gas/testsuite/gas/i386/dw2-compress-1.d b/gas/testsuite/gas/i386/dw2-compress-1.d index 76dea43..4d1a393 100644 --- a/gas/testsuite/gas/i386/dw2-compress-1.d +++ b/gas/testsuite/gas/i386/dw2-compress-1.d @@ -10,24 +10,24 @@ Contents of the .zdebug_info section: Abbrev Offset: 0x0 Pointer Size: 4 <0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\) - <c> DW_AT_stmt_list : 0x0 - <10> DW_AT_high_pc : 0x4 - <14> DW_AT_low_pc : 0x0 - <18> DW_AT_name : file1.txt - <22> DW_AT_producer : GNU C 3.3.3 + <c> DW_AT_stmt_list : 0x0 + <10> DW_AT_high_pc : 0x4 + <14> DW_AT_low_pc : 0x0 + <18> DW_AT_name : file1.txt + <22> DW_AT_producer : GNU C 3.3.3 <2e> DW_AT_language : 1 \(ANSI C\) <1><2f>: Abbrev Number: 2 \(DW_TAG_subprogram\) - <30> DW_AT_external : 1 - <31> DW_AT_decl_file : 1 - <32> DW_AT_decl_line : 2 - <33> DW_AT_name : func_cu1 - <3c> DW_AT_type : <0x4a> - <40> DW_AT_low_pc : 0x0 - <44> DW_AT_high_pc : 0x4 + <30> DW_AT_external : 1 + <31> DW_AT_decl_file : 1 + <32> DW_AT_decl_line : 2 + <33> DW_AT_name : func_cu1 + <3c> DW_AT_type : <0x4a> + <40> DW_AT_low_pc : 0x0 + <44> DW_AT_high_pc : 0x4 <48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\) <1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\) - <4b> DW_AT_name : int - <4f> DW_AT_byte_size : 4 + <4b> DW_AT_name : int + <4f> DW_AT_byte_size : 4 <50> DW_AT_encoding : 5 \(signed\) <1><51>: Abbrev Number: 0 |