This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] testsuite: New TUI internal error testcase [Re: [commit] Fix internal error in TUI]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 24 May 2010 20:23:09 +0200
- Subject: [patch] testsuite: New TUI internal error testcase [Re: [commit] Fix internal error in TUI]
- References: <20100320052027.GA9310@caradoc.them.org>
Hi,
the fix was:
[commit] Fix internal error in TUI
http://sourceware.org/ml/gdb-patches/2010-03/msg00746.html
http://sourceware.org/ml/gdb-cvs/2010-03/msg00194.html
It turns
FAIL: gdb.base/tui-layout.exp: layout asm (GDB internal error)
into a PASS.
I had to write it anyway.
Thanks,
Jan
2010-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/tui-layout.exp: New.
--- /dev/null 2010-05-24 04:43:32.632794021 +0200
+++ gdb-7.1/gdb/testsuite/gdb.base/tui-layout.exp 2010-05-24 20:13:30.000000000 +0200
@@ -0,0 +1,21 @@
+# Copyright 2010 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
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+set testfile tui-layout
+if { [prepare_for_testing ${testfile}.exp ${testfile} start.c] } {
+ return -1
+}
+
+gdb_test "layout asm"