[PATCH 14/14] kfail gdb/13858

Yao Qi
2012-05-03T13:13:31Z

When this series patches go in, displaced stepping is used even user
dones't turn it on. PR gdb/13858 is caused by displaced stepping.
KFAIL them first.

gdb/testsuite:

2012-04-12 Yao Qi <yao@codesourcery.com>

* gdb.base/break-interp.exp: kfail for gdb/13858.
---
gdb/testsuite/gdb.base/break-interp.exp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index 1e47b34..addc9ea 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -170,6 +170,9 @@ proc reach_1 {func command displacement} {
fail $test
}
}
+ -re "Entry point address is not known\\..*\r\n$gdb_prompt $" {
+ kfail gdb/13858 $test
+ }
}
if ![regexp {^(NONE|FOUND-.*)$} $displacement] {
fail $test_displacement
@@ -461,6 +464,7 @@ proc test_ld {file ifmain trynosym displacement} {
}
if {$entrynohex != ""} {
gdb_test "break *0x$entrynohex" "" "break at entry point"
+ setup_kfail gdb/13858 *-*-*
gdb_test "continue" "\r\nBreakpoint \[0-9\]+, 0x0*$entrynohex in .*" "entry point reached"
}
} else {
--
1.7.0.4