Test Run By pgilliam on Mon Aug 23 20:19:15 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/call-sc.exp ... get_compiler_info: gcc-3-4-1 Executing on host: gcc ./gdb.base/call-sc.c -DT=tc -g -lm -m64 -o /home/gdb-testsuite/gdb.base/call-sc-tc (timeout = 300) GNU gdb Red Hat Linux (6.1post-1.20040607.8rh) 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 "ppc64-redhat-linux-gnu". (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/gdb-testsuite/./gdb.base:$cdir:$cwd (gdb) file /home/gdb-testsuite/gdb.base/call-sc-tc Reading symbols from /home/gdb-testsuite/gdb.base/call-sc-tc...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-tc set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-tc set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-tc delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ./gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/gdb-testsuite/gdb.base/call-sc-tc Breakpoint 1, main () at ./gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ./gdb.base/call-sc.c Compilation directory is /home/gdb-testsuite Located in /home/gdb-testsuite/gdb.base/call-sc.c Contains 83 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) ptype tc type = char (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tc (char) ptype foo type = char (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tc char p/c fun() reading register fpscr (#70): Input/output error. (gdb) FAIL: gdb.base/call-sc.exp: p/c fun(); call call-sc-tc call Fun(foo) reading register fpscr (#70): Input/output error. (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tc p/c L $1 = 0 '\0' (gdb) FAIL: gdb.base/call-sc.exp: p/c L; call call-sc-tc advance fun fun () at ./gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-tc p/c L $2 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tc return foo Make fun return now? (y or n) y reading register fpscr (#70): Input/output error. (gdb) FAIL: gdb.base/call-sc.exp: return foo; return call-sc-tc p/c L $3 = 90 'Z' (gdb) FAIL: gdb.base/call-sc.exp: value foo returned; return call-sc-tc advance fun main () at ./gdb.base/call-sc.c:78 78 L = fun (); (gdb) FAIL: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tc p/c L $4 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tc finish Run till exit from #0 main () at ./gdb.base/call-sc.c:78 FAIL: gdb.base/call-sc.exp: finish foo; return call-sc-tc (timeout) p/c FAIL: gdb.base/call-sc.exp: value foo finished; return call-sc-tc (timeout) PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tc Executing on host: gcc ./gdb.base/call-sc.c -DT=ts -g -lm -m64 -o /home/gdb-testsuite/gdb.base/call-sc-ts (timeout = 300) GNU gdb Red Hat Linux (6.1post-1.20040607.8rh) 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 "ppc64-redhat-linux-gnu". (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/gdb-testsuite/./gdb.base:$cdir:$cwd (gdb) file /home/gdb-testsuite/gdb.base/call-sc-ts Reading symbols from /home/gdb-testsuite/gdb.base/call-sc-ts...done. Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-ts set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-ts set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-ts delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ./gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/gdb-testsuite/gdb.base/call-sc-ts Breakpoint 1, main () at ./gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ./gdb.base/call-sc.c Compilation directory is /home/gdb-testsuite Located in /home/gdb-testsuite/gdb.base/call-sc.c Contains 83 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) ptype ts type = short int (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-ts (short int) ptype foo type = short int (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-ts short int p/c fun() reading register fpscr (#70): Input/output error. (gdb) FAIL: gdb.base/call-sc.exp: p/c fun(); call call-sc-ts call Fun(foo) reading register fpscr (#70): Input/output error. (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-ts p/c L $1 = 0 '\0' (gdb) FAIL: gdb.base/call-sc.exp: p/c L; call call-sc-ts advance fun fun () at ./gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-ts p/c L $2 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-ts return foo Make fun return now? (y or n) y reading register fpscr (#70): Input/output error. (gdb) FAIL: gdb.base/call-sc.exp: return foo; return call-sc-ts p/c L $3 = 90 'Z' (gdb) FAIL: gdb.base/call-sc.exp: value foo returned; return call-sc-ts advance fun main () at ./gdb.base/call-sc.c:78 78 L = fun (); (gdb) FAIL: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-ts p/c L $4 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-ts finish Run till exit from #0 main () at ./gdb.base/call-sc.c:78 FAIL: gdb.base/call-sc.exp: finish foo; return call-sc-ts (timeout) p/c got a INT signal, interrupted by user === gdb Summary === # of expected passes 19 # of unexpected failures 13 Executing on host: /usr/bin/gdb -nw --command gdb_cmd (timeout = 300) GNU gdb Red Hat Linux (6.1post-1.20040607.8rh) 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 "ppc64-redhat-linux-gnu". /usr/bin/gdb version 2004 -nx runtest completed at Mon Aug 23 20:23:08 2004