[OBV] Remove unused labels in dwarf assembler
Commit Message
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.
It is obvious. I'll push it in.
gdb/testsuite:
2014-04-24 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.
---
gdb/testsuite/gdb.dwarf2/dwz.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dwzbuildid.exp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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
@@ -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