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

Unified Diff: gdb/testsuite/gdb.cp/virtfunc.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/virtfunc.cc ('k') | gdb/testsuite/gdb.cp/virtfunc2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.cp/virtfunc.exp
diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp
index 4621a7471aafdb7657b72f9421b914ece98f90bf..1c2268ab91e23bb1ef83c1b5e8280451d3ce8e79 100644
--- a/gdb/testsuite/gdb.cp/virtfunc.exp
+++ b/gdb/testsuite/gdb.cp/virtfunc.exp
@@ -1,5 +1,4 @@
-# Copyright 1992, 1994-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
@@ -34,7 +33,7 @@ proc test_ptype_of_classes {} {
# class VA
cp_test_ptype_class \
- "ptype VA" "" "class" "VA" \
+ "VA" "" "class" "VA" \
{
{ field public "int va;" }
}
@@ -42,7 +41,7 @@ proc test_ptype_of_classes {} {
# class VB
cp_test_ptype_class \
- "ptype VB" "" "class" "VB" \
+ "VB" "" "class" "VB" \
{
{ field public "int vb;" }
{ method public "int fvb();" }
@@ -52,7 +51,7 @@ proc test_ptype_of_classes {} {
# class V
cp_test_ptype_class \
- "ptype V" "" "class" "V" \
+ "V" "" "class" "V" \
{
{ base "public VA" }
{ base "public VB" }
@@ -64,7 +63,7 @@ proc test_ptype_of_classes {} {
# class A
cp_test_ptype_class \
- "ptype A" "" "class" "A" \
+ "A" "" "class" "A" \
{
{ base "public virtual V" }
{ vbase "V" }
@@ -75,7 +74,7 @@ proc test_ptype_of_classes {} {
# class B
cp_test_ptype_class \
- "ptype B" "" "class" "B" \
+ "B" "" "class" "B" \
{
{ base "public A" }
{ field private "int b;" }
@@ -85,7 +84,7 @@ proc test_ptype_of_classes {} {
# class C
cp_test_ptype_class \
- "ptype C" "" "class" "C" \
+ "C" "" "class" "C" \
{
{ base "public virtual V" }
{ vbase "V" }
@@ -95,7 +94,7 @@ proc test_ptype_of_classes {} {
# class AD
cp_test_ptype_class \
- "ptype AD" "" "class" "AD" \
+ "AD" "" "class" "AD" \
{
{ method public "virtual int vg();" }
}
@@ -103,7 +102,7 @@ proc test_ptype_of_classes {} {
# class D
cp_test_ptype_class \
- "ptype D" "" "class" "D" \
+ "D" "" "class" "D" \
{
{ base "public AD" }
{ base "public virtual V" }
@@ -118,7 +117,7 @@ proc test_ptype_of_classes {} {
# class E
cp_test_ptype_class \
- "ptype E" "" "class" "E" \
+ "E" "" "class" "E" \
{
{ base "public B" }
{ base "public virtual V" }
@@ -133,41 +132,41 @@ proc test_ptype_of_classes {} {
# An instance of D
- cp_test_ptype_class "ptype dd" "" "class" "D" ibid
+ cp_test_ptype_class "dd" "" "class" "D" ibid
# An instance of D *
- cp_test_ptype_class "ptype ppd" "" "class" "D" ibid "*"
+ cp_test_ptype_class "ppd" "" "class" "D" ibid "*"
# An instance of AD *
# TODO: this should be named pADd, not pAd.
- cp_test_ptype_class "ptype pAd" "" "class" "AD" ibid "*"
+ cp_test_ptype_class "pAd" "" "class" "AD" ibid "*"
# Instances of these classes.
- cp_test_ptype_class "ptype a" "" "class" "A" ibid
- cp_test_ptype_class "ptype b" "" "class" "B" ibid
- cp_test_ptype_class "ptype c" "" "class" "C" ibid
- cp_test_ptype_class "ptype d" "" "class" "D" ibid
- cp_test_ptype_class "ptype e" "" "class" "E" ibid
- cp_test_ptype_class "ptype v" "" "class" "V" ibid
- cp_test_ptype_class "ptype vb" "" "class" "VB" ibid
+ cp_test_ptype_class "a" "" "class" "A" ibid
+ cp_test_ptype_class "b" "" "class" "B" ibid
+ cp_test_ptype_class "c" "" "class" "C" ibid
+ cp_test_ptype_class "d" "" "class" "D" ibid
+ cp_test_ptype_class "e" "" "class" "E" ibid
+ cp_test_ptype_class "v" "" "class" "V" ibid
+ cp_test_ptype_class "vb" "" "class" "VB" ibid
# Instances of pointers to these classes.
- cp_test_ptype_class "ptype pAa" "" "class" "A" ibid "*"
- cp_test_ptype_class "ptype pAe" "" "class" "A" ibid "*"
- cp_test_ptype_class "ptype pBe" "" "class" "B" ibid "*"
- cp_test_ptype_class "ptype pDd" "" "class" "D" ibid "*"
- cp_test_ptype_class "ptype pDe" "" "class" "D" ibid "*"
- cp_test_ptype_class "ptype pVa" "" "class" "V" ibid "*"
- cp_test_ptype_class "ptype pVv" "" "class" "V" ibid "*"
- cp_test_ptype_class "ptype pVe" "" "class" "V" ibid "*"
- cp_test_ptype_class "ptype pVd" "" "class" "V" ibid "*"
- cp_test_ptype_class "ptype pADe" "" "class" "AD" ibid "*"
- cp_test_ptype_class "ptype pEe" "" "class" "E" ibid "*"
- cp_test_ptype_class "ptype pVB" "" "class" "VB" ibid "*"
+ cp_test_ptype_class "pAa" "" "class" "A" ibid "*"
+ cp_test_ptype_class "pAe" "" "class" "A" ibid "*"
+ cp_test_ptype_class "pBe" "" "class" "B" ibid "*"
+ cp_test_ptype_class "pDd" "" "class" "D" ibid "*"
+ cp_test_ptype_class "pDe" "" "class" "D" ibid "*"
+ cp_test_ptype_class "pVa" "" "class" "V" ibid "*"
+ cp_test_ptype_class "pVv" "" "class" "V" ibid "*"
+ cp_test_ptype_class "pVe" "" "class" "V" ibid "*"
+ cp_test_ptype_class "pVd" "" "class" "V" ibid "*"
+ cp_test_ptype_class "pADe" "" "class" "AD" ibid "*"
+ cp_test_ptype_class "pEe" "" "class" "E" ibid "*"
+ cp_test_ptype_class "pVB" "" "class" "VB" ibid "*"
}
@@ -235,7 +234,7 @@ proc make_one_vtable_result {name args} {
set result "vtable for '${name}' @ $hex .subobject @ $hex.:$nls"
set count 0
foreach func $args {
- append result ".${count}.: $hex <$func..>${nls}"
+ append result ".${count}.:( @$hex:)? $hex <(\.)?$func..>${nls}"
incr count
}
« no previous file with comments | « gdb/testsuite/gdb.cp/virtfunc.cc ('k') | gdb/testsuite/gdb.cp/virtfunc2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698