This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Use UNSUPPORTED not FAIL for unsupported target features
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 8 Jun 2016 11:25:29 +0100
- Subject: Re: [PATCH] gdb: Use UNSUPPORTED not FAIL for unsupported target features
- Authentication-results: sourceware.org; auth=none
- References: <1465377976-21678-1-git-send-email-andrew dot burgess at embecosm dot com>
On Wed, Jun 8, 2016 at 10:26 AM, Andrew Burgess
<andrew.burgess@embecosm.com> wrote:
> If a target does not support making function calls from GDB then we
> abandon the gdb.base/callfuncs.exp test file early. Currently we report
> a single FAIL before leaving the test file, this commit changes this to
> a single UNSUPPORTED.
XFAIL is reported, like this,
XFAIL: gdb.base/callfuncs.exp: This target can not call functions (PRMS 2416)
I suspect you get FAIL because your target_triplet is foo-bar, so
*-*-* doesn't match.
--
Yao (éå)