Test Run By hzhu on Thu Aug 27 13:53:41 2009 Native configuration is x86_64-unknown-linux-gnu === gdb tests === Schedule of variations: unix Running target unix Using /folk/hzhu/share/dejagnu/baseboards/unix.exp as board description file for target. Using /folk/hzhu/share/dejagnu/config/unix.exp as generic interface file for target. Using ../src/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../src/gdb/testsuite/gdb.base/longjmp.exp ... Executing on host: gcc ../src/gdb/testsuite/gdb.base/longjmp.c -w -g -lm -o /folk/hzhu/g/bt/gdb.base/longjmp (timeout = 300) get_compiler_info: gcc-4-1-2 GNU gdb (GDB) 6.8.50.20090827-cvs Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir ../src/gdb/testsuite/gdb.base Source directories searched: /folk/hzhu/g/bt/../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /folk/hzhu/g/bt/gdb.base/longjmp Reading symbols from /folk/hzhu/g/bt/gdb.base/longjmp...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x400578: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 47. (gdb) run Starting program: /folk/hzhu/g/bt/gdb.base/longjmp Breakpoint 1, main () at ../src/gdb/testsuite/gdb.base/longjmp.c:47 47 volatile int i = 0; (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break 50 Breakpoint 2 at 0x40057f: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 50. (gdb) PASS: gdb.base/longjmp.exp: breakpoint at pattern 1 start continue Continuing. Breakpoint 2, main () at ../src/gdb/testsuite/gdb.base/longjmp.c:50 50 if (setjmp (env) == 0) /* patt1 */ (gdb) PASS: gdb.base/longjmp.exp: continue to breakpoint at pattern 1 start break 60 Breakpoint 3 at 0x4005ba: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 60. (gdb) PASS: gdb.base/longjmp.exp: breakpoint at miss_step_1 next 52 longjmps++; (gdb) PASS: gdb.base/longjmp.exp: next over setjmp (1) next 53 longjmp (env, 1); (gdb) PASS: gdb.base/longjmp.exp: next to longjmp (1) next 57 resumes++; (gdb) FAIL: gdb.base/longjmp.exp: next over longjmp(1) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break 64 Breakpoint 4 at 0x4005c1: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 64. (gdb) PASS: gdb.base/longjmp.exp: breakpoint at pattern 2 start continue Continuing. Breakpoint 4, main () at ../src/gdb/testsuite/gdb.base/longjmp.c:64 64 if (setjmp (env) == 0) /* patt2 */ (gdb) PASS: gdb.base/longjmp.exp: continue to breakpoint at pattern 2 start break 73 Breakpoint 5 at 0x4005ea: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 73. (gdb) PASS: gdb.base/longjmp.exp: breakpoint at miss_step_2 next 66 call_longjmp (&env); (gdb) PASS: gdb.base/longjmp.exp: next over setjmp (2) next Breakpoint 5, main () at ../src/gdb/testsuite/gdb.base/longjmp.c:73 73 i = 2; /* miss_step_2 */ (gdb) FAIL: gdb.base/longjmp.exp: next over call_longjmp (2) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break 76 Breakpoint 6 at 0x4005f1: file ../src/gdb/testsuite/gdb.base/longjmp.c, line 76. (gdb) PASS: gdb.base/longjmp.exp: breakpoint at pattern 3 start continue Continuing. Breakpoint 6, main () at ../src/gdb/testsuite/gdb.base/longjmp.c:76 76 hidden_longjmp (); /* patt3 */ (gdb) PASS: gdb.base/longjmp.exp: continue to breakpoint at pattern 3 start next 78 i = 3; /* patt_end3. */ (gdb) FAIL: gdb.base/longjmp.exp: next over patt3 testcase ../src/gdb/testsuite/gdb.base/longjmp.exp completed in 2 seconds === gdb Summary === # of expected passes 11 # of unexpected failures 3 Executing on host: gdb -nw -nx --command gdb_cmd (timeout = 300) GNU gdb (GDB) 6.8.50.20090827-cvs Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . /folk/hzhu/bin/gdb version 6.8.50.20090827-cvs -nw -nx runtest completed at Thu Aug 27 13:53:43 2009