[PATCH] Fix kfail in gdb.base/callfuncs.exp

Tom Tromey tromey@redhat.com
Tue Oct 23 18:41:00 GMT 2012

>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

No comment on the patch, just a question

Yao> -	setup_kfail_for_target gdb/12798 "x86_64-*-*"

I didn't know this proc, so I looked it up:

proc setup_kfail_for_target { PR target } {
    if { [istarget $target] } {
	setup_kfail $PR $target

But setup_kfail itself just does:

proc setup_kfail { args } {
	if {[istarget $sub_arg]} {
	    set kfail_flag 1

So I don't understand how setup_kfail_for_target is different.
If I'm missing something, I'd like to know what.
Otherwise I think we can nuke this proc entirely.


More information about the Gdb-patches mailing list