Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: gdb/testsuite/gdb.dwarf2/dw2-noloc.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-noloc.S ('k') | gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-noloc.S ('k') | gdb/testsuite/gdb.dwarf2/dw2-noloc-main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698