mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-16 07:27:56 +00:00
2000-11-22 Michael Chastain <chastain@redhat.com>
* mips_pro.exp: Accept either "middle -> top -> main" or "middle -> main" in the backtrace, because gcc can optimize tail calls to jumps. Remove setup_xfail for the hppa case. Add a comment with the original warning messages from PR 3016, which was filed in 1993, to preserve them for posterity.
This commit is contained in:
parent
e60b52c622
commit
44097287e5
@ -1,3 +1,11 @@
|
||||
2000-11-22 Michael Chastain <chastain@redhat.com>
|
||||
|
||||
* mips_pro.exp: Accept either "middle -> top -> main" or
|
||||
"middle -> main" in the backtrace, because gcc can optimize
|
||||
tail calls to jumps. Remove setup_xfail for the hppa case.
|
||||
Add a comment with the original warning messages from PR 3016,
|
||||
which was filed in 1993, to preserve them for posterity.
|
||||
|
||||
2000-11-17 Nick Duffek <nsd@redhat.com>
|
||||
|
||||
* lib/gdb.exp (gdb_test): Override timeout with board info.
|
||||
|
@ -54,9 +54,14 @@ gdb_load ${binfile}
|
||||
|
||||
if [runto middle] then {
|
||||
# PR 3016
|
||||
# warning: Hit heuristic-fence-post without finding
|
||||
# warning: enclosing function for pc 0x1006ead0
|
||||
if {$gcc_compiled} then {
|
||||
setup_xfail "hppa*-*-*" "mips*-sgi-irix4*" "mips64*-*-elf"
|
||||
setup_xfail "mips*-sgi-irix4*" "mips64*-*-elf"
|
||||
}
|
||||
gdb_test "backtrace" "#0.*middle.*#1.*top.*#2.*main.*"
|
||||
# The call chain is main -> top -> middle. But gcc can optimize a tail
|
||||
# call to a jump, so the stack may contain either main -> top -> middle
|
||||
# or main -> middle.
|
||||
gdb_test "backtrace" "#0.*middle.*#\[12\].*main.*"
|
||||
}
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user