[commit] valgrind-db-attach.exp: Do not run in remote mode [Re: [patchv2] Write bpt at the ON_STACK bpt address]

Jan Kratochvil
2012-07-31T07:40:22Z

On Fri, 27 Jul 2012 20:46:33 +0200, Jan Kratochvil wrote:
> gdb/testsuite/
> 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.

Checked in also this part (not for 7.5).

Thanks,
Jan

http://sourceware.org/ml/gdb-cvs/2012-07/msg00258.html

--- src/gdb/testsuite/ChangeLog 2012/07/31 07:33:15 1.3313
+++ src/gdb/testsuite/ChangeLog 2012/07/31 07:35:17 1.3314
@@ -1,8 +1,10 @@
-2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>

* gdb.base/valgrind-infcall.c: New file.
* gdb.base/valgrind-infcall.exp: New file.

+ * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
+
2012-07-30 Doug Evans <dje@google.com>

* gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
--- src/gdb/testsuite/gdb.base/valgrind-db-attach.exp 2012/01/30 06:48:08 1.11
+++ src/gdb/testsuite/gdb.base/valgrind-db-attach.exp 2012/07/31 07:35:18 1.12
@@ -13,6 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

+if [is_remote target] {
+ # The test always runs locally.
+ return 0
+}
+
set test valgrind-db-attach
set srcfile $test.c
set executable $test