This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Run gdb.trace/ftrace.exp on `x86_64 -m64' and setup kfail
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 05 Mar 2012 16:25:24 +0000
- Subject: Re: [patch] Run gdb.trace/ftrace.exp on `x86_64 -m64' and setup kfail
- References: <4F54DD19.60709@codesourcery.com>
On 03/05/2012 03:34 PM, Yao Qi wrote:
> The original condition in ftrace.exp is `is_x86_like_target',
> which return 1 if target is an x86 or x86_64 with -m32. I
> can't see any reason why this case can't run on `x86_64 -m64'.
> This patch is to relax this condition a little.
>
> After changing this condition, I got two FAILs on x86_64-linux.
> Open PR 13808 to track them, and set up KFAIL in test case.
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=13808
>
> OK to apply?
OK with ...
> - if { [is_x86_like_target] } {
> + if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] } {
...
+ if { [istarget "x86_64-*-*"] || [istarget "i\[34567\]86-*-*"] } {
--
Pedro Alves