Imported Upstream version 7.9
[platform/upstream/gdb.git] / gdb / testsuite / gdb.dwarf2 / enum-type.exp
index a4825ec..351e51f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2014 Free Software Foundation, Inc.
+# Copyright 2014-2015 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -50,7 +50,7 @@ Dwarf::assemble $asm_file {
            } {
                DW_TAG_enumerator {
                    {DW_AT_name ONE}
-                   {DW_AT_const_value 1}
+                   {DW_AT_const_value 1 DW_FORM_sdata}
                }
            }