diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eebef25dafb..ad264fecd0b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.cp/nsalias.exp b/gdb/testsuite/gdb.cp/nsalias.exp
index 63b52d21146..93a07720b95 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}
 		}
 	    }