[COMMITTED] gdb.cp/nsalias.exp: Fix output of external/declaration flags.
Commit Message
Hi.
I was debugging a failure in one of my sandboxes which turned out to be due
to a bad testcase. The test was previously only passing accidentally.
The default form of attributes in the testsuite dwarf assembler is
strings, it's not smart enough (maybe some day) to choose the right
form given the value.
Regression tested on amd64-linux.
2015-01-02 Doug Evans <xdje42@gmail.com>
* gdb.cp/nsalias.exp: Fix output of external/declaration flags.
@@ -90,8 +90,8 @@ Dwarf::assemble $asm_file {
im_foo_label: DW_TAG_subprogram {
{name foo}
- {external 1}
- {declaration 1}
+ {external 1 flag_present}
+ {declaration 1 flag_present}
}
}
@@ -108,8 +108,8 @@ Dwarf::assemble $asm_file {
i_foo_label: subprogram {
{name foo}
- {external 1}
- {declaration 1}
+ {external 1 flag_present}
+ {declaration 1 flag_present}
}
}
@@ -126,8 +126,8 @@ Dwarf::assemble $asm_file {
o_foo_label: subprogram {
{name foo}
- {external 1}
- {declaration 1}
+ {external 1 flag_present}
+ {declaration 1 flag_present}
}
}