gdb.cp/nsalias.exp: Fix output of external/declaration flags.
authorDoug Evans <xdje42@gmail.com>
Sat, 3 Jan 2015 06:00:57 +0000 (22:00 -0800)
committerDoug Evans <xdje42@gmail.com>
Sat, 3 Jan 2015 06:00:57 +0000 (22:00 -0800)
gdb/testsuite/ChangeLog:

* gdb.cp/nsalias.exp: Fix output of external/declaration flags.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/nsalias.exp

index eebef25dafbd852a2e231cc3a776267e69cfdb17..ad264fecd0bf223fce780741ec802ca0cbc9cf43 100644 (file)
@@ -1,3 +1,7 @@
+2015-01-02  Doug Evans  <xdje42@gmail.com>
+
+       * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
+
 2015-01-02  Doug Evans  <dje@google.com>
 
        * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
index 63b52d211468ca57b958a4910598ac249c09f8a4..93a07720b95e7bb4be71a264f733422d8048223c 100644 (file)
@@ -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}
                }
            }