Test Run By pgilliam on Wed Nov 30 15:09:00 2005 Native configuration is powerpc64-unknown-linux-gnu === gdb tests === Schedule of variations: unix/-m32 Running target unix/-m32 Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/local/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.ada/array_return.exp ... UNSUPPORTED: gdb.ada/array_return.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/array_return.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/arrayidx.exp ... UNSUPPORTED: gdb.ada/arrayidx.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/arrayidx.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/exec_changed.exp ... UNSUPPORTED: gdb.ada/exec_changed.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/exec_changed.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/fixed_points.exp ... UNSUPPORTED: gdb.ada/fixed_points.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/fixed_points.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/null_record.exp ... UNSUPPORTED: gdb.ada/null_record.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/null_record.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/packed_array.exp ... UNSUPPORTED: gdb.ada/packed_array.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/packed_array.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.ada/start.exp ... UNSUPPORTED: gdb.ada/start.exp: Ada compilation failed: default_target_compile: Can't find gnatmake. testcase ../../../../src/gdb/testsuite/gdb.ada/start.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/alpha-step.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/alpha-step.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.exp ... get_compiler_info: gcc-3-3-3 Executing on host: gcc vmx9728.c -w -maltivec -g -lm -m32 -o vmx9728.x (timeout = 300) spawn gcc vmx9728.c -w -maltivec -g -lm -m32 -o vmx9728.x spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.arch Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) file vmx9728.x Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/vmx9728.x...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/vmx9728.x Program exited normally. (gdb) skip_altivec_tests: altivec hardware detected get_compiler_info: gcc-3-3-3 Executing on host: gcc ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c -w -maltivec -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-abi (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c -w -maltivec -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-abi spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.arch Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.arch/altivec-abi Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-abi...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100006f4: file ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c, line 93. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-abi Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c:93 93 vector int result = {-1,-1,-1,-1}; (gdb) b marker Breakpoint 2 at 0x100006c4: file ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c, line 88. (gdb) PASS: gdb.arch/altivec-abi.exp: break marker continue Continuing. Breakpoint 2, marker () at ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c:88 88 void marker(void) {}; (gdb) PASS: gdb.arch/altivec-abi.exp: continue to marker finish Run till exit from #0 marker () at ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c:88 main () at ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c:122 122 result = vec_func (vshort, /* goes in v2 */ (gdb) PASS: gdb.arch/altivec-abi.exp: back to main (1) p vec_func(vshort,vushort,vint,vuint,vchar,vuchar,vfloat,x,y,a,b,c,intv_on _stack) Program received signal SIGSEGV, Segmentation fault. 0x10000558 in vec_func (vshort_f=Cannot access memory at address 0x1 ) at ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c:73 73 vint_res = vec_add (vint_f, intv_on_stack_f); The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (vec_func) will be abandoned. (gdb) FAIL: gdb.arch/altivec-abi.exp: call inferior function with vectors (1) p vec_func(vshort_d,vushort_d,vint_d,vuint_d,vchar_d,vuchar_d,vfloat_d,x_d ,y_d,a_d,b_d,c_d,intv_on_stack_d) No symbol "x_d" in current context. (gdb) FAIL: gdb.arch/altivec-abi.exp: call inferior function with vectors (2) step Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) FAIL: gdb.arch/altivec-abi.exp: step into vec_fun finish The program is not running. (gdb) FAIL: gdb.arch/altivec-abi.exp: vector value returned correctly break struct_of_vector_func Breakpoint 3 at 0x10000474: file ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.c, line 38. (gdb) continue The program is not being run. (gdb) FAIL: gdb.arch/altivec-abi.exp: continue to struct_of_vector_func (the program is no longer running) finish The program is not running. (gdb) FAIL: gdb.arch/altivec-abi.exp: back to main (2) step The program is not being run. (gdb) PASS: gdb.arch/altivec-abi.exp: step into array_of_vector_func p matrix[0] No symbol "matrix" in current context. (gdb) FAIL: gdb.arch/altivec-abi.exp: print first vector p matrix[1] No symbol "matrix" in current context. (gdb) FAIL: gdb.arch/altivec-abi.exp: print second vector p matrix[2] No symbol "matrix" in current context. (gdb) FAIL: gdb.arch/altivec-abi.exp: print third vector p matrix[3] No symbol "matrix" in current context. (gdb) FAIL: gdb.arch/altivec-abi.exp: print fourth vector testcase ../../../../src/gdb/testsuite/gdb.arch/altivec-abi.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.exp ... get_compiler_info: gcc-3-3-3 Executing on host: gcc ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c -w -maltivec -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-regs (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c -w -maltivec -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-regs spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.arch Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.arch:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.arch/altivec-regs Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-regs...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100004c8: file ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c, line 28. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.arch/altivec-regs Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:28 28 a = 9; (gdb) set $vr0.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr0.v4si.f[0] set $vr0.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr0.v4si.f[1] set $vr0.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr0.v4si.f[2] set $vr0.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr0.v4si.f[3] set $vr1.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr1.v4si.f[0] set $vr1.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr1.v4si.f[1] set $vr1.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr1.v4si.f[2] set $vr1.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr1.v4si.f[3] set $vr2.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr2.v4si.f[0] set $vr2.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr2.v4si.f[1] set $vr2.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr2.v4si.f[2] set $vr2.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr2.v4si.f[3] set $vr3.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr3.v4si.f[0] set $vr3.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr3.v4si.f[1] set $vr3.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr3.v4si.f[2] set $vr3.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr3.v4si.f[3] set $vr4.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr4.v4si.f[0] set $vr4.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr4.v4si.f[1] set $vr4.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr4.v4si.f[2] set $vr4.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr4.v4si.f[3] set $vr5.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr5.v4si.f[0] set $vr5.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr5.v4si.f[1] set $vr5.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr5.v4si.f[2] set $vr5.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr5.v4si.f[3] set $vr6.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr6.v4si.f[0] set $vr6.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr6.v4si.f[1] set $vr6.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr6.v4si.f[2] set $vr6.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr6.v4si.f[3] set $vr7.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr7.v4si.f[0] set $vr7.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr7.v4si.f[1] set $vr7.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr7.v4si.f[2] set $vr7.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr7.v4si.f[3] set $vr8.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr8.v4si.f[0] set $vr8.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr8.v4si.f[1] set $vr8.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr8.v4si.f[2] set $vr8.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr8.v4si.f[3] set $vr9.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr9.v4si.f[0] set $vr9.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr9.v4si.f[1] set $vr9.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr9.v4si.f[2] set $vr9.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr9.v4si.f[3] set $vr10.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr10.v4si.f[0] set $vr10.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr10.v4si.f[1] set $vr10.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr10.v4si.f[2] set $vr10.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr10.v4si.f[3] set $vr11.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr11.v4si.f[0] set $vr11.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr11.v4si.f[1] set $vr11.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr11.v4si.f[2] set $vr11.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr11.v4si.f[3] set $vr12.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr12.v4si.f[0] set $vr12.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr12.v4si.f[1] set $vr12.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr12.v4si.f[2] set $vr12.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr12.v4si.f[3] set $vr13.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr13.v4si.f[0] set $vr13.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr13.v4si.f[1] set $vr13.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr13.v4si.f[2] set $vr13.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr13.v4si.f[3] set $vr14.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr14.v4si.f[0] set $vr14.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr14.v4si.f[1] set $vr14.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr14.v4si.f[2] set $vr14.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr14.v4si.f[3] set $vr15.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr15.v4si.f[0] set $vr15.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr15.v4si.f[1] set $vr15.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr15.v4si.f[2] set $vr15.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr15.v4si.f[3] set $vr16.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr16.v4si.f[0] set $vr16.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr16.v4si.f[1] set $vr16.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr16.v4si.f[2] set $vr16.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr16.v4si.f[3] set $vr17.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr17.v4si.f[0] set $vr17.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr17.v4si.f[1] set $vr17.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr17.v4si.f[2] set $vr17.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr17.v4si.f[3] set $vr18.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr18.v4si.f[0] set $vr18.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr18.v4si.f[1] set $vr18.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr18.v4si.f[2] set $vr18.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr18.v4si.f[3] set $vr19.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr19.v4si.f[0] set $vr19.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr19.v4si.f[1] set $vr19.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr19.v4si.f[2] set $vr19.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr19.v4si.f[3] set $vr20.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr20.v4si.f[0] set $vr20.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr20.v4si.f[1] set $vr20.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr20.v4si.f[2] set $vr20.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr20.v4si.f[3] set $vr21.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr21.v4si.f[0] set $vr21.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr21.v4si.f[1] set $vr21.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr21.v4si.f[2] set $vr21.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr21.v4si.f[3] set $vr22.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr22.v4si.f[0] set $vr22.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr22.v4si.f[1] set $vr22.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr22.v4si.f[2] set $vr22.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr22.v4si.f[3] set $vr23.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr23.v4si.f[0] set $vr23.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr23.v4si.f[1] set $vr23.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr23.v4si.f[2] set $vr23.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr23.v4si.f[3] set $vr24.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr24.v4si.f[0] set $vr24.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr24.v4si.f[1] set $vr24.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr24.v4si.f[2] set $vr24.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr24.v4si.f[3] set $vr25.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr25.v4si.f[0] set $vr25.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr25.v4si.f[1] set $vr25.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr25.v4si.f[2] set $vr25.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr25.v4si.f[3] set $vr26.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr26.v4si.f[0] set $vr26.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr26.v4si.f[1] set $vr26.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr26.v4si.f[2] set $vr26.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr26.v4si.f[3] set $vr27.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr27.v4si.f[0] set $vr27.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr27.v4si.f[1] set $vr27.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr27.v4si.f[2] set $vr27.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr27.v4si.f[3] set $vr28.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr28.v4si.f[0] set $vr28.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr28.v4si.f[1] set $vr28.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr28.v4si.f[2] set $vr28.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr28.v4si.f[3] set $vr29.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr29.v4si.f[0] set $vr29.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr29.v4si.f[1] set $vr29.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr29.v4si.f[2] set $vr29.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr29.v4si.f[3] set $vr30.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr30.v4si.f[0] set $vr30.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr30.v4si.f[1] set $vr30.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr30.v4si.f[2] set $vr30.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr30.v4si.f[3] set $vr31.v4_int32[0] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr31.v4si.f[0] set $vr31.v4_int32[1] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr31.v4si.f[1] set $vr31.v4_int32[2] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr31.v4si.f[2] set $vr31.v4_int32[3] = 1 (gdb) PASS: gdb.arch/altivec-regs.exp: set reg vr31.v4si.f[3] set $vscr = 1 (gdb) set $vrsave = 1 (gdb) next 29 x = ((vector unsigned int) vec_splat_u8 (-2)); (gdb) show endian The target endianness is set automatically (currently big endian) (gdb) PASS: gdb.arch/altivec-regs.exp: endianness info reg vr0 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr0 info reg vr1 vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr1 info reg vr2 vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr2 info reg vr3 vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr3 info reg vr4 vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr4 info reg vr5 vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr5 info reg vr6 vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr6 info reg vr7 vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr7 info reg vr8 vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr8 info reg vr9 vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr9 info reg vr10 vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr10 info reg vr11 vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr11 info reg vr12 vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr12 info reg vr13 vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr13 info reg vr14 vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr14 info reg vr15 vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr15 info reg vr16 vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr16 info reg vr17 vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr17 info reg vr18 vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr18 info reg vr19 vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr19 info reg vr20 vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr20 info reg vr21 vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr21 info reg vr22 vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr22 info reg vr23 vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr23 info reg vr24 vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr24 info reg vr25 vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr25 info reg vr26 vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr26 info reg vr27 vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr27 info reg vr28 vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr28 info reg vr29 vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr29 info reg vr30 vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr30 info reg vr31 vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vr31 info reg vrsave vrsave 0x0 0 (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vrsave info reg vscr vscr 0x0 0 (gdb) FAIL: gdb.arch/altivec-regs.exp: info reg vscr print $vr0 $1 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr0 print $vr1 $2 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr1 print $vr2 $3 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr2 print $vr3 $4 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr3 print $vr4 $5 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr4 print $vr5 $6 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr5 print $vr6 $7 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr6 print $vr7 $8 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr7 print $vr8 $9 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr8 print $vr9 $10 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr9 print $vr10 $11 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr10 print $vr11 $12 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr11 print $vr12 $13 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr12 print $vr13 $14 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr13 print $vr14 $15 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr14 print $vr15 $16 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr15 print $vr16 $17 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr16 print $vr17 $18 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr17 print $vr18 $19 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr18 print $vr19 $20 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr19 print $vr20 $21 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr20 print $vr21 $22 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr21 print $vr22 $23 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr22 print $vr23 $24 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr23 print $vr24 $25 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr24 print $vr25 $26 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr25 print $vr26 $27 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr26 print $vr27 $28 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr27 print $vr28 $29 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr28 print $vr29 $30 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr29 print $vr30 $31 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr30 print $vr31 $32 = {uint128 = 0x00000000000000000000000000000000, v4_float = {0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v16_int8 = '\0' } (gdb) FAIL: gdb.arch/altivec-regs.exp: print vr31 print $vrsave $33 = 0 (gdb) FAIL: gdb.arch/altivec-regs.exp: print vrsave print $vscr $34 = 0 (gdb) FAIL: gdb.arch/altivec-regs.exp: print vscr info vector vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) FAIL: gdb.arch/altivec-regs.exp: info vector (pattern 33) break vector_fun Breakpoint 2 at 0x10000450: file ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c, line 8. (gdb) PASS: gdb.arch/altivec-regs.exp: Set breakpoint at vector_fun set output-radix 16 Output radix now set to decimal 16, hex 10, octal 20. (gdb) PASS: gdb.arch/altivec-regs.exp: Set output radix to hex continue Continuing. Breakpoint 2, vector_fun (a={0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe}, b={0x1010101, 0x1010101, 0x1010101, 0x1010101}) at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:8 8 a = ((vector unsigned int) vec_splat_u8(2)); (gdb) PASS: gdb.arch/altivec-regs.exp: continue to vector_fun next 9 b = ((vector unsigned int) vec_splat_u8(3)); (gdb) PASS: gdb.arch/altivec-regs.exp: next (1) next 11 c = vec_add (a, b); (gdb) PASS: gdb.arch/altivec-regs.exp: next (2) print/x a $35 = {0x2020202, 0x2020202, 0x2020202, 0x2020202} (gdb) PASS: gdb.arch/altivec-regs.exp: print vector parameter a print/x b $36 = {0x3030303, 0x3030303, 0x3030303, 0x3030303} (gdb) PASS: gdb.arch/altivec-regs.exp: print vector parameter b up #1 0x1000051c in main () at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:32 32 z = vector_fun (x, y); (gdb) PASS: gdb.arch/altivec-regs.exp: up to main print/x x $37 = {0xfefefefe, 0xfefefefe, 0xfefefefe, 0xfefefefe} (gdb) PASS: gdb.arch/altivec-regs.exp: print vector x print/x y $38 = {0x1010101, 0x1010101, 0x1010101, 0x1010101} (gdb) PASS: gdb.arch/altivec-regs.exp: print vector y down #0 vector_fun (a={0x2020202, 0x2020202, 0x2020202, 0x2020202}, b={0x3030303, 0x3030303, 0x3030303, 0x3030303}) at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:11 11 c = vec_add (a, b); (gdb) PASS: gdb.arch/altivec-regs.exp: down to vector_fun finish Run till exit from #0 vector_fun (a={0x2020202, 0x2020202, 0x2020202, 0x2020202}, b={0x3030303, 0x3030303, 0x3030303, 0x3030303}) at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:11 0x1000051c in main () at ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.c:32 32 z = vector_fun (x, y); Value returned is $39 = {0x0, 0x0, 0x0, 0x0} (gdb) FAIL: gdb.arch/altivec-regs.exp: finish returned correct value testcase ../../../../src/gdb/testsuite/gdb.arch/altivec-regs.exp completed in 2 seconds Running ../../../../src/gdb/testsuite/gdb.arch/e500-abi.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/e500-abi.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/e500-prologue.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/e500-prologue.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/e500-regs.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/e500-regs.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/gdb1291.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/gdb1291.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/gdb1431.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/gdb1431.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/gdb1558.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/gdb1558.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/i386-prologue.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/i386-prologue.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/i386-sse.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/i386-sse.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/i386-unwind.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/i386-unwind.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/pa-nullify.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/pa-nullify.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp ... testcase ../../../../src/gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.asm/asm-source.exp ... WARNING: Assembly source test -- multilibs not supported by this test. testcase ../../../../src/gdb/testsuite/gdb.asm/asm-source.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/a2-run.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/run.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/run.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/run Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run usage: factorial Program exited with code 01. (gdb) PASS: gdb.base/a2-run.exp: run "run" with no args run 5 Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run 5 120 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" with arg run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run 5 120 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" again with same args set args (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run usage: factorial Program exited with code 01. (gdb) PASS: gdb.base/a2-run.exp: run after setting args to nil set args 6 (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run 6 720 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" again after setting args run `echo 8` Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/run `echo 8` 40320 Program exited normally. (gdb) PASS: gdb.base/a2-run.exp: run "run" with shell testcase ../../../../src/gdb/testsuite/gdb.base/a2-run.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/advance.exp ... Executing on build: rm -f /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance (timeout = 300) spawn rm -f /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/advance.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/advance.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/advance Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000570: file ../../../../src/gdb/testsuite/gdb.base/advance.c, line 41. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/advance Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/advance.c:41 41 c = 5; (gdb) advance 42 main () at ../../../../src/gdb/testsuite/gdb.base/advance.c:42 42 b = 3; /* advance this location */ (gdb) PASS: gdb.base/advance.exp: advance line number advance 48 then stop Junk at end of arguments. (gdb) PASS: gdb.base/advance.exp: malformed advance advance func func () at ../../../../src/gdb/testsuite/gdb.base/advance.c:18 18 x = x + 5; (gdb) PASS: gdb.base/advance.exp: advance func advance func3 main () at ../../../../src/gdb/testsuite/gdb.base/advance.c:45 45 marker1 (); /* stop here after leaving current frame */ (gdb) PASS: gdb.base/advance.exp: advance function not called by current frame break 46 Breakpoint 2 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/advance.c, line 46. (gdb) PASS: gdb.base/advance.exp: set breakpoint at call to func3 continue Continuing. Breakpoint 2, main () at ../../../../src/gdb/testsuite/gdb.base/advance.c:46 46 func3 (); /* break here */ (gdb) PASS: gdb.base/advance.exp: continue to call to func3 in main advance foo foo (a=5) at ../../../../src/gdb/testsuite/gdb.base/advance.c:6 6 int b = a + 10; (gdb) PASS: gdb.base/advance.exp: advance function called as param advance Argument required (a location). (gdb) PASS: gdb.base/advance.exp: advance with no argument testcase ../../../../src/gdb/testsuite/gdb.base/advance.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/all-bin.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/all-types.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/all-types.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/all-types Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000450: file ../../../../src/gdb/testsuite/gdb.base/all-types.c, line 35. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/all-types.c:35 35 dummy(); (gdb) next 36 return 0; (gdb) PASS: gdb.base/all-bin.exp: continuing after dummy() print v_int+v_char $1 = 71 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_char print v_int+v_short $2 = 9 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_short print v_int+v_signed_char $3 = 72 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_char print v_int+v_unsigned_char $4 = 73 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_char print v_int+v_signed_short $5 = 10 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_short print v_int+v_unsigned_short $6 = 11 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_short print v_int+v_signed_int $7 = 13 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_int print v_int+v_unsigned_int $8 = 14 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_int print v_int+v_long $9 = 15 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_long print v_int+v_signed_long $10 = 16 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_signed_long print v_int+v_unsigned_long $11 = 17 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_unsigned_long print v_int+v_float $12 = 106.34343719482422 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_float print v_int+v_double $13 = 206.56565599999999 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int+v_double print v_int <= v_char $14 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_char print v_int <= v_short $15 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_short print v_int <= v_signed_char $16 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_char print v_int <= v_unsigned_char $17 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_char print v_int <= v_signed_short $18 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_short print v_int <= v_unsigned_short $19 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_short print v_int <= v_signed_int $20 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_int print v_int <= v_unsigned_int $21 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_int print v_int <= v_long $22 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_long print v_int <= v_signed_long $23 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_signed_long print v_int <= v_unsigned_long $24 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_unsigned_long print v_int <= v_float $25 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_float print v_int <= v_double $26 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int<=v_double set variable v_char=0 (gdb) PASS: gdb.base/all-bin.exp: set v_char=0 set variable v_double=0.0 (gdb) PASS: gdb.base/all-bin.exp: set v_double=0 set variable v_unsigned_long=0 (gdb) PASS: gdb.base/all-bin.exp: set v_unsigned_long=0 print v_int && v_char $27 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_char print v_int && v_short $28 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_short print v_int && v_signed_char $29 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_char print v_int && v_unsigned_char $30 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_char print v_int && v_signed_short $31 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_short print v_int && v_unsigned_short $32 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_short print v_int && v_signed_int $33 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_int print v_int && v_unsigned_int $34 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_int print v_int && v_long $35 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_long print v_int && v_signed_long $36 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_signed_long print v_int && v_unsigned_long $37 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_unsigned_long print v_int && v_float $38 = 1 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_float print v_int && v_double $39 = 0 (gdb) PASS: gdb.base/all-bin.exp: print value of v_int&&v_double testcase ../../../../src/gdb/testsuite/gdb.base/all-bin.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/annota1.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/annota1.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota1 (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/annota1.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota1 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/annota1 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota1...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set height 0 (gdb) break main Breakpoint 1 at 0x100004c0: file ../../../../src/gdb/testsuite/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 0x100004c0 field 5 in main at ../../../../src/gdb/testsuite/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/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/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 0x100004c0 frame-function-name main frame-args () frame-source-begin at frame-source-file ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:32:323:beg:0x100004c0 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 frames-invalid frames-invalid frames-invalid source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:34:359:beg:0x100004e0 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 0x1000049c: file ../../../../src/gdb/testsuite/gdb.base/annota1.c, line 19. pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint handle_USR1 break printf post-prompt breakpoints-invalid Breakpoint 3 at 0xfe6e5a0 pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: breakpoint printf continue post-prompt Continuing. starting frames-invalid breakpoint 3 Breakpoint 3, frame-begin 0 0xfe6e5a0 frame-address 0x0fe6e5a0 frame-address-end in frame-function-name printf frame-args () frame-where from /lib/tls/libc.so.6 frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: continue to printf backtrace post-prompt frame-begin 0 0xfe6e5a0 #0 frame-address 0x0fe6e5a0 frame-address-end in frame-function-name printf frame-args () frame-where from /lib/tls/libc.so.6 frame-end frame-begin 1 0x10000514 #1 frame-address 0x10000514 frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end pre-prompt (gdb) prompt PASS: 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 0x1000049c 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 ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 19 frame-source-end source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:19:240:beg:0x1000049c frame-end stopped pre-prompt (gdb) prompt PASS: gdb.base/annota1.exp: send SIGUSR1 backtrace post-prompt frame-begin 0 0x1000049c #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 ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 19 frame-source-end frame-end frame-begin 1 0xffffd688 #1 signal-handler-caller frame-end frame-begin 2 0xfe6e5a0 #2 frame-address 0x0fe6e5a0 frame-address-end in frame-function-name printf frame-args () frame-where from /lib/tls/libc.so.6 frame-end frame-begin 3 0x10000514 #3 frame-address 0x10000514 frame-address-end in frame-function-name main frame-args () frame-source-begin at frame-source-file ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 40 frame-source-end frame-end 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 0x100004c0: file ../../../../src/gdb/testsuite/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/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/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 0x100004c0 frame-function-name main frame-args () frame-source-begin at frame-source-file ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 32 frame-source-end source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:32:323:beg:0x100004c0 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 0x10000540: file ../../../../src/gdb/testsuite/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 0x10000540 frame-function-name main frame-args () frame-source-begin at frame-source-file ../../../../src/gdb/testsuite/gdb.base/annota1.c frame-source-file-end : frame-source-line 46 frame-source-end source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:46:559:beg:0x10000540 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/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:45:531:beg:0x10000554 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 frames-invalid source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota1.c:49:579:beg:0x10000564 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 ../../../../src/gdb/testsuite/gdb.base/annota1.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/annota3.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/annota3.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota3 (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/annota3.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/annota3 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota3...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set height 0 (gdb) break main Breakpoint 1 at 0x100004c0: file ../../../../src/gdb/testsuite/gdb.base/annota3.c, line 32. (gdb) PASS: gdb.base/annota3.exp: breakpoint main set annotate 3 pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: annotation set at level 3 info break post-prompt Num Type Disp Enb Address What 1 breakpoint keep y 0x100004c0 in main at ../../../../src/gdb/testsuite/gdb.base/annota3.c:32 pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: breakpoint info run post-prompt Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota3 starting breakpoint 1 Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/annota3.c:32 source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:32:323:beg:0x100004c0 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: run until main breakpoint next post-prompt starting source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:34:359:beg:0x100004e0 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: go after array init line print my_array post-prompt $1 = {1, 2, 3} pre-prompt (gdb) prompt PASS: gdb.base/annota3.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/annota3.exp: print non_existent_value break handle_USR1 post-prompt Breakpoint 2 at 0x1000049c: file ../../../../src/gdb/testsuite/gdb.base/annota3.c, line 19. pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: breakpoint handle_USR1 break printf post-prompt Breakpoint 3 at 0xfe6e5a0 pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: breakpoint printf continue post-prompt Continuing. starting breakpoint 3 Breakpoint 3, 0x0fe6e5a0 in printf () from /lib/tls/libc.so.6 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: continue to printf backtrace post-prompt #0 0x0fe6e5a0 in printf () from /lib/tls/libc.so.6 #1 0x10000514 in main () at ../../../../src/gdb/testsuite/gdb.base/annota3.c:40 pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: backtrace from shlibrary signal SIGUSR1 post-prompt Continuing with signal SIGUSR1. starting breakpoint 2 Breakpoint 2, handle_USR1 (sig=10) at ../../../../src/gdb/testsuite/gdb.base/annota3.c:19 source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:19:240:beg:0x1000049c stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: send SIGUSR1 backtrace post-prompt #0 handle_USR1 (sig=10) at ../../../../src/gdb/testsuite/gdb.base/annota3.c:19 #1 #2 0x0fe6e5a0 in printf () from /lib/tls/libc.so.6 #3 0x10000514 in main () at ../../../../src/gdb/testsuite/gdb.base/annota3.c:40 pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: backtrace @ signal handler delete 1 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: delete bp 1 delete 2 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: delete bp 2 delete 3 post-prompt pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: delete bp 3 break main post-prompt Breakpoint 4 at 0x100004c0: file ../../../../src/gdb/testsuite/gdb.base/annota3.c, line 32. pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: break at 28 display value post-prompt 1: value = 7 pre-prompt (gdb) prompt PASS: gdb.base/annota3.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 Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/annota3 starting breakpoint 4 Breakpoint 4, main () at ../../../../src/gdb/testsuite/gdb.base/annota3.c:32 source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:32:323:beg:0x100004c0 1: value = 0 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: re-run break 46 post-prompt Breakpoint 5 at 0x10000540: file ../../../../src/gdb/testsuite/gdb.base/annota3.c, line 46. pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: break at 46 ignore 5 4 post-prompt Will ignore next 4 crossings of breakpoint 5. pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: ignore 5 4 continue post-prompt Continuing. starting value is 7 my_array[2] is 3 breakpoint 5 Breakpoint 5, main () at ../../../../src/gdb/testsuite/gdb.base/annota3.c:46 source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:46:559:beg:0x10000540 1: value = 11 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: annotate ignore count change next post-prompt starting source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:45:531:beg:0x10000554 1: value = 12 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: next to exit loop next post-prompt starting source /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/annota3.c:49:579:beg:0x10000564 1: value = 12 stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: breakpoint ignore count signal SIGTRAP post-prompt Continuing with signal SIGTRAP. starting signalled Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. stopped pre-prompt (gdb) prompt PASS: gdb.base/annota3.exp: signal sent Executing on build: ls core (timeout = 300) spawn ls core ls: core: No such file or directory PASS: gdb.base/annota3.exp: cleanup core file (not dumped) testcase ../../../../src/gdb/testsuite/gdb.base/annota3.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/args.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/args.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/args.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw --args /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 3 GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (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: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 3 3 /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 3 Program exited normally. (gdb) PASS: gdb.base/args.exp: correct args printed spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw --args /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 '' 3 GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (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: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 \'\' 3 4 /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 '' 3 Program exited normally. (gdb) PASS: gdb.base/args.exp: correct args printed, one empty spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw --args /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 '' '' 3 GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (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: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 \'\' \'\' 3 5 /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/args 1 '' '' 3 Program exited normally. (gdb) PASS: gdb.base/args.exp: correct args printed, two empty testcase ../../../../src/gdb/testsuite/gdb.base/args.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/arithmet.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/int-type.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/int-type.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/int-type Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) set variable x=14 (gdb) PASS: gdb.base/arithmet.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/arithmet.exp: set variable y=2 set variable z=2 (gdb) PASS: gdb.base/arithmet.exp: set variable z=2 set variable w=3 (gdb) PASS: gdb.base/arithmet.exp: set variable w=3 print x $1 = 14 (gdb) PASS: gdb.base/arithmet.exp: print x print y $2 = 2 (gdb) PASS: gdb.base/arithmet.exp: print y print z $3 = 2 (gdb) PASS: gdb.base/arithmet.exp: print z print w $4 = 3 (gdb) PASS: gdb.base/arithmet.exp: print w print x+y $5 = 16 (gdb) PASS: gdb.base/arithmet.exp: print x+y print x-y $6 = 12 (gdb) PASS: gdb.base/arithmet.exp: print x-y print x*y $7 = 28 (gdb) PASS: gdb.base/arithmet.exp: print x*y print x/y $8 = 7 (gdb) PASS: gdb.base/arithmet.exp: print x/y print x%y $9 = 0 (gdb) PASS: gdb.base/arithmet.exp: print x%y print x+y+z $10 = 18 (gdb) PASS: gdb.base/arithmet.exp: print x+y+z print x-y-z $11 = 10 (gdb) PASS: gdb.base/arithmet.exp: print x-y-z print x*y*z $12 = 56 (gdb) PASS: gdb.base/arithmet.exp: print x*y*z print x/y/z $13 = 3 (gdb) PASS: gdb.base/arithmet.exp: print x/y/z print x%y%z $14 = 0 (gdb) PASS: gdb.base/arithmet.exp: print x%y%z set variable x=10 (gdb) PASS: gdb.base/arithmet.exp: set variable x=10 set variable y=4 (gdb) PASS: gdb.base/arithmet.exp: set variable y=4 print x+y-z $15 = 12 (gdb) PASS: gdb.base/arithmet.exp: print x+y-z print x+y*z $16 = 18 (gdb) PASS: gdb.base/arithmet.exp: print x+y*z print x+y%w $17 = 11 (gdb) PASS: gdb.base/arithmet.exp: print x+y%w print x+y/w $18 = 11 (gdb) PASS: gdb.base/arithmet.exp: print x+y/w print x-y*z $19 = 2 (gdb) PASS: gdb.base/arithmet.exp: print x-y*z print x-y%z $20 = 10 (gdb) PASS: gdb.base/arithmet.exp: print x-y%z print x-y/z $21 = 8 (gdb) PASS: gdb.base/arithmet.exp: print x-y/z print x*y/z $22 = 20 (gdb) PASS: gdb.base/arithmet.exp: print x*y/z print x*y%w $23 = 1 (gdb) PASS: gdb.base/arithmet.exp: print x*y%w print x/y%w $24 = 2 (gdb) PASS: gdb.base/arithmet.exp: print x/y%w print x-(y+w) $25 = 3 (gdb) PASS: gdb.base/arithmet.exp: print x-(y+w) print x/(y*w) $26 = 0 (gdb) PASS: gdb.base/arithmet.exp: print x/(y*w) print x-(y/w) $27 = 9 (gdb) PASS: gdb.base/arithmet.exp: print x-(y/w) print (x+y)*w $28 = 42 (gdb) PASS: gdb.base/arithmet.exp: print (x+y)*w testcase ../../../../src/gdb/testsuite/gdb.base/arithmet.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/arrayidx.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/arrayidx.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/arrayidx (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/arrayidx.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/arrayidx spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/arrayidx Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/arrayidx...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/arrayidx.c, line 25. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/arrayidx Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/arrayidx.c:25 25 array[0] = 5; (gdb) set print array-indexes off (gdb) PASS: gdb.base/arrayidx.exp: Set print array-indexes to off print array $1 = {1, 2, 3, 4} (gdb) PASS: gdb.base/arrayidx.exp: Print array with array-indexes off set print array-indexes on (gdb) PASS: gdb.base/arrayidx.exp: Set print array-indexes to on print array $2 = {[0] = 1, [1] = 2, [2] = 3, [3] = 4} (gdb) PASS: gdb.base/arrayidx.exp: Print array with array-indexes on testcase ../../../../src/gdb/testsuite/gdb.base/arrayidx.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/assign.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/all-types.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/all-types.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/all-types Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000450: file ../../../../src/gdb/testsuite/gdb.base/all-types.c, line 35. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/all-types Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/all-types.c:35 35 dummy(); (gdb) next 36 return 0; (gdb) PASS: gdb.base/assign.exp: continuing after dummy() print v_int=57 $1 = 57 (gdb) print v_int $2 = 57 (gdb) PASS: gdb.base/assign.exp: v_int=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=57 $3 = 63 (gdb) print v_int $4 = 63 (gdb) PASS: gdb.base/assign.exp: v_int+=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int-=57 $5 = -51 (gdb) print v_int $6 = -51 (gdb) PASS: gdb.base/assign.exp: v_int-=57 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int*=5 $7 = 30 (gdb) print v_int $8 = 30 (gdb) PASS: gdb.base/assign.exp: v_int*=5 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int/=4 $9 = 1 (gdb) print v_int $10 = 1 (gdb) PASS: gdb.base/assign.exp: v_int/=4 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int%=4 $11 = 2 (gdb) print v_int $12 = 2 (gdb) PASS: gdb.base/assign.exp: v_int%=4 set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_char $13 = 71 (gdb) print v_int $14 = 71 (gdb) PASS: gdb.base/assign.exp: v_int+=char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_char $15 = 72 (gdb) print v_int $16 = 72 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_char $17 = 73 (gdb) print v_int $18 = 73 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_char set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_short $19 = 9 (gdb) print v_int $20 = 9 (gdb) PASS: gdb.base/assign.exp: v_int+=short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_short $21 = 10 (gdb) print v_int $22 = 10 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_short $23 = 11 (gdb) print v_int $24 = 11 (gdb) PASS: gdb.base/assign.exp: v_int=+unsigned_short set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_int $25 = 13 (gdb) print v_int $26 = 13 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_int set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_int $27 = 14 (gdb) print v_int $28 = 14 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_int set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_long $29 = 15 (gdb) print v_int $30 = 15 (gdb) PASS: gdb.base/assign.exp: v_int+=long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_signed_long $31 = 16 (gdb) print v_int $32 = 16 (gdb) PASS: gdb.base/assign.exp: v_int+=signed_long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_unsigned_long $33 = 17 (gdb) print v_int $34 = 17 (gdb) PASS: gdb.base/assign.exp: v_int+=unsigned_long set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_float $35 = 106 (gdb) print v_int $36 = 106 (gdb) PASS: gdb.base/assign.exp: v_int+=v_float set variable v_int = 6 (gdb) PASS: gdb.base/assign.exp: set v_int to 6 print v_int+=v_double $37 = 206 (gdb) print v_int $38 = 206 (gdb) PASS: gdb.base/assign.exp: v_int+=double testcase ../../../../src/gdb/testsuite/gdb.base/assign.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/async.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/async.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/async (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/async.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/async get_compiler_info: gcc-3-3-3 testcase ../../../../src/gdb/testsuite/gdb.base/async.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/attach.exp ... Executing on build: rm -f /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2 (timeout = 300) spawn rm -f /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2 Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/attach.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/attach.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/attach2.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2 (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/attach2.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2 get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/attach Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) attach abc Illegal process-id: abc. (gdb) PASS: gdb.base/attach.exp: attach to nonsense is prohibited attach 0 Attaching to program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach, process 0 ptrace: Operation not permitted. (gdb) PASS: gdb.base/attach.exp: attach to nonexistent process is prohibited file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/attach Load new symbol table from "/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach"? (y or n) y Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach...done. (gdb) PASS: gdb.base/attach.exp: set file, before attach1 (re-read) attach 10079 Attaching to program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach, process 10079 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 main () at ../../../../src/gdb/testsuite/gdb.base/attach.c:15 15 while (! should_exit) (gdb) PASS: gdb.base/attach.exp: attach1, after setting file print should_exit $1 = 0 (gdb) PASS: gdb.base/attach.exp: after attach1, print should_exit detach Detaching from program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach, process 10079 (gdb) PASS: gdb.base/attach.exp: attach1 detach file No executable file now. Discard symbol table from `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach'? (y or n) y No symbol file now. (gdb) PASS: gdb.base/attach.exp: attach1, purging symbols after detach attach 10079 Attaching to process 10079 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach...done. Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 main () at ../../../../src/gdb/testsuite/gdb.base/attach.c:15 15 while (! should_exit) (gdb) PASS: gdb.base/attach.exp: set file, before attach2 set should_exit=1 (gdb) PASS: gdb.base/attach.exp: after attach2, set should_exit tbreak 19 Breakpoint 1 at 0x10000474: file ../../../../src/gdb/testsuite/gdb.base/attach.c, line 19. (gdb) PASS: gdb.base/attach.exp: after attach2, set tbreak postloop continue Continuing. main () at ../../../../src/gdb/testsuite/gdb.base/attach.c:19 19 return 0; (gdb) PASS: gdb.base/attach.exp: after attach2, reach tbreak postloop continue Continuing. Program exited normally. (gdb) PASS: gdb.base/attach.exp: after attach2, exit Executing on build: kill -9 10079 (timeout = 300) spawn kill -9 10079 kill: 10079: No such process dir /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/test suite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base:/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) PASS: gdb.base/attach.exp: set source path cd /tmp Working directory /tmp. (gdb) PASS: gdb.base/attach.exp: cd away from process working directory symbol Discard symbol table from `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach'? (y or n) y No symbol file now. (gdb) PASS: gdb.base/attach.exp: before attach3, flush symbols exec No executable file now. (gdb) PASS: gdb.base/attach.exp: before attach3, flush exec attach 10100 Attaching to process 10100 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach...done. Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 main () at ../../../../src/gdb/testsuite/gdb.base/attach.c:15 15 while (! should_exit) (gdb) PASS: gdb.base/attach.exp: attach when process' a.out not in cwd kill Kill the program being debugged? (y or n) y (gdb) PASS: gdb.base/attach.exp: after attach3, exit Executing on build: kill -9 10100 (timeout = 300) spawn kill -9 10100 kill: 10100: No such process spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/attach2 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) PASS: gdb.base/attach.exp: force switch to gdb64, if necessary attach 10114 Attaching to program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/attach2, process 10114 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 0x0feb62dc in __nanosleep_nocancel () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/attach.exp: attach call i r r3 r3 0x204 516 (gdb) PASS: gdb.base/attach.exp: info other register p should_exit = 1 $1 = 1 (gdb) PASS: gdb.base/attach.exp: p should_exit = 1 c Continuing. Program exited normally. (gdb) PASS: gdb.base/attach.exp: c Executing on build: kill -9 10114 (timeout = 300) spawn kill -9 10114 kill: 10114: No such process testcase ../../../../src/gdb/testsuite/gdb.base/attach.exp completed in 20 seconds Running ../../../../src/gdb/testsuite/gdb.base/auxv.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/auxv.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/auxv (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/auxv.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/auxv spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/auxv Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/auxv...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/auxv.exp: set print sevenbit-strings; auxv set width 0 (gdb) PASS: gdb.base/auxv.exp: set width 0; auxv cd /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tests uite/gdb.base/coredir.9728 Working directory /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728. (gdb) PASS: gdb.base/auxv.exp: cd to temporary directory for core dumps delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x1000059c: file ../../../../src/gdb/testsuite/gdb.base/auxv.c, line 77. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/auxv Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/auxv.c:77 77 func1 (10); (gdb) tbreak 66 Breakpoint 2 at 0x10000544: file ../../../../src/gdb/testsuite/gdb.base/auxv.c, line 66. (gdb) PASS: gdb.base/auxv.exp: tbreak 66 continue Continuing. func2 (x=20) at ../../../../src/gdb/testsuite/gdb.base/auxv.c:66 66 ABORT; (gdb) PASS: gdb.base/auxv.exp: continue info auxv 22 AT_IGNOREPPC Entry should be ignored 22 22 AT_IGNOREPPC Entry should be ignored 22 19 AT_DCACHEBSIZE Data cache block size 128 20 AT_ICACHEBSIZE Instruction cache block size 128 21 AT_UCACHEBSIZE Unified cache block size 0 16 AT_HWCAP Machine-dependent CPU capability hints 0xdc000000 6 AT_PAGESZ System page size 4096 17 AT_CLKTCK Frequency of times() 100 3 AT_PHDR Program headers for program 0x10000034 4 AT_PHENT Size of program header entry 32 5 AT_PHNUM Number of program headers 8 7 AT_BASE Base address of interpreter 0x40000000 8 AT_FLAGS Flags 0x0 9 AT_ENTRY Entry point of program 0x1000030c 11 AT_UID Real user ID 1000 12 AT_EUID Effective user ID 1000 13 AT_GID Real group ID 100 14 AT_EGID Effective group ID 100 23 AT_SECURE Boolean, was exec setuid-like? 0 0 AT_NULL End of vector 0x0 0 AT_NULL End of vector 0x0 0 AT_NULL End of vector 0x0 (gdb) PASS: gdb.base/auxv.exp: info auxv on live process gcore /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/te stsuite/gdb.base/auxv.gcore Saved corefile /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/auxv.gcore (gdb) PASS: gdb.base/auxv.exp: gcore continue Continuing. Program received signal SIGABRT, Aborted. 0x0fe5476c in raise () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/auxv.exp: continue continue Continuing. Program terminated with signal SIGABRT, Aborted. The program no longer exists. (gdb) PASS: gdb.base/auxv.exp: continue WARNING: can't generate a core file - core tests suppressed - check ulimit -c FAIL: gdb.base/auxv.exp: generate native core dump Executing on build: rm -rf /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728 (timeout = 300) spawn rm -rf /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728 UNSUPPORTED: gdb.base/auxv.exp: info auxv on native core dump UNSUPPORTED: gdb.base/auxv.exp: matching auxv data from live and core core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/auxv.gcore Core was generated by `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.'. Program terminated with signal 5, Trace/breakpoint trap. Symbols already loaded for /lib/tls/libm.so.6 Symbols already loaded for /lib/tls/libc.so.6 Symbols already loaded for /lib/ld.so.1 #0 func2 (x=20) at ../../../../src/gdb/testsuite/gdb.base/auxv.c:66 66 ABORT; (gdb) PASS: gdb.base/auxv.exp: load core file for info auxv on gcore-created dump info auxv 22 AT_IGNOREPPC Entry should be ignored 22 22 AT_IGNOREPPC Entry should be ignored 22 19 AT_DCACHEBSIZE Data cache block size 128 20 AT_ICACHEBSIZE Instruction cache block size 128 21 AT_UCACHEBSIZE Unified cache block size 0 16 AT_HWCAP Machine-dependent CPU capability hints 0xdc000000 6 AT_PAGESZ System page size 4096 17 AT_CLKTCK Frequency of times() 100 3 AT_PHDR Program headers for program 0x10000034 4 AT_PHENT Size of program header entry 32 5 AT_PHNUM Number of program headers 8 7 AT_BASE Base address of interpreter 0x40000000 8 AT_FLAGS Flags 0x0 9 AT_ENTRY Entry point of program 0x1000030c 11 AT_UID Real user ID 1000 12 AT_EUID Effective user ID 1000 13 AT_GID Real group ID 100 14 AT_EGID Effective group ID 100 23 AT_SECURE Boolean, was exec setuid-like? 0 0 AT_NULL End of vector 0x0 0 AT_NULL End of vector 0x0 0 AT_NULL End of vector 0x0 (gdb) PASS: gdb.base/auxv.exp: info auxv on gcore-created dump PASS: gdb.base/auxv.exp: matching auxv data from live and gcore testcase ../../../../src/gdb/testsuite/gdb.base/auxv.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/bang.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/args.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bang! (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/args.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bang! spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bang! Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bang!...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bang! 1 /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bang! Program exited normally. (gdb) PASS: gdb.base/bang.exp: run program testcase ../../../../src/gdb/testsuite/gdb.base/bang.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/bfp-test.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/bfp-test.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bfp-test (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/bfp-test.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bfp-test spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bfp-test Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bfp-test...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/bfp-test.c, line 29. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bfp-test Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/bfp-test.c:29 29 b32 = 1.5f; (gdb) break 33 Breakpoint 2 at 0x1000047c: file ../../../../src/gdb/testsuite/gdb.base/bfp-test.c, line 33. (gdb) continue Continuing. Breakpoint 2, main () at ../../../../src/gdb/testsuite/gdb.base/bfp-test.c:33 33 return 0; (gdb) PASS: gdb.base/bfp-test.exp: continue to breakpoint: return print b32 $1 = 1.5 (gdb) PASS: gdb.base/bfp-test.exp: The original value of b32 is 1.5 print b64 $2 = 2.25 (gdb) PASS: gdb.base/bfp-test.exp: The original value of b64 is 2.25 print b128 $3 = 3.375 (gdb) PASS: gdb.base/bfp-test.exp: The original value of b128 is 3.375 print b32=-1.5f $4 = -1.5 (gdb) PASS: gdb.base/bfp-test.exp: Try to change b32 to -1.5 with 'print b32=-1.5f' print b64=-2.25f $5 = -2.25 (gdb) PASS: gdb.base/bfp-test.exp: Try to change b64 to -2.25 with 'print b64=-2.25f' print b128=-3.375l $6 = -3.375 (gdb) PASS: gdb.base/bfp-test.exp: Try to change b128 to -3.375 with 'print b128=-3.375l' set var b32=10.5f (gdb) PASS: gdb.base/bfp-test.exp: set variable b32 = 10.5f set var b64=20.25f (gdb) PASS: gdb.base/bfp-test.exp: set variable b64 = 20.25f set var b128=30.375l (gdb) PASS: gdb.base/bfp-test.exp: set variable b128 = 30.375l print b32 $7 = 10.5 (gdb) PASS: gdb.base/bfp-test.exp: The value of b32 is changed to 10.5 print b64 $8 = 20.25 (gdb) PASS: gdb.base/bfp-test.exp: The value of b64 is changed to 20.25 print b128 $9 = 30.375 (gdb) PASS: gdb.base/bfp-test.exp: The value of b128 is changed to 30.375 set var b32=100.5a Invalid number "100.5a". (gdb) PASS: gdb.base/bfp-test.exp: set variable b32 = 100.5a set var b64=200.25x Invalid number "200.25x". (gdb) PASS: gdb.base/bfp-test.exp: set variable b64 = 200.25x set var b128=300.375fl Invalid number "300.375fl". (gdb) PASS: gdb.base/bfp-test.exp: set variable b128 = 300.375fl set var b128=300.375fff Invalid number "300.375fff". (gdb) PASS: gdb.base/bfp-test.exp: set variable b128 = 300.375fff testcase ../../../../src/gdb/testsuite/gdb.base/bfp-test.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/bigcore.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/bigcore.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/bigcore.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bigcore Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/bigcore.exp: set print sevenbit-strings; bigcore set width 0 (gdb) PASS: gdb.base/bigcore.exp: set width 0; bigcore delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000a18: file ../../../../src/gdb/testsuite/gdb.base/bigcore.c, line 158. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/bigcore.c:158 158 print_string ("Maximize resource limits ...\n"); (gdb) tbreak 264 Breakpoint 2 at 0x10000e60: file ../../../../src/gdb/testsuite/gdb.base/bigcore.c, line 264. (gdb) PASS: gdb.base/bigcore.exp: tbreak 264 continue Continuing. Maximize resource limits ... core: cur=0x0 max=0xffffffff -> cur=0xffffffff max=0xffffffff data: cur=0xffffffff max=0xffffffff -> cur=0xffffffff max=0xffffffff stack: cur=0xffffffff max=0xffffffff -> cur=0xffffffff max=0xffffffff stack: cur=0xffffffff max=0xffffffff -> cur=0xffffffff max=0xffffffff Maximize allocation limits ... core: 1099511627776 (0x10000000000) bytes chunk: 2147483648 (0x80000000) bytes large? yes Alocating the entire heap ... 2147483648 (0x80000000) bytes ... 1 chunks 1073741824 (0x40000000) bytes ... 0 chunks 536870912 (0x20000000) bytes ... 2 chunks 268435456 (0x10000000) bytes ... 1 chunks 134217728 (0x8000000) bytes ... 2 chunks 67108864 (0x4000000) bytes ... 2 chunks 33554432 (0x2000000) bytes ... 2 chunks 16777216 (0x1000000) bytes ... 2 chunks 8388608 (0x800000) bytes ... 2 chunks 4194304 (0x400000) bytes ... 2 chunks 2097152 (0x200000) bytes ... 1 chunks 1048576 (0x100000) bytes ... 2 chunks 524288 (0x80000) bytes ... 4 chunks 262144 (0x40000) bytes ... 3 chunks 131072 (0x20000) bytes ... 4 chunks 65536 (0x10000) bytes ... 1 chunks 32768 (0x8000) bytes ... 1 chunks 16384 (0x4000) bytes ... 1 chunks 8192 (0x2000) bytes ... 1 chunks 4096 (0x1000) bytes ... 1 chunks 2048 (0x800) bytes ... 2 chunks 1024 (0x400) bytes ... 1 chunks 512 (0x200) bytes ... 2 chunks 256 (0x100) bytes ... 2 chunks 128 (0x80) bytes ... 0 chunks 64 (0x40) bytes ... 1 chunks 32 (0x20) bytes ... 1 chunks 16 (0x10) bytes ... 1 chunks Total of 4025879152 (0xeff60a70) bytes bytes 45 chunks main () at ../../../../src/gdb/testsuite/gdb.base/bigcore.c:264 264 print_string ("Dump core ....\n"); (gdb) PASS: gdb.base/bigcore.exp: continue next Dump core .... 265 *(char*)0 = 0; (gdb) PASS: gdb.base/bigcore.exp: next print heap.next $1 = (struct list *) 0x10011e70 (gdb) print $.next $2 = (struct list *) 0x40045008 (gdb) print $.next $3 = (struct list *) 0xc0200008 (gdb) print $.next $4 = (struct list *) 0x10012008 (gdb) print $.next $5 = (struct list *) 0xe0201008 (gdb) print $.next $6 = (struct list *) 0xf0202008 (gdb) print $.next $7 = (struct list *) 0x30012010 (gdb) print $.next $8 = (struct list *) 0xf8203008 (gdb) print $.next $9 = (struct list *) 0x38012018 (gdb) print $.next $10 = (struct list *) 0xfc204008 (gdb) print $.next $11 = (struct list *) 0x3c012020 (gdb) print $.next $12 = (struct list *) 0xfe205008 (gdb) print $.next $13 = (struct list *) 0x3e012028 (gdb) print $.next $14 = (struct list *) 0xff206008 (gdb) print $.next $15 = (struct list *) 0x3f012030 (gdb) print $.next $16 = (struct list *) 0xffa07008 (gdb) print $.next $17 = (struct list *) 0x3f812038 (gdb) print $.next $18 = (struct list *) 0x3fc12040 (gdb) print $.next $19 = (struct list *) 0xffe08008 (gdb) print $.next $20 = (struct list *) 0x3fe12048 (gdb) print $.next $21 = (struct list *) 0xfff09008 (gdb) print $.next $22 = (struct list *) 0xc0046008 (gdb) print $.next $23 = (struct list *) 0xc0100480 (gdb) print $.next $24 = (struct list *) 0x3ff12050 (gdb) print $.next $25 = (struct list *) 0xfff8a008 (gdb) print $.next $26 = (struct list *) 0xc0180488 (gdb) print $.next $27 = (struct list *) 0x3ff92058 (gdb) print $.next $28 = (struct list *) 0xfffcb008 (gdb) print $.next $29 = (struct list *) 0xc00c7008 (gdb) print $.next $30 = (struct list *) 0xc01c0490 (gdb) print $.next $31 = (struct list *) 0x3ffd2060 (gdb) print $.next $32 = (struct list *) 0xc01e0498 (gdb) print $.next $33 = (struct list *) 0xc01f04a0 (gdb) print $.next $34 = (struct list *) 0xc01f84a8 (gdb) print $.next $35 = (struct list *) 0xc01fc4b0 (gdb) print $.next $36 = (struct list *) 0xc01fe4b8 (gdb) print $.next $37 = (struct list *) 0xc01ff4c0 (gdb) print $.next $38 = (struct list *) 0x3fff2068 (gdb) print $.next $39 = (struct list *) 0x3fff2870 (gdb) print $.next $40 = (struct list *) 0xc01ffcc8 (gdb) print $.next $41 = (struct list *) 0x3fff2c78 (gdb) print $.next $42 = (struct list *) 0xc01ffed0 (gdb) print $.next $43 = (struct list *) 0x3fff2e80 (gdb) print $.next $44 = (struct list *) 0x3fff2f88 (gdb) print $.next $45 = (struct list *) 0x3fff2fd0 (gdb) print $.next $46 = (struct list *) 0xc01fffd8 (gdb) print $.next $47 = (struct list *) 0x0 (gdb) PASS: gdb.base/bigcore.exp: extract next heap print heap.prev $48 = (struct list *) 0xc01fffd8 (gdb) print $.prev $49 = (struct list *) 0x3fff2fd0 (gdb) print $.prev $50 = (struct list *) 0x3fff2f88 (gdb) print $.prev $51 = (struct list *) 0x3fff2e80 (gdb) print $.prev $52 = (struct list *) 0xc01ffed0 (gdb) print $.prev $53 = (struct list *) 0x3fff2c78 (gdb) print $.prev $54 = (struct list *) 0xc01ffcc8 (gdb) print $.prev $55 = (struct list *) 0x3fff2870 (gdb) print $.prev $56 = (struct list *) 0x3fff2068 (gdb) print $.prev $57 = (struct list *) 0xc01ff4c0 (gdb) print $.prev $58 = (struct list *) 0xc01fe4b8 (gdb) print $.prev $59 = (struct list *) 0xc01fc4b0 (gdb) print $.prev $60 = (struct list *) 0xc01f84a8 (gdb) print $.prev $61 = (struct list *) 0xc01f04a0 (gdb) print $.prev $62 = (struct list *) 0xc01e0498 (gdb) print $.prev $63 = (struct list *) 0x3ffd2060 (gdb) print $.prev $64 = (struct list *) 0xc01c0490 (gdb) print $.prev $65 = (struct list *) 0xc00c7008 (gdb) print $.prev $66 = (struct list *) 0xfffcb008 (gdb) print $.prev $67 = (struct list *) 0x3ff92058 (gdb) print $.prev $68 = (struct list *) 0xc0180488 (gdb) print $.prev $69 = (struct list *) 0xfff8a008 (gdb) print $.prev $70 = (struct list *) 0x3ff12050 (gdb) print $.prev $71 = (struct list *) 0xc0100480 (gdb) print $.prev $72 = (struct list *) 0xc0046008 (gdb) print $.prev $73 = (struct list *) 0xfff09008 (gdb) print $.prev $74 = (struct list *) 0x3fe12048 (gdb) print $.prev $75 = (struct list *) 0xffe08008 (gdb) print $.prev $76 = (struct list *) 0x3fc12040 (gdb) print $.prev $77 = (struct list *) 0x3f812038 (gdb) print $.prev $78 = (struct list *) 0xffa07008 (gdb) print $.prev $79 = (struct list *) 0x3f012030 (gdb) print $.prev $80 = (struct list *) 0xff206008 (gdb) print $.prev $81 = (struct list *) 0x3e012028 (gdb) print $.prev $82 = (struct list *) 0xfe205008 (gdb) print $.prev $83 = (struct list *) 0x3c012020 (gdb) print $.prev $84 = (struct list *) 0xfc204008 (gdb) print $.prev $85 = (struct list *) 0x38012018 (gdb) print $.prev $86 = (struct list *) 0xf8203008 (gdb) print $.prev $87 = (struct list *) 0x30012010 (gdb) print $.prev $88 = (struct list *) 0xf0202008 (gdb) print $.prev $89 = (struct list *) 0xe0201008 (gdb) print $.prev $90 = (struct list *) 0x10012008 (gdb) print $.prev $91 = (struct list *) 0xc0200008 (gdb) print $.prev $92 = (struct list *) 0x40045008 (gdb) print $.prev $93 = (struct list *) 0x10011e70 (gdb) print $.prev $94 = (struct list *) 0x0 (gdb) PASS: gdb.base/bigcore.exp: extract prev heap set $bytes_allocated = bytes_allocated (gdb) PASS: gdb.base/bigcore.exp: save heap size info program Using the running image of child process 10193. Program stopped at 0x10000e6c. It stopped after being stepped. (gdb) PASS: gdb.base/bigcore.exp: grab pid signal SIGABRT Continuing with signal SIGABRT. Program terminated with signal SIGABRT, Aborted. The program no longer exists. (gdb) PASS: gdb.base/bigcore.exp: signal SIGABRT Executing on build: mv core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore.corefile (timeout = 300) spawn mv core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bigcore.corefile print $bytes_allocated < 4026089472 $95 = 1 (gdb) PASS: gdb.base/bigcore.exp: check core size core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bigcore.corefile warning: exec file is newer than core file. Core was generated by `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb'. Program terminated with signal 6, Aborted. Symbols already loaded for /lib/tls/libm.so.6 Symbols already loaded for /lib/tls/libc.so.6 Symbols already loaded for /lib/ld.so.1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/bigcore.c:265 265 *(char*)0 = 0; (gdb) PASS: gdb.base/bigcore.exp: load corefile print heap.next $96 = (struct list *) 0x10011e70 (gdb) print $.next $97 = (struct list *) 0x40045008 (gdb) print $.next $98 = (struct list *) 0xc0200008 (gdb) print $.next $99 = (struct list *) 0x10012008 (gdb) print $.next $100 = (struct list *) 0xe0201008 (gdb) print $.next $101 = (struct list *) 0xf0202008 (gdb) print $.next $102 = (struct list *) 0x30012010 (gdb) print $.next $103 = (struct list *) 0xf8203008 (gdb) print $.next $104 = (struct list *) 0x38012018 (gdb) print $.next $105 = (struct list *) 0xfc204008 (gdb) print $.next $106 = (struct list *) 0x3c012020 (gdb) print $.next $107 = (struct list *) 0xfe205008 (gdb) print $.next $108 = (struct list *) 0x3e012028 (gdb) print $.next $109 = (struct list *) 0xff206008 (gdb) print $.next $110 = (struct list *) 0x3f012030 (gdb) print $.next $111 = (struct list *) 0xffa07008 (gdb) print $.next $112 = (struct list *) 0x3f812038 (gdb) print $.next $113 = (struct list *) 0x3fc12040 (gdb) print $.next $114 = (struct list *) 0xffe08008 (gdb) print $.next $115 = (struct list *) 0x3fe12048 (gdb) print $.next $116 = (struct list *) 0xfff09008 (gdb) print $.next $117 = (struct list *) 0xc0046008 (gdb) print $.next $118 = (struct list *) 0xc0100480 (gdb) print $.next $119 = (struct list *) 0x3ff12050 (gdb) print $.next $120 = (struct list *) 0xfff8a008 (gdb) print $.next $121 = (struct list *) 0xc0180488 (gdb) print $.next $122 = (struct list *) 0x3ff92058 (gdb) print $.next $123 = (struct list *) 0xfffcb008 (gdb) print $.next $124 = (struct list *) 0xc00c7008 (gdb) print $.next $125 = (struct list *) 0xc01c0490 (gdb) print $.next $126 = (struct list *) 0x3ffd2060 (gdb) print $.next $127 = (struct list *) 0xc01e0498 (gdb) print $.next $128 = (struct list *) 0xc01f04a0 (gdb) print $.next $129 = (struct list *) 0xc01f84a8 (gdb) print $.next $130 = (struct list *) 0xc01fc4b0 (gdb) print $.next $131 = (struct list *) 0xc01fe4b8 (gdb) print $.next $132 = (struct list *) 0xc01ff4c0 (gdb) print $.next $133 = (struct list *) 0x3fff2068 (gdb) print $.next $134 = (struct list *) 0x3fff2870 (gdb) print $.next $135 = (struct list *) 0xc01ffcc8 (gdb) print $.next $136 = (struct list *) 0x3fff2c78 (gdb) print $.next $137 = (struct list *) 0xc01ffed0 (gdb) print $.next $138 = (struct list *) 0x3fff2e80 (gdb) print $.next $139 = (struct list *) 0x3fff2f88 (gdb) print $.next $140 = (struct list *) 0x3fff2fd0 (gdb) print $.next $141 = (struct list *) 0xc01fffd8 (gdb) print $.next $142 = (struct list *) 0x0 (gdb) PASS: gdb.base/bigcore.exp: check next heap print heap.prev $143 = (struct list *) 0xc01fffd8 (gdb) print $.prev $144 = (struct list *) 0x3fff2fd0 (gdb) print $.prev $145 = (struct list *) 0x3fff2f88 (gdb) print $.prev $146 = (struct list *) 0x3fff2e80 (gdb) print $.prev $147 = (struct list *) 0xc01ffed0 (gdb) print $.prev $148 = (struct list *) 0x3fff2c78 (gdb) print $.prev $149 = (struct list *) 0xc01ffcc8 (gdb) print $.prev $150 = (struct list *) 0x3fff2870 (gdb) print $.prev $151 = (struct list *) 0x3fff2068 (gdb) print $.prev $152 = (struct list *) 0xc01ff4c0 (gdb) print $.prev $153 = (struct list *) 0xc01fe4b8 (gdb) print $.prev $154 = (struct list *) 0xc01fc4b0 (gdb) print $.prev $155 = (struct list *) 0xc01f84a8 (gdb) print $.prev $156 = (struct list *) 0xc01f04a0 (gdb) print $.prev $157 = (struct list *) 0xc01e0498 (gdb) print $.prev $158 = (struct list *) 0x3ffd2060 (gdb) print $.prev $159 = (struct list *) 0xc01c0490 (gdb) print $.prev $160 = (struct list *) 0xc00c7008 (gdb) print $.prev $161 = (struct list *) 0xfffcb008 (gdb) print $.prev $162 = (struct list *) 0x3ff92058 (gdb) print $.prev $163 = (struct list *) 0xc0180488 (gdb) print $.prev $164 = (struct list *) 0xfff8a008 (gdb) print $.prev $165 = (struct list *) 0x3ff12050 (gdb) print $.prev $166 = (struct list *) 0xc0100480 (gdb) print $.prev $167 = (struct list *) 0xc0046008 (gdb) print $.prev $168 = (struct list *) 0xfff09008 (gdb) print $.prev $169 = (struct list *) 0x3fe12048 (gdb) print $.prev $170 = (struct list *) 0xffe08008 (gdb) print $.prev $171 = (struct list *) 0x3fc12040 (gdb) print $.prev $172 = (struct list *) 0x3f812038 (gdb) print $.prev $173 = (struct list *) 0xffa07008 (gdb) print $.prev $174 = (struct list *) 0x3f012030 (gdb) print $.prev $175 = (struct list *) 0xff206008 (gdb) print $.prev $176 = (struct list *) 0x3e012028 (gdb) print $.prev $177 = (struct list *) 0xfe205008 (gdb) print $.prev $178 = (struct list *) 0x3c012020 (gdb) print $.prev $179 = (struct list *) 0xfc204008 (gdb) print $.prev $180 = (struct list *) 0x38012018 (gdb) print $.prev $181 = (struct list *) 0xf8203008 (gdb) print $.prev $182 = (struct list *) 0x30012010 (gdb) print $.prev $183 = (struct list *) 0xf0202008 (gdb) print $.prev $184 = (struct list *) 0xe0201008 (gdb) print $.prev $185 = (struct list *) 0x10012008 (gdb) print $.prev $186 = (struct list *) 0xc0200008 (gdb) print $.prev $187 = (struct list *) 0x40045008 (gdb) print $.prev $188 = (struct list *) 0x10011e70 (gdb) print $.prev $189 = (struct list *) 0x0 (gdb) PASS: gdb.base/bigcore.exp: check prev heap testcase ../../../../src/gdb/testsuite/gdb.base/bigcore.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/bitfields.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/bitfields.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/bitfields.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bitfields Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break1 Breakpoint 1 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/bitfields.c, line 28. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) print flags $1 = {uc = 1 '\001', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: print flags cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #1 print flags $2 = {uc = 0 '\0', s1 = -1, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s1) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #2 print flags $3 = {uc = 0 '\0', s1 = 0, u1 = 1, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u1) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #3 print flags $4 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s2) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #4 print flags $5 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 1, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u2) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #5 print flags $6 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 1, u3 = 0, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s3) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #6 print flags $7 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 1, s9 = 0, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u3) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #7 print flags $8 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 1, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (s9) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #8 print flags $9 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 1, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (u9) cont Continuing. Breakpoint 1, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:28 28 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break1 #9 print flags $10 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 0, u2 = 0, s3 = 0, u3 = 0, s9 = 0, u9 = 0, sc = 1 '\001'} (gdb) PASS: gdb.base/bitfields.exp: bitfield uniqueness (sc) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break2 Breakpoint 2 at 0x10000464: file ../../../../src/gdb/testsuite/gdb.base/bitfields.c, line 32. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields Breakpoint 2, break2 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:32 32 } (gdb) print/x flags $11 = {uc = 0xff, s1 = 0x0, u1 = 0x1, s2 = 0x0, u2 = 0x3, s3 = 0x0, u3 = 0x7, s9 = 0x0, u9 = 0x1ff, sc = 0x0} (gdb) PASS: gdb.base/bitfields.exp: bitfield containment #1 cont Continuing. Breakpoint 2, break2 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:32 32 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break2 print/x flags $12 = {uc = 0x0, s1 = 0xffffffff, u1 = 0x0, s2 = 0xffffffff, u2 = 0x0, s3 = 0xffffffff, u3 = 0x0, s9 = 0xffffffff, u9 = 0x0, sc = 0xff} (gdb) PASS: gdb.base/bitfields.exp: bitfield containment #2 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break3 Breakpoint 3 at 0x10000480: file ../../../../src/gdb/testsuite/gdb.base/bitfields.c, line 36. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields Breakpoint 3, break3 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:36 36 } (gdb) print flags $13 = {uc = 0 '\0', s1 = 0, u1 = 1, s2 = 0, u2 = 3, s3 = 0, u3 = 7, s9 = 0, u9 = 511, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: unsigned bitfield ranges delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break break4 Breakpoint 4 at 0x1000049c: file ../../../../src/gdb/testsuite/gdb.base/bitfields.c, line 40. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields Breakpoint 4, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) print flags $14 = {uc = 0 '\0', s1 = 0, u1 = 0, s2 = 1, u2 = 0, s3 = 3, u3 = 0, s9 = 255, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max positive values cont Continuing. Breakpoint 4, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break4 #1 print i $15 = -256 (gdb) PASS: gdb.base/bitfields.exp: determining signed-ness of bitfields print flags $16 = {uc = 0 '\0', s1 = -1, u1 = 0, s2 = -2, u2 = 0, s3 = -4, u3 = 0, s9 = -256, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields, max negative values cont Continuing. Breakpoint 4, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields.c:40 40 } (gdb) PASS: gdb.base/bitfields.exp: continuing to break4 #2 print flags $17 = {uc = 0 '\0', s1 = -1, u1 = 0, s2 = -1, u2 = 0, s3 = -1, u3 = 0, s9 = -1, u9 = 0, sc = 0 '\0'} (gdb) PASS: gdb.base/bitfields.exp: signed bitfields with -1 testcase ../../../../src/gdb/testsuite/gdb.base/bitfields.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/bitfields2.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/bitfields2.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields2 (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/bitfields2.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields2 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/bitfields2 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields2...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100009e4: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 169. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/bitfields2 Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:169 169 for (i = 0; i < 5; i += 1) (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break tester Breakpoint 2 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 70. (gdb) PASS: gdb.base/bitfields2.exp: break tester prior to break1 cont Continuing. Breakpoint 2, tester () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:70 70 memset ((char *) &flags, 0, sizeof (flags)); (gdb) PASS: gdb.base/bitfields2.exp: continuing to tester prior to break1 break break1 Breakpoint 3 at 0x10000470: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 26. (gdb) cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #0 print flags $1 = {u1 = 0, u2 = 0, u3 = 0, s1 = 1, s2 = 0, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.s1 = 1 cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #1 print flags $2 = {u1 = 1, u2 = 0, u3 = 0, s1 = 0, s2 = 0, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.u1 = 1 cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #2 print flags $3 = {u1 = 0, u2 = 0, u3 = 0, s1 = 0, s2 = 1, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.s2 = 1 cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #3 print flags $4 = {u1 = 0, u2 = 1, u3 = 0, s1 = 0, s2 = 0, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.u2 = 1 cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #4 print flags $5 = {u1 = 0, u2 = 0, u3 = 0, s1 = 0, s2 = 0, s3 = 1} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.s3 = 1 cont Continuing. Breakpoint 3, break1 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:26 26 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break1 #5 print flags $6 = {u1 = 0, u2 = 0, u3 = 1, s1 = 0, s2 = 0, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield uniqueness; flags.u3 = 1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break tester Breakpoint 4 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 70. (gdb) PASS: gdb.base/bitfields2.exp: break tester prior to break2 cont Continuing. Breakpoint 4, tester () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:70 70 memset ((char *) &flags, 0, sizeof (flags)); (gdb) PASS: gdb.base/bitfields2.exp: continuing to tester prior to break2 break break2 Breakpoint 5 at 0x1000048c: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 30. (gdb) cont Continuing. Breakpoint 5, break2 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:30 30 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break2 #0 print/x flags $7 = {u1 = 0x7fff, u2 = 0x0, u3 = 0xffff, s1 = 0x0, s2 = 0xffffffffffffffff, s3 = 0x0} (gdb) PASS: gdb.base/bitfields2.exp: bitfield containment; flags.u1, flags.u3, and flags.s3 to all 1s cont Continuing. Breakpoint 5, break2 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:30 30 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break2 #1 print/x flags $8 = {u1 = 0x0, u2 = 0x1ffffffff, u3 = 0x0, s1 = 0xffffffffffffffff, s2 = 0x0, s3 = 0xffffffffffffffff} (gdb) PASS: gdb.base/bitfields2.exp: bitfield containment; flags.u2, flags.s1, flags.s2 to all 1s delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break tester Breakpoint 6 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 70. (gdb) PASS: gdb.base/bitfields2.exp: break tester prior to break3 cont Continuing. Breakpoint 6, tester () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:70 70 memset ((char *) &flags, 0, sizeof (flags)); (gdb) PASS: gdb.base/bitfields2.exp: continuing to tester prior to break3 break break3 Breakpoint 7 at 0x100004a8: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 34. (gdb) cont Continuing. Breakpoint 7, break3 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:34 34 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break3 #0 print flags $9 = {u1 = 32767, u2 = 8589934591, u3 = 65535, s1 = 0, s2 = 0, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: maximum unsigned bitfield values delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break tester Breakpoint 8 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 70. (gdb) PASS: gdb.base/bitfields2.exp: break tester prior to break4 cont Continuing. Breakpoint 8, tester () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:70 70 memset ((char *) &flags, 0, sizeof (flags)); (gdb) PASS: gdb.base/bitfields2.exp: continuing to tester prior to break4 break break4 Breakpoint 9 at 0x100004c4: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 38. (gdb) cont Continuing. Breakpoint 9, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:38 38 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break4 #0 print flags $10 = {u1 = 0, u2 = 0, u3 = 0, s1 = 16383, s2 = 4294967295, s3 = 32767} (gdb) PASS: gdb.base/bitfields2.exp: maximum signed bitfield values cont Continuing. Breakpoint 9, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:38 38 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break4 #1 print i $11 = -32768 (gdb) PASS: gdb.base/bitfields2.exp: determining signed-ness of bitfields print flags $12 = {u1 = 0, u2 = 0, u3 = 0, s1 = -16384, s2 = -4294967296, s3 = -32768} (gdb) PASS: gdb.base/bitfields2.exp: most negative signed bitfield values cont Continuing. Breakpoint 9, break4 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:38 38 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break4 #2 print flags $13 = {u1 = 0, u2 = 0, u3 = 0, s1 = -1, s2 = -1, s3 = -1} (gdb) PASS: gdb.base/bitfields2.exp: signed bitfields containing -1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break tester Breakpoint 10 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 70. (gdb) PASS: gdb.base/bitfields2.exp: break tester prior to break5 cont Continuing. Breakpoint 10, tester () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:70 70 memset ((char *) &flags, 0, sizeof (flags)); (gdb) PASS: gdb.base/bitfields2.exp: continuing to tester prior to break5 break break5 Breakpoint 11 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/bitfields2.c, line 42. (gdb) cont Continuing. Breakpoint 11, break5 () at ../../../../src/gdb/testsuite/gdb.base/bitfields2.c:42 42 } (gdb) PASS: gdb.base/bitfields2.exp: continuing to break5 #0 print flags.u2 = 0x100000000 $14 = 4294967296 (gdb) PASS: gdb.base/bitfields2.exp: set long long unsigned bitfield print flags.s2 = 0x80000000 $15 = 2147483648 (gdb) PASS: gdb.base/bitfields2.exp: set long long signed bitfield positive print flags $16 = {u1 = 0, u2 = 4294967296, u3 = 0, s1 = 0, s2 = 2147483648, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: long long bitfield values after set print flags.s2 = -1 $17 = -1 (gdb) PASS: gdb.base/bitfields2.exp: set long long signed bitfield negative print flags $18 = {u1 = 0, u2 = 4294967296, u3 = 0, s1 = 0, s2 = -1, s3 = 0} (gdb) PASS: gdb.base/bitfields2.exp: long long bitfield values after set negative testcase ../../../../src/gdb/testsuite/gdb.base/bitfields2.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/bitops.exp ... spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) print !1 $1 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !1 print !0 $2 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of !0 print !100 $3 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !100 print !1000 $4 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !1000 print !10 $5 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !10 print !2 $6 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of !2 print 10 | 5 $7 = 15 (gdb) PASS: gdb.base/bitops.exp: print value of 10 | 5 print 10 & 5 $8 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 10 & 5 print 10 ^ 5 $9 = 15 (gdb) PASS: gdb.base/bitops.exp: print value of 10 ^ 5 print -!0 $10 = -1 (gdb) PASS: gdb.base/bitops.exp: print value of -!0 print ~-!0 $11 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of ~-!0 print 3 * 2 / 4.0 * 2.0 $12 = 3 (gdb) PASS: gdb.base/bitops.exp: print value of 3 * 2 / 4.0 * 2.0 print 8 << 2 >> 4 $13 = 2 (gdb) PASS: gdb.base/bitops.exp: print value of 8 << 2 >> 4 print -1 < 0 > 1 $14 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of -1 < 0 > 1 print 15 ^ 10 ^ 5 ^ 7 $15 = 7 (gdb) PASS: gdb.base/bitops.exp: print value of 15 ^ 10 ^ 5 ^ 7 print 3.5 < 4.0 $16 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3.5 < 4.0 print 3.5 < -4.0 $17 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3.5 < -4.0 print 2 > -3 $18 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 2 > -3 print -3>4 $19 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of -3>4 print (-3 > 4) $20 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of (-3 > 4) print 3>=2.5 $21 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3>=2.5 print 3>=4.5 $22 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3>=4.5 print 3==3.0 $23 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3==3.0 print 3==4.0 $24 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3==4.0 print 3!=3.0 $25 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 3!=3.0 print 3!=5.0 $26 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 3!=5.0 print 0 || 1 && 0 | 0 ^ 0 == 8 > 128 >>1 +2 *2 $27 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 || 1 && 0 | 0 ^ 0 == 8 > 128 >>1 +2 *2 print 1.0 || 0 $28 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 1.0 || 0 print 0.0 || 1.0 $29 = 1 (gdb) PASS: gdb.base/bitops.exp: print value of 0.0 || 1.0 print 0.0 || 0 $30 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0.0 || 0 print 0 || 1 && 0 | 0 ^ 0 == 8 $31 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 || 1 && 0 | 0 ^ 0 == 8 print 0 == 8 > 128 >> 1 + 2 * 2 $32 = 0 (gdb) PASS: gdb.base/bitops.exp: print value of 0 == 8 > 128 >> 1 + 2 * 2 testcase ../../../../src/gdb/testsuite/gdb.base/bitops.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/break.exp ... Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c Executing on host: gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/break Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) PASS: gdb.base/break.exp: Delete all breakpoints when none break main Breakpoint 1 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) PASS: gdb.base/break.exp: breakpoint function break "marker2" Breakpoint 2 at 0x10000748: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 41. (gdb) PASS: gdb.base/break.exp: breakpoint quoted function break break.c:factorial Breakpoint 3 at 0x100005e0: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 111. (gdb) PASS: gdb.base/break.exp: breakpoint function in file list main 80 int 81 main (argc, argv, envp) 82 int argc; 83 char *argv[], **envp; 84 #endif 85 { 86 #ifdef usestubs 87 set_debug_traps(); /* set breakpoint 5 here */ 88 breakpoint(); 89 #endif (gdb) PASS: gdb.base/break.exp: use `list' to establish default source file break 94 Breakpoint 4 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: breakpoint line number break 94 Note: breakpoint 4 also set at pc 0x10000524. Breakpoint 5 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: breakpoint duplicate break break.c:100 Breakpoint 6 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 100. (gdb) PASS: gdb.base/break.exp: breakpoint line number in file break multi_line_if_conditional Breakpoint 7 at 0x10000648: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 124. (gdb) PASS: gdb.base/break.exp: breakpoint at start of multi line if conditional break multi_line_while_conditional Breakpoint 8 at 0x100006ac: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 139. (gdb) PASS: gdb.base/break.exp: breakpoint at start of multi line while conditional info break Num Type Disp Enb Address What 1 breakpoint keep y 0x100004f8 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:90 2 breakpoint keep y 0x10000748 in marker2 at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 3 breakpoint keep y 0x100005e0 in factorial at ../../../../src/gdb/testsuite/gdb.base/break.c:111 4 breakpoint keep y 0x10000524 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:94 5 breakpoint keep y 0x10000524 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:94 6 breakpoint keep y 0x10000590 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:100 7 breakpoint keep y 0x10000648 in multi_line_if_conditional at ../../../../src/gdb/testsuite/gdb.base/break.c:124 8 breakpoint keep y 0x100006ac in multi_line_while_conditional at ../../../../src/gdb/testsuite/gdb.base/break.c:139 (gdb) PASS: gdb.base/break.exp: breakpoint info run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) PASS: gdb.base/break.exp: run until function breakpoint continue Continuing. Breakpoint 4, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 94 printf ("%d\n", factorial (atoi ("6"))); /* set breakpoint 1 here */ (gdb) PASS: gdb.base/break.exp: run until breakpoint set at a line number continue Continuing. Breakpoint 3, factorial (value=6) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(6) breakpoint continue Continuing. Breakpoint 3, factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(5) breakpoint continue Continuing. Breakpoint 3, factorial (value=4) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(4) breakpoint continue Continuing. Breakpoint 3, factorial (value=3) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(3) breakpoint continue Continuing. Breakpoint 3, factorial (value=2) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(2) breakpoint continue Continuing. Breakpoint 3, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: run until file:function(1) breakpoint continue Continuing. 720 Breakpoint 2, marker2 (a=43) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 41 int marker2 (a) int a; { return (1); } /* set breakpoint 9 here */ (gdb) PASS: gdb.base/break.exp: run until quoted breakpoint continue Continuing. Breakpoint 6, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:100 100 argc = (argc == 12345); /* This is silly, but we can step off of it */ /* set breakpoint 2 here */ (gdb) PASS: gdb.base/break.exp: run until file:linenum breakpoint break +1 Breakpoint 9 at 0x100005a4: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 101. (gdb) PASS: gdb.base/break.exp: breakpoint offset +1 step Breakpoint 9, main (argc=0, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:101 101 return argc; /* set breakpoint 10 here */ (gdb) PASS: gdb.base/break.exp: step onto breakpoint delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) tbreak main Breakpoint 10 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint function tbreak break.c:factorial Breakpoint 11 at 0x100005e0: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 111. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint function in file tbreak 94 Breakpoint 12 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #1 tbreak 90 Note: breakpoint 10 also set at pc 0x100004f8. Breakpoint 13 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number #2 tbreak break.c:100 Breakpoint 14 at 0x10000590: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 100. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #1 tbreak break.c:96 Breakpoint 15 at 0x10000558: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 96. (gdb) PASS: gdb.base/break.exp: Temporary breakpoint line number in file #2 info break Num Type Disp Enb Address What 10 breakpoint del y 0x100004f8 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:90 11 breakpoint del y 0x100005e0 in factorial at ../../../../src/gdb/testsuite/gdb.base/break.c:111 12 breakpoint del y 0x10000524 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:94 13 breakpoint del y 0x100004f8 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:90 14 breakpoint del y 0x10000590 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:100 15 breakpoint del y 0x10000558 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:96 (gdb) PASS: gdb.base/break.exp: Temporary breakpoint info delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 16 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 16, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) catch Catch requires an event name. (gdb) PASS: gdb.base/break.exp: catch requires an event name catch fork Catchpoint 17 (fork) (gdb) PASS: gdb.base/break.exp: set catch fork, never expected to trigger catch vfork Catchpoint 18 (vfork) (gdb) PASS: gdb.base/break.exp: set catch vfork, never expected to trigger catch exec Catchpoint 19 (exec) (gdb) PASS: gdb.base/break.exp: set catch exec, never expected to trigger break 999 No line 999 in file "../../../../src/gdb/testsuite/gdb.base/break.c". (gdb) PASS: gdb.base/break.exp: break on non-existent source line until 94 warning: inserting catchpoint 17: Your system does not support fork catchpoints. warning: inserting catchpoint 18: Your system does not support vfork catchpoints. warning: inserting catchpoint 19: Your system does not support exec catchpoints. main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 94 printf ("%d\n", factorial (atoi ("6"))); /* set breakpoint 1 here */ (gdb) PASS: gdb.base/break.exp: until bp_location1 break Breakpoint 20 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: break on default location, 1st time break Note: breakpoint 20 also set at pc 0x10000524. Breakpoint 21 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: break on default location, 2nd time break Note: breakpoints 20 and 21 also set at pc 0x10000524. Breakpoint 22 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: break on default location, 3rd time break Note: breakpoints 20, 21 and 22 also set at pc 0x10000524. Breakpoint 23 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: break on default location, 4th time delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 24 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 24, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) break 94 Breakpoint 25 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/break.exp: set to-be-silent break bp_location1 commands 25 Type commands for when breakpoint 25 is hit, one per line. End with a line saying just "end". >silent >end (gdb) PASS: gdb.base/break.exp: set silent break bp_location1 info break 25 Num Type Disp Enb Address What 25 breakpoint keep y 0x10000524 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:94 silent (gdb) PASS: gdb.base/break.exp: info silent break bp_location1 continue Continuing. (gdb) PASS: gdb.base/break.exp: hit silent break bp_location1 bt #0 main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 (gdb) PASS: gdb.base/break.exp: stopped for silent break bp_location1 break 95 thread 999 Unknown thread 999. (gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on non-existent thread disallowed break 95 thread foo Junk after thread keyword. (gdb) PASS: gdb.base/break.exp: thread-specific breakpoint on bogus thread ID disallowed break 95 foo Junk at end of arguments. (gdb) PASS: gdb.base/break.exp: breakpoint with trailing garbage disallowed next 720 96 marker1 (); /* set breakpoint 11 here */ (gdb) PASS: gdb.base/break.exp: step over breakpoint clear 81 No breakpoint at 81. (gdb) PASS: gdb.base/break.exp: clear line has no breakpoint disallowed clear No breakpoint at this line. (gdb) PASS: gdb.base/break.exp: clear current line has no breakpoint disallowed break marker3 Breakpoint 26 at 0x10000774: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 42. (gdb) PASS: gdb.base/break.exp: break marker3 #1 break marker3 Note: breakpoint 26 also set at pc 0x10000774. Breakpoint 27 at 0x10000774: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 42. (gdb) PASS: gdb.base/break.exp: break marker3 #2 clear marker3 Deleted breakpoints 27 26 (gdb) PASS: gdb.base/break.exp: clear marker3 set $foo=96 (gdb) PASS: gdb.base/break.exp: set convenience variable $foo to bp_location11 break $foo Breakpoint 28 at 0x10000558: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 96. (gdb) PASS: gdb.base/break.exp: set breakpoint via convenience variable set $foo=81.5 (gdb) PASS: gdb.base/break.exp: set convenience variable $foo to 81.5 break $foo Convenience variables used in line specs must have integer values. (gdb) PASS: gdb.base/break.exp: set breakpoint via non-integer convenience variable disallowed break marker2 Breakpoint 29 at 0x10000748: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 41. (gdb) PASS: gdb.base/break.exp: set breakpoint on to-be-called function print marker2(99) Breakpoint 29, marker2 (a=99) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 41 int marker2 (a) int a; { return (1); } /* set breakpoint 9 here */ The program being debugged stopped while in a function called from GDB. When the function (marker2) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/break.exp: hit breakpoint on called function bt #0 marker2 (a=99) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 #1 #2 main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:96 (gdb) PASS: gdb.base/break.exp: backtrace while in called function finish Run till exit from #0 marker2 (a=99) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 Value returned is $1 = 1 (gdb) PASS: gdb.base/break.exp: finish from called function delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 30 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 30, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) finish 123 The "finish" command does not take any arguments. (gdb) PASS: gdb.base/break.exp: finish with arguments disallowed finish "finish" not meaningful in the outermost frame. (gdb) PASS: gdb.base/break.exp: finish from outermost frame disallowed kill Kill the program being debugged? (y or n) y (gdb) PASS: gdb.base/break.exp: kill program delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 31 at 0x100005e0: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 111. (gdb) PASS: gdb.base/break.exp: break at factorial run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 31, factorial (value=6) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) continue Continuing. Breakpoint 31, factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 111 if (value > 1) { /* set breakpoint 7 here */ (gdb) PASS: gdb.base/break.exp: continue to factorial(5) backtrace #0 factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/break.c:111 #1 0x10000600 in factorial (value=6) at ../../../../src/gdb/testsuite/gdb.base/break.c:112 #2 0x10000540 in main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 (gdb) PASS: gdb.base/break.exp: backtrace from factorial(5) next 112 value *= factorial (value - 1); (gdb) PASS: gdb.base/break.exp: next to recursive call delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) next 110 { (gdb) FAIL: gdb.base/break.exp: next over recursive call backtrace #0 factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/break.c:110 #1 0x10000600 in factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/break.c:112 #2 0x10000540 in main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 (gdb) FAIL: gdb.base/break.exp: backtrace from factorial(5.1) continue Continuing. 720 Program exited normally. (gdb) PASS: gdb.base/break.exp: continue until exit at recursive next test Executing on host: gcc -w -O2 -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO0.o ../../../../src/gdb/testsuite/gdb.base/break.c (timeout = 300) spawn gcc -w -O2 -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO0.o ../../../../src/gdb/testsuite/gdb.base/break.c Executing on host: gcc -w -O2 -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO1.o ../../../../src/gdb/testsuite/gdb.base/break1.c (timeout = 300) spawn gcc -w -O2 -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO1.o ../../../../src/gdb/testsuite/gdb.base/break1.c Executing on host: gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breako2 (timeout = 300) spawn gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breakO1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breako2 get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/breako2 Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breako2...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) break main Breakpoint 1 at 0x100005c4: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) PASS: gdb.base/break.exp: breakpoint function, optimized file break marker4 Breakpoint 2 at 0x10000684: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 41. (gdb) PASS: gdb.base/break.exp: breakpoint small function, optimized file run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/breako2 Breakpoint 1, main (argc=1, argv=0x0, envp=0xa) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) PASS: gdb.base/break.exp: run until function breakpoint, optimized file continue Continuing. 720 Breakpoint 2, marker4 (d=177601976) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 41 int marker2 (a) int a; { return (1); } /* set breakpoint 9 here */ (gdb) FAIL: gdb.base/break.exp: run until breakpoint set at small function, optimized file testcase ../../../../src/gdb/testsuite/gdb.base/break.exp completed in 2 seconds Running ../../../../src/gdb/testsuite/gdb.base/call-ar-st.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-ar-st (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-ar-st get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-ar-st Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-ar-st...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1195. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-ar-st Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1195 1195 for (index = 0; index < 120; index++) { (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/call-ar-st.c Contains 1339 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) tbreak 1209 Breakpoint 2: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1209. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1209 continue Continuing. main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1209 1209 for (index = 0; index < 50; index++) { (gdb) PASS: gdb.base/call-ar-st.exp: run until breakpoint set at a line print print_double_array(double_array) array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 $1 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_double_array(double_array) print print_char_array(char_array) array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa $2 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_char_array(char_array) tbreak 1216 Breakpoint 3: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1216. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1216 continue Continuing. array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1216 1216 print_double_array(double_array); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1216 tbreak 1220 Breakpoint 4: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1220. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1220 continue Continuing. array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 array_f : ========= 0.000000 0.142450 0.284900 0.427350 0.569801 0.712251 0.854701 0.997151 1.139601 1.282051 1.424501 1.566952 1.709402 1.851852 1.994302 student id : 23 shirt color : YELLOW array_i : ========= 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1220 1220 print_all_arrays(integer_array, char_array, float_array, double_array); (gdb) PASS: gdb.base/call-ar-st.exp: continuing to breakpoint 1220 step print_all_arrays (array_i=, array_c="ZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZa", array_f=, array_d=) at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:306 306 print_int_array(array_i); (gdb) PASS: gdb.base/call-ar-st.exp: step inside print_all_arrays next array_i : ========= 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 307 print_char_array(array_c); (gdb) PASS: gdb.base/call-ar-st.exp: next over print_int_array in print-all_arrays print print_double_array(array_d) array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 $3 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_double_array(array_d) tbreak 1236 Breakpoint 5: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1236. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1236 continue Continuing. array_c : ========= Z aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZaZ aZaZaZaZaZaZaZaZaZa array_f : ========= 0.000000 0.142450 0.284900 0.427350 0.569801 0.712251 0.854701 0.997151 1.139601 1.282051 1.424501 1.566952 1.709402 1.851852 1.994302 array_d : ========= 0.000000 23.456700 46.913400 70.370100 93.826800 117.283500 140.740200 164.196900 187.653600 HELLO WORLD main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1236 1236 printf("BYE BYE FOR NOW\n"); (gdb) PASS: gdb.base/call-ar-st.exp: continuing to 1236 print sum_array_print(10, *list1, *list2, *list3, *list4) Sum of 4 arrays, by element (add in seed as well): Seed: 10 Element Index | Sum ------------------------- | 0 52 1 60 2 68 3 76 4 84 5 92 6 100 7 108 8 116 9 124 $4 = void (gdb) PASS: gdb.base/call-ar-st.exp: print sum_array_print(10, *list1, *list2, *list3, *list4) next BYE BYE FOR NOW 1237 printf("VERY GREEN GRASS\n"); (gdb) PASS: gdb.base/call-ar-st.exp: next to 1237 print print_array_rep(*list1, *list2, *list3) Contents of linked list1: Element Value | Index of Next Element ------------------------------------- | 4 1 6 2 8 3 10 4 12 5 14 6 16 7 18 8 20 9 22 10 Contents of linked list2: Element Value | Index of Next Element ------------------------------------- | 8 1 10 2 12 3 14 4 16 5 18 6 20 7 22 8 24 9 26 10 Contents of linked list3: Element Value | Index of Next Element ------------------------------------- | 10 1 12 2 14 3 16 4 18 5 20 6 22 7 24 8 26 9 28 10 $5 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_array_rep(*list1, *list2, *list3) tbreak 1241 Breakpoint 6: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1241. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1241 continue Continuing. VERY GREEN GRASS main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1241 1241 sum_array_print(10, *list1, *list2, *list3, *list4); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1241 break sum_array_print Breakpoint 7: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1105. (gdb) PASS: gdb.base/call-ar-st.exp: set breakpoint in sum_array_print continue Continuing. Breakpoint 7, sum_array_print (seed=10, linked_list1={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22}, head = 0}, linked_list2={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {8, 10, 12, 14, 16, 18, 20, 22, 24, 26}, head = 0}, linked_list3={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {10, 12, 14, 16, 18, 20, 22, 24, 26, 28}, head = 0}, linked_list4={next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {20, 22, 24, 26, 28, 30, 32, 34, 36, 38}, head = 0}) at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1105 1105 printf("Sum of 4 arrays, by element (add in seed as well): \n\n"); (gdb) PASS: gdb.base/call-ar-st.exp: check args of sum_array_print tbreak 1281 Breakpoint 8: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1281. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1281 continue Continuing. Sum of 4 arrays, by element (add in seed as well): Seed: 10 Element Index | Sum ------------------------- | 0 52 1 60 2 68 3 76 4 84 5 92 6 100 7 108 8 116 9 124 Contents of linked list1: Element Value | Index of Next Element ------------------------------------- | 4 1 6 2 8 3 10 4 12 5 14 6 16 7 18 8 20 9 22 10 Contents of linked list2: Element Value | Index of Next Element ------------------------------------- | 8 1 10 2 12 3 14 4 16 5 18 6 20 7 22 8 24 9 26 10 Contents of linked list3: Element Value | Index of Next Element ------------------------------------- | 10 1 12 2 14 3 16 4 18 5 20 6 22 7 24 8 26 9 28 10 4 1 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1281 1281 c = 0; (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1281 print print_small_structs(*struct1, *struct2, *struct3, *struct4, *flags, *flags_combo, *three_char, *five_char, *int_char_combo, *d1, *d2, *d3, *f1, *f2, *f3) alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 $6 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_small_structs print compute_with_small_structs(20) $7 = void (gdb) PASS: gdb.base/call-ar-st.exp: print compute_with_small_structs(20) print print_ten_doubles(123.456, 123.456, -0.12, -1.23, 343434.8, 89.098, 3.14, -5678.12345, -0.11111111, 216.97065) Two Doubles : 123.456000 123.456000 Two Doubles : -0.120000 -1.230000 Two Doubles : 343434.800000 89.098000 Two Doubles : 3.140000 -5678.123450 Two Doubles : -0.111111 216.970650 $8 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_ten_doubles tbreak 1286 Breakpoint 9: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1286. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1286 continue Continuing. main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1286 1286 print_long_arg_list ( a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1286 tbreak print_long_arg_list Breakpoint 10: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 992. (gdb) PASS: gdb.base/call-ar-st.exp: tbreak in print_long_arg_list after stepping into memcpy continue Continuing. print_long_arg_list (a=22.25, b=33.375, c=0, d=-25, e=100, f=2345, struct1={value = 6, head = 0}, struct2={value = 10, head = 0}, struct3={value = 12, head = 0}, struct4={value = 14, head = 0}, flags={alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0}, flags_combo={alpha = 1, beta = 0, ch1 = 121 'y', gamma = 1, delta = 0, ch2 = 110 'n', epsilon = 1, omega = 0}, three_char={ch1 = 97 'a', ch2 = 98 'b', ch3 = 99 'c'}, five_char={ch1 = 108 'l', ch2 = 109 'm', ch3 = 110 'n', ch4 = 111 'o', ch5 = 112 'p'}, int_char_combo={int1 = 123, ch1 = 122 'z'}, d1={double1 = 10.5}, d2={double1 = -3.375}, d3={double1 = 675.09375}, f1={float1 = 45.2340012, float2 = 43.5999985}, f2={float1 = 78.0100021, float2 = 122.099998}, f3={float1 = -1232.34497, float2 = -199.210007}) at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:992 992 printf("double : %f\n", a); (gdb) PASS: gdb.base/call-ar-st.exp: step into print_long_arg_list print print_small_structs(struct1, struct2, struct3, struct4, flags, flags _combo, three_char, five_char, int_char_combo, d1, d2, d3, f1, f2, f3) alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 $9 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list tbreak 1300 Breakpoint 11: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1300. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1300 continue Continuing. double : 22.250000 double : 33.375000 int : 0 int : -25 int : 100 int : 2345 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: a b c Contents of five_char_t: l m n o p Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 10.500000 Contents of one_double_t: -3.375000 Contents of one_double_t: 675.093750 Contents of two_floats_t: 45.234001 43.599998 Contents of two_floats_t: 78.010002 122.099998 Contents of two_floats_t: -1232.344971 -199.210007 main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1300 1300 init_bit_flags_combo(flags_combo, (unsigned)1, (unsigned)0, 'y', (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1300 step init_bit_flags_combo (bit_flags_combo=, a=1, b=0, ch1=121 'y', g=1, d=0, ch2=110 'n', e=1, o=0) at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:416 416 bit_flags_combo->alpha = a; (gdb) PASS: gdb.base/call-ar-st.exp: step into init_bit_flags_combo print print_bit_flags_combo(*bit_flags_combo) alpha gamma epsilon ch1: y ch2: n $10 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_bit_flags_combo from init_bit_flags_combo tbreak 1305 Breakpoint 12: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1305. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1305 continue Continuing. main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1305 1305 init_int_char_combo(int_char_combo, 13, '!'); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1305 print print_long_arg_list(a, b, c, d, e, f, *struct1, *struct2, *struct3, *struct4, *flags, *flags_combo, *three_char, *five_char, *int_char_combo, *d1, * d2, *d3, *f1, *f2, *f3) double : 22.250000 double : 33.375000 int : 0 int : -25 int : 100 int : 2345 alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: x y z Contents of five_char_t: h e l l o Contents of int_char_combo_t: 123 z Sum of the 4 struct values and seed : 52 Contents of struct1: 6 0 Contents of struct2: 10 0 Contents of struct3: 12 0 Contents of one_double_t: 1.111110 Contents of one_double_t: -345.340000 Contents of one_double_t: 546464.200000 Contents of two_floats_t: 0.234000 453.100006 Contents of two_floats_t: 78.345001 23.090000 Contents of two_floats_t: -2.345000 1.000000 $11 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_long_arg_list tbreak 1311 Breakpoint 13: file ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c, line 1311. (gdb) PASS: gdb.base/call-ar-st.exp: tbreakpoint line 1311 continue Continuing. main () at ../../../../src/gdb/testsuite/gdb.base/call-ar-st.c:1311 1311 compute_with_small_structs(35); (gdb) PASS: gdb.base/call-ar-st.exp: continue to 1311 print sum_struct_print(10, *struct1, *struct2, *struct3, *struct4) Sum of the 4 struct values and seed : 218 $12 = void (gdb) PASS: gdb.base/call-ar-st.exp: print sum_struct_print(10, *struct1, *struct2, *struct3, *struct4) print print_struct_rep(*struct1, *struct2, *struct3) Contents of struct1: 22 0 Contents of struct2: 42 0 Contents of struct3: 62 0 $13 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3) print print_one_large_struct(*list1) 4 1 $14 = void (gdb) PASS: gdb.base/call-ar-st.exp: print print_one_large_struct(*list1) testcase ../../../../src/gdb/testsuite/gdb.base/call-ar-st.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/call-rt-st.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-rt-st (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-rt-st get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-rt-st Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-rt-st...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c, line 700. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-rt-st Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c:700 700 int number = 10; (gdb) break loop_count Breakpoint 2: file ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c, line 128. (gdb) PASS: gdb.base/call-rt-st.exp: breakpoint loop_count continue Continuing. 4 1 Contents of one_double_t: 1.111110 Contents of two_floats_t: -2.345000 1.000000 alpha gamma epsilon alpha gamma epsilon alpha gamma epsilon alpha gamma epsilon ch1: y ch2: n Contents of three_char_t: x y z Contents of five_char_t: h e l l o Contents of int_char_combo_t: 13 ! Contents of struct1: 22 0 Breakpoint 2, loop_count () at ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c:128 128 for (index=0; index<4; index++); (gdb) PASS: gdb.base/call-rt-st.exp: continue to loop_count finish Run till exit from #0 loop_count () at ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c:128 main () at ../../../../src/gdb/testsuite/gdb.base/call-rt-st.c:777 777 return 0; (gdb) PASS: gdb.base/call-rt-st.exp: finish out from loop_count (line 777) print print_struct_rep(*struct1) Contents of struct1: 22 0 $1 = {value = 5, head = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_struct_rep(*struct1) print print_one_large_struct(*list1) 4 1 $2 = {next_index = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, values = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22}, head = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_one_large_struct(*list1) print print_one_double(*d1) Contents of one_double_t: 1.111110 $3 = {double1 = 1.11111} (gdb) PASS: gdb.base/call-rt-st.exp: print print_one_double(*d1) print print_two_floats(*f3) Contents of two_floats_t: -2.345000 1.000000 $4 = {float1 = -2.34500003, float2 = 1} (gdb) PASS: gdb.base/call-rt-st.exp: print print_two_floats(*f3) print print_bit_flags_char(*cflags) alpha gamma epsilon $5 = {alpha = 1 '\001', beta = 0 '\0', gamma = 1 '\001', delta = 0 '\0', epsilon = 1 '\001', omega = 0 '\0'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags_char(*cflags) print print_bit_flags_short(*sflags) alpha gamma epsilon $6 = {alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags_short(*sflags) print print_bit_flags(*flags) alpha gamma epsilon $7 = {alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags(*flags) print print_bit_flags_combo(*flags_combo) alpha gamma epsilon ch1: y ch2: n $8 = {alpha = 1, beta = 0, ch1 = 121 'y', gamma = 1, delta = 0, ch2 = 110 'n', epsilon = 1, omega = 0} (gdb) PASS: gdb.base/call-rt-st.exp: print print_bit_flags_combo(*flags_combo) print print_three_chars(*three_char) Contents of three_char_t: x y z $9 = {ch1 = 120 'x', ch2 = 121 'y', ch3 = 122 'z'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_three_chars(*three_char) print print_five_chars(*five_char) Contents of five_char_t: h e l l o $10 = {ch1 = 104 'h', ch2 = 101 'e', ch3 = 108 'l', ch4 = 108 'l', ch5 = 111 'o'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_five_chars(*five_char) print print_int_char_combo(*int_char_combo) Contents of int_char_combo_t: 13 ! $11 = {int1 = 13, ch1 = 33 '!'} (gdb) PASS: gdb.base/call-rt-st.exp: print print_int_char_combo(*int_char_combo) testcase ../../../../src/gdb/testsuite/gdb.base/call-rt-st.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/call-sc.exp ... get_compiler_info: gcc-3-3-3 Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tc -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tc (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tc -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tc spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-tc Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tc...done. Using host libthread_db library "/lib/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 ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tc Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tc call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tc p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-tc advance fun fun () at ../../../../src/gdb/testsuite/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 $3 = 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 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tc backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-tc advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tc p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tc finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-tc p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-tc PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tc Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=ts -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ts (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=ts -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ts spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-ts Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ts...done. Using host libthread_db library "/lib/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 ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ts Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-ts call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-ts p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-ts advance fun fun () at ../../../../src/gdb/testsuite/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 $3 = 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 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-ts backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-ts advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-ts p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-ts finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-ts p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-ts PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-ts Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=ti -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ti (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=ti -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ti spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-ti Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ti...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-ti set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-ti set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-ti delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-ti Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 ti type = int (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-ti (int) ptype foo type = int (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-ti int p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-ti call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-ti p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-ti advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-ti p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-ti return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-ti backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-ti advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-ti p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-ti finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-ti p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-ti PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-ti Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tl -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tl (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tl -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tl spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-tl Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tl...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-tl set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-tl set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-tl delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tl Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 tl type = long int (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tl (long int) ptype foo type = long int (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tl long int p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tl call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tl p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-tl advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-tl p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tl return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tl backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-tl advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tl p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tl finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-tl p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-tl PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tl Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tll -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tll (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tll -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tll spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-tll Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tll...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-tll set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-tll set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-tll delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tll Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 tll type = long long int (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tll (long long int) ptype foo type = long long int (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tll long long int p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tll call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tll p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-tll advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-tll p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tll return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tll backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-tll advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tll p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tll finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-tll p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-tll PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tll Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tf -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tf (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tf -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tf spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-tf Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tf...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-tf set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-tf set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-tf delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tf Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 tf type = float (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tf (float) ptype foo type = float (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tf float p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tf call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tf p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-tf advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-tf p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tf return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tf backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-tf advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tf p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tf finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-tf p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-tf PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tf Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=td -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-td (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=td -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-td spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-td Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-td...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-td set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-td set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-td delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-td Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 td type = double (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-td (double) ptype foo type = double (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-td double p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-td call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-td p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-td advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-td p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-td return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-td backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-td advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-td p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-td finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-td p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-td PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-td Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tld -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tld (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=tld -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tld spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-tld Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tld...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-tld set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-tld set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-tld delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-tld Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 tld type = long double (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-tld (long double) ptype foo type = long double (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-tld long double p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-tld call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-tld p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-tld advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-tld p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-tld return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-tld backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-tld advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-tld p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-tld finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = 49 (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-tld p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-tld PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-tld Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=te -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-te (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-sc.c -DT=te -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-te spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-sc-te Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-te...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/call-sc.exp: set print sevenbit-strings; call-sc-te set print address off (gdb) PASS: gdb.base/call-sc.exp: set print address off; call-sc-te set width 0 (gdb) PASS: gdb.base/call-sc.exp: set width 0; call-sc-te delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-sc.c, line 68. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-sc-te Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:68 68 Fun(foo); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/call-sc.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/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 te type = enum {e = 49} (gdb) PASS: gdb.base/call-sc.exp: ptype; call-sc-te (enum {e = 49}) ptype foo type = enum {e = 49} (gdb) PASS: gdb.base/call-sc.exp: ptype foo; call-sc-te enum {e = 49} p/c fun() $1 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c fun(); call call-sc-te call Fun(foo) (gdb) PASS: gdb.base/call-sc.exp: call Fun(foo); call call-sc-te p/c L $2 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: p/c L; call call-sc-te advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for return; return call-sc-te p/c L $3 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for return; return call-sc-te return foo Make fun return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); (gdb) next 79 zed (); (gdb) PASS: gdb.base/call-sc.exp: return foo; return call-sc-te backtrace 1 #0 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:79 (gdb) PASS: gdb.base/call-sc.exp: return foo; synchronize pc to main() p/c L $4 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo returned; return call-sc-te advance fun fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 42 return foo; (gdb) PASS: gdb.base/call-sc.exp: advance to fun for finish; return call-sc-te p/c L $5 = 90 'Z' (gdb) PASS: gdb.base/call-sc.exp: zed L for finish; return call-sc-te finish Run till exit from #0 fun () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:42 main () at ../../../../src/gdb/testsuite/gdb.base/call-sc.c:78 78 L = fun (); Value returned is $6 = e (gdb) PASS: gdb.base/call-sc.exp: finish foo; return call-sc-te p/c $7 = 49 '1' (gdb) PASS: gdb.base/call-sc.exp: value foo finished; return call-sc-te PASS: gdb.base/call-sc.exp: return and finish use same convention; return call-sc-te testcase ../../../../src/gdb/testsuite/gdb.base/call-sc.exp completed in 3 seconds Running ../../../../src/gdb/testsuite/gdb.base/call-strs.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/call-strs.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-strs (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/call-strs.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-strs spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/call-strs Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-strs...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/call-strs.c, line 72. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/call-strs Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/call-strs.c:72 72 s = &buf[0]; (gdb) step 73 strcpy(buf, "test string"); (gdb) PASS: gdb.base/call-strs.exp: step after assignment to s next 74 str_func("abcd", "efgh", "ijkl", "mnop", "qrst", "uvwx", "yz12"); (gdb) PASS: gdb.base/call-strs.exp: next over strcpy print buf $1 = "test string", '\0' (gdb) PASS: gdb.base/call-strs.exp: print buf print s $2 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print s print str_func1(s) first string arg is: test string $3 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1(s) print str_func1("test string") first string arg is: test string $4 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1("test string") call str_func1(s) first string arg is: test string $5 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1(s) call str_func1("test string") first string arg is: test string $6 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1("test string") print str_func1(buf) first string arg is: test string $7 = "test string" (gdb) PASS: gdb.base/call-strs.exp: print str_func1(buf) call str_func1(buf) first string arg is: test string $8 = "test string" (gdb) PASS: gdb.base/call-strs.exp: call str_func1(buf) print str_func("a","b","c","d","e","f","g") first string arg is: a second string arg is: b third string arg is: c fourth string arg is: d fifth string arg is: e sixth string arg is: f seventh string arg is: g $9 = "abcdefg" (gdb) PASS: gdb.base/call-strs.exp: print str_func("a","b","c","d","e","f","g") call str_func("a","b","c","d","e","f","g") first string arg is: a second string arg is: b third string arg is: c fourth string arg is: d fifth string arg is: e sixth string arg is: f seventh string arg is: g $10 = "abcdefg" (gdb) PASS: gdb.base/call-strs.exp: call str_func("a","b","c","d","e","f","g") print str_func(s,s,s,s,s,s,s) first string arg is: test string second string arg is: test string third string arg is: test string fourth string arg is: test string fifth string arg is: test string sixth string arg is: test string seventh string arg is: test string $11 = "test stringtest stringtest stringtest stringtest stringtest stringtest string" (gdb) PASS: gdb.base/call-strs.exp: print str_func(s,s,s,s,s,s,s) call str_func(s,s,s,s,s,s,s) first string arg is: test string second string arg is: test string third string arg is: test string fourth string arg is: test string fifth string arg is: test string sixth string arg is: test string seventh string arg is: test string $12 = "test stringtest stringtest stringtest stringtest stringtest stringtest string" (gdb) PASS: gdb.base/call-strs.exp: call str_func(s,s,s,s,s,s,s) testcase ../../../../src/gdb/testsuite/gdb.base/call-strs.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/callfuncs.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/callfuncs.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/callfuncs (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/callfuncs.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/callfuncs get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/callfuncs Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/callfuncs...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) PASS: gdb.base/callfuncs.exp: set print sevenbit-strings set print address off (gdb) PASS: gdb.base/callfuncs.exp: set print address off set width 0 (gdb) PASS: gdb.base/callfuncs.exp: set width 0 set language c (gdb) show language The current source language is "c". (gdb) PASS: gdb.base/callfuncs.exp: set language to "c" delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1: file ../../../../src/gdb/testsuite/gdb.base/callfuncs.c, line 389. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/callfuncs Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:389 389 malloc(1); (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/callfuncs.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/callfuncs.c Contains 393 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) next 390 t_double_values(double_val1, double_val2); (gdb) PASS: gdb.base/callfuncs.exp: next to t_double_values next 391 t_structs_c(struct_val1); (gdb) PASS: gdb.base/callfuncs.exp: next to t_structs_c info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) p t_char_values(0,0) $1 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(0,0) p t_char_values('a','b') $2 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a','b') p t_char_values(char_val1,char_val2) $3 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,char_val2) p t_char_values('a',char_val2) $4 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values('a',char_val2) p t_char_values(char_val1,'b') $5 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_values(char_val1,'b') p t_short_values(0,0) $6 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(0,0) p t_short_values(10,-23) $7 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,-23) p t_short_values(short_val1,short_val2) $8 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,short_val2) p t_short_values(10,short_val2) $9 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(10,short_val2) p t_short_values(short_val1,-23) $10 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_short_values(short_val1,-23) p t_int_values(0,0) $11 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(0,0) p t_int_values(87,-26) $12 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,-26) p t_int_values(int_val1,int_val2) $13 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,int_val2) p t_int_values(87,int_val2) $14 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(87,int_val2) p t_int_values(int_val1,-26) $15 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_int_values(int_val1,-26) p t_long_values(0,0) $16 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(0,0) p t_long_values(789,-321) $17 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,-321) p t_long_values(long_val1,long_val2) $18 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,long_val2) p t_long_values(789,long_val2) $19 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(789,long_val2) p t_long_values(long_val1,-321) $20 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_long_values(long_val1,-321) p t_float_values(0.0,0.0) $21 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(0.0,0.0) p t_float_values(3.14159,-2.3765) $22 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,-2.3765) p t_float_values(float_val1,float_val2) $23 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,float_val2) p t_float_values(3.14159,float_val2) $24 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(3.14159,float_val2) p t_float_values(float_val1,-2.3765) $25 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values(float_val1,-2.3765) p t_float_values2(0.0,0.0) $26 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(0.0,0.0) p t_float_values2(3.14159,float_val2) $27 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_float_values2(3.14159,float_val2) p t_small_values(1,2,3,4,5,6,7,8,9,10) $28 = 55 (gdb) PASS: gdb.base/callfuncs.exp: p t_small_values(1,2,3,4,5,6,7,8,9,10) p t_double_values(0.0,0.0) $29 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(0.0,0.0) p t_double_values(45.654,-67.66) $30 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,-67.66) p t_double_values(double_val1,double_val2) $31 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,double_val2) p t_double_values(45.654,double_val2) $32 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(45.654,double_val2) p t_double_values(double_val1,-67.66) $33 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_double_values(double_val1,-67.66) p t_string_values(string_val2,string_val1) $34 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val2,string_val1) p t_string_values(string_val1,string_val2) $35 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,string_val2) p t_string_values("string 1","string 2") $36 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1","string 2") p t_string_values("string 1",string_val2) $37 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values("string 1",string_val2) p t_string_values(string_val1,"string 2") $38 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_string_values(string_val1,"string 2") p t_char_array_values(char_array_val2,char_array_val1) $39 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val2,char_array_val1) p t_char_array_values(char_array_val1,char_array_val2) $40 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val1,char_array_val2) p t_char_array_values("carray 1","carray 2") $41 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values("carray 1","carray 2") p t_char_array_values("carray 1",char_array_val2) $42 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values("carray 1",char_array_val2) p t_char_array_values(char_array_val1,"carray 2") $43 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_char_array_values(char_array_val1,"carray 2") p doubleit(4) $44 = 8 (gdb) PASS: gdb.base/callfuncs.exp: p doubleit(4) p add(4,5) $45 = 9 (gdb) PASS: gdb.base/callfuncs.exp: p add(4,5) p t_func_values(func_val2,func_val1) $46 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val2,func_val1) p t_func_values(func_val1,func_val2) $47 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,func_val2) p t_func_values(add,func_val2) $48 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(add,func_val2) p t_func_values(func_val1,doubleit) $49 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_func_values(func_val1,doubleit) p t_call_add(add,3,4) $50 = 7 (gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(add,3,4) p t_call_add(func_val1,3,4) $51 = 7 (gdb) PASS: gdb.base/callfuncs.exp: p t_call_add(func_val1,3,4) p t_enum_value1(enumval1) $52 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enumval1) p t_enum_value1(enum_val1) $53 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val1) p t_enum_value1(enum_val2) $54 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value1(enum_val2) p t_enum_value2(enumval2) $55 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enumval2) p t_enum_value2(enum_val2) $56 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val2) p t_enum_value2(enum_val1) $57 = 0 (gdb) PASS: gdb.base/callfuncs.exp: p t_enum_value2(enum_val1) p sum_args(1,{2}) $58 = 2 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(1,{2}) p sum_args(2,{2,3}) $59 = 5 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(2,{2,3}) p sum_args(3,{2,3,4}) $60 = 9 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(3,{2,3,4}) p sum_args(4,{2,3,4,5}) $61 = 14 (gdb) PASS: gdb.base/callfuncs.exp: p sum_args(4,{2,3,4,5}) p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) $62 = 55 (gdb) PASS: gdb.base/callfuncs.exp: p sum10 (1, 2, 3, 4, 5, 6, 7, 8, 9, 10) p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) $63 = 1 (gdb) PASS: gdb.base/callfuncs.exp: p cmp10 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9) p t_structs_c(struct_val1) $64 = 120 'x' (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char p t_structs_s(struct_val1) $65 = 87 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns short p t_structs_i(struct_val1) $66 = 76 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns int p t_structs_l(struct_val1) $67 = 51 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns long p t_structs_f(struct_val1) $68 = 2.12339997 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns float p t_structs_d(struct_val1) $69 = 9.8759999999999994 (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns double p t_structs_a(struct_val1) $70 = "foo" (gdb) PASS: gdb.base/callfuncs.exp: call inferior func with struct - returns char * info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) PASS: gdb.base/callfuncs.exp: gdb function calls preserve register contents break add Breakpoint 2: file ../../../../src/gdb/testsuite/gdb.base/callfuncs.c, line 80. (gdb) print add(4,5) Breakpoint 2, add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 80 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: stop at breakpoint in call dummy function continue Continuing. (gdb) PASS: gdb.base/callfuncs.exp: continue from call dummy breakpoint bt 2 #0 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: bt after continuing from call dummy breakpoint info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) PASS: gdb.base/callfuncs.exp: continue after stop in call dummy preserves register contents print add(4,5) Breakpoint 2, add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 80 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: call function causing a breakpoint then do a finish finish Run till exit from #0 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 Value returned is $71 = 9 (gdb) PASS: gdb.base/callfuncs.exp: finish from call dummy breakpoint returns correct value bt 2 #0 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: bt after finishing from call dummy breakpoint info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) PASS: gdb.base/callfuncs.exp: finish after stop in call dummy preserves register contents print add(4,5) Breakpoint 2, add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 80 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: call function causing a breakpoint and then do a return return 7 Make add return now? (y or n) y #0 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 391 t_structs_c(struct_val1); (gdb) PASS: gdb.base/callfuncs.exp: back at main after return from call dummy breakpoint info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) PASS: gdb.base/callfuncs.exp: return after stop in call dummy preserves register contents break sum10 Breakpoint 3: file ../../../../src/gdb/testsuite/gdb.base/callfuncs.c, line 189. (gdb) break t_small_values Breakpoint 4: file ../../../../src/gdb/testsuite/gdb.base/callfuncs.c, line 239. (gdb) print add(2,3) Breakpoint 2, add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 80 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 1 backtrace #0 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #1 #2 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace at nested call level 1 print add(4,5) Breakpoint 2, add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 80 return (a + b); The program being debugged stopped while in a function called from GDB. When the function (add) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 2 backtrace #0 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #1 #2 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #3 #4 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace at nested call level 2 print sum10(2,4,6,8,10,12,14,16,18,20) Breakpoint 3, sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:189 189 return i0 + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9; The program being debugged stopped while in a function called from GDB. When the function (sum10) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 3 backtrace #0 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:189 #1 #2 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #3 #4 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #5 #6 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace at nested call level 3 print t_small_values(1,3,5,7,9,11,13,15,17,19) Breakpoint 4, t_small_values (arg1=1 '\001', arg2=3, arg3=5, arg4=7 '\a', arg5=9, arg6=11 '\v', arg7=13, arg8=15, arg9=17, arg10=19) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:239 239 return arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10; The program being debugged stopped while in a function called from GDB. When the function (t_small_values) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) PASS: gdb.base/callfuncs.exp: stop at nested call level 4 backtrace #0 t_small_values (arg1=1 '\001', arg2=3, arg3=5, arg4=7 '\a', arg5=9, arg6=11 '\v', arg7=13, arg8=15, arg9=17, arg10=19) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:239 #1 #2 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:189 #3 #4 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #5 #6 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #7 #8 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace at nested call level 4 finish Run till exit from #0 t_small_values (arg1=1 '\001', arg2=3, arg3=5, arg4=7 '\a', arg5=9, arg6=11 '\v', arg7=13, arg8=15, arg9=17, arg10=19) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:239 Value returned is $72 = 100 (gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 4 backtrace #0 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:189 #1 #2 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #3 #4 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #5 #6 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace after finish from nested call level 4 finish Run till exit from #0 sum10 (i0=2, i1=4, i2=6, i3=8, i4=10, i5=12, i6=14, i7=16, i8=18, i9=20) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:189 Value returned is $73 = 110 (gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 3 backtrace #0 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #1 #2 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #3 #4 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace after finish from nested call level 3 finish Run till exit from #0 add (a=4, b=5) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 Value returned is $74 = 9 (gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 2 backtrace #0 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 #1 #2 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace after finish from nested call level 2 finish Run till exit from #0 add (a=2, b=3) at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:80 Value returned is $75 = 5 (gdb) PASS: gdb.base/callfuncs.exp: Finish from nested call level 1 backtrace #0 main () at ../../../../src/gdb/testsuite/gdb.base/callfuncs.c:391 (gdb) PASS: gdb.base/callfuncs.exp: backtrace after finish from nested call level 1 info all-registers r0 0x1 1 r1 0xffffda10 4294957584 r2 0x4004b480 1074050176 r3 0x1 1 r4 0xfedfa78 267254392 r5 0xff5aa00 267758080 r6 0x0 0 r7 0x10012000 268509184 r8 0xffffffff 4294967295 r9 0x10000000 268435456 r10 0x10012010 268509200 r11 0xffffda10 4294957584 r12 0x28000444 671089732 r13 0x10019630 268539440 r14 0x0 0 r15 0x0 0 r16 0x0 0 r17 0x0 0 r18 0x0 0 r19 0x0 0 r20 0x0 0 r21 0x0 0 r22 0x0 0 r23 0x0 0 r24 0x0 0 r25 0x0 0 r26 0x40027a98 1073904280 r27 0x40027a9c 1073904284 r28 0xff58670 267748976 r29 0x40027000 1073901568 r30 0xff565bc 267740604 r31 0xffffda10 4294957584 f0 -0.001 (raw 0xbf50624dd2f1a9fc) f1 45.654000000000003 (raw 0x4046d3b645a1cac1) f2 -67.659999999999997 (raw 0xc050ea3d70a3d70a) f3 0 (raw 0x0000000000000000) f4 0 (raw 0x0000000000000000) f5 0 (raw 0x0000000000000000) f6 0 (raw 0x0000000000000000) f7 0 (raw 0x0000000000000000) f8 0 (raw 0x0000000000000000) f9 0 (raw 0x0000000000000000) f10 0 (raw 0x0000000000000000) f11 0 (raw 0x0000000000000000) f12 0 (raw 0x0000000000000000) f13 0 (raw 0x0000000000000000) f14 0 (raw 0x0000000000000000) f15 0 (raw 0x0000000000000000) f16 0 (raw 0x0000000000000000) f17 0 (raw 0x0000000000000000) f18 0 (raw 0x0000000000000000) f19 0 (raw 0x0000000000000000) f20 0 (raw 0x0000000000000000) f21 0 (raw 0x0000000000000000) f22 0 (raw 0x0000000000000000) f23 0 (raw 0x0000000000000000) f24 0 (raw 0x0000000000000000) f25 0 (raw 0x0000000000000000) f26 0 (raw 0x0000000000000000) f27 0 (raw 0x0000000000000000) f28 0 (raw 0x0000000000000000) f29 0 (raw 0x0000000000000000) f30 0 (raw 0x0000000000000000) f31 0 (raw 0x0000000000000000) pc 0x1000107c 268439676 ps 0x2d932 186674 cr 0x2a000424 704644132 lr 0x1000107c 268439676 ctr 0xfe95a14 266951188 xer 0x0 0 fpscr 0x4000 16384 vr0 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr1 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr2 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr3 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr4 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr5 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr6 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr7 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr8 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr9 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr10 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr11 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr12 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr13 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr14 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr15 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr16 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr17 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr18 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr19 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr20 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr21 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr22 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr23 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr24 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr25 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr26 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr27 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr28 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr29 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr30 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vr31 {uint128 = 0x00000000000000000000000000000000, v4_float = {0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v16_int8 = {0x0 }} vscr 0x0 0 vrsave 0x0 0 (gdb) PASS: gdb.base/callfuncs.exp: nested call dummies preserve register contents testcase ../../../../src/gdb/testsuite/gdb.base/callfuncs.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/charset.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/charset.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/charset (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/charset.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/charset spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/charset Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/charset...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) show charset The current host and target character set is `ISO-8859-1'. (gdb) PASS: gdb.base/charset.exp: show charset show target-charset The target character set is "ISO-8859-1". (gdb) PASS: gdb.base/charset.exp: show target-charset PASS: gdb.base/charset.exp: check `show target-charset' against `show charset' show host-charset The host character set is "ISO-8859-1". (gdb) PASS: gdb.base/charset.exp: show host-charset PASS: gdb.base/charset.exp: check `show host-charset' against `show charset' set charset  ASCII ISO-8859-1 (gdb) set charset Requires an argument. Valid arguments are ASCII, ISO-8859-1. (gdb) PASS: gdb.base/charset.exp: get valid character sets set charset Requires an argument. Valid arguments are ASCII, ISO-8859-1. (gdb) PASS: gdb.base/charset.exp: try malformed `set charset' set host-charset my_grandma_bonnie Undefined item: "my_grandma_bonnie". (gdb) PASS: gdb.base/charset.exp: try `set host-charset' with invalid charset set target-charset my_grandma_bonnie Undefined item: "my_grandma_bonnie". (gdb) PASS: gdb.base/charset.exp: try `set target-charset' with invalid charset set host-charset Requires an argument. Valid arguments are ASCII, ISO-8859-1. (gdb) PASS: gdb.base/charset.exp: capture valid host charsets set target-charset Requires an argument. Valid arguments are ASCII, ISO-8859-1, EBCDIC-US, IBM1047. (gdb) PASS: gdb.base/charset.exp: capture valid target charsets set host-charset ISO-8859-1 (gdb) PASS: gdb.base/charset.exp: try `set host-charset ISO-8859-1' show charset The current host and target character set is `ISO-8859-1'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set host-charset ISO-8859-1' PASS: gdb.base/charset.exp: check effect of `set host-charset ISO-8859-1' set target-charset IBM1047 (gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047' show charset The current host character set is `ISO-8859-1'. The current target character set is `IBM1047'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset IBM1047' PASS: gdb.base/charset.exp: check effect of `set target-charset IBM1047' set target-charset ISO-8859-1 (gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1' show charset The current host and target character set is `ISO-8859-1'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset ISO-8859-1' PASS: gdb.base/charset.exp: check effect of `set target-charset ISO-8859-1' set target-charset ASCII (gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII' show charset The current host character set is `ISO-8859-1'. The current target character set is `ASCII'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset ASCII' PASS: gdb.base/charset.exp: check effect of `set target-charset ASCII' set target-charset EBCDIC-US (gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US' show charset The current host character set is `ISO-8859-1'. The current target character set is `EBCDIC-US'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset EBCDIC-US' PASS: gdb.base/charset.exp: check effect of `set target-charset EBCDIC-US' set host-charset ASCII (gdb) PASS: gdb.base/charset.exp: try `set host-charset ASCII' show charset The current host character set is `ASCII'. The current target character set is `EBCDIC-US'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set host-charset ASCII' PASS: gdb.base/charset.exp: check effect of `set host-charset ASCII' set target-charset IBM1047 (gdb) PASS: gdb.base/charset.exp: try `set target-charset IBM1047' show charset The current host character set is `ASCII'. The current target character set is `IBM1047'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset IBM1047' PASS: gdb.base/charset.exp: check effect of `set target-charset IBM1047' set target-charset ISO-8859-1 (gdb) PASS: gdb.base/charset.exp: try `set target-charset ISO-8859-1' show charset The current host character set is `ASCII'. The current target character set is `ISO-8859-1'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset ISO-8859-1' PASS: gdb.base/charset.exp: check effect of `set target-charset ISO-8859-1' set target-charset ASCII (gdb) PASS: gdb.base/charset.exp: try `set target-charset ASCII' show charset The current host and target character set is `ASCII'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset ASCII' PASS: gdb.base/charset.exp: check effect of `set target-charset ASCII' set target-charset EBCDIC-US (gdb) PASS: gdb.base/charset.exp: try `set target-charset EBCDIC-US' show charset The current host character set is `ASCII'. The current target character set is `EBCDIC-US'. (gdb) PASS: gdb.base/charset.exp: parse `show charset' after `set target-charset EBCDIC-US' PASS: gdb.base/charset.exp: check effect of `set target-charset EBCDIC-US' break 150 Breakpoint 1 at 0x1000093c: file ../../../../src/gdb/testsuite/gdb.base/charset.c, line 150. (gdb) PASS: gdb.base/charset.exp: set breakpoint after all strings have been initialized run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/charset Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/charset.c:150 150 puts ("All set!"); /* all strings initialized */ (gdb) PASS: gdb.base/charset.exp: run until all strings have been initialized set host-charset ASCII (gdb) PASS: gdb.base/charset.exp: set host-charset ASCII set target-charset IBM1047 (gdb) PASS: gdb.base/charset.exp: set target-charset IBM1047 print '\0' $1 = 0 '\0' (gdb) PASS: gdb.base/charset.exp: print the null character in IBM1047 print ibm1047_string $2 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\112\021" (gdb) PASS: gdb.base/charset.exp: print string in IBM1047 print 'A' $3 = 193 'A' (gdb) PASS: gdb.base/charset.exp: parse character literal in IBM1047 print 'A' == ibm1047_string[7] $4 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in IBM1047 print "abcdefABCDEF012345" $5 = "abcdefABCDEF012345" (gdb) PASS: gdb.base/charset.exp: parse string literal in IBM1047 print "q"[0] == ibm1047_string[49] $6 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in IBM1047 print ibm1047_string[0] $7 = 47 '\a' (gdb) PASS: gdb.base/charset.exp: try printing '\a' in IBM1047 print '\a' == ibm1047_string[0] $8 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\a' in IBM1047 print "\a"[0] == ibm1047_string[0] $9 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\a" in IBM1047 print ibm1047_string[1] $10 = 22 '\b' (gdb) PASS: gdb.base/charset.exp: try printing '\b' in IBM1047 print '\b' == ibm1047_string[1] $11 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\b' in IBM1047 print "\b"[0] == ibm1047_string[1] $12 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\b" in IBM1047 print ibm1047_string[2] $13 = 12 '\f' (gdb) PASS: gdb.base/charset.exp: try printing '\f' in IBM1047 print '\f' == ibm1047_string[2] $14 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\f' in IBM1047 print "\f"[0] == ibm1047_string[2] $15 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\f" in IBM1047 print ibm1047_string[3] $16 = 37 '\n' (gdb) PASS: gdb.base/charset.exp: try printing '\n' in IBM1047 print '\n' == ibm1047_string[3] $17 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\n' in IBM1047 print "\n"[0] == ibm1047_string[3] $18 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\n" in IBM1047 print ibm1047_string[4] $19 = 13 '\r' (gdb) PASS: gdb.base/charset.exp: try printing '\r' in IBM1047 print '\r' == ibm1047_string[4] $20 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\r' in IBM1047 print "\r"[0] == ibm1047_string[4] $21 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\r" in IBM1047 print ibm1047_string[5] $22 = 5 '\t' (gdb) PASS: gdb.base/charset.exp: try printing '\t' in IBM1047 print '\t' == ibm1047_string[5] $23 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\t' in IBM1047 print "\t"[0] == ibm1047_string[5] $24 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\t" in IBM1047 print ibm1047_string[6] $25 = 11 '\v' (gdb) PASS: gdb.base/charset.exp: try printing '\v' in IBM1047 print '\v' == ibm1047_string[6] $26 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\v' in IBM1047 print "\v"[0] == ibm1047_string[6] $27 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\v" in IBM1047 print '\q' $28 = 152 'q' (gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in IBM1047 print '\q' == ibm1047_string[49] $29 = 1 (gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in IBM1047 set target-charset ISO-8859-1 (gdb) PASS: gdb.base/charset.exp: set target-charset ISO-8859-1 print '\0' $30 = 0 '\0' (gdb) PASS: gdb.base/charset.exp: print the null character in ISO-8859-1 print iso_8859_1_string $31 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\242\021" (gdb) PASS: gdb.base/charset.exp: print string in ISO-8859-1 print 'A' $32 = 65 'A' (gdb) PASS: gdb.base/charset.exp: parse character literal in ISO-8859-1 print 'A' == iso_8859_1_string[7] $33 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in ISO-8859-1 print "abcdefABCDEF012345" $34 = "abcdefABCDEF012345" (gdb) PASS: gdb.base/charset.exp: parse string literal in ISO-8859-1 print "q"[0] == iso_8859_1_string[49] $35 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in ISO-8859-1 print iso_8859_1_string[0] $36 = 7 '\a' (gdb) PASS: gdb.base/charset.exp: try printing '\a' in ISO-8859-1 print '\a' == iso_8859_1_string[0] $37 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\a' in ISO-8859-1 print "\a"[0] == iso_8859_1_string[0] $38 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\a" in ISO-8859-1 print iso_8859_1_string[1] $39 = 8 '\b' (gdb) PASS: gdb.base/charset.exp: try printing '\b' in ISO-8859-1 print '\b' == iso_8859_1_string[1] $40 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\b' in ISO-8859-1 print "\b"[0] == iso_8859_1_string[1] $41 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\b" in ISO-8859-1 print iso_8859_1_string[2] $42 = 12 '\f' (gdb) PASS: gdb.base/charset.exp: try printing '\f' in ISO-8859-1 print '\f' == iso_8859_1_string[2] $43 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\f' in ISO-8859-1 print "\f"[0] == iso_8859_1_string[2] $44 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\f" in ISO-8859-1 print iso_8859_1_string[3] $45 = 10 '\n' (gdb) PASS: gdb.base/charset.exp: try printing '\n' in ISO-8859-1 print '\n' == iso_8859_1_string[3] $46 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\n' in ISO-8859-1 print "\n"[0] == iso_8859_1_string[3] $47 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\n" in ISO-8859-1 print iso_8859_1_string[4] $48 = 13 '\r' (gdb) PASS: gdb.base/charset.exp: try printing '\r' in ISO-8859-1 print '\r' == iso_8859_1_string[4] $49 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\r' in ISO-8859-1 print "\r"[0] == iso_8859_1_string[4] $50 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\r" in ISO-8859-1 print iso_8859_1_string[5] $51 = 9 '\t' (gdb) PASS: gdb.base/charset.exp: try printing '\t' in ISO-8859-1 print '\t' == iso_8859_1_string[5] $52 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\t' in ISO-8859-1 print "\t"[0] == iso_8859_1_string[5] $53 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\t" in ISO-8859-1 print iso_8859_1_string[6] $54 = 11 '\v' (gdb) PASS: gdb.base/charset.exp: try printing '\v' in ISO-8859-1 print '\v' == iso_8859_1_string[6] $55 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\v' in ISO-8859-1 print "\v"[0] == iso_8859_1_string[6] $56 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\v" in ISO-8859-1 print '\q' $57 = 113 'q' (gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in ISO-8859-1 print '\q' == iso_8859_1_string[49] $58 = 1 (gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in ISO-8859-1 set target-charset ASCII (gdb) PASS: gdb.base/charset.exp: set target-charset ASCII print '\0' $59 = 0 '\0' (gdb) PASS: gdb.base/charset.exp: print the null character in ASCII print ascii_string $60 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789x\021" (gdb) PASS: gdb.base/charset.exp: print string in ASCII print 'A' $61 = 65 'A' (gdb) PASS: gdb.base/charset.exp: parse character literal in ASCII print 'A' == ascii_string[7] $62 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in ASCII print "abcdefABCDEF012345" $63 = "abcdefABCDEF012345" (gdb) PASS: gdb.base/charset.exp: parse string literal in ASCII print "q"[0] == ascii_string[49] $64 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in ASCII print ascii_string[0] $65 = 7 '\a' (gdb) PASS: gdb.base/charset.exp: try printing '\a' in ASCII print '\a' == ascii_string[0] $66 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\a' in ASCII print "\a"[0] == ascii_string[0] $67 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\a" in ASCII print ascii_string[1] $68 = 8 '\b' (gdb) PASS: gdb.base/charset.exp: try printing '\b' in ASCII print '\b' == ascii_string[1] $69 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\b' in ASCII print "\b"[0] == ascii_string[1] $70 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\b" in ASCII print ascii_string[2] $71 = 12 '\f' (gdb) PASS: gdb.base/charset.exp: try printing '\f' in ASCII print '\f' == ascii_string[2] $72 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\f' in ASCII print "\f"[0] == ascii_string[2] $73 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\f" in ASCII print ascii_string[3] $74 = 10 '\n' (gdb) PASS: gdb.base/charset.exp: try printing '\n' in ASCII print '\n' == ascii_string[3] $75 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\n' in ASCII print "\n"[0] == ascii_string[3] $76 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\n" in ASCII print ascii_string[4] $77 = 13 '\r' (gdb) PASS: gdb.base/charset.exp: try printing '\r' in ASCII print '\r' == ascii_string[4] $78 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\r' in ASCII print "\r"[0] == ascii_string[4] $79 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\r" in ASCII print ascii_string[5] $80 = 9 '\t' (gdb) PASS: gdb.base/charset.exp: try printing '\t' in ASCII print '\t' == ascii_string[5] $81 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\t' in ASCII print "\t"[0] == ascii_string[5] $82 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\t" in ASCII print ascii_string[6] $83 = 11 '\v' (gdb) PASS: gdb.base/charset.exp: try printing '\v' in ASCII print '\v' == ascii_string[6] $84 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\v' in ASCII print "\v"[0] == ascii_string[6] $85 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\v" in ASCII print '\q' $86 = 113 'q' (gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in ASCII print '\q' == ascii_string[49] $87 = 1 (gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in ASCII set target-charset EBCDIC-US (gdb) PASS: gdb.base/charset.exp: set target-charset EBCDIC-US print '\0' $88 = 0 '\0' (gdb) PASS: gdb.base/charset.exp: print the null character in EBCDIC-US print ebcdic_us_string $89 = "\a\b\f\n\r\t\vABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\112\021" (gdb) PASS: gdb.base/charset.exp: print string in EBCDIC-US print 'A' $90 = 193 'A' (gdb) PASS: gdb.base/charset.exp: parse character literal in EBCDIC-US print 'A' == ebcdic_us_string[7] $91 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed character literal in EBCDIC-US print "abcdefABCDEF012345" $92 = "abcdefABCDEF012345" (gdb) PASS: gdb.base/charset.exp: parse string literal in EBCDIC-US print "q"[0] == ebcdic_us_string[49] $93 = 1 (gdb) PASS: gdb.base/charset.exp: check value of parsed string literal in EBCDIC-US print ebcdic_us_string[0] $94 = 47 '\a' (gdb) PASS: gdb.base/charset.exp: try printing '\a' in EBCDIC-US print '\a' == ebcdic_us_string[0] $95 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\a' in EBCDIC-US print "\a"[0] == ebcdic_us_string[0] $96 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\a" in EBCDIC-US print ebcdic_us_string[1] $97 = 22 '\b' (gdb) PASS: gdb.base/charset.exp: try printing '\b' in EBCDIC-US print '\b' == ebcdic_us_string[1] $98 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\b' in EBCDIC-US print "\b"[0] == ebcdic_us_string[1] $99 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\b" in EBCDIC-US print ebcdic_us_string[2] $100 = 12 '\f' (gdb) PASS: gdb.base/charset.exp: try printing '\f' in EBCDIC-US print '\f' == ebcdic_us_string[2] $101 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\f' in EBCDIC-US print "\f"[0] == ebcdic_us_string[2] $102 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\f" in EBCDIC-US print ebcdic_us_string[3] $103 = 37 '\n' (gdb) PASS: gdb.base/charset.exp: try printing '\n' in EBCDIC-US print '\n' == ebcdic_us_string[3] $104 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\n' in EBCDIC-US print "\n"[0] == ebcdic_us_string[3] $105 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\n" in EBCDIC-US print ebcdic_us_string[4] $106 = 13 '\r' (gdb) PASS: gdb.base/charset.exp: try printing '\r' in EBCDIC-US print '\r' == ebcdic_us_string[4] $107 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\r' in EBCDIC-US print "\r"[0] == ebcdic_us_string[4] $108 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\r" in EBCDIC-US print ebcdic_us_string[5] $109 = 5 '\t' (gdb) PASS: gdb.base/charset.exp: try printing '\t' in EBCDIC-US print '\t' == ebcdic_us_string[5] $110 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\t' in EBCDIC-US print "\t"[0] == ebcdic_us_string[5] $111 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\t" in EBCDIC-US print ebcdic_us_string[6] $112 = 11 '\v' (gdb) PASS: gdb.base/charset.exp: try printing '\v' in EBCDIC-US print '\v' == ebcdic_us_string[6] $113 = 1 (gdb) PASS: gdb.base/charset.exp: check value of '\v' in EBCDIC-US print "\v"[0] == ebcdic_us_string[6] $114 = 1 (gdb) PASS: gdb.base/charset.exp: check value of "\v" in EBCDIC-US print '\q' $115 = 152 'q' (gdb) PASS: gdb.base/charset.exp: print escape that doesn't exist in EBCDIC-US print '\q' == ebcdic_us_string[49] $116 = 1 (gdb) PASS: gdb.base/charset.exp: check value of escape that doesn't exist in EBCDIC-US testcase ../../../../src/gdb/testsuite/gdb.base/charset.exp completed in 2 seconds Running ../../../../src/gdb/testsuite/gdb.base/chng-syms.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var1 -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var1 -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/chng-syms Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) break stop_here if (var1 == 42) Breakpoint 1 at 0x1000046c: file ../../../../src/gdb/testsuite/gdb.base/chng-syms.c, line 14. (gdb) PASS: gdb.base/chng-syms.exp: setting conditional breakpoint on function run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms Breakpoint 1, stop_here () at ../../../../src/gdb/testsuite/gdb.base/chng-syms.c:14 14 VARIABLE *= 2; (gdb) continue Continuing. Program exited normally. (gdb) PASS: gdb.base/chng-syms.exp: continue until exit at breakpoint first time through Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var2 -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/chng-syms.c -DVARIABLE=var2 -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms run `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms' has changed; re-reading symbols. Error in re-setting breakpoint 1: No symbol "var1" in current context. Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/chng-syms Error in re-setting breakpoint 1: No symbol "var1" in current context. Error in re-setting breakpoint 1: No symbol "var1" in current context. Error in re-setting breakpoint 1: No symbol "var1" in current context. Program exited normally. (gdb) PASS: gdb.base/chng-syms.exp: running with invalidated bpt condition after executable changes testcase ../../../../src/gdb/testsuite/gdb.base/chng-syms.exp completed in 3 seconds Running ../../../../src/gdb/testsuite/gdb.base/code-expr.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/cvexpr.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/cvexpr.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/cvexpr Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) whatis (@code char) v_char type = @code char (gdb) PASS: gdb.base/code-expr.exp: (@code char) whatis (@code signed char) v_signed_char type = @code signed char (gdb) PASS: gdb.base/code-expr.exp: (@code signed char) whatis (@code unsigned char) v_unsigned_char type = @code unsigned char (gdb) PASS: gdb.base/code-expr.exp: (@code unsigned char) whatis (@code short) v_short type = @code short (gdb) PASS: gdb.base/code-expr.exp: (@code short) whatis (@code signed short) v_signed_short type = @code short (gdb) PASS: gdb.base/code-expr.exp: (@code signed short) whatis (@code unsigned short) v_unsigned_short type = @code unsigned short (gdb) PASS: gdb.base/code-expr.exp: (@code unsigned short) whatis (@code int) v_int type = @code int (gdb) PASS: gdb.base/code-expr.exp: (@code int) whatis (@code signed int) v_signed_int type = @code int (gdb) PASS: gdb.base/code-expr.exp: (@code signed int) whatis (@code unsigned int) v_unsigned_int type = @code unsigned int (gdb) PASS: gdb.base/code-expr.exp: (@code unsigned int) whatis (@code long) v_long type = @code long (gdb) PASS: gdb.base/code-expr.exp: (@code long) whatis (@code signed long) v_signed_long type = @code long (gdb) PASS: gdb.base/code-expr.exp: (@code signed long) whatis (@code unsigned long) v_unsigned_long type = @code unsigned long (gdb) PASS: gdb.base/code-expr.exp: (@code unsigned long) whatis (@code long long) v_long_long type = @code long long (gdb) PASS: gdb.base/code-expr.exp: (@code long long) whatis (@code signed long long) v_signed_long_long type = @code long long (gdb) PASS: gdb.base/code-expr.exp: (@code signed long long) whatis (@code unsigned long long) v_unsigned_long_long type = @code unsigned long long (gdb) PASS: gdb.base/code-expr.exp: (@code unsigned long long) whatis (@code float) v_float type = @code float (gdb) PASS: gdb.base/code-expr.exp: (@code float) whatis (@code double) v_double type = @code double (gdb) PASS: gdb.base/code-expr.exp: (@code double) whatis (@data char) v_char type = @data char (gdb) PASS: gdb.base/code-expr.exp: (@data char) whatis (@data signed char) v_signed_char type = @data signed char (gdb) PASS: gdb.base/code-expr.exp: (@data signed char) whatis (@data unsigned char) v_unsigned_char type = @data unsigned char (gdb) PASS: gdb.base/code-expr.exp: (@data unsigned char) whatis (@data short) v_short type = @data short (gdb) PASS: gdb.base/code-expr.exp: (@data short) whatis (@data signed short) v_signed_short type = @data short (gdb) PASS: gdb.base/code-expr.exp: (@data signed short) whatis (@data unsigned short) v_unsigned_short type = @data unsigned short (gdb) PASS: gdb.base/code-expr.exp: (@data unsigned short) whatis (@data int) v_int type = @data int (gdb) PASS: gdb.base/code-expr.exp: (@data int) whatis (@data signed int) v_signed_int type = @data int (gdb) PASS: gdb.base/code-expr.exp: (@data signed int) whatis (@data unsigned int) v_unsigned_int type = @data unsigned int (gdb) PASS: gdb.base/code-expr.exp: (@data unsigned int) whatis (@data long) v_long type = @data long (gdb) PASS: gdb.base/code-expr.exp: (@data long) whatis (@data signed long) v_signed_long type = @data long (gdb) PASS: gdb.base/code-expr.exp: (@data signed long) whatis (@data unsigned long) v_unsigned_long type = @data unsigned long (gdb) PASS: gdb.base/code-expr.exp: (@data unsigned long) whatis (@data long long) v_long_long type = @data long long (gdb) PASS: gdb.base/code-expr.exp: (@data long long) whatis (@data signed long long) v_signed_long_long type = @data long long (gdb) PASS: gdb.base/code-expr.exp: (@data signed long long) whatis (@data unsigned long long) v_unsigned_long_long type = @data unsigned long long (gdb) PASS: gdb.base/code-expr.exp: (@data unsigned long long) whatis (@data float) v_float type = @data float (gdb) PASS: gdb.base/code-expr.exp: (@data float) whatis (@data double) v_double type = @data double (gdb) PASS: gdb.base/code-expr.exp: (@data double) whatis (char @code) v_char type = @code char (gdb) PASS: gdb.base/code-expr.exp: (char @code) whatis (signed char @code) v_signed_char type = @code signed char (gdb) PASS: gdb.base/code-expr.exp: (signed char @code) whatis (unsigned char @code) v_unsigned_char type = @code unsigned char (gdb) PASS: gdb.base/code-expr.exp: (unsigned char @code) whatis (short @code) v_short type = @code short (gdb) PASS: gdb.base/code-expr.exp: (short @code) whatis (signed short @code) v_signed_short type = @code short (gdb) PASS: gdb.base/code-expr.exp: (signed short @code) whatis (unsigned short @code) v_unsigned_short type = @code unsigned short (gdb) PASS: gdb.base/code-expr.exp: (unsigned short @code) whatis (int @code) v_int type = @code int (gdb) PASS: gdb.base/code-expr.exp: (int @code) whatis (signed int @code) v_signed_int type = @code int (gdb) PASS: gdb.base/code-expr.exp: (signed int @code) whatis (unsigned int @code) v_unsigned_int type = @code unsigned int (gdb) PASS: gdb.base/code-expr.exp: (unsigned int @code) whatis (long @code) v_long type = @code long (gdb) PASS: gdb.base/code-expr.exp: (long @code) whatis (signed long @code) v_signed_long type = @code long (gdb) PASS: gdb.base/code-expr.exp: (signed long @code) whatis (unsigned long @code) v_unsigned_long type = @code unsigned long (gdb) PASS: gdb.base/code-expr.exp: (unsigned long @code) whatis (long long @code) v_long_long type = @code long long (gdb) PASS: gdb.base/code-expr.exp: (long long @code) whatis (signed long long @code) v_signed_long_long type = @code long long (gdb) PASS: gdb.base/code-expr.exp: (signed long long @code) whatis (unsigned long long @code) v_unsigned_long_long type = @code unsigned long long (gdb) PASS: gdb.base/code-expr.exp: (unsigned long long @code) whatis (float @code) v_float type = @code float (gdb) PASS: gdb.base/code-expr.exp: (float @code) whatis (double @code) v_double type = @code double (gdb) PASS: gdb.base/code-expr.exp: (double @code) whatis (char @data) v_char type = @data char (gdb) PASS: gdb.base/code-expr.exp: (char @data) whatis (signed char @data) v_signed_char type = @data signed char (gdb) PASS: gdb.base/code-expr.exp: (signed char @data) whatis (unsigned char @data) v_unsigned_char type = @data unsigned char (gdb) PASS: gdb.base/code-expr.exp: (unsigned char @data) whatis (short @data) v_short type = @data short (gdb) PASS: gdb.base/code-expr.exp: (short @data) whatis (signed short @data) v_signed_short type = @data short (gdb) PASS: gdb.base/code-expr.exp: (signed short @data) whatis (unsigned short @data) v_unsigned_short type = @data unsigned short (gdb) PASS: gdb.base/code-expr.exp: (unsigned short @data) whatis (int @data) v_int type = @data int (gdb) PASS: gdb.base/code-expr.exp: (int @data) whatis (signed int @data) v_signed_int type = @data int (gdb) PASS: gdb.base/code-expr.exp: (signed int @data) whatis (unsigned int @data) v_unsigned_int type = @data unsigned int (gdb) PASS: gdb.base/code-expr.exp: (unsigned int @data) whatis (long @data) v_long type = @data long (gdb) PASS: gdb.base/code-expr.exp: (long @data) whatis (signed long @data) v_signed_long type = @data long (gdb) PASS: gdb.base/code-expr.exp: (signed long @data) whatis (unsigned long @data) v_unsigned_long type = @data unsigned long (gdb) PASS: gdb.base/code-expr.exp: (unsigned long @data) whatis (long long @data) v_long_long type = @data long long (gdb) PASS: gdb.base/code-expr.exp: (long long @data) whatis (signed long long @data) v_signed_long_long type = @data long long (gdb) PASS: gdb.base/code-expr.exp: (signed long long @data) whatis (unsigned long long @data) v_unsigned_long_long type = @data unsigned long long (gdb) PASS: gdb.base/code-expr.exp: (unsigned long long @data) whatis (float @data) v_float type = @data float (gdb) PASS: gdb.base/code-expr.exp: (float @data) whatis (double @data) v_double type = @data double (gdb) PASS: gdb.base/code-expr.exp: (double @data) whatis (@code enum misordered) v_misordered type = @code enum misordered (gdb) PASS: gdb.base/code-expr.exp: (@code enum misordered) whatis (enum misordered @code) v_misordered type = @code enum misordered (gdb) PASS: gdb.base/code-expr.exp: (enum misordered @code) whatis (@data enum misordered) v_misordered type = @data enum misordered (gdb) PASS: gdb.base/code-expr.exp: (@data enum misordered) whatis (enum misordered @data) v_misordered type = @data enum misordered (gdb) PASS: gdb.base/code-expr.exp: (enum misordered @data) whatis (@code int *) v_int_pointer type = @code int * (gdb) PASS: gdb.base/code-expr.exp: (@code int *) whatis (int @code *) v_int_pointer type = @code int * (gdb) PASS: gdb.base/code-expr.exp: (int @code *) whatis (int * @code) v_int_pointer type = int * @code (gdb) PASS: gdb.base/code-expr.exp: (int * @code) whatis (@code int * @code) v_int_pointer type = @code int * @code (gdb) PASS: gdb.base/code-expr.exp: (@code int * @code) whatis (int @code * @code) v_int_pointer type = @code int * @code (gdb) PASS: gdb.base/code-expr.exp: (int @code * @code) whatis (@code int **) v_int_pointer_pointer type = @code int ** (gdb) PASS: gdb.base/code-expr.exp: (@code int **) whatis (int @code **) v_int_pointer_pointer type = @code int ** (gdb) PASS: gdb.base/code-expr.exp: (int @code **) whatis (int ** @code) v_int_pointer_pointer type = int ** @code (gdb) PASS: gdb.base/code-expr.exp: (int ** @code) whatis (@code int * @code *) v_int_pointer_pointer type = @code int * @code * (gdb) PASS: gdb.base/code-expr.exp: (@code int * @code *) whatis (int @code * @code *) v_int_pointer_pointer type = @code int * @code * (gdb) PASS: gdb.base/code-expr.exp: (int @code * @code *) whatis (@code int * @code * @code) v_int_pointer_pointer type = @code int * @code * @code (gdb) PASS: gdb.base/code-expr.exp: (@code int * @code * @code) whatis (int @code * @code * @code) v_int_pointer_pointer type = @code int * @code * @code (gdb) PASS: gdb.base/code-expr.exp: (int @code * @code * @code) whatis (@code struct t_struct) v_struct1 type = @code struct t_struct (gdb) PASS: gdb.base/code-expr.exp: (@code struct t_struct) whatis (@code union t_union) v_union type = @code union t_union (gdb) PASS: gdb.base/code-expr.exp: (@code union t_union) whatis (struct t_struct @code) v_struct1 type = @code struct t_struct (gdb) PASS: gdb.base/code-expr.exp: (struct t_struct @code) whatis (union t_union @code) v_union type = @code union t_union (gdb) PASS: gdb.base/code-expr.exp: (union t_union @code) whatis (@code struct t_struct *) &v_struct1 type = @code struct t_struct * (gdb) PASS: gdb.base/code-expr.exp: (@code struct t_struct *) whatis (@code union t_union *) &v_union type = @code union t_union * (gdb) PASS: gdb.base/code-expr.exp: (@code union t_union *) whatis (struct t_struct @code *) &v_struct1 type = @code struct t_struct * (gdb) PASS: gdb.base/code-expr.exp: (struct t_struct @code *) whatis (union t_union @code *) &v_union type = @code union t_union * (gdb) PASS: gdb.base/code-expr.exp: (union t_union @code *) whatis (struct t_struct * @code) &v_struct1 type = struct t_struct * @code (gdb) PASS: gdb.base/code-expr.exp: (struct t_struct * @code) whatis (union t_union * @code) &v_union type = union t_union * @code (gdb) PASS: gdb.base/code-expr.exp: (union t_union * @code) whatis (@code struct t_struct * @code) &v_struct1 type = @code struct t_struct * @code (gdb) PASS: gdb.base/code-expr.exp: (@code struct t_struct * @code) whatis (@code union t_union * @code) &v_union type = @code union t_union * @code (gdb) PASS: gdb.base/code-expr.exp: (@code union t_union * @code) whatis (struct t_struct @code * @code) &v_struct1 type = @code struct t_struct * @code (gdb) PASS: gdb.base/code-expr.exp: (struct t_struct @code * @code) whatis (union t_union @code * @code) &v_union type = @code union t_union * @code (gdb) PASS: gdb.base/code-expr.exp: (union t_union @code * @code) testcase ../../../../src/gdb/testsuite/gdb.base/code-expr.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/commands.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/run.c -DFAKEARGV -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/run.c -DFAKEARGV -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (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: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/commands Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set $foo = 0 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar_simple_if_test if $foo == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $1 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_if_test #1 if $foo == 0 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $2 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_if_test #2 set $foo = 5 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar_simple_while_test while $foo > 0 >p/x 0xfeedface >set $foo -= 1 >end $3 = 0xfeedface $4 = 0xfeedface $5 = 0xfeedface $6 = 0xfeedface $7 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_simple_while_test #1 set $foo = 4 (gdb) PASS: gdb.base/commands.exp: set foo in gdbvar complex_if_while_test while $foo > 0 >set $foo -= 1 >if ($foo % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end $8 = 0xdeadbeef $9 = 0xfeedface $10 = 0xdeadbeef $11 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: gdbvar_complex_if_while_test #1 delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 1 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands Breakpoint 1, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $12 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test #1 if value == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $13 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: progvar_simple_if_test #1 if value == 5 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $14 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_simple_if_test #2 set args 5 (gdb) PASS: gdb.base/commands.exp: set args in progvar_simple_while_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 2 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 5 Breakpoint 2, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $15 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test #2 while value > 0 >p/x 0xfeedface >set value -= 1 >end $16 = 0xfeedface $17 = 0xfeedface $18 = 0xfeedface $19 = 0xfeedface $20 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_simple_while_test #1 set args 4 (gdb) PASS: gdb.base/commands.exp: set args in progvar_complex_if_while_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 3 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 4 Breakpoint 3, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=4 $21 = 4 (gdb) PASS: gdb.base/commands.exp: set value to 4 in progvar_simple_if_test while value > 0 >set value -= 1 >if (value % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end $22 = 0xdeadbeef $23 = 0xfeedface $24 = 0xdeadbeef $25 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: progvar_complex_if_while_test #1 set args 5 (gdb) PASS: gdb.base/commands.exp: set args in if_while_breakpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 4 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 5 Breakpoint 4, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=5 $26 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in progvar_simple_if_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 5 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #1 commands Type commands for when breakpoint 5 is hit, one per line. End with a line saying just "end". PASS: gdb.base/commands.exp: commands in if_while_breakpoint_command_test >while value > 0 >set value -= 1 >if (value % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end >end (gdb) PASS: gdb.base/commands.exp: commands part 2 in if_while_breakpoint_command_test continue Continuing. Breakpoint 5, factorial (value=4) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { $27 = 0xdeadbeef $28 = 0xfeedface $29 = 0xdeadbeef $30 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: if_while_breakpoint_command_test #1 info break Num Type Disp Enb Address What 5 breakpoint keep y 0x100004e0 in factorial at ../../../../src/gdb/testsuite/gdb.base/run.c:77 breakpoint already hit 1 time while value > 0 set value -= 1 if (value % 2) == 1 p/x 0xdeadbeef else p/x 0xfeedface end end (gdb) PASS: gdb.base/commands.exp: info break in if_while_breakpoint_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in infrun_breakpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 6 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 6 Breakpoint 6, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=6 $31 = 6 (gdb) PASS: gdb.base/commands.exp: set value to 6 in progvar_simple_if_test #1 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial if value == 5 Breakpoint 7 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial if value == 5 commands Type commands for when breakpoint 7 is hit, one per line. End with a line saying just "end". PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #1 >step >step >step >step >end (gdb) PASS: gdb.base/commands.exp: commands in infrun_breakpoint_command_test #2 continue Continuing. Breakpoint 7, factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { 78 value *= factorial (value - 1); (gdb) PASS: gdb.base/commands.exp: continue in infrun_breakpoint_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in breakpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 8 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 6 Breakpoint 8, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) p value=6 $32 = 6 (gdb) PASS: gdb.base/commands.exp: set value to 6 in progvar_simple_if_test #2 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 9 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #2 commands Type commands for when breakpoint 9 is hit, one per line. End with a line saying just "end". printf "Now the value is %d\n", value end >printf "Now the value is %d\n", value >end (gdb) PASS: gdb.base/commands.exp: commands in breakpoint_command_test continue Continuing. Breakpoint 9, factorial (value=5) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { Now the value is 5 (gdb) PASS: gdb.base/commands.exp: continue in breakpoint_command_test print value $33 = 5 (gdb) PASS: gdb.base/commands.exp: print value in breakpoint_command_test set $foo = 4 (gdb) PASS: gdb.base/commands.exp: set foo in user_defined_command_test define mycommand Type commands for definition of "mycommand". End with a line saying just "end". PASS: gdb.base/commands.exp: define mycommand in user_defined_command_test >while $arg0 > 0 >set $arg0 -= 1 >if ($arg0 % 2) == 1 >p/x 0xdeadbeef >else >p/x 0xfeedface >end >end >end (gdb) PASS: gdb.base/commands.exp: enter commands in user_defined_command_test mycommand $foo $34 = 0xdeadbeef $35 = 0xfeedface $36 = 0xdeadbeef $37 = 0xfeedface (gdb) PASS: gdb.base/commands.exp: execute user defined command in user_defined_command_test show user mycommand User command mycommand: while $arg0 > 0 set $arg0 -= 1 if ($arg0 % 2) == 1 p/x 0xdeadbeef else p/x 0xfeedface end end (gdb) PASS: gdb.base/commands.exp: display user command in user_defined_command_test set args 6 (gdb) PASS: gdb.base/commands.exp: set args in watchpoint_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 10 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 6 Breakpoint 10, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) watch local_var Watchpoint 11: local_var (gdb) PASS: gdb.base/commands.exp: watch local_var commands 11 Type commands for when breakpoint 11 is hit, one per line. End with a line saying just "end". >PASS: gdb.base/commands.exp: begin commands on watch print value >PASS: gdb.base/commands.exp: add print command to watch continue >PASS: gdb.base/commands.exp: add continue command to watch end (gdb) PASS: gdb.base/commands.exp: end commands on watch continue Continuing. Watchpoint 11: local_var Old value = 268436940 New value = 1 factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:81 81 return (value); $38 = 1 Watchpoint 11: local_var Old value = 1 New value = -8860 0x10000530 in factorial (value=2) at ../../../../src/gdb/testsuite/gdb.base/run.c:82 82 } $39 = 2 Watchpoint 11 deleted because the program has left the block in which its expression is valid. 0x10000534 in factorial (value=2) at ../../../../src/gdb/testsuite/gdb.base/run.c:82 82 } $40 = 2 1 Program exited normally. (gdb) PASS: gdb.base/commands.exp: continue with watch delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 12 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 6 Breakpoint 12, factorial (value=1) at ../../../../src/gdb/testsuite/gdb.base/run.c:77 77 if (value > 1) { (gdb) delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 13 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: break factorial #3 p value=5 $41 = 5 (gdb) PASS: gdb.base/commands.exp: set value to 5 in test_command_prompt_position if value == 1 >p/x 0xfeedface >else >p/x 0xdeadbeef >end $42 = 0xdeadbeef (gdb) PASS: gdb.base/commands.exp: if test in test_command_prompt_position commands Type commands for when breakpoint 13 is hit, one per line. End with a line saying just "end". >printf "Now the value is %d\n", value >end (gdb) PASS: gdb.base/commands.exp: > OK in test_command_prompt_position maintenance deprecate blah Can't find command 'blah' to deprecate. (gdb) PASS: gdb.base/commands.exp: tried to deprecate non-existing command maintenance deprecate p "new_p" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /1/ p 5 Warning: 'p', an alias for the command 'print' is deprecated. Use 'new_p'. $43 = 5 (gdb) PASS: gdb.base/commands.exp: p deprecated warning, with replacement p 5 $44 = 5 (gdb) PASS: gdb.base/commands.exp: Deprecated warning goes away /1/ maintenance deprecate p "new_p" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate p "new_p" /2/ maintenance deprecate print "new_print" (gdb) PASS: gdb.base/commands.exp: maintenance deprecate print "new_print" p 5 Warning: command 'print' (p) is deprecated. Use 'new_print'. $45 = 5 (gdb) PASS: gdb.base/commands.exp: both alias and command are deprecated p 5 $46 = 5 (gdb) PASS: gdb.base/commands.exp: Deprecated warning goes away /2/ maintenance deprecate set remote memory-read-packet-size "srm" (gdb) PASS: gdb.base/commands.exp: deprecate long command /1/ set remote memory-read-packet-size Warning: command 'set remote memory-read-packet-size' is deprecated. Use 'srm'. Argument required (integer, `fixed' or `limited'). (gdb) PASS: gdb.base/commands.exp: long command deprecated /1/ maintenance deprecate set remote memory-read-packet-size (gdb) PASS: gdb.base/commands.exp: deprecate long command /2/ set remote memory-read-packet-size Warning: command 'set remote memory-read-packet-size' is deprecated. No alternative known. Argument required (integer, `fixed' or `limited'). (gdb) PASS: gdb.base/commands.exp: long command deprecated with no alternative /2/ maintenance deprecate "maintenance deprecate" takes an argument, the command you want to deprecate, and optionally the replacement command enclosed in quotes. (gdb) PASS: gdb.base/commands.exp: deprecate with no arguments set args 1 (gdb) PASS: gdb.base/commands.exp: set args in bp_deleted_in_command_test delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break factorial Breakpoint 14 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: breakpoint in bp_deleted_in_command_test commands Type commands for when breakpoint 14 is hit, one per line. End with a line saying just "end". >PASS: gdb.base/commands.exp: begin commands in bp_deleted_in_command_test silent >PASS: gdb.base/commands.exp: add silent command clear factorial >PASS: gdb.base/commands.exp: add clear command printf "factorial command-list executed\n" >PASS: gdb.base/commands.exp: add printf command cont >PASS: gdb.base/commands.exp: add cont command end (gdb) PASS: gdb.base/commands.exp: end commands run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 1 factorial command-list executed 1 Program exited normally. (gdb) PASS: gdb.base/commands.exp: run factorial until breakpoint set args 1 (gdb) PASS: gdb.base/commands.exp: set args in temporary_breakpoint_commands delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) tbreak factorial Breakpoint 15 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/run.c, line 77. (gdb) PASS: gdb.base/commands.exp: breakpoint in temporary_breakpoint_commands commands Type commands for when breakpoint 15 is hit, one per line. End with a line saying just "end". >PASS: gdb.base/commands.exp: begin commands in bp_deleted_in_command_test silent >PASS: gdb.base/commands.exp: add silent tbreak command printf "factorial tbreak commands executed\n" >PASS: gdb.base/commands.exp: add printf tbreak command cont >PASS: gdb.base/commands.exp: add cont tbreak command end (gdb) PASS: gdb.base/commands.exp: end tbreak commands run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/commands 1 factorial tbreak commands executed 1 Program exited normally. (gdb) PASS: gdb.base/commands.exp: run factorial until temporary breakpoint testcase ../../../../src/gdb/testsuite/gdb.base/commands.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/completion.exp ... Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c Executing on host: gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/break Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) hfgfh Undefined command: "hfgfh". Try "help". (gdb) PASS: gdb.base/completion.exp: complete 'hfgfh' show output-radix Default output radix for printing of values is 10. (gdb) PASS: gdb.base/completion.exp: complete 'show output' show output-radix Default output radix for printing of values is 10. (gdb) PASS: gdb.base/completion.exp: complete 'show output-' p The history is empty. (gdb) PASS: gdb.base/completion.exp: complete 'p' p  The history is empty. (gdb) PASS: gdb.base/completion.exp: complete 'p ' info t foo Ambiguous info command "t foo": target, terminal, threads, tp, tracepoints, types. (gdb) PASS: gdb.base/completion.exp: complete 'info t foo' info t Ambiguous info command "t": target, terminal, threads, tp, tracepoints, types. (gdb) PASS: gdb.base/completion.exp: complete 'info t' info t  Ambiguous info command "t ": target, terminal, threads, tp, tracepoints, types. (gdb) PASS: gdb.base/completion.exp: complete 'info t ' info asdfgh Undefined info command: "asdfgh". Try "help info". (gdb) PASS: gdb.base/completion.exp: complete 'info asdfgh' info asdfgh  Undefined info command: "asdfgh ". Try "help info". (gdb) PASS: gdb.base/completion.exp: complete 'info asdfgh ' info "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info args -- Argument variables of current stack frame info auxv -- Display the inferior's auxiliary vector info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info classes -- All Objective-C classes info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info macro -- Show the definition of MACRO info mem -- Memory region attributes info proc -- Show /proc process information about any running process info program -- Execution status of the program info registers -- List of integer registers and their contents info scope -- List the variables local to a scope info selectors -- All Objective-C selectors info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info variables -- All global and static variable names info vector -- Print the status of the vector unit info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' info win -- List of all displayed windows Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/completion.exp: complete 'info' info  "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info args -- Argument variables of current stack frame info auxv -- Display the inferior's auxiliary vector info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info classes -- All Objective-C classes info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info macro -- Show the definition of MACRO info mem -- Memory region attributes info proc -- Show /proc process information about any running process info program -- Execution status of the program info registers -- List of integer registers and their contents info scope -- List the variables local to a scope info selectors -- All Objective-C selectors info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info variables -- All global and static variable names info vector -- Print the status of the vector unit info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' info win -- List of all displayed windows Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/completion.exp: complete 'info ' info  address dcache locals sharedlibrary tracepoints all-registers display macro signals types args extensions mem source variables auxv files proc sources vector breakpoints float program stack warranty catch frame registers symbol watchpoints classes functions scope target win common handle selectors terminal copying line set threads (gdb) info "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info args -- Argument variables of current stack frame info auxv -- Display the inferior's auxiliary vector info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info classes -- All Objective-C classes info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info macro -- Show the definition of MACRO info mem -- Memory region attributes info proc -- Show /proc process information about any running process info program -- Execution status of the program info registers -- List of integer registers and their contents info scope -- List the variables local to a scope info selectors -- All Objective-C selectors info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info variables -- All global and static variable names info vector -- Print the status of the vector unit info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' info win -- List of all displayed windows Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/completion.exp: complete (2) 'info ' p "break1.c" $1 = "break1.c" (gdb) PASS: gdb.base/completion.exp: complete 'p "break1' p "break1.c Unterminated string in expression. (gdb) XFAIL: gdb.base/completion.exp: complete 'p "break1.' p 'a Unmatched single quote. (gdb) PASS: gdb.base/completion.exp: complete 'p 'a' p 'a Display all 183 possibilities? (y or n) (gdb) p 'a Unmatched single quote. (gdb) PASS: gdb.base/completion.exp: complete (2) 'p 'a' p no_var_named_this-a No symbol "no_var_named_this" in current context. (gdb) PASS: gdb.base/completion.exp: complete 'p no_var_named_this-a' p no_var_named_this-a Display all 183 possibilities? (y or n) (gdb) p no_var_named_this-a No symbol "no_var_named_this" in current context. (gdb) PASS: gdb.base/completion.exp: complete (2) 'p no_var_named_this-a' p no_var_named_this- Display all 6652 possibilities? (y or n) (gdb) p no_var_named_this- No symbol "no_var_named_this" in current context. (gdb) PASS: gdb.base/completion.exp: complete (2) 'p no_var_named_this-' cd /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite Working directory /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite. (gdb) PASS: gdb.base/completion.exp: cd to ${srcdir} complete file ./gdb.base/compl file ./gdb.base/completion.exp file ./gdb.base/complex.c file ./gdb.base/complex.exp (gdb) PASS: gdb.base/completion.exp: complete-command 'file ./gdb.base/compl' file ./gdb.base/completion.exp A program is being debugged already. Kill it? (y or n) n Program not killed. (gdb) PASS: gdb.base/completion.exp: complete 'file ./gdb.base/complet' info func marker marker.0 marker1 marker2 marker3 marker4 (gdb) info func marker All functions matching regular expression "marker": File ../../../../src/gdb/testsuite/gdb.base/break1.c: int marker1(); int marker2(int); void marker3(char *, char *); void marker4(long int); Non-debugging symbols: 0x0fe842d0 _IO_least_wmarker 0x0fe842d0 _IO_least_wmarker_internal 0x0fe84608 _IO_wmarker_delta 0x0fe8465c _IO_unsave_wmarkers 0x0fe84760 _IO_init_wmarker 0x0fe8d5e8 _IO_least_marker 0x0fe8daf4 _IO_remove_marker 0x0fe8db30 _IO_marker_difference 0x0fe8db48 _IO_marker_delta 0x0fe8f01c _IO_unsave_markers 0x0fe8f01c _IO_unsave_markers_internal 0x0fe8f070 _IO_init_marker (gdb) PASS: gdb.base/completion.exp: complete 'info func marke' set follow-fork-mode  child parent (gdb) set follow-fork-mode Requires an argument. Valid arguments are child, parent. (gdb) PASS: gdb.base/completion.exp: complete 'set follow-fork-mode' testcase ../../../../src/gdb/testsuite/gdb.base/completion.exp completed in 31 seconds Running ../../../../src/gdb/testsuite/gdb.base/complex.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/complex.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/complex (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/complex.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/complex get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/complex Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/complex...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break f2 Breakpoint 1 at 0x1000051c: file ../../../../src/gdb/testsuite/gdb.base/complex.c, line 53. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/complex Breakpoint 1, f2 (y=0xffffda10) at ../../../../src/gdb/testsuite/gdb.base/complex.c:53 53 if (y->f != 1 || y->c != 42) (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/complex.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/complex.c Contains 71 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) p *y $1 = {c = 42 '*', f = 1 + 0 * I} (gdb) PASS: gdb.base/complex.exp: print complex packed value in C delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break f4 Breakpoint 2 at 0x100005fc: file ../../../../src/gdb/testsuite/gdb.base/complex.c, line 69. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/complex Breakpoint 2, f4 (y=0xffffda10) at ../../../../src/gdb/testsuite/gdb.base/complex.c:69 69 if (y->f != 1 || y->c != 42) (gdb) p *y $2 = {c = 42 '*', f = 1 + 0 * I} (gdb) PASS: gdb.base/complex.exp: print complex value in C testcase ../../../../src/gdb/testsuite/gdb.base/complex.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/cond-expr.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/int-type.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/int-type.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/int-type Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/int-type.c, line 17. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/int-type Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/int-type.c:17 17 x = 14; (gdb) print (2 ? 3 : 4) $1 = 3 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (const true) print (0 ? 3 : 4) $2 = 4 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (const false) set variable x=14 (gdb) PASS: gdb.base/cond-expr.exp: set variable x=14 set variable y=2 (gdb) PASS: gdb.base/cond-expr.exp: set variable y=2 set variable z=3 (gdb) PASS: gdb.base/cond-expr.exp: set variable z=3 print (x ? y : z) $3 = 2 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (var true) set variable x=0 (gdb) PASS: gdb.base/cond-expr.exp: set variable x=0 print (x ? y : z) $4 = 3 (gdb) PASS: gdb.base/cond-expr.exp: print value of cond expr (var false) whatis (0 ? 3 : 4) type = int (gdb) PASS: gdb.base/cond-expr.exp: print whatis of cond expr testcase ../../../../src/gdb/testsuite/gdb.base/cond-expr.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/condbreak.exp ... Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o ../../../../src/gdb/testsuite/gdb.base/break.c Executing on host: gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c (timeout = 300) spawn gcc -w -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o ../../../../src/gdb/testsuite/gdb.base/break1.c Executing on host: gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break (timeout = 300) spawn gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break0.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break1.o -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/break Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) break main Breakpoint 1 at 0x100004f8: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 90. (gdb) PASS: gdb.base/condbreak.exp: breakpoint function break marker1 if 1==1 Breakpoint 2 at 0x10000720: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 40. (gdb) PASS: gdb.base/condbreak.exp: break marker1 if 1==1 delete 2 (gdb) PASS: gdb.base/condbreak.exp: delete 2 break break.c:94 if 1==1 Breakpoint 3 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/condbreak.exp: break break.c:94 if 1==1 delete 3 (gdb) PASS: gdb.base/condbreak.exp: delete 3 break marker1 if (1==1) Breakpoint 4 at 0x10000720: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 40. (gdb) PASS: gdb.base/condbreak.exp: break marker1 if (1==1) break break.c:94 if (1==1) Breakpoint 5 at 0x10000524: file ../../../../src/gdb/testsuite/gdb.base/break.c, line 94. (gdb) PASS: gdb.base/condbreak.exp: break break.c:94 if (1==1) break marker2 if (a==43) Breakpoint 6 at 0x10000748: file ../../../../src/gdb/testsuite/gdb.base/break1.c, line 41. (gdb) PASS: gdb.base/condbreak.exp: break marker2 if (a==43) info break Num Type Disp Enb Address What 1 breakpoint keep y 0x100004f8 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:90 4 breakpoint keep y 0x10000720 in marker1 at ../../../../src/gdb/testsuite/gdb.base/break1.c:40 stop only if 1 == 1 5 breakpoint keep y 0x10000524 in main at ../../../../src/gdb/testsuite/gdb.base/break.c:94 stop only if 1 == 1 6 breakpoint keep y 0x10000748 in marker2 at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 stop only if a == 43 (gdb) PASS: gdb.base/condbreak.exp: breakpoint info run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/break Breakpoint 1, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:90 90 if (argc == 12345) { /* an unlikely value < 2^16, in case uninited */ /* set breakpoint 6 here */ (gdb) PASS: gdb.base/condbreak.exp: rerun to main continue Continuing. Breakpoint 5, main (argc=1, argv=0xffffdd74, envp=0xffffdd7c) at ../../../../src/gdb/testsuite/gdb.base/break.c:94 94 printf ("%d\n", factorial (atoi ("6"))); /* set breakpoint 1 here */ (gdb) PASS: gdb.base/condbreak.exp: run until breakpoint set at a line number continue Continuing. 720 Breakpoint 4, marker1 () at ../../../../src/gdb/testsuite/gdb.base/break1.c:40 40 int marker1 () { return (0); } /* set breakpoint 16 here */ (gdb) PASS: gdb.base/condbreak.exp: run until breakpoint at marker1 continue Continuing. Breakpoint 6, marker2 (a=43) at ../../../../src/gdb/testsuite/gdb.base/break1.c:41 41 int marker2 (a) int a; { return (1); } /* set breakpoint 9 here */ PASS: gdb.base/condbreak.exp: run until breakpoint at marker2 testcase ../../../../src/gdb/testsuite/gdb.base/condbreak.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/consecutive.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/consecutive.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/consecutive (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/consecutive.c -w -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/consecutive get_compiler_info: gcc-3-3-3 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/consecutive Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/consecutive...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100004e0: file ../../../../src/gdb/testsuite/gdb.base/consecutive.c, line 19. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/consecutive Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/consecutive.c:19 19 foo (); (gdb) break foo Breakpoint 2 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/consecutive.c, line 10. (gdb) continue Continuing. Breakpoint 2, foo () at ../../../../src/gdb/testsuite/gdb.base/consecutive.c:10 10 return a[0] + a[1] + a[2] + a[3] + a[4] + a[5] + a[6]; (gdb) PASS: gdb.base/consecutive.exp: continue to breakpoint in foo x /2i $pc 0x10000448 : lis r9,4097 0x1000044c : addi r11,r9,2216 (gdb) PASS: gdb.base/consecutive.exp: get breakpoint address for foo break *0x1000044c Breakpoint 3 at 0x1000044c: file ../../../../src/gdb/testsuite/gdb.base/consecutive.c, line 10. (gdb) PASS: gdb.base/consecutive.exp: set bp, 2nd instr step Breakpoint 3, 0x1000044c in foo () at ../../../../src/gdb/testsuite/gdb.base/consecutive.c:10 10 return a[0] + a[1] + a[2] + a[3] + a[4] + a[5] + a[6]; (gdb) PASS: gdb.base/consecutive.exp: stopped at bp, 2nd instr testcase ../../../../src/gdb/testsuite/gdb.base/consecutive.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/constvars.exp ... get_compiler_info: gcc-3-3-3 Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/constvars.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/constvars (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/constvars.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/constvars spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/constvars Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/constvars...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100004f4: file ../../../../src/gdb/testsuite/gdb.base/constvars.c, line 24. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/constvars Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/constvars.c:24 24 char lave = 'B'; (gdb) info source Current source file is ../../../../src/gdb/testsuite/gdb.base/constvars.c Compilation directory is /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite Located in /home/pgilliam/auto-testing/gdb-6.4-testing/src/gdb/testsuite/gdb.base/constvars.c Contains 188 lines. Source language is c. Compiled with DWARF 2 debugging format. Does not include preprocessor macro info. (gdb) break marker1 Breakpoint 2 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/constvars.c, line 3. (gdb) cont Continuing. Breakpoint 2, marker1 () at ../../../../src/gdb/testsuite/gdb.base/constvars.c:3 3 } (gdb) up #1 0x100007f0 in main () at ../../../../src/gdb/testsuite/gdb.base/constvars.c:184 184 marker1 (); (gdb) PASS: gdb.base/constvars.exp: up from marker1 ptype qux1 type = int (const char, const char, const char *, char * const) (gdb) PASS: gdb.base/constvars.exp: ptype qux1 print lave $1 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print lave ptype lave type = char (gdb) PASS: gdb.base/constvars.exp: ptype lave print lavish $2 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print lavish ptype lavish type = unsigned char (gdb) PASS: gdb.base/constvars.exp: ptype lavish print lax $3 = 20 (gdb) PASS: gdb.base/constvars.exp: print lax ptype lax type = short int (gdb) PASS: gdb.base/constvars.exp: ptype lax print lecherous $4 = 30 (gdb) PASS: gdb.base/constvars.exp: print lecherous ptype lecherous type = short unsigned int (gdb) PASS: gdb.base/constvars.exp: ptype lecherous print lechery $5 = 40 (gdb) PASS: gdb.base/constvars.exp: print lechery ptype lechery type = long int (gdb) PASS: gdb.base/constvars.exp: ptype lechery print lectern $6 = 50 (gdb) PASS: gdb.base/constvars.exp: print lectern ptype lectern type = long unsigned int (gdb) PASS: gdb.base/constvars.exp: ptype lectern print leeway $7 = 60 (gdb) PASS: gdb.base/constvars.exp: print leeway ptype leeway type = float (gdb) PASS: gdb.base/constvars.exp: ptype leeway print legacy $8 = 70 (gdb) PASS: gdb.base/constvars.exp: print legacy ptype legacy type = double (gdb) PASS: gdb.base/constvars.exp: ptype legacy print laconic $9 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print laconic ptype laconic type = const char (gdb) PASS: gdb.base/constvars.exp: ptype laconic print laggard $10 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print laggard ptype laggard type = const unsigned char (gdb) PASS: gdb.base/constvars.exp: ptype laggard print lagoon $11 = 2 (gdb) PASS: gdb.base/constvars.exp: print lagoon ptype lagoon type = const short int (gdb) PASS: gdb.base/constvars.exp: ptype lagoon print laity $12 = 3 (gdb) PASS: gdb.base/constvars.exp: print laity ptype laity type = const short unsigned int (gdb) PASS: gdb.base/constvars.exp: ptype laity print lambent $13 = 4 (gdb) PASS: gdb.base/constvars.exp: print lambent ptype lambent type = const long int (gdb) PASS: gdb.base/constvars.exp: ptype lambent print laminated $14 = 5 (gdb) PASS: gdb.base/constvars.exp: print laminated ptype laminated type = const long unsigned int (gdb) PASS: gdb.base/constvars.exp: ptype laminated print lampoon $15 = 6 (gdb) PASS: gdb.base/constvars.exp: print lampoon ptype lampoon type = const float (gdb) PASS: gdb.base/constvars.exp: ptype lampoon print languid $16 = 7 (gdb) PASS: gdb.base/constvars.exp: print languid ptype languid type = const double (gdb) PASS: gdb.base/constvars.exp: ptype languid print *legend $17 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print *legend ptype legend type = const char * (gdb) PASS: gdb.base/constvars.exp: ptype legend print *legerdemain $18 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print *legerdemain ptype legerdemain type = const unsigned char * (gdb) PASS: gdb.base/constvars.exp: ptype legerdemain print *leniency $19 = 20 (gdb) PASS: gdb.base/constvars.exp: print *leniency ptype leniency type = const short int * (gdb) PASS: gdb.base/constvars.exp: ptype leniency print *leonine $20 = 30 (gdb) PASS: gdb.base/constvars.exp: print *leonine ptype leonine type = const short unsigned int * (gdb) PASS: gdb.base/constvars.exp: ptype leonine print *lesion $21 = 40 (gdb) PASS: gdb.base/constvars.exp: print *lesion ptype lesion type = const long int * (gdb) PASS: gdb.base/constvars.exp: ptype lesion print *lethal $22 = 50 (gdb) PASS: gdb.base/constvars.exp: print *lethal ptype lethal type = const long unsigned int * (gdb) PASS: gdb.base/constvars.exp: ptype lethal print *lethargic $23 = 60 (gdb) PASS: gdb.base/constvars.exp: print *lethargic ptype lethargic type = const float * (gdb) PASS: gdb.base/constvars.exp: ptype lethargic print *levity $24 = 70 (gdb) PASS: gdb.base/constvars.exp: print *levity ptype levity type = const double * (gdb) PASS: gdb.base/constvars.exp: ptype levity print *lewd $25 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print *lewd ptype lewd type = const char * const (gdb) PASS: gdb.base/constvars.exp: ptype lewd print *lexicographer $26 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print *lexicographer ptype lexicographer type = const unsigned char * const (gdb) PASS: gdb.base/constvars.exp: ptype lexicographer print *lexicon $27 = 2 (gdb) PASS: gdb.base/constvars.exp: print *lexicon ptype lexicon type = const short int * const (gdb) PASS: gdb.base/constvars.exp: ptype lexicon print *liaison $28 = 3 (gdb) PASS: gdb.base/constvars.exp: print *liaison ptype liaison type = const short unsigned int * const (gdb) PASS: gdb.base/constvars.exp: ptype liaison print *libation $29 = 4 (gdb) PASS: gdb.base/constvars.exp: print *libation ptype libation type = const long int * const (gdb) PASS: gdb.base/constvars.exp: ptype libation print *libelous $30 = 5 (gdb) PASS: gdb.base/constvars.exp: print *libelous ptype libelous type = const long unsigned int * const (gdb) PASS: gdb.base/constvars.exp: ptype libelous print *libertine $31 = 6 (gdb) PASS: gdb.base/constvars.exp: print *libertine ptype libertine type = const float * const (gdb) PASS: gdb.base/constvars.exp: ptype libertine print *libidinous $32 = 7 (gdb) PASS: gdb.base/constvars.exp: print *libidinous ptype libidinous type = const double * const (gdb) PASS: gdb.base/constvars.exp: ptype libidinous print *languish $33 = 65 'A' (gdb) PASS: gdb.base/constvars.exp: print *languish ptype languish type = const char * (gdb) PASS: gdb.base/constvars.exp: ptype languish print *languor $34 = 1 '\001' (gdb) PASS: gdb.base/constvars.exp: print *languor ptype languor type = const unsigned char * (gdb) PASS: gdb.base/constvars.exp: ptype languor print *lank $35 = 2 (gdb) PASS: gdb.base/constvars.exp: print *lank ptype lank type = const short int * (gdb) PASS: gdb.base/constvars.exp: ptype lank print *lapidary $36 = 3 (gdb) PASS: gdb.base/constvars.exp: print *lapidary ptype lapidary type = const short unsigned int * (gdb) PASS: gdb.base/constvars.exp: ptype lapidary print *larceny $37 = 4 (gdb) PASS: gdb.base/constvars.exp: print *larceny ptype larceny type = const long int * (gdb) PASS: gdb.base/constvars.exp: ptype larceny print *largess $38 = 5 (gdb) PASS: gdb.base/constvars.exp: print *largess ptype largess type = const long unsigned int * (gdb) PASS: gdb.base/constvars.exp: ptype largess print *lascivious $39 = 6 (gdb) PASS: gdb.base/constvars.exp: print *lascivious ptype lascivious type = const float * (gdb) PASS: gdb.base/constvars.exp: ptype lascivious print *lassitude $40 = 7 (gdb) PASS: gdb.base/constvars.exp: print *lassitude ptype lassitude type = const double * (gdb) PASS: gdb.base/constvars.exp: ptype lassitude print *lamprey $41 = 66 'B' (gdb) PASS: gdb.base/constvars.exp: print *lamprey ptype lamprey type = char * const (gdb) PASS: gdb.base/constvars.exp: ptype lamprey print *lariat $42 = 10 '\n' (gdb) PASS: gdb.base/constvars.exp: print *lariat ptype lariat type = unsigned char * const (gdb) PASS: gdb.base/constvars.exp: ptype lariat print *laudanum $43 = 20 (gdb) PASS: gdb.base/constvars.exp: print *laudanum ptype laudanum type = short int * const (gdb) PASS: gdb.base/constvars.exp: ptype laudanum print *lecithin $44 = 30 (gdb) PASS: gdb.base/constvars.exp: print *lecithin ptype lecithin type = short unsigned int * const (gdb) PASS: gdb.base/constvars.exp: ptype lecithin print *leviathan $45 = 40 (gdb) PASS: gdb.base/constvars.exp: print *leviathan ptype leviathan type = long int * const (gdb) PASS: gdb.base/constvars.exp: ptype leviathan print *libretto $46 = 50 (gdb) PASS: gdb.base/constvars.exp: print *libretto ptype libretto type = long unsigned int * const (gdb) PASS: gdb.base/constvars.exp: ptype libretto print *lissome $47 = 60 (gdb) PASS: gdb.base/constvars.exp: print *lissome ptype lissome type = float * const (gdb) PASS: gdb.base/constvars.exp: ptype lissome print *locust $48 = 70 (gdb) PASS: gdb.base/constvars.exp: print *locust ptype locust type = double * const (gdb) PASS: gdb.base/constvars.exp: ptype locust ptype crass type = struct crass { char * const ptr; } (gdb) PASS: gdb.base/constvars.exp: ptype crass ptype crisp type = struct crisp { char * const *ptr; } (gdb) PASS: gdb.base/constvars.exp: ptype crisp testcase ../../../../src/gdb/testsuite/gdb.base/constvars.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/corefile.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/coremaker.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/coremaker.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker get_compiler_info: gcc-3-3-3 Executing on build: mv /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728/core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/corefile (timeout = 300) spawn mv /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728/core /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/corefile Executing on build: rmdir /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728 (timeout = 300) spawn rmdir /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coredir.9728 spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx -core=/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/corefile GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu". Core was generated by `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb'. Program terminated with signal 6, Aborted. #0 0x0fe5476c in ?? () (gdb) PASS: gdb.base/corefile.exp: args: -core=corefile (with bad program name) spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker -core=/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/corefile GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb'. Program terminated with signal 6, Aborted. Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 #0 0x0fe5476c in raise () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: args: execfile -core=corefile (with bad program name) spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/coremaker Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) core-file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gd b/testsuite/gdb.base/corefile Core was generated by `/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb'. Program terminated with signal 6, Aborted. Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld.so.1...done. Loaded symbols for /lib/ld.so.1 #0 0x0fe5476c in raise () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: core-file command (with bad program name) print coremaker_data $1 = 202 (gdb) PASS: gdb.base/corefile.exp: print coremaker_data print coremaker_bss $2 = 10 (gdb) PASS: gdb.base/corefile.exp: print coremaker_bss print coremaker_ro $3 = 201 (gdb) PASS: gdb.base/corefile.exp: print coremaker_ro print func2::coremaker_local $4 = {0, 1, 2, 3, 4} (gdb) PASS: gdb.base/corefile.exp: print func2::coremaker_local bt #0 0x0fe5476c in raise () from /lib/tls/libc.so.6 #1 0x0fe5607c in abort () from /lib/tls/libc.so.6 #2 0x10000800 in func2 () at ../../../../src/gdb/testsuite/gdb.base/coremaker.c:127 #3 0x10000818 in func1 () at ../../../../src/gdb/testsuite/gdb.base/coremaker.c:133 #4 0x1000084c in main () at ../../../../src/gdb/testsuite/gdb.base/coremaker.c:139 (gdb) PASS: gdb.base/corefile.exp: backtrace in corefile.exp up #1 0x0fe5607c in abort () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: up in corefile.exp x/8bd buf1 0x10011008: 0 1 2 3 4 5 6 7 (gdb) PASS: gdb.base/corefile.exp: accessing original mmap data in core file x/8bd buf2 0x40028000: 0 1 2 3 4 5 6 7 (gdb) PASS: gdb.base/corefile.exp: accessing mmapped data in core file file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/coremaker Load new symbol table from "/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker"? (y or n) y Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/coremaker...done. (gdb) up #1 0x0fe5607c in abort () from /lib/tls/libc.so.6 (gdb) PASS: gdb.base/corefile.exp: up in corefile.exp (reinit) core No core file now. (gdb) PASS: gdb.base/corefile.exp: core testcase ../../../../src/gdb/testsuite/gdb.base/corefile.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/cursal.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/cursal.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/cursal.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/cursal Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set listsize 1 (gdb) PASS: gdb.base/cursal.exp: set listsize 1 list 37 int v0 = 0; (gdb) PASS: gdb.base/cursal.exp: list before run delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 1 at 0x100004a4: file ../../../../src/gdb/testsuite/gdb.base/cursal.c, line 37. (gdb) run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:37 37 int v0 = 0; (gdb) list 37 int v0 = 0; (gdb) PASS: gdb.base/cursal.exp: list in main delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break func2 Breakpoint 2 at 0x10000448: file ../../../../src/gdb/testsuite/gdb.base/cursal.c, line 24. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal Breakpoint 2, func2 () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:24 24 int v2 = 2; (gdb) list 24 int v2 = 2; (gdb) PASS: gdb.base/cursal.exp: list in func2 backtrace #0 func2 () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:24 #1 0x10000478 in func1 () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:30 #2 0x100004b0 in main () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:38 (gdb) PASS: gdb.base/cursal.exp: backtrace list -1 24 int v2 = 2; (gdb) PASS: gdb.base/cursal.exp: list after backtrace set listsize 3 (gdb) PASS: gdb.base/cursal.exp: set listsize 3 delete breakpoints Delete all breakpoints? (y or n) y (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break main Breakpoint 3 at 0x100004a4: file ../../../../src/gdb/testsuite/gdb.base/cursal.c, line 37. (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cursal Breakpoint 3, main () at ../../../../src/gdb/testsuite/gdb.base/cursal.c:37 37 int v0 = 0; (gdb) list 36 { 37 int v0 = 0; 38 func1 (); (gdb) PASS: gdb.base/cursal.exp: list size 3 testcase ../../../../src/gdb/testsuite/gdb.base/cursal.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/cvexpr.exp ... Executing on host: gcc ../../../../src/gdb/testsuite/gdb.base/cvexpr.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr (timeout = 300) spawn gcc ../../../../src/gdb/testsuite/gdb.base/cvexpr.c -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-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 ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/tes tsuite/gdb.base/cvexpr Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/cvexpr...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set print sevenbit-strings (gdb) set print address off (gdb) set width 0 (gdb) whatis (const char) v_char type = const char (gdb) PASS: gdb.base/cvexpr.exp: (const char) whatis (const signed char) v_signed_char type = const signed char (gdb) PASS: gdb.base/cvexpr.exp: (const signed char) whatis (const unsigned char) v_unsigned_char type = const unsigned char (gdb) PASS: gdb.base/cvexpr.exp: (const unsigned char) whatis (const short) v_short type = const short (gdb) PASS: gdb.base/cvexpr.exp: (const short) whatis (const signed short) v_signed_short type = const short (gdb) PASS: gdb.base/cvexpr.exp: (const signed short) whatis (const unsigned short) v_unsigned_short type = const unsigned short (gdb) PASS: gdb.base/cvexpr.exp: (const unsigned short) whatis (const int) v_int type = const int (gdb) PASS: gdb.base/cvexpr.exp: (const int) whatis (const signed int) v_signed_int type = const int (gdb) PASS: gdb.base/cvexpr.exp: (const signed int) whatis (const unsigned int) v_unsigned_int type = const unsigned int (gdb) PASS: gdb.base/cvexpr.exp: (const unsigned int) whatis (const long) v_long type = const long (gdb) PASS: gdb.base/cvexpr.exp: (const long) whatis (const signed long) v_signed_long type = const long (gdb) PASS: gdb.base/cvexpr.exp: (const signed long) whatis (const unsigned long) v_unsigned_long type = const unsigned long (gdb) PASS: gdb.base/cvexpr.exp: (const unsigned long) whatis (const long long) v_long_long type = const long long (gdb) PASS: gdb.base/cvexpr.exp: (const long long) whatis (const signed long long) v_signed_long_long type = const long long (gdb) PASS: gdb.base/cvexpr.exp: (const signed long long) whatis (const unsigned long long) v_unsigned_long_long type = const unsigned long long (gdb) PASS: gdb.base/cvexpr.exp: (const unsigned long long) whatis (const float) v_float type = const float (gdb) PASS: gdb.base/cvexpr.exp: (const float) whatis (const double) v_double type = const double (gdb) PASS: gdb.base/cvexpr.exp: (const double) whatis (volatile char) v_char type = volatile char (gdb) PASS: gdb.base/cvexpr.exp: (volatile char) whatis (volatile signed char) v_signed_char type = volatile signed char (gdb) PASS: gdb.base/cvexpr.exp: (volatile signed char) whatis (volatile unsigned char) v_unsigned_char type = volatile unsigned char (gdb) PASS: gdb.base/cvexpr.exp: (volatile unsigned char) whatis (volatile short) v_short type = volatile short (gdb) PASS: gdb.base/cvexpr.exp: (volatile short) whatis (volatile signed short) v_signed_short type = volatile short (gdb) PASS: gdb.base/cvexpr.exp: (volatile signed short) whatis (volatile unsigned short) v_unsigned_short type = volatile unsigned short (gdb) PASS: gdb.base/cvexpr.exp: (volatile unsigned short) whatis (volatile int) v_int type = volatile int (gdb) PASS: gdb.base/cvexpr.exp: (volatile int) whatis (volatile signed int) v_signed_int type = volatile int (gdb) PASS: gdb.base/cvexpr.exp: (volatile signed int) whatis (volatile unsigned int) v_unsigned_int type = volatile unsigned int (gdb) PASS: gdb.base/cvexpr.exp: (volatile unsigned int) whatis (volatile long) v_long type = volatile long (gdb) PASS: gdb.base/cvexpr.exp: (volatile long) whatis (volatile signed long) v_signed_long type = volatile long (gdb) PASS: gdb.base/cvexpr.exp: (volatile signed long) whatis (volatile unsigned long) v_unsigned_long type = volatile unsigned long (gdb) PASS: gdb.base/cvexpr.exp: (volatile unsigned long) whatis (volatile long long) v_long_long type = volatile long long (gdb) PASS: gdb.base/cvexpr.exp: (volatile long long) whatis (volatile signed long long) v_signed_long_long type = volatile long long (gdb) PASS: gdb.base/cvexpr.exp: (volatile signed long long) whatis (volatile unsigned long long) v_unsigned_long_long type = volatile unsigned long long (gdb) PASS: gdb.base/cvexpr.exp: (volatile unsigned long long) whatis (volatile float) v_float type = volatile float (gdb) PASS: gdb.base/cvexpr.exp: (volatile float) whatis (volatile double) v_double type = volatile double (gdb) PASS: gdb.base/cvexpr.exp: (volatile double) whatis (const volatile int) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (const volatile int) whatis (volatile const int) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (volatile const int) whatis (const int volatile) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (const int volatile) whatis (volatile int const) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (volatile int const) whatis (int const volatile) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (int const volatile) whatis (int volatile const) v_int type = const volatile int (gdb) PASS: gdb.base/cvexpr.exp: (int volatile const) whatis (const volatile int *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (const volatile int *) whatis (volatile const int *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (volatile const int *) whatis (const int volatile *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (const int volatile) whatis (volatile int const *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (volatile int const *) whatis (int const volatile *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (int const volatile *) whatis (int volatile const *) v_int_pointer type = const volatile int * (gdb) PASS: gdb.base/cvexpr.exp: (int volatile const *) whatis (int * const volatile) v_int_pointer type = int * const volatile (gdb) PASS: gdb.base/cvexpr.exp: (int * const volatile) whatis (int * volatile const) v_int_pointer type = int * const volatile (gdb) PASS: gdb.base/cvexpr.exp: (int * volatile const) whatis (char const) v_char type = const char (gdb) PASS: gdb.base/cvexpr.exp: (char const) whatis (signed char const) v_signed_char type = const signed char (gdb) PASS: gdb.base/cvexpr.exp: (signed char const) whatis (unsigned char const) v_unsigned_char type = const unsigned char (gdb) PASS: gdb.base/cvexpr.exp: (unsigned char const) whatis (short const) v_short type = const short (gdb) PASS: gdb.base/cvexpr.exp: (short const) whatis (signed short const) v_signed_short type = const short (gdb) PASS: gdb.base/cvexpr.exp: (signed short const) whatis (unsigned short const) v_unsigned_short type = const unsigned short (gdb) PASS: gdb.base/cvexpr.exp: (unsigned short const) whatis (int const) v_int type = const int (gdb) PASS: gdb.base/cvexpr.exp: (int const) whatis (signed int const) v_signed_int type = const int (gdb) PASS: gdb.base/cvexpr.exp: (signed int const) whatis (unsigned int const) v_unsigned_int type = const unsigned int (gdb) PASS: gdb.base/cvexpr.exp: (unsigned int const) whatis (long const) v_long type = const long (gdb) PASS: gdb.base/cvexpr.exp: (long const) whatis (signed long const) v_signed_long type = const long (gdb) PASS: gdb.base/cvexpr.exp: (signed long const) whatis (unsigned long const) v_unsigned_long type = const unsigned long (gdb) PASS: gdb.base/cvexpr.exp: (unsigned long const) whatis (long long const) v_long_long type = const long long (gdb) PASS: gdb.base/cvexpr.exp: (long long const) whatis (signed long long const) v_signed_long_long type = const long long (gdb) PASS: gdb.base/cvexpr.exp: (signed long long const) whatis (unsigned long long const) v_unsigned_long_long type = const unsigned long long (gdb) PASS: gdb.base/cvexpr.exp: (unsigned long long const) whatis (float const) v_float type = const float (gdb) PASS: gdb.base/cvexpr.exp: (float const) whatis (double const) v_double type = const double (gdb) PASS: gdb.base/cvexpr.exp: (double const) whatis (char volatile) v_char type = volatile char (gdb) PASS: gdb.base/cvexpr.exp: (char volatile) whatis (signed char volatile) v_signed_char type = volatile signed char (gdb) PASS: gdb.base/cvexpr.exp: (signed char volatile) whatis (unsigned char volatile) v_unsigned_char type = volatile unsigned char (gdb) PASS: gdb.base/cvexpr.exp: (unsigned char volatile) whatis (short volatile) v_short type = volatile short (gdb) PASS: gdb.base/cvexpr.exp: (short volatile) whatis (signed short volatile) v_signed_short type = volatile short (gdb) PASS: gdb.base/cvexpr.exp: (signed short volatile) whatis (unsigned short volatile) v_unsigned_short type = volatile unsigned short (gdb) PASS: gdb.base/cvexpr.exp: (unsigned short volatile) whatis (int volatile) v_int type = volatile int (gdb) PASS: gdb.base/cvexpr.exp: (int volatile) whatis (signed int volatile) v_signed_int type = volatile int (gdb) PASS: gdb.base/cvexpr.exp: (signed int volatile) whatis (unsigned int volatile) v_unsigned_int type = volatile unsigned int (gdb) PASS: gdb.base/cvexpr.exp: (unsigned int volatile) whatis (long volatile) v_long type = volatile long (gdb) PASS: gdb.base/cvexpr.exp: (long volatile) whatis (signed long volatile) v_signed_long type = volatile long (gdb) PASS: gdb.base/cvexpr.exp: (signed long volatile) whatis (unsigned long volatile) v_unsigned_long type = volatile unsigned long (gdb) PASS: gdb.base/cvexpr.exp: (unsigned long volatile) whatis (long long volatile) v_long_long type = volatile long long (gdb) PASS: gdb.base/cvexpr.exp: (long long volatile) whatis (signed long long volatile) v_signed_long_long type = volatile long long (gdb) PASS: gdb.base/cvexpr.exp: (signed long long volatile) whatis (unsigned long long volatile) v_unsigned_long_long type = volatile unsigned long long (gdb) PASS: gdb.base/cvexpr.exp: (unsigned long long volatile) whatis (float volatile) v_float type = volatile float (gdb) PASS: gdb.base/cvexpr.exp: (float volatile) whatis (double volatile) v_double type = volatile double (gdb) PASS: gdb.base/cvexpr.exp: (double volatile) whatis (const enum misordered) v_misordered type = const enum misordered (gdb) PASS: gdb.base/cvexpr.exp: (const enum misordered) whatis (enum misordered const) v_misordered type = const enum misordered (gdb) PASS: gdb.base/cvexpr.exp: (enum misordered const) whatis (volatile enum misordered) v_misordered type = volatile enum misordered (gdb) PASS: gdb.base/cvexpr.exp: (volatile enum misordered) whatis (enum misordered volatile) v_misordered type = volatile enum misordered (gdb) PASS: gdb.base/cvexpr.exp: (enum misordered volatile) whatis (const int *) v_int_pointer type = const int * (gdb) PASS: gdb.base/cvexpr.exp: (const int *) whatis (int const *) v_int_pointer type = const int * (gdb) PASS: gdb.base/cvexpr.exp: (int const *) whatis (int * const) v_int_pointer type = int * const (gdb) PASS: gdb.base/cvexpr.exp: (int * const) whatis (const int * const) v_int_pointer type = const int * const (gdb) PASS: gdb.base/cvexpr.exp: (const int * const) whatis (int const * const) v_int_pointer type = const int * const (gdb) PASS: gdb.base/cvexpr.exp: (int const * const) whatis (const int **) v_int_pointer_pointer type = const int ** (gdb) PASS: gdb.base/cvexpr.exp: (const int **) whatis (int const **) v_int_pointer_pointer type = const int ** (gdb) PASS: gdb.base/cvexpr.exp: (int const **) whatis (int ** const) v_int_pointer_pointer type = int ** const (gdb) PASS: gdb.base/cvexpr.exp: (int ** const) whatis (const int * const *) v_int_pointer_pointer type = const int * const * (gdb) PASS: gdb.base/cvexpr.exp: (const int * const *) whatis (int const * const *) v_int_pointer_pointer type = const int * const * (gdb) PASS: gdb.base/cvexpr.exp: (int const * const *) whatis (const int * const * const) v_int_pointer_pointer type = const int * const * const (gdb) PASS: gdb.base/cvexpr.exp: (const int * const * const) whatis (int const * const * const) v_int_pointer_pointer type = const int * const * const (gdb) PASS: gdb.base/cvexpr.exp: (int const * const * const) whatis (const struct t_struct) v_struct1 type = const struct t_struct (gdb) PASS: gdb.base/cvexpr.exp: (const struct t_struct) whatis (const union t_union) v_union type = const union t_union (gdb) PASS: gdb.base/cvexpr.exp: (const union t_union) whatis (struct t_struct const) v_struct1 type = const struct t_struct (gdb) PASS: gdb.base/cvexpr.exp: (struct t_struct const) whatis (union t_union const) v_union type = const union t_union (gdb) PASS: gdb.base/cvexpr.exp: (union t_union const) whatis (const struct t_struct *) &v_struct1 type = const struct t_struct * (gdb) PASS: gdb.base/cvexpr.exp: (const struct t_struct *) whatis (const union t_union *) &v_union type = const union t_union * (gdb) PASS: gdb.base/cvexpr.exp: (const union t_union *) whatis (struct t_struct const *) &v_struct1 type = const struct t_struct * (gdb) PASS: gdb.base/cvexpr.exp: (struct t_struct const *) whatis (union t_union const *) &v_union type = const union t_union * (gdb) PASS: gdb.base/cvexpr.exp: (union t_union const *) whatis (struct t_struct * const) &v_struct1 type = struct t_struct * const (gdb) PASS: gdb.base/cvexpr.exp: (struct t_struct * const) whatis (union t_union * const) &v_union type = union t_union * const (gdb) PASS: gdb.base/cvexpr.exp: (union t_union * const) whatis (const struct t_struct * const) &v_struct1 type = const struct t_struct * const (gdb) PASS: gdb.base/cvexpr.exp: (const struct t_struct * const) whatis (const union t_union * const) &v_union type = const union t_union * const (gdb) PASS: gdb.base/cvexpr.exp: (const union t_union * const) whatis (struct t_struct const * const) &v_struct1 type = const struct t_struct * const (gdb) PASS: gdb.base/cvexpr.exp: (struct t_struct const * const) whatis (union t_union const * const) &v_union type = const union t_union * const (gdb) PASS: gdb.base/cvexpr.exp: (union t_union const * const) testcase ../../../../src/gdb/testsuite/gdb.base/cvexpr.exp completed in 1 seconds Running ../../../../src/gdb/testsuite/gdb.base/dbx.exp ... Executing on host: gcc -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/average.o ../../../../src/gdb/testsuite/gdb.base/average.c (timeout = 300) spawn gcc -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/average.o ../../../../src/gdb/testsuite/gdb.base/average.c Executing on host: gcc -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/sum.o ../../../../src/gdb/testsuite/gdb.base/sum.c (timeout = 300) spawn gcc -c -g -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/sum.o ../../../../src/gdb/testsuite/gdb.base/sum.c Executing on host: gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/average.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/sum.o -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/dbx-test (timeout = 300) spawn gcc /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/average.o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/sum.o -g -lm -m32 -o /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/dbx-test spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx --dbx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) use Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) use ../../../../src/gdb/testsuite/gdb.base Source directories searched: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../../../src/gdb/testsuite/gdb.base:$cdir:$cwd (gdb) symbol-file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/ gdb/testsuite/gdb.base/dbx-test Reading symbols from /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/dbx-test...done. Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) exec-file /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gd b/testsuite/gdb.base/dbx-test (gdb) stop in main Breakpoint 1 at 0x10000540: file ../../../../src/gdb/testsuite/gdb.base/average.c, line 38. (gdb) PASS: gdb.base/dbx.exp: stop in main status Num Type Disp Enb Address What 1 breakpoint keep y 0x10000540 in main at ../../../../src/gdb/testsuite/gdb.base/average.c:38 (gdb) PASS: gdb.base/dbx.exp: status stop at 43 Breakpoint 2 at 0x10000570: file ../../../../src/gdb/testsuite/gdb.base/average.c, line 43. (gdb) PASS: gdb.base/dbx.exp: stop at 43 stop in 43 Usage: stop in (gdb) PASS: gdb.base/dbx.exp: stop in 43 stop at main Usage: stop at (gdb) PASS: gdb.base/dbx.exp: stop at main run Starting program: /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/gdb.base/dbx-test Breakpoint 1, main () at ../../../../src/gdb/testsuite/gdb.base/average.c:38 38 int first = 0, last = 0; (gdb) PASS: gdb.base/dbx.exp: running to main assign first=1 (gdb) PASS: gdb.base/dbx.exp: assign first print first $1 = 1 (gdb) PASS: gdb.base/dbx.exp: print first whereis my_list All variables matching regular expression "my_list": File ../../../../src/gdb/testsuite/gdb.base/average.c: static int my_list[10]; (gdb) PASS: gdb.base/dbx.exp: whereis my_list file average.c:1 1 /* This is a sample program for the HP WDB debugger. */ 2 3 #include 4 #include 5 6 #ifdef PROTOTYPES 7 extern int sum(int *, int, int); 8 #else 9 extern int sum(); 10 #endif (gdb) PASS: gdb.base/dbx.exp: file average.c:1 cont Continuing. 4 Breakpoint 2, main () at ../../../../src/gdb/testsuite/gdb.base/average.c:43 43 print_average (my_list, first, last - 3); (gdb) PASS: gdb.base/dbx.exp: cont 1 step print_average (list=0x100109d4, low=0, high=6) at ../../../../src/gdb/testsuite/gdb.base/average.c:23 23 int total = 0, num_elements = 0, average = 0; (gdb) PASS: gdb.base/dbx.exp: step func sum (gdb) XFAIL: gdb.base/dbx.exp: func sum stop in sum Breakpoint 3 at 0x100005b0: file ../../../../src/gdb/testsuite/gdb.base/sum.c, line 11. (gdb) PASS: gdb.base/dbx.exp: stop in sum cont Continuing. Breakpoint 3, sum (list=0x100109d4, low=0, high=6) at ../../../../src/gdb/testsuite/gdb.base/sum.c:11 11 int i = 0, s = 0; (gdb) PASS: gdb.base/dbx.exp: cont 2 func print_average (gdb) XFAIL: gdb.base/dbx.exp: func print_average testcase ../../../../src/gdb/testsuite/gdb.base/dbx.exp completed in 0 seconds Running ../../../../src/gdb/testsuite/gdb.base/default.exp ... spawn /home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/../../gdb/gdb -nw -nx GNU gdb 6.3.91-20051130-cvs Copyright 2005 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-unknown-linux-gnu". (gdb) set height 0 (gdb) set width 0 (gdb) add-symbol-file add-symbol-file takes a file name and an address (gdb) PASS: gdb.base/default.exp: add-symbol-file append "append" must be followed by a subcommand. List of append subcommands: append binary -- Write target code/data to a raw binary file append ihex -- Write target code/data to an intel hex file append memory -- Write contents of memory to a raw binary file append srec -- Write target code/data to an srec file append tekhex -- Write target code/data to a tekhex file append value -- Write the value of an expression to a raw binary file Type "help append" followed by append subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: append append binary "append binary" must be followed by a subcommand. List of append binary subcommands: append binary memory -- Append contents of memory to a raw binary file append binary value -- Append the value of an expression to a raw binary file Type "help append binary" followed by append binary subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: append binary append memory Missing filename. (gdb) PASS: gdb.base/default.exp: append memory append value Missing filename. (gdb) PASS: gdb.base/default.exp: append value append binary memory Missing filename. (gdb) PASS: gdb.base/default.exp: append binary memory append binary value Missing filename. (gdb) PASS: gdb.base/default.exp: append binary value attach Argument required (process-id to attach). (gdb) PASS: gdb.base/default.exp: attach break No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break b No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "b" abbreviation br No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "br" abbreviation bre No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "bre" abbreviation brea No default breakpoint address now. (gdb) PASS: gdb.base/default.exp: break "brea" abbreviation backtrace No stack. (gdb) PASS: gdb.base/default.exp: backtrace bt No stack. (gdb) PASS: gdb.base/default.exp: backtrace "bt" abbreviation ba No stack. (gdb) PASS: gdb.base/default.exp: backtrace "ba" abbreviation bac No stack. (gdb) PASS: gdb.base/default.exp: backtrace "bac" abbreviation continue The program is not being run. (gdb) PASS: gdb.base/default.exp: continue c The program is not being run. (gdb) PASS: gdb.base/default.exp: continue "c" abbreviation call The history is empty. (gdb) PASS: gdb.base/default.exp: call catch Catch requires an event name. (gdb) PASS: gdb.base/default.exp: catch cd Argument required (new working directory). (gdb) PASS: gdb.base/default.exp: cd clear No source file specified. (gdb) PASS: gdb.base/default.exp: clear commands No breakpoint number 0. (gdb) PASS: gdb.base/default.exp: commands condition Argument required (breakpoint number). (gdb) PASS: gdb.base/default.exp: condition core-file No core file now. (gdb) PASS: gdb.base/default.exp: core-file d (gdb) PASS: gdb.base/default.exp: delete "d" abbreviation delete (gdb) PASS: gdb.base/default.exp: delete define Argument required (name of command to define). (gdb) PASS: gdb.base/default.exp: define delete breakpoints (gdb) PASS: gdb.base/default.exp: delete breakpoints delete display Delete all auto-display expressions? (y or n) y (gdb) PASS: gdb.base/default.exp: delete display prompt detach (gdb) PASS: gdb.base/default.exp: detach directory Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) PASS: gdb.base/default.exp: directory prompt dis (gdb) PASS: gdb.base/default.exp: disable "dis" abbreviation disa (gdb) PASS: gdb.base/default.exp: disable "disa" abbreviation disable (gdb) PASS: gdb.base/default.exp: disable disable breakpoints (gdb) PASS: gdb.base/default.exp: disable breakpoints disable display (gdb) PASS: gdb.base/default.exp: disable display disassemble No frame selected. (gdb) PASS: gdb.base/default.exp: disassemble display (gdb) PASS: gdb.base/default.exp: display do No stack. (gdb) PASS: gdb.base/default.exp: do document Argument required (name of command to define). (gdb) PASS: gdb.base/default.exp: document down No stack. (gdb) PASS: gdb.base/default.exp: down down-silently No stack. (gdb) PASS: gdb.base/default.exp: down-silently dump "dump" must be followed by a subcommand. List of dump subcommands: dump binary -- Write target code/data to a raw binary file dump ihex -- Write target code/data to an intel hex file dump memory -- Write contents of memory to a raw binary file dump srec -- Write target code/data to an srec file dump tekhex -- Write target code/data to a tekhex file dump value -- Write the value of an expression to a raw binary file Type "help dump" followed by dump subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: dump dump binary "dump binary" must be followed by a subcommand. List of dump binary subcommands: dump binary memory -- Write contents of memory to a raw binary file dump binary value -- Write the value of an expression to a raw binary file Type "help dump binary" followed by dump binary subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: dump binary dump ihex "dump ihex" must be followed by a subcommand. List of dump ihex subcommands: dump ihex memory -- Write contents of memory to an ihex file dump ihex value -- Write the value of an expression to an ihex file Type "help dump ihex" followed by dump ihex subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: dump ihex dump memory Missing filename. (gdb) PASS: gdb.base/default.exp: dump memory dump srec "dump srec" must be followed by a subcommand. List of dump srec subcommands: dump srec memory -- Write contents of memory to an srec file dump srec value -- Write the value of an expression to an srec file Type "help dump srec" followed by dump srec subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: dump srec dump tekhex "dump tekhex" must be followed by a subcommand. List of dump tekhex subcommands: dump tekhex memory -- Write contents of memory to a tekhex file dump tekhex value -- Write the value of an expression to a tekhex file Type "help dump tekhex" followed by dump tekhex subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: dump tekhex dump value Missing filename. (gdb) PASS: gdb.base/default.exp: dump value dump binary memory Missing filename. (gdb) PASS: gdb.base/default.exp: dump binary memory dump binary value Missing filename. (gdb) PASS: gdb.base/default.exp: dump binary value dump ihex memory Missing filename. (gdb) PASS: gdb.base/default.exp: dump ihex memory dump ihex value Missing filename. (gdb) PASS: gdb.base/default.exp: dump ihex value dump srec memory Missing filename. (gdb) PASS: gdb.base/default.exp: dump srec memory dump srec value Missing filename. (gdb) PASS: gdb.base/default.exp: dump srec value dump tekhex memory Missing filename. (gdb) PASS: gdb.base/default.exp: dump tekhex memory dump tekhex value Missing filename. (gdb) PASS: gdb.base/default.exp: dump tekhex value echo (gdb) PASS: gdb.base/default.exp: echo enable breakpoints delete Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable breakpoints delete enable breakpoints once Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable breakpoints once enable breakpoints (gdb) PASS: gdb.base/default.exp: enable breakpoints enable delete Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable delete enable display (gdb) PASS: gdb.base/default.exp: enable display enable once Argument required (one or more breakpoint numbers). (gdb) PASS: gdb.base/default.exp: enable once enable (gdb) PASS: gdb.base/default.exp: enable exec-file No executable file now. (gdb) PASS: gdb.base/default.exp: exec-file f No stack. (gdb) PASS: gdb.base/default.exp: frame "f" abbreviation frame No stack. (gdb) PASS: gdb.base/default.exp: frame fg The program is not being run. (gdb) PASS: gdb.base/default.exp: fg file No executable file now. Using host libthread_db library "/lib/tls/libthread_db.so.1". No symbol file now. (gdb) PASS: gdb.base/default.exp: file finish The program is not running. (gdb) PASS: gdb.base/default.exp: finish forward-search No previous regular expression (gdb) PASS: gdb.base/default.exp: forward-search gcore You can't do that without a process to debug. (gdb) PASS: gdb.base/default.exp: gcore generate-core-file You can't do that without a process to debug. (gdb) PASS: gdb.base/default.exp: generate-core-file h List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: help "h" abbreviation help List of classes of commands: aliases -- Aliases of other commands breakpoints -- Making program stop at certain points data -- Examining data files -- Specifying and examining files internals -- Maintenance commands obscure -- Obscure features running -- Running the program stack -- Examining the stack status -- Status inquiries support -- Support facilities tracepoints -- Tracing of program execution without stopping the program user-defined -- User-defined commands Type "help" followed by a class name for a list of commands in that class. Type "help" followed by command name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: help handle Argument required (signal to handle). (gdb) PASS: gdb.base/default.exp: handle i "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info args -- Argument variables of current stack frame info auxv -- Display the inferior's auxiliary vector info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info classes -- All Objective-C classes info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info macro -- Show the definition of MACRO info mem -- Memory region attributes info proc -- Show /proc process information about any running process info program -- Execution status of the program info registers -- List of integer registers and their contents info scope -- List the variables local to a scope info selectors -- All Objective-C selectors info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info variables -- All global and static variable names info vector -- Print the status of the vector unit info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' info win -- List of all displayed windows Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: info "i" abbreviation info "info" must be followed by the name of an info command. List of info subcommands: info address -- Describe where symbol SYM is stored info all-registers -- List of all registers and their contents info args -- Argument variables of current stack frame info auxv -- Display the inferior's auxiliary vector info breakpoints -- Status of user-settable breakpoints info catch -- Exceptions that can be caught in the current stack frame info classes -- All Objective-C classes info common -- Print out the values contained in a Fortran COMMON block info copying -- Conditions for redistributing copies of GDB info dcache -- Print information on the dcache performance info display -- Expressions to display when program stops info extensions -- All filename extensions associated with a source language info files -- Names of targets and files being debugged info float -- Print the status of the floating point unit info frame -- All about selected stack frame info functions -- All function names info handle -- What debugger does when program gets various signals info line -- Core addresses of the code for a source line info locals -- Local variables of current stack frame info macro -- Show the definition of MACRO info mem -- Memory region attributes info proc -- Show /proc process information about any running process info program -- Execution status of the program info registers -- List of integer registers and their contents info scope -- List the variables local to a scope info selectors -- All Objective-C selectors info set -- Show all GDB settings info sharedlibrary -- Status of loaded shared object libraries info signals -- What debugger does when program gets various signals info source -- Information about the current source file info sources -- Source files in the program info stack -- Backtrace of the stack info symbol -- Describe what symbol is at location ADDR info target -- Names of targets and files being debugged info terminal -- Print inferior's saved terminal status info threads -- IDs of currently known threads info tracepoints -- Status of tracepoints info types -- All type names info variables -- All global and static variable names info vector -- Print the status of the vector unit info warranty -- Various kinds of warranty you do not have info watchpoints -- Synonym for ``info breakpoints'' info win -- List of all displayed windows Type "help info" followed by info subcommand name for full documentation. Command name abbreviations are allowed if unambiguous. (gdb) PASS: gdb.base/default.exp: info ignore Argument required (a breakpoint number). (gdb) PASS: gdb.base/default.exp: ignore info address Argument required. (gdb) PASS: gdb.base/default.exp: info address info all-registers The program has no registers now. (gdb) PASS: gdb.base/default.exp: info all-registers info args No frame selected. (gdb) PASS: gdb.base/default.exp: info args info bogus-gdb-command Undefined info command: "bogus-gdb-command". Try "help info". (gdb) PASS: gdb.base/default.exp: info bogus-gdb-command info breakpoints No breakpoints or watchpoints. (gdb) PASS: gdb.base/default.exp: info breakpoints info catch You can't do that without a process to debug. (gdb) PASS: gdb.base/default.exp: info catch info copying GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. (gdb) PASS: gdb.base/default.exp: info copying info display There are no auto-display expressions now. (gdb) PASS: gdb.base/default.exp: info display info f No stack. (gdb) PASS: gdb.base/default.exp: info frame "f" abbreviation info frame No stack. (gdb) PASS: gdb.base/default.exp: info frame info files (gdb) PASS: gdb.base/default.exp: info files info float The program has no registers now. (gdb) PASS: gdb.base/default.exp: info float info functions All defined functions: (gdb) PASS: gdb.base/default.exp: info functions info locals No frame selected. (gdb) PASS: gdb.base/default.exp: info locals info program The program being debugged is not being run. (gdb) PASS: gdb.base/default.exp: info program info registers The program has no registers now. (gdb) PASS: gdb.base/default.exp: info registers info s No stack. (gdb) PASS: gdb.base/default.exp: info stack "s" abbreviation info stack No stack. (gdb) PASS: gdb.base/default.exp: info stack info set annotate: Annotation_level is 0. architecture: The target architecture is set automatically (currently rs6000:6000) args: Argument list to give program being debugged when it is started is "". auto-solib-add: Autoloading of shared library symbols is on. backtrace limit: An upper bound on the number of backtrace levels is unlimited. backtrace past-entry: Whether backtraces should continue past the entry point of a program is off. backtrace past-main: Whether backtraces should continue past "main" is off. breakpoint pending: Debugger's behavior regarding pending breakpoints is auto. can-use-hw-watchpoints: Debugger's willingness to use watchpoint hardware is 1. case-sensitive: Case sensitivity in name search is "auto; currently on". charset: The current host and target character set is `ISO-8859-1'. check range: Range checking is "auto; currently off". check type: Type checking is "auto; currently off". coerce-float-to-double: Coercion of floats to doubles when calling functions is on. complaints: Max number of complaints about incorrect symbols is 0. confirm: Whether to confirm potentially dangerous operations is on. debug arch: Architecture debugging is 0. debug event: Event debugging is 0. debug expression: Expression debugging is 0. debug frame: Frame debugging is 0. debug infrun: Inferior debugging is 0. debug lin-lwp: Debugging of GNU/Linux lwp module is 0. debug observer: Observer debugging is 0. debug overload: Debugging of C++ overloading is 0. debug remote: Debugging of remote protocol is 0. debug serial: Serial debugging is 0. debug target: Target debugging is 0. debug-file-directory: The directory where separate debug symbols are searched for is "/usr/local/lib/debug". debugvarobj: Varobj debugging is 0. demangle-style: The current C++ demangling style is "auto". download-write-size: The write size used when downloading a program is 512. editing: Editing of command lines as they are typed is on. endian: The target endianness is set automatically (currently big endian) exec-done-display: Notification of completion for asynchronous execution commands is off. extension-language: Mapping between filename extension and source language is "". follow-fork-mode: Debugger response to a program call of fork or vfork is "parent". gnutarget: The current BFD target is "auto". height: Number of lines gdb thinks are in a page is unlimited. history expansion: History expansion on command input is off. history filename: The filename in which to record the command history is "/home/pgilliam/auto-testing/gdb-6.4-testing/20051130/build-32/gdb/testsuite/.gdb_history". history save: Saving of the history record on exit is off. history size: The size of the command history is 1000. host-charset: The host character set is "ISO-8859-1". inferior-tty: Terminal for future runs of program being debugged is "". input-radix: Default input radix for entering numbers is 10. language: The current source language is "auto; currently c". listsize: Number of source lines gdb will list by default is 10. logging file: The current logfile is "gdb.txt". logging overwrite: Whether logging overwrites or appends to the log file is off. logging redirect: The logging output mode is off. max-user-call-depth: The max call depth for user-defined commands is 1024. opaque-type-resolution: Resolution of opaque struct/class/union types (if set before loading symbols) is on. os: Operating system is "". osabi: The current OS ABI is "auto" (currently "GNU/Linux"). The default OS ABI is "GNU/Linux". output-radix: Default output radix for printing of values is 10. overload-resolution: Overload resolution in evaluating C++ functions is on. pagination: State of pagination is on. print address: Printing of addresses is on. print array: Prettyprinting of arrays is off. print array-indexes: Printing of array indexes is off. print asm-demangle: Demangling of C++/ObjC names in disassembly listings is off. print demangle: Demangling of encoded C++/ObjC names when displaying symbols is on. print elements: Limit on string chars or array elements to print is 200. print max-symbolic-offset: The largest offset that will be printed in form is unlimited. print null-stop: Printing of char arrays to stop at first null char is off. print object: Printing of object's derived type based on vtable info is off. print pascal_static-members: Printing of pascal static members is on. print pretty: Prettyprinting of structures is off. print repeats: Threshold for repeated print elements is 10. print sevenbit-strings: Printing of 8-bit characters in strings as \nnn is off. print static-members: Printing of C++ static members is on. print symbol-filename: Printing of source filename and line number with is off. print union: Printing of unions interior to structures is on. print vtbl: Printing of C++ virtual function tables is off. prompt: Gdb's prompt is "(gdb) ". remote Z-packet: Support for remote protocol `Z0' (software-breakpoint) packet is auto-detected, currently unknown. Support for remote protocol `Z1' (hardware-breakpoint) packet is auto-detected, currently unknown. Support for remote protocol `Z2' (write-watchpoint) packet is auto-detected, currently unknown. Support for remote protocol `Z3' (read-watchpoint) packet is auto-detected, currently unknown. Support for remote protocol `Z4' (access-watchpoint) packet is auto-detected, currently unknown. remote access-watchpoint-packet: Support for remote protocol `Z4' (access-watchpoint) packet is auto-detected, currently unknown. remote binary-download-packet: Support for remote protocol `X' (binary-download) packet is auto-detected, currently unknown. remote fetch-register-packet: Support for remote protocol `p' (fetch-register) packet is auto-detected, currently unknown. remote get-thread-local-storage-address-packet: Support for remote protocol `qGetTLSAddr' (get-thread-local-storage-address) packet is auto-detected, currently unknown. remote hardware-breakpoint-limit: The maximum number of target hardware breakpoints is 4294967295. remote hardware-breakpoint-packet: Support for remote protocol `Z1' (hardware-breakpoint) packet is auto-detected, currently unknown. remote hardware-watchpoint-limit: The maximum number of target hardware watchpoints is 4294967295. remote read-aux-vector-packet: Support for remote protocol `qPart_auxv' (read-aux-vector) packet is auto-detected, currently unknown. remote read-watchpoint-packet: Support for remote protocol `Z3' (read-watchpoint) packet is auto-detected, currently unknown. remote set-register-packet: Support for remote protocol `P' (set-register) packet is auto-detected, currently unknown. remote software-breakpoint-packet: Support for remote protocol `Z0' (software-breakpoint) packet is auto-detected, currently unknown. remote symbol-lookup-packet: Support for remote protocol `qSymbol' (symbol-lookup) packet is auto-detected, currently unknown. remote verbose-resume-packet: Support for remote protocol `vCont' (verbose-resume) packet is auto-detected, currently unknown. remote write-watchpoint-packet: Support for remote protocol `Z2' (write-watchpoint) packet is auto-detected, currently unknown. remoteaddresssize: The maximum size of the address (in bits) in a memory packet is 32. remotebaud: Baud rate for remote serial I/O is 4294967295. remotebreak: Whether to send break if interrupted is off. remotecache: Cache use for remote targets is off. remotedevice: Device for remote serial I/O is "". remotelogbase: Numerical base for remote session logging is "ascii". remotelogfile: Filename for remote session recording is "". remotetimeout: Timeout limit to wait for target to respond is 2. scheduler-locking: Mode for locking scheduler during execution is "off". solib-absolute-prefix: Prefix for loading absolute shared library symbol files is "". solib-search-path: The search path for loading non-absolute shared library symbol files is . step-mode: Mode of the step operation is off. stop-on-solib-events: Stopping for shared library events is 0. symbol-reloading: Dynamic symbol table reloading multiple times in one run is off. target-charset: The target character set is "ISO-8859-1". trust-readonly-sections: Mode for reading from readonly sections is off. tui active-border-mode: The attribute mode to use for the active TUI window border is "bold-standout". tui border-kind: The kind of border for TUI windows is "acs". tui border-mode: The attribute mode to use for the TUI window borders is "normal". unwindonsignal: Unwinding of stack if a signal is received while in a call dummy is off. verbose: Verbosity is off. watchdog: Watchdog timer is 0. width: Number of characters gdb thinks are in a line is unlimited. write: Writing into executable and core files is off. (gdb) PASS: gdb.base/default.exp: info set info symbol Argument required (address). (gdb) PASS: gdb.base/default.exp: info symbol info source No current source file. (gdb) PASS: gdb.base/default.exp: info source info sources No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: info sources info target (gdb) PASS: gdb.base/default.exp: info target info terminal No saved terminal information. (gdb) PASS: gdb.base/default.exp: info terminal info types All defined types: (gdb) PASS: gdb.base/default.exp: info types info variables All defined variables: (gdb) PASS: gdb.base/default.exp: info variables info vector The program has no registers now. (gdb) PASS: gdb.base/default.exp: info vector info warranty NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. (gdb) PASS: gdb.base/default.exp: info warranty info watchpoints No breakpoints or watchpoints. (gdb) PASS: gdb.base/default.exp: info watchpoints inspect The history is empty. (gdb) PASS: gdb.base/default.exp: inspect jump The program is not being run. (gdb) PASS: gdb.base/default.exp: jump kill The program is not being run. (gdb) PASS: gdb.base/default.exp: kill l No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: list "l" abbreviation list No symbol table is loaded. Use the "file" command. (gdb) PASS: gdb.base/default.exp: list load No executable file specified. Use the "file" or "exec-file" command. (gdb) PASS: gdb.base/default.exp: load n The program is not being run. (gdb) PASS: gdb.base/default.exp: next "n" abbreviation next The program is not being run. (gdb) PASS: gdb.base/default.exp: next ni The program is not being run. (gdb) PASS: gdb.base/default.exp: nexti "ni" abbreviation nexti The pr