diff options
author | Yao Qi <yao@codesourcery.com> | 2014-04-24 18:46:22 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-04-25 08:57:08 +0800 |
commit | 4c2d33e7a2309f4cec2a1a850c53e8f6e147e5fd (patch) | |
tree | bfcda45701fcb4b3d3bb66c715e94731864ee5b6 /gdb/testsuite/gdb.dwarf2 | |
parent | d7e6f612d6ace85eb52cc1265c519c0d44f07b47 (diff) | |
download | gdb-4c2d33e7a2309f4cec2a1a850c53e8f6e147e5fd.zip gdb-4c2d33e7a2309f4cec2a1a850c53e8f6e147e5fd.tar.gz gdb-4c2d33e7a2309f4cec2a1a850c53e8f6e147e5fd.tar.bz2 |
Remove unused labels in dwarf assembler
I happen to see that 'double_label' isn't used in dwz.exp dwarf assembler.
Similarly, partial_label and double_label aren't used in dwzbuildid.exp.
This patch is to remove them.
gdb/testsuite:
2014-04-25 Yao Qi <yao@codesourcery.com>
* gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
double_label.
* gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
partial_label and double_label.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dwz.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dwzbuildid.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dwz.exp b/gdb/testsuite/gdb.dwarf2/dwz.exp index 7f996b3..aa0ea7d 100644 --- a/gdb/testsuite/gdb.dwarf2/dwz.exp +++ b/gdb/testsuite/gdb.dwarf2/dwz.exp @@ -25,7 +25,7 @@ standard_testfile main.c dwz.S # Create the DWARF. set asm_file [standard_output_file $srcfile2] Dwarf::assemble $asm_file { - declare_labels partial_label double_label int_label int_label2 + declare_labels partial_label int_label int_label2 extern main diff --git a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp index 5861362..af8e5d3 100644 --- a/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp +++ b/gdb/testsuite/gdb.dwarf2/dwzbuildid.exp @@ -62,7 +62,7 @@ proc write_dwarf_file {filename buildid {value 99}} { set asm_file [standard_output_file $filename] Dwarf::assemble $asm_file { - declare_labels partial_label double_label int_label int_label2 + declare_labels int_label int_label2 upvar buildid buildid upvar value value |