2003-11-25 Michael Chastain <mec.gnu@mindspring.com>

* gdb.cp/method.exp: Accept output of new demangler.
This commit is contained in:
Michael Chastain 2003-11-25 17:39:07 +00:00
parent 15a0587afe
commit c9f2c8a388
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb/class2.exp: New file.

View File

@ -1,4 +1,4 @@
# Copyright 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
# Copyright 1998, 1999, 2001, 2002, 2003 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
@ -96,7 +96,7 @@ gdb_test "break A::bar" \
"Breakpoint \[0-9\]* at $hex.*file .*method.cc, line 44\\."
gdb_test "continue" \
"Continuing\\.\r\n\r\nBreakpoint \[0-9\]*, A::bar(\\(int\\) const|) \\(this=$hex, arg=15\\) at .*method\\.cc:44\r\n44\[\t \]*return arg \\+ 2 \\* x;" \
"Continuing\\.\r\n\r\nBreakpoint \[0-9\]*, A::bar(|\\(int\\) const| const) \\(this=$hex, arg=15\\) at .*method\\.cc:44\r\n44\[\t \]*return arg \\+ 2 \\* x;" \
"continue to A::bar"
# Check ability to access this-relative stuff.