This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] kfail longjmp.exp tests due to bug 9270


On Thu, Mar 18, 2010 at 3:16 PM, Doug Evans <dje@google.com> wrote:
> Anyone mind if I mark these as kfail for amd64?
>
> 2010-03-18 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* gdb.base/longjmp.exp: Mark tests that fail on x86_64 due to
> ? ? ? ?bug 9270 as kfail.

Here's a better patch.  amd64-darwin/*bsd set jb_pc_offset, and 9270
is glibc-specific.
This patch just kfails linux.

2010-03-18  Doug Evans  <dje@google.com>

        * gdb.base/longjmp.exp: Mark tests that fail on x86_64-linux due to
        bug 9270 as kfail.

Index: longjmp.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/longjmp.exp,v
retrieving revision 1.4
diff -u -p -r1.4 longjmp.exp
--- longjmp.exp 1 Jan 2010 07:32:01 -0000       1.4
+++ longjmp.exp 18 Mar 2010 23:38:47 -0000
@@ -73,6 +73,7 @@ gdb_test "break $bp_miss_step_1" \
 gdb_test "next" "longjmps\\+\\+;.*" "next over setjmp (1)"
 gdb_test "next" "longjmp \\(env, 1\\);.*" "next to longjmp (1)"

+setup_kfail "gdb/9270" "x86_64-*-linux*"
 set msg "next over longjmp(1)"
 gdb_test_multiple "next" $msg {
     -re ".*patt1.*$gdb_prompt $" {
@@ -103,6 +104,7 @@ gdb_test "break $bp_miss_step_2" \

 gdb_test "next" "call_longjmp.*" "next over setjmp (2)"

+setup_kfail "gdb/9270" "x86_64-*-linux*"
 set msg "next over call_longjmp (2)"
 gdb_test_multiple "next" $msg {
     -re ".*patt2.*$gdb_prompt $" {
@@ -127,4 +129,5 @@ gdb_test "break $bp_start_test_3" \
     "breakpoint at pattern 3 start"
 gdb_test "continue" "patt3.*" "continue to breakpoint at pattern 3 start"

+setup_kfail "gdb/9270" "x86_64-*-linux*"
 gdb_test "next" "longjmp caught.*" "next over patt3"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]