[rfa/testsuite] gdb1250.exp: make 'break abort' work with new pending breakpoints
Michael Elizabeth Chastain
mec.gnu@mindspring.com
Mon Feb 9 22:05:00 GMT 2004
mec> This test is sensitive to the version of binutils because binutils HEAD
mec> has a PLT optimization for shared library functions.
drow> So it used to fail with binutils HEAD, right?
"Used to" as in "has been failing since 2003-11-27 to 2004-02-09", yes.
It was pr gdb/1470. Maybe it slipped off your radar screen.
> - Should there be a version of gdb_breakpoint that answers yes to the
> pending question?
> - If so, should runto use it? Or should there be a version of runto
> that does?
Err, yeah. I suppose the right thing is to make
gdb_breakpoint_with_pending $name $pendingp
Then:
proc gdb_breakpoint { name } {
return gdb_breakpoint_with_pending "$name" "no"
}
I see 3 instance of "gdb_breakpoint exit" and they need to be
investigated.
On principle, same with "runto".
I don't know what the right name is, either. But I do think that the
the new functions should take a second parameter.
Michael C
More information about the Gdb-patches
mailing list