Index: gdb/testsuite/gdb.mi/mi-var-create-rtti.c |
diff --git a/gdb/testsuite/gdb.base/watchpoint-hw.c b/gdb/testsuite/gdb.mi/mi-var-create-rtti.c |
similarity index 88% |
copy from gdb/testsuite/gdb.base/watchpoint-hw.c |
copy to gdb/testsuite/gdb.mi/mi-var-create-rtti.c |
index c86c7cefc099a2a91beaae4fc16ade43db44a70b..897c59d22a4aaa36aa639b0d5382b168d17b24d0 100644 |
--- a/gdb/testsuite/gdb.base/watchpoint-hw.c |
+++ b/gdb/testsuite/gdb.mi/mi-var-create-rtti.c |
@@ -1,6 +1,6 @@ |
/* This testcase is part of GDB, the GNU debugger. |
- Copyright 2008-2012 Free Software Foundation, Inc. |
+ Copyright 2012 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 |
@@ -15,10 +15,10 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-int watchee; |
- |
int |
main (void) |
{ |
- return 0; |
+ int i = 0; |
+ |
+ return i; /* next-line */ |
} |