diff options
author | Michael Chastain <mec@google.com> | 2003-11-25 17:39:07 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-11-25 17:39:07 +0000 |
commit | c9f2c8a388a490b08cfbc35e9dc7fa487010f595 (patch) | |
tree | d48a5e41fb50a04c5bc5aa96c0953ee55a15ca76 | |
parent | 15a0587afe77235941cbe9f4b43ad112d72a5a25 (diff) | |
download | gdb-c9f2c8a388a490b08cfbc35e9dc7fa487010f595.zip gdb-c9f2c8a388a490b08cfbc35e9dc7fa487010f595.tar.gz gdb-c9f2c8a388a490b08cfbc35e9dc7fa487010f595.tar.bz2 |
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept output of new demangler.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/method.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f1658ac..bfe501f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. * gdb/class2.cc: New file. diff --git a/gdb/testsuite/gdb.cp/method.exp b/gdb/testsuite/gdb.cp/method.exp index a085b14..729b930 100644 --- a/gdb/testsuite/gdb.cp/method.exp +++ b/gdb/testsuite/gdb.cp/method.exp @@ -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. |