diff options
author | Michael Chastain <mec@google.com> | 2004-01-08 06:35:15 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-01-08 06:35:15 +0000 |
commit | 2789202a9c2e05785ac16b579a1cb2cbf2006a76 (patch) | |
tree | 7c1179383af2255a38c92081b3609f10457f6937 /gdb/testsuite/gdb.cp/cttiadd.cc | |
parent | b862f14c313e051861521525f3f3bfe225aadd92 (diff) | |
download | gdb-2789202a9c2e05785ac16b579a1cb2cbf2006a76.zip gdb-2789202a9c2e05785ac16b579a1cb2cbf2006a76.tar.gz gdb-2789202a9c2e05785ac16b579a1cb2cbf2006a76.tar.bz2 |
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
* gdb.cp/ctti.exp: Use the marker instead of "next".
With gcc, run further before bailing.
Diffstat (limited to 'gdb/testsuite/gdb.cp/cttiadd.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/cttiadd.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/cttiadd.cc b/gdb/testsuite/gdb.cp/cttiadd.cc index e24a6d3..1958605 100644 --- a/gdb/testsuite/gdb.cp/cttiadd.cc +++ b/gdb/testsuite/gdb.cp/cttiadd.cc @@ -1,6 +1,6 @@ /* This testcase is part of GDB, the GNU debugger. - Copyright 1998, 1999 Free Software Foundation, Inc. + Copyright 1998, 1999, 2004 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 @@ -44,6 +44,7 @@ int main() i = add(i, i); f = add(f, f); + // marker add1 add1(); subr2(); subr3(); |