Test Run By pgilliam on Tue Sep 21 21:28:46 2004 Native configuration is powerpc64-unknown-linux-gnu === gdb tests === Schedule of variations: unix/-m64 Running target unix/-m64 Using ./dejagnu/baseboards/unix.exp as board description file for target. Using ./dejagnu/config/unix.exp as generic interface file for target. Using ./config/unix.exp as tool-and-target-specific interface file. Running ./gdb.base/annota1.exp ... Executing on host: gcc ./gdb.base/annota1.c -w -g -lm -m64 -o /home/pgilliam/testsuite/gdb.base/annota1 (timeout = 300) spawn gcc ./gdb.base/annota1.c -w -g -lm -m64 -o /home/pgilliam/testsuite/gdb.base/annota1 spawn /home/pgilliam/build-64/gdb/gdb -nw -nx GNU gdb 2004-08-31-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64--linux". (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 ./gdb.base Source directories searched: /home/pgilliam/testsuite/./gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/testsuite/gdb.base/annota1 Reading symbols from /home/pgilliam/testsuite/gdb.base/annota1...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) set height 0 (gdb) break main Breakpoint 1 at 0x100005c4: file ./gdb.base/annota1.c, line 32. (gdb) PASS: gdb.base/annota1.exp: breakpoint main set annotate 2 pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: annotation set at level 2 info break post-prompt breakpoints-headers field 0 Num field 1 Type field 2 Disp field 3 Enb field 4 Address field 5 What breakpoints-table record field 0 1 field 1 breakpoint field 2 keep field 3 y field 4 0x00000000100005c4 field 5 in main at ./gdb.base/annota1.c:32 breakpoints-table-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint info run post-prompt Starting program: /home/pgilliam/testsuite/gdb.base/annota1 frames-invalid frames-invalid breakpoints-invalid starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 1 Breakpoint 1, frame-begin 0 0x100005c4 frame-function-name main frame-args () frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /home/pgilliam/testsuite/gdb.base/annota1.c:32:323:beg:0x100005c4 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: run until main breakpoint next post-prompt starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid source /home/pgilliam/testsuite/gdb.base/annota1.c:34:359:beg:0x100005d8 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: go after array init line print my_array post-prompt value-history-begin 1 - $1 = value-history-value { array-section-begin 0 - 1 elt , 2 elt , 3 elt array-section-end } value-history-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: print array print non_existent_value post-prompt error-begin No symbol "non_existent_value" in current context. error pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: print non_existent_value break handle_USR1 post-prompt breakpoints-invalid Breakpoint 2 at 0x10000598: file ./gdb.base/annota1.c, line 18. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint handle_USR1 break printf post-prompt warning: Breakpoint address adjusted from 0x80c5a66c78 to 0x80c59643a8. breakpoints-invalid Breakpoint 3 at 0x80c59643a8 pre-prompt (gdb) prompt FAIL: gdb.base/annota1.exp: break printf continue post-prompt Continuing. starting frames-invalid warning: Breakpoint 3 address previously adjusted from 0x80c5a66c78 to 0x80c59643a8. breakpoint 3 Breakpoint 3, frame-begin 0 0x80c59643a8 frame-address 0x00000080c59643a8 frame-address-end in frame-function-name .printf frame-args () frame-where from /lib64/tls/libc.so.6 frame-end stopped pre-prompt (gdb) prompt FAIL: gdb.base/annota1.exp: continue to printf backtrace post-prompt frame-begin 0 0x80c59643a8 #0 frame-address 0x00000080c59643a8 frame-address-end in frame-function-name .printf frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 1 0x1000060c #1 frame-address 0x000000001000060c frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end frame-begin 2 0x80c5932810 #2 frame-address 0x00000080c5932810 frame-address-end in frame-function-name .generic_start_main frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 3 0x80c5932998 #3 frame-address 0x00000080c5932998 frame-address-end in frame-function-name .__libc_start_main frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 4 0x0 #4 frame-address 0x0000000000000000 frame-address-end in frame-function-name ?? frame-args () frame-end frame-begin 5 0x0 #5 frame-address 0x0000000000000000 frame-address-end in frame-function-name ?? frame-args () frame-end error-begin Previous frame identical to this frame (corrupt stack?) error pre-prompt (gdb) prompt FAIL: gdb.base/annota1.exp: backtrace from shlibrary signal SIGUSR1 post-prompt Continuing with signal SIGUSR1. starting frames-invalid breakpoint 2 Breakpoint 2, frame-begin 0 0x10000598 frame-function-name handle_USR1 frame-args ( arg-begin sig arg-name-end = arg-value - 10 arg-end ) frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 18 frame-source-end source /home/pgilliam/testsuite/gdb.base/annota1.c:18:238:beg:0x10000598 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: send SIGUSR1 backtrace post-prompt frame-begin 0 0x10000598 #0 frame-function-name handle_USR1 frame-args ( arg-begin sig arg-name-end = arg-value - 10 arg-end ) frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 18 frame-source-end frame-end frame-begin 1 0x1fffffff048 #1 signal-handler-caller frame-end frame-begin 2 0x80c59643a8 #2 frame-address 0x00000080c59643a8 frame-address-end in frame-function-name .printf frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 3 0x1000060c #3 frame-address 0x000000001000060c frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end frame-begin 4 0x80c5932810 #4 frame-address 0x00000080c5932810 frame-address-end in frame-function-name .generic_start_main frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 5 0x80c5932998 #5 frame-address 0x00000080c5932998 frame-address-end in frame-function-name .__libc_start_main frame-args () frame-where from /lib64/tls/libc.so.6 frame-end frame-begin 6 0x0 #6 frame-address 0x0000000000000000 frame-address-end in frame-function-name ?? frame-args () frame-end frame-begin 7 0x0 #7 frame-address 0x0000000000000000 frame-address-end in frame-function-name ?? frame-args () frame-end error-begin Previous frame identical to this frame (corrupt stack?) error pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: backtrace @ signal handler delete 1 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 1 delete 2 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 2 delete 3 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: delete bp 3 break main post-prompt breakpoints-invalid Breakpoint 4 at 0x100005c4: file ./gdb.base/annota1.c, line 32. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: break at 28 display value post-prompt display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 7 display-end pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: set up display run post-prompt pre-query The program being debugged has been started already. Start it from the beginning? (y or n) query y post-query frames-invalid Starting program: /home/pgilliam/testsuite/gdb.base/annota1 frames-invalid frames-invalid breakpoints-invalid starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 4 Breakpoint 4, frame-begin 0 0x100005c4 frame-function-name main frame-args () frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /home/pgilliam/testsuite/gdb.base/annota1.c:32:323:beg:0x100005c4 frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 0 display-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: re-run break 46 post-prompt breakpoints-invalid Breakpoint 5 at 0x1000063c: file ./gdb.base/annota1.c, line 46. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: break at 46 ignore 5 4 post-prompt Will ignore next 4 crossings of breakpoint 5. breakpoints-invalid pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: ignore 5 4 continue post-prompt Continuing. starting frames-invalid value is 7 my_array[2] is 3 frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid breakpoint 5 Breakpoint 5, frame-begin 0 0x1000063c frame-function-name main frame-args () frame-source-begin at frame-source-file ./gdb.base/annota1.c frame-source-file-end : frame-source-line 46 frame-source-end source /home/pgilliam/testsuite/gdb.base/annota1.c:46:559:beg:0x1000063c frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 11 display-end stopped breakpoints-invalid pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: annotate ignore count change next post-prompt starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid source /home/pgilliam/testsuite/gdb.base/annota1.c:45:531:beg:0x10000650 frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 12 display-end stopped pre-prompt (gdb) prompt next post-prompt starting frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid frames-invalid source /home/pgilliam/testsuite/gdb.base/annota1.c:49:579:beg:0x10000660 frame-end display-begin 1 display-number-end : display-format display-expression value display-expression-end = display-expression 12 display-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint ignore count signal SIGTRAP post-prompt Continuing with signal SIGTRAP. starting frames-invalid frames-invalid signalled Program terminated with signal signal-name SIGTRAP signal-name-end , signal-string Trace/breakpoint trap signal-string-end . The program no longer exists. stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: signal sent Executing on build: ls core (timeout = 300) spawn ls core ls: core: No such file or directory PASS: gdb.base/annota1.exp: cleanup core file (not dumped) testcase ./gdb.base/annota1.exp completed in 1 seconds === gdb Summary === # of expected passes 22 # of unexpected failures 3 Executing on host: /home/pgilliam/build-64/gdb/gdb -nw --command gdb_cmd (timeout = 300) spawn /home/pgilliam/build-64/gdb/gdb -nw --command gdb_cmd GNU gdb 2004-08-31-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64--linux". /home/pgilliam/build-64/gdb/gdb version 2004-08-31-cvs -nx runtest completed at Tue Sep 21 21:28:47 2004