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

Unified Diff: gdb/testsuite/gdb.cp/inherit.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.cp/infcall-dlopen-lib.cc ('k') | gdb/testsuite/gdb.cp/koenig.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.cp/inherit.exp
diff --git a/gdb/testsuite/gdb.cp/inherit.exp b/gdb/testsuite/gdb.cp/inherit.exp
index fc5f2e28787f13b3fec37e21729c371ee4590583..53c7fb9acf92ff676b6528905ee9560a0d5fac64 100644
--- a/gdb/testsuite/gdb.cp/inherit.exp
+++ b/gdb/testsuite/gdb.cp/inherit.exp
@@ -1,5 +1,4 @@
-# Copyright 1992-1999, 2001-2004, 2006-2012 Free Software Foundation,
-# Inc.
+# Copyright 1992-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
@@ -41,37 +40,37 @@ proc test_ptype_si { } {
# A simple class.
cp_test_ptype_class \
- "ptype A" "ptype A (FIXME)" "class" "A" \
+ "A" "ptype A (FIXME)" "class" "A" \
{
{ field public "int a;" }
{ field public "int x;" }
}
- cp_test_ptype_class "ptype class A" "ptype class A (FIXME)" "class" "A" ibid
- cp_test_ptype_class "ptype g_A" "ptype g_A (FIXME)" "class" "A" ibid
+ cp_test_ptype_class "class A" "ptype class A (FIXME)" "class" "A" ibid
+ cp_test_ptype_class "g_A" "ptype g_A (FIXME)" "class" "A" ibid
# A derived class.
cp_test_ptype_class \
- "ptype B" "" "class" "B" \
+ "B" "" "class" "B" \
{
{ base "public A" }
{ field public "int b;" }
{ field public "int x;" }
}
- cp_test_ptype_class "ptype class B" "" "class" "B" ibid
- cp_test_ptype_class "ptype g_B" "" "class" "B" ibid
+ cp_test_ptype_class "class B" "" "class" "B" ibid
+ cp_test_ptype_class "g_B" "" "class" "B" ibid
# Another derived class.
cp_test_ptype_class \
- "ptype C" "" "class" "C" \
+ "C" "" "class" "C" \
{
{ base "public A" }
{ field public "int c;" }
{ field public "int x;" }
}
- cp_test_ptype_class "ptype class C" "" "class" "C" ibid
- cp_test_ptype_class "ptype g_C" "" "class" "C" ibid
+ cp_test_ptype_class "class C" "" "class" "C" ibid
+ cp_test_ptype_class "g_C" "" "class" "C" ibid
# A structure with no tag.
# TODO: move this mess into a separate file, and re-specify
@@ -146,27 +145,27 @@ proc test_ptype_mi { } {
# A class with two bases.
cp_test_ptype_class \
- "ptype D" "" "class" "D" \
+ "D" "" "class" "D" \
{
{ base "public B" }
{ base "public C" }
{ field public "int d;" }
{ field public "int x;" }
}
- cp_test_ptype_class "ptype class D" "" "class" "D" ibid
- cp_test_ptype_class "ptype g_D" "" "class" "D" ibid
+ cp_test_ptype_class "class D" "" "class" "D" ibid
+ cp_test_ptype_class "g_D" "" "class" "D" ibid
# A class derived from the previous class.
cp_test_ptype_class \
- "ptype E" "" "class" "E" \
+ "E" "" "class" "E" \
{
{ base "public D" }
{ field public "int e;" }
{ field public "int x;" }
}
- cp_test_ptype_class "ptype class E" "" "class" "E" ibid
- cp_test_ptype_class "ptype g_E" "" "class" "E" ibid
+ cp_test_ptype_class "class E" "" "class" "E" ibid
+ cp_test_ptype_class "g_E" "" "class" "E" ibid
}
# Single virtual inheritance, print type definitions.
@@ -176,39 +175,39 @@ proc test_ptype_vi { } {
# class vA
cp_test_ptype_class \
- "ptype vA" "" "class" "vA" \
+ "vA" "" "class" "vA" \
{
{ field public "int va;" }
{ field public "int vx;" }
}
- cp_test_ptype_class "ptype class vA" "" "class" "vA" ibid
- cp_test_ptype_class "ptype g_vA" "" "class" "vA" ibid
+ cp_test_ptype_class "class vA" "" "class" "vA" ibid
+ cp_test_ptype_class "g_vA" "" "class" "vA" ibid
# class vB
cp_test_ptype_class \
- "ptype vB" "" "class" "vB" \
+ "vB" "" "class" "vB" \
{
{ base "public virtual vA" }
{ vbase "vA" }
{ field public "int vb;" }
{ field public "int vx;" }
}
- cp_test_ptype_class "ptype class vB" "" "class" "vB" ibid
- cp_test_ptype_class "ptype g_vB" "" "class" "vB" ibid
+ cp_test_ptype_class "class vB" "" "class" "vB" ibid
+ cp_test_ptype_class "g_vB" "" "class" "vB" ibid
# class vC
cp_test_ptype_class \
- "ptype vC" "" "class" "vC" \
+ "vC" "" "class" "vC" \
{
{ base "public virtual vA" }
{ vbase "vA" }
{ field public "int vc;" }
{ field public "int vx;" }
}
- cp_test_ptype_class "ptype class vC" "" "class" "vC" ibid
- cp_test_ptype_class "ptype g_vC" "" "class" "vC" ibid
+ cp_test_ptype_class "class vC" "" "class" "vC" ibid
+ cp_test_ptype_class "g_vC" "" "class" "vC" ibid
}
@@ -219,7 +218,7 @@ proc test_ptype_mvi { } {
# class vD
cp_test_ptype_class \
- "ptype vD" "" "class" "vD" \
+ "vD" "" "class" "vD" \
{
{ base "public virtual vB" }
{ base "public virtual vC" }
@@ -228,21 +227,21 @@ proc test_ptype_mvi { } {
{ field public "int vd;" }
{ field public "int vx;" }
}
- cp_test_ptype_class "ptype class vD" "" "class" "vD" ibid
- cp_test_ptype_class "ptype g_vD" "" "class" "vD" ibid
+ cp_test_ptype_class "class vD" "" "class" "vD" ibid
+ cp_test_ptype_class "g_vD" "" "class" "vD" ibid
# class vE
cp_test_ptype_class \
- "ptype vE" "" "class" "vE" \
+ "vE" "" "class" "vE" \
{
{ base "public virtual vD" }
{ vbase "vD" }
{ field public "int ve;" }
{ field public "int vx;" }
}
- cp_test_ptype_class "ptype class vE" "" "class" "vE" ibid
- cp_test_ptype_class "ptype g_vE" "" "class" "vE" ibid
+ cp_test_ptype_class "class vE" "" "class" "vE" ibid
+ cp_test_ptype_class "g_vE" "" "class" "vE" ibid
}
« no previous file with comments | « gdb/testsuite/gdb.cp/infcall-dlopen-lib.cc ('k') | gdb/testsuite/gdb.cp/koenig.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698