This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PING][PATCH] gdb.mi/mi-info-os.exp: Fix cross-debugger testing
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Wed, 20 Nov 2013 18:57:06 +0000
- Subject: [PING][PATCH] gdb.mi/mi-info-os.exp: Fix cross-debugger testing
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1311010106300 dot 12843 at tp dot orcam dot me dot uk>
On Fri, 1 Nov 2013, Maciej W. Rozycki wrote:
> A live target is required for `-info-os' to work in non-native
> configurations. Here's a fix for gdb.mi/mi-info-os.exp that removes the
> following failure:
>
> (gdb)
> Expecting: ^(-info-os[
> ]+)?(.*\^done,OSDataTable=.*[
> ]+[(]gdb[)]
> [ ]*)
> -info-os
> ^error,msg="Don't know how to get OS data. Try \"help target\"."
> (gdb)
> FAIL: gdb.mi/mi-info-os.exp: -info-os
>
> Tested with mips-linux-gnu (crossed from i686-linux-gnu). OK to apply?
>
> 2011-11-01 Maciej W. Rozycki <macro@codesourcery.com>
>
> gdb/testsuite/
> * gdb.mi/mi-info-os.exp: Connect to the target in non-native
> configurations.
Ping: http://sourceware.org/ml/gdb-patches/2013-11/msg00001.html
Maciej