Index: gdb/testsuite/gdb.dwarf2/dw2-noloc.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp b/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp |
index 9a6cb2a01997cc7977f53e444764892d0c6f76a6..f7d7efe6f8de989bab03aa6150dc3d4f61e5b5b3 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2007-2013 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 |
@@ -33,49 +33,51 @@ if { [prepare_for_testing dw2-noloc.exp "dw2-noloc" {dw2-noloc-main.c dw2-noloc. |
# unresolvable: .symtab entry does not exist for this symbol name. |
# DW_AT_declaration is not present in any of these DIEs. |
-proc file_symbols {type} { with_test_prefix "$type" { |
+proc file_symbols {type} { |
+ with_test_prefix "$type" { |
- global gdb_prompt |
+ global gdb_prompt |
- gdb_test "print file_locaddr_resolvable" "= 1234567890" |
- gdb_test "ptype file_locaddr_resolvable" "type = int" |
+ gdb_test "print file_locaddr_resolvable" "= 1234567890" |
+ gdb_test "ptype file_locaddr_resolvable" "type = int" |
- gdb_test "print file_locaddr_unresolvable" "= 1234567890" |
- gdb_test "ptype file_locaddr_unresolvable" "type = int" |
+ gdb_test "print file_locaddr_unresolvable" "= 1234567890" |
+ gdb_test "ptype file_locaddr_unresolvable" "type = int" |
- gdb_test "print file_locempty_resolvable" "= <optimized out>" |
- gdb_test "ptype file_locempty_resolvable" "type = int" |
+ gdb_test "print file_locempty_resolvable" "= <optimized out>" |
+ gdb_test "ptype file_locempty_resolvable" "type = int" |
- gdb_test "print file_locempty_unresolvable" "= <optimized out>" |
- gdb_test "ptype file_locempty_unresolvable" "type = int" |
+ gdb_test "print file_locempty_unresolvable" "= <optimized out>" |
+ gdb_test "ptype file_locempty_unresolvable" "type = int" |
- gdb_test "print file_locno_resolvable" "= <optimized out>" |
- gdb_test "ptype file_locno_resolvable" "type = int" |
+ gdb_test "print file_locno_resolvable" "= <optimized out>" |
+ gdb_test "ptype file_locno_resolvable" "type = int" |
- gdb_test "print file_locno_unresolvable" "= <optimized out>" |
- gdb_test "ptype file_locno_unresolvable" "type = int" |
+ gdb_test "print file_locno_unresolvable" "= <optimized out>" |
+ gdb_test "ptype file_locno_unresolvable" "type = int" |
- gdb_test "print file_extern_locaddr_resolvable" "= 1234567890" |
- gdb_test "ptype file_extern_locaddr_resolvable" "type = int" |
+ gdb_test "print file_extern_locaddr_resolvable" "= 1234567890" |
+ gdb_test "ptype file_extern_locaddr_resolvable" "type = int" |
- gdb_test "print file_extern_locaddr_unresolvable" "= 1234567890" |
- gdb_test "ptype file_extern_locaddr_unresolvable" "type = int" |
+ gdb_test "print file_extern_locaddr_unresolvable" "= 1234567890" |
+ gdb_test "ptype file_extern_locaddr_unresolvable" "type = int" |
- gdb_test "print file_extern_locempty_resolvable" "= <optimized out>" |
- gdb_test "ptype file_extern_locempty_resolvable" "type = int" |
+ gdb_test "print file_extern_locempty_resolvable" "= <optimized out>" |
+ gdb_test "ptype file_extern_locempty_resolvable" "type = int" |
- gdb_test "print file_extern_locempty_unresolvable" "= <optimized out>" |
- gdb_test "ptype file_extern_locempty_unresolvable" "type = int" |
+ gdb_test "print file_extern_locempty_unresolvable" "= <optimized out>" |
+ gdb_test "ptype file_extern_locempty_unresolvable" "type = int" |
- gdb_test "print file_extern_locno_resolvable" "= 1234567890" |
- gdb_test "ptype file_extern_locno_resolvable" "type = int" |
+ gdb_test "print file_extern_locno_resolvable" "= 1234567890" |
+ gdb_test "ptype file_extern_locno_resolvable" "type = int" |
- # `print file_extern_locno_unresolvable' currently prints |
- # Address of symbol "file_extern_locno_unresolvable" is unknown. |
- # As DW_AT_declaration is not present in this DIE |
- # it should print <optimized out>. As usefulness of such DIE is not |
- # clear its resolution is not being tested. |
-}} |
+ # `print file_extern_locno_unresolvable' currently prints |
+ # Address of symbol "file_extern_locno_unresolvable" is unknown. |
+ # As DW_AT_declaration is not present in this DIE |
+ # it should print <optimized out>. As usefulness of such DIE is not |
+ # clear its resolution is not being tested. |
+ } |
+} |
file_symbols no-run |