This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMITTED PATCH] gdb.cp/nsalias.exp: Fix output of external/declaration flags.
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 02 Jan 2015 22:05:16 -0800
- Subject: [COMMITTED PATCH] gdb.cp/nsalias.exp: Fix output of external/declaration flags.
- Authentication-results: sourceware.org; auth=none
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.
diff --git a/gdb/testsuite/gdb.cp/nsalias.exp b/gdb/testsuite/gdb.cp/nsalias.exp
index 63b52d2..93a0772 100644
--- a/gdb/testsuite/gdb.cp/nsalias.exp
+++ b/gdb/testsuite/gdb.cp/nsalias.exp
@@ -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}
}
}